﻿html {
    scroll-behavior: smooth;
}

/* Base */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f9fafb;
    color: #4f565c;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    animation: fadeIn 0.6s ease-in;
    font-size: 1.25rem;
    font-weight: 300;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Header / Navbar */
.jumbotron-header {
    position: relative;
    background: linear-gradient(120deg, #004aad, #0078d4);
    color: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

.navbar-toggler {
    border: none;
    font-size: 1.3rem;
    color: #004aad;
}

/* Kendo menu wrapper */
#kendoMenuWrapper {
    transition: transform 0.3s ease-in-out, opacity 0.3s;
}

    #kendoMenuWrapper.mobile-active {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        z-index: 9999;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(0);
        opacity: 1;
    }

@media (max-width: 767px) {
    #kendoMenuWrapper {
        display: none;
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Jumbotron */
.jumbotron-header .container-fluid {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom right, #004aad, #0094ff);
    color: white;
    text-align: center;
    position: relative;
}

.jumbotron-overlay {
    position: relative;
    z-index: 2;
}

.jumbotron-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    transition: transform 0.4s ease;
}

    .jumbotron-logo:hover {
        transform: scale(1.05);
    }

@media (min-width: 992px) {
    .jumbotron-logo {
        max-width: 500px;
    }
}

/* Main content */
main {
    min-height: 70vh;
    padding: 2rem 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.container-fluid {
    max-width: 1200px;
    margin: auto;
}

/* Footer */
.footer {
    background-color: #f1f3f5;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    transition: background 0.3s ease, color 0.3s ease;
}

    .footer p {
        margin: 0.5rem 0;
    }

/* Buttons / Interactives */
button, .k-button {
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

    button:hover, .k-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

/* Scrolling / Animations */
section {
    padding: 80px 0;
    transition: background 0.5s ease, color 0.5s ease;
}

    section:nth-of-type(even) {
        background: #ffffff;
        color: #222;
    }

    section:nth-of-type(odd) {
        background: #f7f9fb;
        color: #222;
    }

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden-section {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.visible {
    animation: sectionFadeIn 0.8s ease-out forwards;
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.text-shadow {
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.rounded-xl {
    border-radius: 1rem;
}

.shadow-soft {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

section .card, section .panel {
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

/* Header spacing */
header .scroll-nav {
    margin-bottom: 2rem;
}

/* Why list/cards */
.why-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 700px;
    margin: 0 auto;
    gap: 1rem;
}

.why-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: opacity 1.5s ease-out, transform 0.8s ease-out;
}

    .why-item strong {
        flex: 0 0 200px;
        display: block;
        color: #007bff;
        margin-bottom: 0.5rem;
    }

    .why-item span {
        flex: 1;
        color: #555;
    }

    .why-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .why-item:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        cursor: pointer;
    }

/* Images */
.section img.placeholder {
    max-width: 50%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

img.responsive {
    width: auto;
    max-width: 50%;
    max-height: 300px;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    img.responsive {
        max-height: 200px;
    }
}

/* Hero content */
.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

    .hero-content img.responsive {
        max-width: 400px;
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
        order: 1;
    }

    .hero-content .text-block {
        max-width: 600px;
        text-align: left;
        order: 2;
    }

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .hero-content img.responsive,
        .hero-content .text-block {
            order: unset;
            max-width: 90%;
        }
}

/* Custom section class */
.section {
    padding: 1em;
}

/* Header bar / toggles */
#header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
}

#mainMenu {
    flex: 1;
}

#darkModeToggle {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.25rem;
    cursor: pointer;
    color: inherit;
    margin-left: 12px;
    transition: transform 0.2s ease;
}

    #darkModeToggle:hover {
        transform: scale(1.1);
    }

    #darkModeToggle:focus,
    #darkModeToggle:active {
        outline: none;
        border: none;
        box-shadow: none;
    }

/* Sticky header */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: black;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-100%);
    display: flex;
    align-items: center;
    pointer-events: none;
}

    .sticky-header.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.sticky-logo {
    height: 80px;
    transition: height 0.3s ease;
}

.sticky-header .k-menu {
    background: transparent;
    border: none;
}

/* Chat UI */
.k-chat-inputbar {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px;
    margin-top: 8px;
    background: #fff;
}

    .k-chat-inputbar textarea {
        flex: 1;
        resize: none;
        border: none;
        outline: none;
        font-size: 14px;
        padding: 6px;
    }

