    :root {
        --primary: #1a3a8c;
        --primary-dark: #0e2266;
        --secondary: #1a3a8c;
        --accent: #f4a535;
        --blue-light: #e8eef8;
        --text-dark: #1a2240;
        --text-muted: #5a6a8a;
        --white: #ffffff;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Nunito', sans-serif;
        color: var(--text-dark);
        overflow-x: hidden;
    }

    /* Prevent occasional mobile horizontal gaps caused by off-canvas elements */
    html, body { max-width: 100%; }
    .main-navbar, .hero-section, .blog-banner, .value-banner {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    @media(min-width: 768px) {
        .main-navbar, .hero-section, .blog-banner, .value-banner { width: auto; margin-left: 0; margin-right: 0; left: auto; right: auto; }
    }

    /* TOP BAR */
    .topbar {
        background: var(--primary-dark);
        padding: 8px 0;
        font-size: .85rem;
    }

    .topbar a {
        color: rgba(255, 255, 255, .85);
        text-decoration: none;
        font-weight: 600;
    }

    .topbar a:hover {
        color: var(--accent);
    }

    .btn-book {
        background: var(--accent);
        color: #fff !important;
        border-radius: 30px;
        padding: 7px 22px !important;
        font-weight: 700;
        font-size: .85rem;
        transition: background .2s;
    }

    .btn-book:hover {
        background: #d4881e !important;
    }

    /* NAVBAR */
    .main-navbar {
        background: var(--primary);
        padding: 0;
    }

    .main-navbar .navbar-nav .nav-link {
        color: rgba(255, 255, 255, .85) !important;
        font-weight: 700;
        padding: 16px 20px !important;
        font-size: .95rem;
        letter-spacing: .3px;
        transition: background .2s, color .2s;
    }

    .main-navbar .navbar-nav .nav-link:hover,
    .main-navbar .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, .12);
        color: #fff !important;
    }

    .main-navbar .dropdown-menu {
        border: 0;
        border-radius: 8px;
        box-shadow: 0 12px 30px rgba(14, 34, 102, .18);
        margin-top: 0;
        padding: 8px;
    }

    .main-navbar .dropdown-item {
        border-radius: 6px;
        color: var(--primary-dark);
        font-size: .9rem;
        font-weight: 700;
        padding: 9px 14px;
    }

    .main-navbar .dropdown-item:hover,
    .main-navbar .dropdown-item:focus {
        background: var(--blue-light);
        color: var(--primary);
    }

    .services-dropdown {
        max-height: 70vh;
        overflow-y: auto;
        min-width: 230px;
    }

    .navbar-brand img {
        height: 58px;
        border-radius: 8px;
    }

    .navbar-brand .brand-name {
        color: #fff;
        font-family: 'Playfair Display', serif;
        font-size: 1.25rem;
        font-weight: 800;
        line-height: 1.1;
    }

    @media(min-width: 768px) {
        .navbar-brand .brand-name {
            font-size: 1.35rem;
        }
    }

    /* HERO */
    .hero-section {
        position: relative;
        min-height: 520px;
        overflow: hidden;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, #d6e0f5 0%, #b8caea 40%, #8daad8 100%);
    }

    .hero-blob {
        position: absolute;
        border-radius: 50%;
        opacity: .18;
        background: radial-gradient(circle, var(--primary), transparent);
    }

    .hero-blob-1 {
        width: 400px;
        height: 400px;
        top: -80px;
        right: -80px;
    }

    .hero-blob-2 {
        width: 250px;
        height: 250px;
        bottom: -60px;
        left: 10%;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.8rem, 4vw, 3rem);
        color: var(--primary-dark);
        font-weight: 800;
        line-height: 1.2;
    }

    .hero-subtitle {
        color: var(--primary);
        font-size: 1.05rem;
        font-weight: 600;
        margin: 12px 0 28px;
    }

    .btn-primary-hero {
        background: var(--primary-dark);
        color: #fff;
        border: none;
        border-radius: 30px;
        padding: 13px 30px;
        font-weight: 800;
        font-size: .95rem;
        text-decoration: none;
        transition: transform .2s, background .2s;
        display: inline-block;
    }

    .btn-primary-hero:hover {
        background: var(--accent);
        color: #fff;
        transform: translateY(-2px);
    }

    .btn-whatsapp {
        background: #25d366;
        color: #fff;
        border-radius: 30px;
        padding: 13px 28px;
        font-weight: 800;
        font-size: .95rem;
        text-decoration: none;
        transition: transform .2s, background .2s;
        display: inline-block;
    }

    .btn-whatsapp:hover {
        background: #1da851;
        color: #fff;
        transform: translateY(-2px);
    }

    .hero-img-wrap {
        position: relative;
        z-index: 2;
        text-align: right;
    }

    .hero-img-wrap img {
        max-height: 460px;
        border-radius: 20px 20px 0 20px;
        filter: drop-shadow(0 20px 40px rgba(26, 58, 140, .25));
        animation: floatUp 3s ease-in-out infinite alternate;
    }

    @keyframes floatUp {
        from {
            transform: translateY(0)
        }

        to {
            transform: translateY(-14px)
        }
    }

    /* VALUE STATEMENT BANNER */
    .value-banner {
        background: var(--primary);
        color: #fff;
        text-align: center;
        padding: 22px 20px;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: .5px;
    }

    .value-banner span {
        color: var(--accent);
    }

    /* SECTION TITLE */
    .section-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        color: var(--primary-dark);
        font-weight: 800;
        text-align: center;
        margin-bottom: 8px;
    }

    .section-underline {
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        border-radius: 2px;
        margin: 0 auto 40px;
    }

    /* ABOUT */
    .about-section {
        padding: 70px 0;
        background: #fff;
    }

    .about-section p {
        color: var(--text-muted);
        font-size: .93rem;
        line-height: 1.85;
    }

    .about-section h5 {
        font-weight: 800;
        color: var(--primary-dark);
        margin-bottom: 8px;
    }

    .about-img {
        border-radius: 20px;
        width: 100%;
        height: auto;
        object-fit: cover;
        box-shadow: 0 8px 32px rgba(26, 58, 140, .15);
    }

    @media(min-width: 992px) {
        .about-img {
            min-height: 460px;
            max-height: 560px;
        }
    }

    /* OBJECTIVES */
    .objectives-section {
        padding: 60px 0;
        background: var(--blue-light);
    }

    .obj-card {
        background: #fff;
        border-left: 4px solid var(--primary);
        border-radius: 0 12px 12px 0;
        padding: 18px 20px;
        margin-bottom: 16px;
        box-shadow: 0 2px 10px rgba(26, 58, 140, .06);
    }

    .obj-card p {
        color: var(--text-dark);
        font-size: .9rem;
        margin: 0;
        font-weight: 600;
    }

    /* VISION MISSION */
    .vm-card {
        background: var(--primary);
        color: #fff;
        border-radius: 16px;
        padding: 28px 24px;
        height: 100%;
    }

    .vm-card h5 {
        color: var(--accent);
        font-weight: 800;
        margin-bottom: 10px;
    }

    .vm-card p {
        font-size: .9rem;
        opacity: .9;
    }

    /* SERVICES */
    .services-section {
        background: var(--blue-light);
        padding: 70px 0;
    }

    .service-card {
        background: #fff;
        border-radius: 16px;
        padding: 28px 22px;
        box-shadow: 0 4px 20px rgba(26, 58, 140, .08);
        transition: transform .3s, box-shadow .3s;
        height: 100%;
        border-top: 4px solid transparent;
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 36px rgba(26, 58, 140, .14);
        border-top-color: var(--primary);
    }

    .service-icon {
        width: 56px;
        height: 56px;
        background: var(--blue-light);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .service-card h5 {
        font-weight: 800;
        color: var(--primary-dark);
        font-size: 1.05rem;
    }

    .service-card p {
        color: var(--text-muted);
        font-size: .9rem;
        margin: 0;
    }

    /* STATS */
    .stats-section {
        padding: 60px 0;
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    }

    .stat-item {
        text-align: center;
    }

    .stat-num {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2.2rem, 5vw, 3.5rem);
        font-weight: 800;
        color: #fff;
        display: block;
    }

    .stat-label {
        color: rgba(255, 255, 255, .78);
        font-size: .95rem;
        font-weight: 600;
    }

    /* WHY CHOOSE */
    .why-section {
        padding: 70px 0;
        background: #fff;
    }

    .why-card {
        text-align: center;
        padding: 32px 20px;
        border-radius: 16px;
        background: var(--blue-light);
        transition: transform .3s, background .3s;
        height: 100%;
    }

    .why-card:hover {
        transform: translateY(-6px);
        background: var(--primary);
    }

    .why-card:hover h5,
    .why-card:hover p {
        color: #fff !important;
    }

    .why-card:hover .why-icon {
        background: rgba(255, 255, 255, .2);
        color: #fff;
    }

    .why-icon {
        width: 64px;
        height: 64px;
        background: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
        font-size: 1.6rem;
        color: var(--primary);
        box-shadow: 0 4px 14px rgba(26, 58, 140, .12);
        transition: background .3s, color .3s;
    }

    .why-card h5 {
        font-weight: 800;
        color: var(--primary-dark);
        transition: color .3s;
    }

    .why-card p {
        color: var(--text-muted);
        font-size: .9rem;
        transition: color .3s;
    }

    /* TEAM */
    .team-section {
        padding: 70px 0;
        background: var(--blue-light);
    }

    .team-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(26, 58, 140, .08);
        transition: transform .3s, box-shadow .3s;
        text-align: center;
    }

    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 40px rgba(26, 58, 140, .16);
    }

    .team-img-wrap {
        position: relative;
        overflow: hidden;
        height: 220px;
    }

    .team-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
    }

    .team-card:hover .team-img-wrap img {
        transform: scale(1.06);
    }

    .team-info {
        padding: 18px 16px;
    }

    .team-info h6 {
        font-weight: 800;
        color: var(--primary-dark);
        margin-bottom: 4px;
    }

    .team-info small {
        color: var(--text-muted);
        font-size: .82rem;
    }

    .btn-view-profile {
        background: transparent;
        border: 2px solid var(--primary);
        color: var(--primary);
        border-radius: 20px;
        padding: 6px 20px;
        font-weight: 700;
        font-size: .82rem;
        margin-top: 10px;
        transition: background .2s, color .2s;
        text-decoration: none;
        display: inline-block;
    }

    .btn-view-profile:hover {
        background: var(--primary);
        color: #fff;
    }

    /* TESTIMONIALS */
    .testimonials-section {
        padding: 70px 0;
        background: #fff;
    }

    .testimonial-card {
        background: var(--blue-light);
        border-radius: 16px;
        padding: 28px 24px;
        position: relative;
        transition: transform .3s;
    }

    .testimonial-card:hover {
        transform: translateY(-4px);
    }

    .testimonial-card::before {
        content: '\201C';
        font-size: 6rem;
        color: var(--primary);
        opacity: .12;
        position: absolute;
        top: -10px;
        left: 16px;
        line-height: 1;
        font-family: Georgia, serif;
    }

    .stars {
        color: var(--accent);
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .testimonial-card p {
        font-size: .92rem;
        color: var(--text-dark);
        font-style: italic;
    }

    .testimonial-author {
        font-weight: 800;
        color: var(--primary);
        margin-top: 14px;
        font-size: .88rem;
    }

    /* BLOG */
    .blog-section {
        padding: 70px 0;
        background: var(--blue-light);
    }

    .blog-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(26, 58, 140, .08);
        transition: transform .3s;
    }

    .blog-card:hover {
        transform: translateY(-5px);
    }

    .blog-img {
        height: 180px;
        overflow: hidden;
    }

    .blog-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
    }

    .blog-card:hover .blog-img img {
        transform: scale(1.06);
    }

    .blog-body {
        padding: 20px;
    }

    .blog-tag {
        display: inline-block;
        background: var(--blue-light);
        color: var(--primary);
        border-radius: 20px;
        padding: 3px 12px;
        font-size: .75rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .blog-body h6 {
        font-weight: 800;
        color: var(--primary-dark);
        font-size: .97rem;
    }

    .blog-body p {
        color: var(--text-muted);
        font-size: .85rem;
    }

    .blog-read-more {
        color: var(--primary);
        font-weight: 700;
        font-size: .85rem;
        text-decoration: none;
    }

    .blog-read-more:hover {
        color: var(--accent);
    }

    /* GALLERY & EVENTS */
    .gallery-events-section {
        padding: 70px 0;
        background: #fff;
    }

    .gallery-tabs {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 26px;
    }

    .gallery-tab-btn {
        background: #f4f5ff;
        border: 1px solid rgba(26, 58, 140, .14);
        color: var(--primary-dark);
        font-weight: 700;
        border-radius: 999px;
        padding: 10px 22px;
        cursor: pointer;
        transition: background .2s, color .2s, transform .2s;
    }

    .gallery-tab-btn:hover,
    .gallery-tab-btn.active {
        background: var(--primary);
        color: #fff;
        transform: translateY(-1px);
    }

    .gallery-tab-content {
        display: none;
    }

    .gallery-tab-content.active {
        display: block;
    }

    .gallery-card,
    .event-card {
        background: var(--blue-light);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(26, 58, 140, .08);
    }

    .gallery-card img,
    .event-card-image img,
    .gallery-video-card video,
    .gallery-video-card iframe {
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(15, 23, 42, .08);
    }

    .gallery-card img {
        height: 260px;
        object-fit: cover;
    }

    .gallery-video-card video,
    .gallery-video-card iframe {
        height: 260px;
    }

    .gallery-card-body,
    .event-card-body {
        padding: 20px;
    }

    .gallery-card-body h5,
    .event-card-body h5 {
        font-weight: 800;
        color: var(--primary-dark);
        margin-bottom: 10px;
    }

    .gallery-card-body p,
    .event-card-body p {
        color: var(--text-muted);
        font-size: .9rem;
        line-height: 1.7;
        margin: 0;
    }

    .event-list {
        display: grid;
        gap: 20px;
    }

    .event-card {
        background: #f7f8ff;
    }

    .event-card-image img {
        height: 180px;
        object-fit: cover;
    }

    .event-meta {
        display: inline-block;
        margin-right: 12px;
        color: var(--primary);
        font-size: .85rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .event-card-body p {
        margin-top: 10px;
    }

    /* APPOINTMENT */
    .appointment-section {
        padding: 70px 0;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }

    .appointment-form {
        background: rgba(255, 255, 255, .07);
        border: 1px solid rgba(255, 255, 255, .15);
        border-radius: 20px;
        padding: 40px;
    }

    .appointment-form .form-control,
    .appointment-form .form-select {
        border-radius: 10px;
        border: 1.5px solid rgba(255, 255, 255, .25);
        background: rgba(255, 255, 255, .1);
        color: #fff;
        padding: 12px 16px;
    }

    .appointment-form .form-control::placeholder {
        color: rgba(255, 255, 255, .6);
    }

    .appointment-form .form-control:focus,
    .appointment-form .form-select:focus {
        background: rgba(255, 255, 255, .18);
        border-color: var(--accent);
        box-shadow: none;
        color: #fff;
    }

    .appointment-form .form-select option {
        color: var(--text-dark);
        background: #fff;
    }

    .appointment-form label {
        color: rgba(255, 255, 255, .85);
        font-weight: 600;
        font-size: .88rem;
    }

    .btn-submit-appt {
        background: var(--accent);
        color: #fff;
        border: none;
        border-radius: 30px;
        padding: 14px 40px;
        font-weight: 800;
        font-size: 1rem;
        transition: background .2s, transform .2s;
        width: 100%;
    }

    .btn-submit-appt:hover {
        background: #d4881e;
        transform: translateY(-2px);
    }

    /* CONTACT */
    .contact-section {
        padding: 70px 0;
        background: #fff;
    }

    .contact-info-card {
        background: var(--blue-light);
        border-radius: 16px;
        padding: 30px;
    }

    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 22px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        background: var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1rem;
    }

    .contact-item h6 {
        font-weight: 800;
        color: var(--primary-dark);
        margin: 0;
        font-size: .9rem;
    }

    .contact-item p {
        color: var(--text-muted);
        font-size: .85rem;
        margin: 0;
    }

    .contact-form .form-control,
    .contact-form textarea {
        border-radius: 10px;
        border: 1.5px solid #ccd6f0;
        padding: 12px 16px;
        font-family: 'Nunito', sans-serif;
    }

    .contact-form .form-control:focus,
    .contact-form textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(26, 58, 140, .12);
    }

    .btn-send {
        background: var(--primary);
        color: #fff;
        border: none;
        border-radius: 30px;
        padding: 13px 36px;
        font-weight: 800;
        transition: background .2s, transform .2s;
    }

    .btn-send:hover {
        background: var(--accent);
        transform: translateY(-2px);
    }

    /* FOOTER */
    footer {
        background: var(--primary-dark);
        color: rgba(255, 255, 255, .75);
        padding: 60px 0 20px;
    }

    footer h5 {
        color: #fff;
        font-weight: 800;
        margin-bottom: 18px;
        font-size: 1rem;
    }

    footer a {
        color: rgba(255, 255, 255, .65);
        text-decoration: none;
        font-size: .88rem;
        transition: color .2s;
    }

    footer a:hover {
        color: var(--accent);
    }

    footer ul {
        list-style: none;
        padding: 0;
    }

    footer ul li {
        margin-bottom: 8px;
    }

    footer ul li a::before {
        content: '› ';
        color: var(--accent);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, .1);
        margin-top: 40px;
        padding-top: 20px;
        font-size: .82rem;
        text-align: center;
    }

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, .08);
        border-radius: 50%;
        color: rgba(255, 255, 255, .7);
        margin-right: 8px;
        font-size: .9rem;
        transition: background .2s, color .2s;
    }

    .social-links a:hover {
        background: var(--accent);
        color: #fff;
    }

    .whatsapp-float {
        position: fixed;
        bottom: 28px;
        right: 28px;
        background: #25d366;
        color: #fff;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem;
        box-shadow: 0 6px 24px rgba(37, 211, 102, .4);
        z-index: 9999;
        text-decoration: none;
        animation: pulse-wa 2s infinite;
    }

    @keyframes pulse-wa {

        0%,
        100% {
            box-shadow: 0 6px 24px rgba(37, 211, 102, .4)
        }

        50% {
            box-shadow: 0 6px 36px rgba(37, 211, 102, .7)
        }
    }

    #scrollTop {
        position: fixed;
        bottom: 96px;
        right: 30px;
        background: var(--primary);
        color: #fff;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: none;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        cursor: pointer;
        z-index: 9998;
        box-shadow: 0 4px 14px rgba(26, 58, 140, .3);
        transition: background .2s;
    }

    #scrollTop:hover {
        background: var(--accent);
    }

    .btn-view-all {
        background: var(--primary);
        color: #fff;
        border-radius: 30px;
        padding: 12px 36px;
        font-weight: 800;
        text-decoration: none;
        transition: background .2s, transform .2s;
        display: inline-block;
    }

    .btn-view-all:hover {
        background: var(--accent);
        color: #fff;
        transform: translateY(-2px);
    }

    #page-loader {
        position: fixed;
        inset: 0;
        background: var(--primary-dark);
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        transition: opacity .5s, visibility .5s;
    }

    #page-loader .loader-logo {
        font-family: 'Playfair Display', serif;
        color: #fff;
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 24px;
        text-align: center;
    }

    #page-loader .loader-bar {
        width: 160px;
        height: 4px;
        background: rgba(255, 255, 255, .15);
        border-radius: 2px;
        overflow: hidden;
    }

    #page-loader .loader-bar-fill {
        height: 100%;
        background: var(--accent);
        border-radius: 2px;
        animation: loadFill 1.6s ease forwards;
    }

    @keyframes loadFill {
        from {
            width: 0
        }

        to {
            width: 100%
        }
    }

    #page-loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

    .fade-in-section {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity .6s ease, transform .6s ease;
    }

    .fade-in-section.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .map-wrap {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(26, 58, 140, .1);
    }

    .count-up {
        display: inline-block;
    }

    .knowledge-chat {
        position: fixed;
        right: 28px;
        bottom: 164px;
        z-index: 9997;
        font-family: 'Nunito', sans-serif;
    }

    .knowledge-chat-toggle {
        width: 56px;
        height: 56px;
        border: 0;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
        box-shadow: 0 8px 24px rgba(26, 58, 140, .28);
        cursor: pointer;
    }

    .knowledge-chat-panel {
        position: absolute;
        right: 0;
        bottom: 72px;
        width: min(360px, calc(100vw - 32px));
        height: 480px;
        max-height: calc(100vh - 210px);
        background: #fff;
        border: 1px solid rgba(26, 58, 140, .12);
        border-radius: 8px;
        box-shadow: 0 18px 50px rgba(14, 34, 102, .22);
        overflow: hidden;
        display: none;
        flex-direction: column;
    }

    .knowledge-chat.open .knowledge-chat-panel {
        display: flex;
    }

    .knowledge-chat-header {
        background: var(--primary);
        color: #fff;
        padding: 14px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .knowledge-chat-header strong,
    .knowledge-chat-header span {
        display: block;
        line-height: 1.2;
    }

    .knowledge-chat-header span {
        color: rgba(255, 255, 255, .76);
        font-size: .78rem;
        margin-top: 3px;
    }

    .knowledge-chat-close {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .14);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .knowledge-chat-messages {
        flex: 1;
        overflow-y: auto;
        padding: 14px;
        background: #f7f8ff;
    }

    .knowledge-chat-message {
        width: fit-content;
        max-width: 92%;
        border-radius: 8px;
        padding: 10px 12px;
        margin-bottom: 10px;
        font-size: .88rem;
        line-height: 1.45;
        color: var(--text-dark);
        background: #fff;
        box-shadow: 0 2px 10px rgba(26, 58, 140, .06);
    }

    .knowledge-chat-message.user {
        margin-left: auto;
        background: var(--primary);
        color: #fff;
    }

    .knowledge-chat-result {
        border-top: 1px solid rgba(26, 58, 140, .12);
        padding-top: 9px;
        margin-top: 9px;
    }

    .knowledge-chat-result a {
        color: var(--primary);
        font-weight: 800;
        text-decoration: none;
    }

    .knowledge-chat-result p {
        margin: 4px 0 0;
        color: var(--text-muted);
    }

    .knowledge-chat-form {
        display: flex;
        gap: 8px;
        padding: 12px;
        background: #fff;
        border-top: 1px solid rgba(26, 58, 140, .12);
    }

    .knowledge-chat-form input {
        flex: 1;
        min-width: 0;
        border: 1px solid #ccd6f0;
        border-radius: 8px;
        padding: 11px 12px;
        font: inherit;
    }

    .knowledge-chat-form input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(26, 58, 140, .1);
    }

    .knowledge-chat-form button {
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: var(--accent);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .knowledge-chat-form button:disabled {
        opacity: .65;
        cursor: wait;
    }

    @media(max-width: 575.98px) {
        .knowledge-chat {
            right: 16px;
            bottom: 154px;
        }

        .knowledge-chat-panel {
            max-height: calc(100vh - 190px);
        }
    }
    