.k-input-buttons {
    display: flex;
    gap: 16px;
    margin-left: 2px;
}

#chat {
    height: 480px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    background: #f9f9f9;
}

#sendMessageBtn {
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slot carousel */
.slot-carousel {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0.5rem;
    scrollbar-width: thin;
}

.slot-card {
    flex: 0 0 auto;
    width: 10rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 0.75rem;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.15s ease;
}

    .slot-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

.book-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
}

    .book-btn:hover {
        background: #2563eb;
    }

/* Inline form */
.chat-inline-form {
    display: flex;
    flex-wrap: wrap;
    margin-top: 8px;
    align-items: center;
}

    .chat-inline-form input {
        height: 32px;
    }

.red {
    color: red;
}

/* Input with label */
.input-with-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

    .input-with-label .k-textbox,
    .input-with-label .k-input,
    .input-with-label input {
        display: inline-block;
        vertical-align: middle;
    }

    .input-with-label .red {
        padding-top: 15px;
        color: red;
        font-size: 0.9em;
        line-height: 1;
        position: relative;
        top: 1px;
    }

/* Chat text colors */
.user-msg {
    margin: 4px 0;
    color: #004085;
}

.assistant-msg {
    margin: 4px 0;
    color: #155724;
}

/* Icon button */
.icon-button {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 2px 6px !important;
    vertical-align: middle;
    cursor: pointer;
}

    .icon-button:hover {
        background-color: rgba(0,0,0,0.05);
        border-radius: 6px;
    }

/* Assistant loader */
#assistantloader {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    position: relative;
    text-align: center;
    max-width: 75%;
    align-items: center;
}

    #assistantloader .k-loader {
        margin-left: 4px;
    }

.assistant-msg + #assistantloader {
    margin-top: 6px;
}

/* Chat input */
#chatInput {
    color: black;
}

/* Social icons */
.social-icons a {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

    .social-icons a:hover {
        transform: translateY(-3px);
    }

    .social-icons a.facebook {
        color: #1877f2;
    }

    .social-icons a.linkedin {
        color: #0a66c2;
    }

    .social-icons a.twitter {
        color: #000000;
    }

    .social-icons a.youtube {
        color: #ff0000;
    }

    .social-icons a.github {
        color: #171515;
    }

/* Listening state */
.listening {
    background-color: #dc2626 !important;
    color: white !important;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-red 1.2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

/* Dark mode (auto) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
        color: #ffffff;
    }

    .navbar {
        background-color: rgba(15, 23, 42, 0.95) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-toggler {
        color: #60a5fa;
    }

    #kendoMenuWrapper.mobile-active {
        background: #1e293b;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .jumbotron-header {
        background: linear-gradient(120deg, #1e3a8a, #2563eb);
        color: #f8fafc;
    }

    main {
        background: #0f172a;
        color: #f1f5f9;
    }

    section:nth-of-type(even) {
        background: #1e293b;
    }

    section:nth-of-type(odd) {
        background: #0f172a;
    }

    .footer {
        background-color: #1e293b;
        color: #94a3b8;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    button, .k-button {
        background-color: #2563eb !important;
        color: #fff !important;
    }

        button:hover, .k-button:hover {
            background-color: #3b82f6 !important;
            box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
        }
}

/* Manual dark mode (class-based) */
body.dark-mode {
    background-color: #0f172a;
    color: #f1f5f9;
}

    body.dark-mode .navbar {
        background-color: rgba(15, 23, 42, 0.95) !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    body.dark-mode .navbar-toggler {
        color: #60a5fa;
    }

    body.dark-mode #kendoMenuWrapper.mobile-active {
        background: #1e293b;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    body.dark-mode .jumbotron-header {
        background: linear-gradient(120deg, #1e3a8a, #2563eb);
        color: #f8fafc;
    }

    body.dark-mode main {
        background: #0f172a;
        color: #f1f5f9;
    }

    body.dark-mode section:nth-of-type(even) {
        background: #1e293b;
        color: #f1f5f9;
    }

    body.dark-mode section:nth-of-type(odd) {
        background: #0f172a;
        color: #f1f5f9;
    }

    body.dark-mode .footer {
        background-color: #1e293b;
        color: #94a3b8;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    body.dark-mode button,
    body.dark-mode .k-button {
        background-color: #2563eb !important;
        color: #fff !important;
    }

        body.dark-mode button:hover,
        body.dark-mode .k-button:hover {
            background-color: #3b82f6 !important;
            box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
        }

    

    body.dark-mode .why-item {
        background-color: #222;
        color: #fff;
    }

        body.dark-mode .why-item strong {
            color: #00aaff;
        }

    body.dark-mode a.btn-primary {
        background: #00aaff;
        color: #fff;
    }

        body.dark-mode a.btn-primary:hover {
            background: #0088cc;
        }

    body.dark-mode img.responsive {
        filter: brightness(0.85);
    }

    body.dark-mode .demo-container {
        background: black;
        color: #fff;
    }

    body.dark-mode .demo-card {
        background-color: #1a1a1a;
        color: #fff;
        border-color: antiquewhite;
    }

    /* Force children text white in dark sections */
    body.dark-mode #hero p,
    body.dark-mode #hero span,
    body.dark-mode #hero h1,
    body.dark-mode #hero h2,
    body.dark-mode #hero h3,
    body.dark-mode #services p,
    body.dark-mode #services span,
    body.dark-mode #services h1,
    body.dark-mode #services h2,
    body.dark-mode #services h3,
    body.dark-mode #why p,
    body.dark-mode #why span,
    body.dark-mode #why h1,
    body.dark-mode #why h2,
    body.dark-mode #why h3,
    body.dark-mode #demo p,
    body.dark-mode #demo span,
    body.dark-mode #demo h1,
    body.dark-mode #demo h2,
    body.dark-mode #demo h3 {
        color: #fff !important;
    }

    /* Dark mode header + sticky menu */
    body.dark-mode header,
    body.dark-mode .navbar,
    body.dark-mode #stickyHeader {
        background-color: #111 !important;
        color: #fff !important;
    }

        body.dark-mode .navbar a,
        body.dark-mode .navbar-brand,
        body.dark-mode .nav-link,
        body.dark-mode #stickyHeader a {
            color: #fff !important;
            transition: color 0.3s ease;
        }

            body.dark-mode .navbar a:hover,
            body.dark-mode .nav-link:hover,
            body.dark-mode #stickyHeader a:hover {
                color: #007bff !important;
            }

    /* Dark mode toggle buttons */
    body.dark-mode #darkModeToggle,
    body.dark-mode #darkModeToggleSticky {
        color: #fff !important;
        background: transparent;
    }

#darkModeToggleSticky{
    background:transparent !important;
    border:none !important;
}
/* Sticky Header (Light Mode Default) */
#stickyHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: background 0.3s ease, color 0.3s ease;
}

    #stickyHeader a:hover {
        color: #007bff;
    }

    /* Force sticky header light mode colors */
    #stickyHeader,
    #stickyHeader .navbar,
    #stickyHeader #kendoMenuWrapper,
    #stickyHeader .k-menu {
        color: #ffffff !important;
    }

        #stickyHeader a,
        #stickyHeader .k-link {
            color: #ffffff !important;
            transition: color 0.3s ease;
        }

            #stickyHeader a:hover,
            #stickyHeader .k-link:hover {
                color: #007bff !important;
            }

/* Dark mode override for sticky header */
body.dark-mode #stickyHeader,
body.dark-mode #stickyHeader .navbar,
body.dark-mode #stickyHeader #kendoMenuWrapper,
body.dark-mode #stickyHeader .k-menu {
    background-color: #111 !important;
    color: #ffffff !important;
}

    body.dark-mode #stickyHeader a,
    body.dark-mode #stickyHeader .k-link {
        color: #ffffff !important;
    }

        body.dark-mode #stickyHeader a:hover,
        body.dark-mode #stickyHeader .k-link:hover {
            color: #007bff !important;
        }

/* Kendo links hover */
#kendoMenuWrapper .k-link:hover,
#MainMenu .k-link:hover {
    color: #0056b3 !important;
}
 

.sticky-header .sticky-logo {
    height: 90px;  increase as needed 
    width: auto;  keeps proportions correct 
    transition: height 0.3s ease;
}

.jumbotron-logo {
    max-width: 800px;  
    width: 100%;
    height: auto;
    transition: max-width 0.3s ease;
}

@media (max-width: 768px) {
    .jumbotron-logo {
        max-width: 400px;  
    }
}
img {
    border-radius: 12px;
}

