  :root {
            --maroon-950: #3a0a10;
            --maroon-900: #5c0f16;
            --maroon-800: #7a1119;
            --maroon-700: #9c151d;
            --brand-red: #a91621;
            --gold: #e9b949;
            --cream: #F0E8D5;
            --ink: #241012;

            --maroon: #7a1121;
            --maroon-dark: #5c0d19;
            --gold: #c98a2e;
            --cream-2: #f7ead6;
            --ink: #2b2320;
            --muted: #6b6058;

            --cream-deep: #F7E3CC;
            --maroon: #7A1620;
            --maroon-deep: #5C1017;
            --gold: #D98A3D;
            --ink: #2b1a14;
            --ink-soft: #7a6a60;
            --line: rgba(122, 22, 32, 0.14);


            --maroon-darkest: #380A0F;
            --gold: #E8B65A;
            --gold-soft: #D9A748;
            --text-soft: rgba(255, 255, 255, 0.72);
            --line: rgba(255, 255, 255, 0.12);
        }


        * {
            box-sizing: border-box;
        }

        html,
        body {
            overflow-x: clip;
            width: 100%;
            max-width: 100%;
        }

        * {
            box-sizing: border-box;
        }

        video,
        iframe {
            max-width: 100%;
        }

        h1,
        h2,
        h3,
        .display-font {
            font-family: 'Poppins', sans-serif;
        }

        /* ===== Sticky wrapper ===== */
        .topbar {
            background: var(--maroon-950);
            color: #f3d9be;
            font-size: .82rem;
            padding: .45rem 0;
            position: sticky;
            top: 0;
            z-index: 1031;
        }

        .topbar a.btn-app {
            background: var(--brand-red);
            color: #F0E8D5;
            border-radius: 30px;
            padding: .3rem 1rem;
            font-size: .78rem;
            text-decoration: none;
            font-weight: 600;
        }

        .topbar .btn-close-top {
            filter: invert(1);
            opacity: .6;
        }

        .navbar-Srisuriya {
            background: #F0E8D5;
            padding: 0 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
            position: sticky;
            top: 0;
            /* becomes 0 automatically once topbar scrolls out of its own sticky slot; see JS offset fix below */
            z-index: 1030;
        }

        .topbar,
        .navbar-Srisuriya {
            position: sticky;
            z-index: 1031;
        }

        section {
            position: relative;
            z-index: 1;
        }

        /* ===== Active link state ===== */
        .nav-link-Srisuriya {
            position: relative;
            transition: color .2s ease;
        }

        .nav-link-Srisuriya.active,
        .nav-link-Srisuriya:hover {
            color: var(--brand-red) !important;
        }

        .nav-link-Srisuriya.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -6px;
            height: 2px;
            background: var(--brand-red);
            border-radius: 2px;
        }

        .navbar-Srisuriya {
            position: sticky;
            top: 0;
        }

        .brand-logo {
            font-family: 'Poppins', sans-serif;
            font-weight: 800;
            font-size: 1.5rem;
            color: var(--brand-red);
            display: flex;
            flex-direction: column;
            line-height: 1;
        }

        .brand-logo small {
            font-size: .5rem;
            letter-spacing: 1.5px;
            color: #6b6b6b;
            font-weight: 600;
            margin-top: 2px;
        }

        .navbar-Srisuriya .form-search {
            background: #f4f2f0;
            border-radius: 30px;
            padding: .5rem 1rem;
            display: flex;
            align-items: center;
            gap: .5rem;
            min-width: 280px;
        }

        .navbar-Srisuriya .form-search input {
            border: none;
            background: transparent;
            outline: none;
            width: 100%;
            font-size: .9rem;
        }

        .btn-explore {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: .5rem 1rem;
            background: #F0E8D5;
            font-weight: 600;
            font-size: .9rem;
            color: var(--ink);
        }

        .nav-link-Srisuriya {
            font-weight: 600;
            font-size: .9rem;
            color: var(--ink) !important;
            text-decoration: none;
        }

        .btn-signup {
            background: var(--brand-red);
            color: #F0E8D5;
            border-radius: 8px;
            padding: .55rem 1.3rem;
            font-weight: 600;
            font-size: .9rem;
            border: none;
            text-decoration: none;
            white-space: nowrap;
        }

        .btn-login {
            font-weight: 600;
            font-size: .9rem;
            color: var(--ink);
            text-decoration: none;
        }

        /* ===== Hero ===== */
        .hero {
            position: relative;
            background: radial-gradient(120% 120% at 15% 20%, var(--maroon-800) 0%, var(--maroon-900) 45%, var(--maroon-950) 100%);
            overflow: hidden;
            padding: 5rem 0 4rem;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
            background-size: 26px 26px;
            opacity: .5;
            pointer-events: none;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(233, 185, 73, .4);
            color: var(--gold);
            padding: .4rem 1rem;
            border-radius: 30px;
            font-size: .82rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        .hero h1 {
            font-weight: 800;
            font-size: clamp(2rem, 4.2vw, 3.4rem);
            line-height: 1.15;
            color: #F0E8D5;
        }

        .hero h1 .accent {
            color: var(--gold);
        }

        .hero p.lead-text {
            color: #e9d9d5;
            font-size: 1.05rem;
            max-width: 520px;
            margin: 1.3rem 0 1.8rem;
        }

        .feature-pill {
            display: flex;
            align-items: center;
            gap: .6rem;
            color: #f3e2de;
            font-size: .85rem;
            font-weight: 600;
        }

        .feature-pill .ic {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .25);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            flex-shrink: 0;
        }

        .hero-search {
            background: #F0E8D5;
            border-radius: 12px;
            padding: .6rem;
            display: flex;
            gap: .5rem;
            margin-top: 2rem;
            max-width: 520px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
        }

        .hero-search input {
            border: none;
            outline: none;
            flex: 1;
            padding: .6rem .8rem;
            font-size: .95rem;
            border-radius: 8px;
            min-width: 0;
        }

        .hero-search button {
            background: var(--brand-red);
            color: #F0E8D5;
            border: none;
            border-radius: 8px;
            padding: .6rem 1.4rem;
            font-weight: 600;
            white-space: nowrap;
        }

        /* Hero visual */
        .hero-visual {
            position: relative;
            min-height: 340px;
        }

        .orbit-ring {
            position: absolute;
            top: 50%;
            left: 58%;
            transform: translate(-50%, -50%);
            width: 420px;
            height: 420px;
            border: 1px dashed rgba(255, 255, 255, .15);
            border-radius: 50%;
        }

        .float-card {
            position: absolute;
            background: #F0E8D5;
            border-radius: 10px;
            padding: .7rem 1rem;
            font-size: .78rem;
            font-weight: 700;
            color: var(--ink);
            box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
            display: flex;
            align-items: center;
            gap: .5rem;
        }

        .float-card i {
            color: var(--brand-red);
            font-size: 1.1rem;
        }

        .laptop-wrap {
            position: relative;
            z-index: 2;
            max-width: 440px;
            margin: 0 auto;
        }

        .laptop-wrap img {
            width: 100%;
            filter: drop-shadow(0 25px 35px rgba(0, 0, 0, .4));
        }

        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -60%);
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--brand-red);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #F0E8D5;
            font-size: 1.5rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
            z-index: 3;
            animation: pulse 2.4s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(169, 22, 33, .5);
            }

            70% {
                box-shadow: 0 0 0 18px rgba(169, 22, 33, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(169, 22, 33, 0);
            }
        }

        @keyframes floaty {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-12px);
            }
        }

        .anim-float {
            animation: floaty 4s ease-in-out infinite;
        }

        .anim-float-slow {
            animation: floaty 5.5s ease-in-out infinite;
        }

        /* ===== Trusted logos card ===== */
        .trusted-card {
            background: #F0E8D5;
            border-radius: 16px;
            padding: 1.8rem 2rem;
            box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
            margin-top: 3rem;
            position: relative;
            z-index: 5;
        }

        .trusted-card .label {
            text-align: center;
            font-size: .85rem;
            color: #8a8a8a;
            margin-bottom: 1.2rem;
            position: relative;
        }

        .trusted-card .label::before,
        .trusted-card .label::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 26%;
            height: 1px;
            background: #e5e5e5;
        }

        .trusted-card .label::before {
            left: 0;
        }

        .trusted-card .label::after {
            right: 0;
        }

        .logo-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 2.2rem;
            font-weight: 700;
            color: #333;
            font-size: 1.05rem;
        }

        .logo-row span {
            opacity: .75;
            font-family: 'Poppins', sans-serif;
        }

        /* ===== Stats strip ===== */
        .stats-strip {
            background: var(--brand-red);
            padding: 1.8rem 0 1.4rem;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: .8rem;
            color: #F0E8D5;
            justify-content: center;
        }

        .stat-item .ic {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }

        .stat-item h4 {
            margin: 0;
            font-weight: 800;
            font-size: 1.15rem;
        }

        .stat-item p {
            margin: 0;
            font-size: .8rem;
            opacity: .9;
        }

        /* Offcanvas mobile menu tweaks */
        .offcanvas-body .nav-link-Srisuriya {
            padding: .6rem 0;
            border-bottom: 1px solid #f0f0f0;
        }

        @media (max-width: 991.98px) {
            .hero {
                padding: 2.5rem 0 3rem;
                text-align: center;
            }

            .hero p.lead-text {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-search {
                margin-left: auto;
                margin-right: auto;
            }

            .feature-pill {
                justify-content: center;
            }

            .hero-visual {
                margin-top: 2.5rem;
                min-height: auto;
            }

            .orbit-ring {
                display: none;
            }

            .trusted-card {
                padding: 1.4rem 1rem;
            }

            .logo-row {
                gap: 1.3rem 1.6rem;
                font-size: .9rem;
            }
        }


        .about-section {
            padding: 5rem 0;
            overflow: hidden;
        }

        .eyebrow {
            display: flex;
            align-items: center;
            gap: .6rem;
            color: var(--maroon);
            font-weight: 700;
            font-size: .8rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .eyebrow::after {
            content: "";
            width: 40px;
            height: 2px;
            background: var(--maroon);
            opacity: .5;
        }

        .about-title {
            font-family: 'Playfair Display', serif;
            font-weight: 800;
            font-size: clamp(2rem, 3.6vw, 3rem);
            line-height: 1.15;
            color: var(--maroon-dark);
            margin-bottom: 1.4rem;
        }

        .about-title .accent {
            color: var(--gold);
            display: block;
        }

        .about-text p {
            color: var(--muted);
            font-size: 1rem;
            line-height: 1.75;
            margin-bottom: 1.1rem;
        }

        .feature-row {
            margin-top: 2.2rem;
        }

        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .feature-item .ic {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--cream-2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--maroon);
            font-size: 1.4rem;
            margin-bottom: .8rem;
        }

        .feature-item h6 {
            font-weight: 700;
            color: var(--maroon-dark);
            margin-bottom: .3rem;
            font-size: .95rem;
        }

        .feature-item p {
            color: var(--muted);
            font-size: .82rem;
            margin: 0;
            line-height: 1.5;
        }

        .btn-learn {
            background: var(--maroon-dark);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: .85rem 1.6rem;
            font-weight: 600;
            font-size: .92rem;
            display: inline-flex;
            align-items: center;
            gap: .6rem;
            margin-top: 2.2rem;
            text-decoration: none;
            transition: .25s;
        }

        .btn-learn:hover {
            background: var(--maroon);
            color: #fff;
            gap: .9rem;
        }

        /* ===== Visual side ===== */
        .visual-wrap {
            position: relative;
            min-height: 480px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .blob-bg {
            position: absolute;
            top: 8%;
            right: 0;
            width: 88%;
            height: 78%;
            background: linear-gradient(135deg, #fbe9d4, #f3dcc0);
            border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
            z-index: 0;
        }

        .school-silhouette {
            position: absolute;
            right: 0;
            top: 6%;
            width: 46%;
            opacity: .35;
            z-index: 0;
        }

        .school-silhouette svg {
            width: 100%;
            height: auto;
            fill: #e3c7a0;
        }

        .tagline-script {
            position: absolute;
            top: -1.2rem;
            right: 4%;
            font-family: 'Caveat', cursive;
            font-weight: 700;
            color: var(--maroon-dark);
            font-size: 1.5rem;
            line-height: 1.25;
            text-align: right;
            transform: rotate(-3deg);
            z-index: 3;
        }

        /* Book stack */
        .book-stack {
            position: relative;
            z-index: 2;
            width: 230px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .cap {
            width: 150px;
            z-index: 5;
            margin-bottom: -14px;
        }

        .book {
            width: 230px;
            height: 56px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            letter-spacing: 2px;
            font-size: .95rem;
            box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
            position: relative;
            border-top: 3px solid rgba(255, 255, 255, .25);
        }

        .book::before,
        .book::after {
            content: "";
            position: absolute;
            left: 14px;
            right: 14px;
            height: 1px;
            background: rgba(255, 255, 255, .25);
        }

        .book::before {
            top: 8px;
        }

        .book::after {
            bottom: 8px;
        }

        .book-maroon {
            background: linear-gradient(180deg, var(--maroon), var(--maroon-dark));
            color: #f3d9a8;
        }

        .book-cream {
            background: linear-gradient(180deg, #f4e6cd, #ecd9b8);
            color: var(--maroon-dark);
        }

        .book-stack .book:not(:first-of-type) {
            margin-top: -6px;
        }

        .scroll-doc {
            position: absolute;
            bottom: -2%;
            right: 12%;
            width: 110px;
            z-index: 4;
        }

        .plant-ic {
            position: absolute;
            left: 2%;
            bottom: 14%;
            z-index: 2;
            color: #3f7d4f;
            font-size: 5rem;
            opacity: .9;
        }

        .globe-ic {
            position: absolute;
            right: 0%;
            bottom: 6%;
            z-index: 2;
            color: var(--maroon);
            font-size: 5.5rem;
        }

        /* ===== Stats bar ===== */
        .stats-bar {
            background: var(--cream-2);
            border-radius: 14px;
            padding: 1.6rem 1rem;
            margin-top: 2.5rem;
            position: relative;
            z-index: 3;
        }

        .stat-col {
            text-align: center;
            position: relative;
        }

        .stat-col:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 8%;
            right: 0;
            height: 84%;
            width: 1px;
            background: rgba(122, 17, 33, .15);
        }

        .stat-col h3 {
            font-family: 'Playfair Display', serif;
            font-weight: 800;
            color: var(--maroon-dark);
            font-size: 1.9rem;
            margin-bottom: .1rem;
        }

        .stat-col p {
            margin: 0;
            font-size: .82rem;
            font-weight: 600;
            color: var(--muted);
        }

        @media (max-width: 991.98px) {
            .about-section {
                padding: 3rem 0;
            }

            .about-title,
            .eyebrow,
            .about-text {
                text-align: left;
            }

            .visual-wrap {
                min-height: 420px;
                margin-top: 2rem;
            }

            .tagline-script {
                display: none;
            }

            .feature-row .col-4 {
                flex: 0 0 100%;
                max-width: 100%;
                margin-bottom: 1.2rem;
            }
        }

        @media (max-width: 575.98px) {

            .book-stack,
            .book {
                width: 190px;
            }

            .cap {
                width: 120px;
            }

            .stat-col:not(:last-child)::after {
                display: none;
            }

            .stat-col {
                margin-bottom: .8rem;
            }
        }

        :root {
            --bg: #111214;
            --card: #1b1c1f;
            --line: rgba(255, 255, 255, 0.12);
            --text: #ffffff;
            --text-soft: rgba(255, 255, 255, 0.7);
        }


        .carousel {
            position: relative;
            width: 100%;
            /* height: 100vh; */
            /* background: var(--card); */
            overflow: hidden;
            transition: height .3s ease;
        }

        @media (max-width: 640px) {
            .carousel {
                height: auto;
                aspect-ratio: 9/16;
                /* fallback until real video metadata loads */
            }

            .play-btn {
                width: 52px;
                height: 52px;
            }

            .play-btn svg {
                width: 18px;
                height: 18px;
            }

            .nav-btn {
                width: 32px;
                height: 32px;
            }

            .bottom-bar {
                padding: 14px 16px;
            }

            .explore-link {
                font-size: 13px;
            }

            .counter {
                font-size: 12px;
            }
        }

        .track {
            display: flex;
            width: 300%;
            height: 100%;
            transition: transform 0.45s ease;
        }

        .slide {
            position: relative;
            width: 33.333%;
            height: 100%;
            background: #000;
            flex-shrink: 0;
        }

        .slide video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        @media (max-width: 640px) {
            .slide video {
                object-fit: contain;
                background: #000;
            }
        }

        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease;
            z-index: 2;
        }

        .play-btn:hover {
            transform: translate(-50%, -50%) scale(1.06);
            background: #fff;
        }

        .play-btn svg {
            width: 22px;
            height: 22px;
            fill: #111;
            margin-left: 3px;
        }

        .play-btn.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3;
            transition: background 0.2s ease;
        }

        .nav-btn:hover {
            background: rgba(0, 0, 0, 0.7);
        }

        .nav-btn.prev {
            left: 14px;
        }

        .nav-btn.next {
            right: 14px;
        }

        .nav-btn svg {
            width: 16px;
            height: 16px;
            stroke: #fff;
            fill: none;
            stroke-width: 2.4;
        }

        .bottom-bar {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
            z-index: 3;
        }

        .explore-link {
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .explore-link svg {
            width: 14px;
            height: 14px;
            stroke: #fff;
            fill: none;
            stroke-width: 2.4;
        }

        .counter {
            color: rgba(255, 255, 255, 0.85);
            font-size: 13px;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.5px;
        }

        .dots {
            position: absolute;
            top: 16px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            z-index: 3;
        }

        .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            transition: background 0.2s ease, width 0.2s ease;
        }

        .dot.active {
            background: #fff;
            width: 16px;
            border-radius: 3px;
        }

        .faq-section {
            position: relative;
            max-width: 1300px;
            margin: 0 auto;
            padding: 60px 40px 50px;
            overflow: hidden;
        }

        /* ---------- HEADER ---------- */
        .faq-header {
            text-align: center;
            position: relative;
            margin-bottom: 40px;
        }

        .faq-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--maroon);
            color: #fff;
            font-size: 12.5px;
            font-weight: 600;
            padding: 7px 18px;
            border-radius: 30px;
        }

        .faq-badge i {
            font-size: 12px;
        }

        .badge-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 18px;
        }

        .badge-row .dash {
            width: 34px;
            height: 1px;
            background: var(--line);
        }

        .badge-row .dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--gold);
        }

        .faq-header h1 {
            font-size: 40px;
            font-weight: 800;
            color: var(--maroon);
            letter-spacing: -0.5px;
            margin-bottom: 14px;
        }

        .faq-header p {
            font-size: 15px;
            color: var(--ink-soft);
            max-width: 480px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .search-bar {
            max-width: 560px;
            margin: 26px auto 0;
            display: flex;
            align-items: center;
            background: #fff;
            border-radius: 40px;
            padding: 6px 6px 6px 22px;
            box-shadow: 0 10px 30px rgba(122, 22, 32, 0.08);
            border: 1px solid var(--line);
        }

        .search-bar>i.fa-magnifying-glass {
            color: var(--ink-soft);
            font-size: 15px;
            margin-right: 12px;
        }

        .search-bar input {
            flex: 1;
            border: none;
            outline: none;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            padding: 10px 0;
            background: transparent;
            color: var(--ink);
        }

        .search-bar input::placeholder {
            color: #b5a89e;
        }

        .search-btn {
            background: var(--maroon);
            color: #fff;
            border: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 13.5px;
            padding: 11px 26px;
            border-radius: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background .2s ease;
        }

        .search-btn:hover {
            background: var(--maroon-deep);
        }

        /* ---------- DECOR ---------- */
        .decor {
            position: absolute;
            z-index: 0;
            pointer-events: none;
            color: var(--maroon);
        }

        .decor-left {
            top: 20px;
            left: 10px;
            width: 170px;
            height: 150px;
        }

        .decor-left .bubble-q {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 92px;
            height: 78px;
            background: var(--maroon);
            border-radius: 20px 20px 20px 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 12px 24px rgba(122, 22, 32, 0.25);
        }

        .decor-left .bubble-q i {
            color: #fff;
            font-size: 30px;
        }

        .decor-left .bubble-dots {
            position: absolute;
            top: 78px;
            left: 78px;
            width: 78px;
            height: 56px;
            background: var(--cream-deep);
            border: 1px solid var(--line);
            border-radius: 16px 16px 16px 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .decor-left .bubble-dots span {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--gold);
        }

        .decor-left .sparkle {
            position: absolute;
            color: var(--gold);
            font-size: 14px;
        }

        .decor-left .sparkle.s1 {
            top: 0;
            right: 0;
        }

        .decor-left .sparkle.s2 {
            bottom: 6px;
            left: 0;
            font-size: 10px;
        }

        .decor-left .dot-grid {
            position: absolute;
            bottom: 0;
            left: 6px;
            width: 52px;
            height: 40px;
            background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
            background-size: 8px 8px;
            opacity: 0.7;
        }

        .decor-right {
            top: 14px;
            right: 10px;
            width: 190px;
            height: 170px;
        }

        .decor-right .bubble-q {
            position: absolute;
            top: 60px;
            left: 0;
            width: 64px;
            height: 52px;
            background: var(--cream-deep);
            border: 1px solid var(--line);
            border-radius: 16px 16px 4px 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .decor-right .bubble-q i {
            color: var(--maroon);
            font-size: 20px;
        }

        .decor-right .plant-pot {
            position: absolute;
            top: 0;
            right: 0;
            width: 130px;
            height: 150px;
        }

        .decor-right .books {
            position: absolute;
            bottom: 24px;
            right: 10px;
            width: 96px;
        }

        .decor-right .book {
            height: 22px;
            border-radius: 3px;
            margin-bottom: 3px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
        }

        .decor-right .book1 {
            background: var(--maroon);
            width: 96px;
        }

        .decor-right .book2 {
            background: #fff;
            border: 1.5px solid var(--maroon);
            width: 88px;
            margin-left: 8px;
        }

        .decor-right .book3 {
            background: var(--gold);
            width: 80px;
            margin-left: 16px;
        }

        .decor-right .leaf-icon {
            position: absolute;
            top: -6px;
            right: 14px;
            color: var(--maroon);
            font-size: 46px;
            transform: rotate(8deg);
            opacity: 0.9;
        }

        .decor-right .dot-grid {
            position: absolute;
            top: 60px;
            right: 0;
            width: 50px;
            height: 40px;
            background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
            background-size: 8px 8px;
            opacity: 0.7;
        }

        /* ---------- FAQ GRID ---------- */
        .faq-grid {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px 24px;
            margin-top: 10px;
        }

        .faq-col {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .faq-item {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 14px;
            padding: 18px 20px;
            cursor: pointer;
            transition: box-shadow .2s ease, border-color .2s ease;
        }

        .faq-item:hover {
            box-shadow: 0 8px 20px rgba(122, 22, 32, 0.08);
        }

        .faq-item.open {
            border-color: rgba(122, 22, 32, 0.3);
            box-shadow: 0 10px 26px rgba(122, 22, 32, 0.1);
        }

        .faq-q {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .faq-icon {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 14.5px;
            flex-shrink: 0;
        }

        .icon-maroon {
            background: var(--maroon);
        }

        .icon-gold {
            background: var(--gold);
        }

        .faq-q span {
            flex: 1;
            font-size: 14.5px;
            font-weight: 600;
            color: var(--ink);
        }

        .faq-item.open .faq-q span {
            color: var(--maroon);
        }

        .chevron {
            color: var(--maroon);
            font-size: 13px;
            transition: transform .25s ease;
            flex-shrink: 0;
        }

        .faq-item.open .chevron {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height .3s ease, margin-top .3s ease;
            margin-left: 52px;
        }

        .faq-item.open .faq-answer {
            max-height: 200px;
            margin-top: 12px;
        }

        .faq-answer p {
            font-size: 13.5px;
            line-height: 1.7;
            color: var(--ink-soft);
        }

        /* ---------- FOOTER STRIP ---------- */
        .faq-footer {
            position: relative;
            z-index: 2;
            margin-top: 28px;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 22px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            overflow: hidden;
        }

        .footer-left {
            display: flex;
            align-items: center;
            gap: 16px;
            flex: 1.4;
        }

        .footer-icon {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--cream-deep);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--maroon);
            font-size: 20px;
            flex-shrink: 0;
        }

        .footer-left h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 4px;
        }

        .footer-left p {
            font-size: 12.5px;
            color: var(--ink-soft);
        }

        .footer-contact {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .contact-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--cream-deep);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--maroon);
            font-size: 13px;
            flex-shrink: 0;
        }

        .contact-text b {
            display: block;
            font-size: 12.5px;
            color: var(--ink);
            font-weight: 600;
        }

        .contact-text span {
            font-size: 12px;
            color: var(--ink-soft);
        }

        .contact-btn {
            background: var(--maroon);
            color: #fff;
            border: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 13.5px;
            padding: 12px 22px;
            border-radius: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
            transition: background .2s ease, transform .2s ease;
        }

        .contact-btn:hover {
            background: var(--maroon-deep);
            transform: translateY(-1px);
        }

        .footer-decor {
            position: absolute;
            right: 12px;
            bottom: 8px;
            width: 44px;
            height: 44px;
            background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
            background-size: 8px 8px;
            opacity: 0.7;
        }

        @media (max-width: 980px) {
            .faq-grid {
                grid-template-columns: 1fr;
            }

            .decor-left,
            .decor-right {
                display: none;
            }

            .faq-footer {
                flex-direction: column;
                align-items: flex-start;
            }

            .footer-contact {
                flex-wrap: wrap;
            }
        }

        @media (max-width: 560px) {
            .faq-header h1 {
                font-size: 28px;
            }

            .search-bar {
                flex-direction: column;
                align-items: stretch;
                border-radius: 20px;
                padding: 14px;
                gap: 10px;
            }

            .search-btn {
                justify-content: center;
            }
        }

        :root {
            --cream: #FBF0E1;
            --cream-deep: #F4E1C6;
            --maroon: #7A1620;
            --maroon-deep: #4E0F16;
            --gold: #D98A3D;
            --ink: #2b1a14;
            --ink-soft: #7a6a60;
            --line: rgba(122, 22, 32, 0.14);
        }

        .contact-wrap {
            position: relative;
            background: var(--maroon-deep);
            padding: 6px 0;
        }

        .wave-top,
        .wave-bottom {
            display: block;
            width: 100%;
            line-height: 0;
        }

        .wave-top svg,
        .wave-bottom svg {
            width: 100%;
            height: 70px;
            display: block;
        }

        .wave-bottom {
            transform: rotate(180deg);
        }

        .contact-section {
            position: relative;
            background: var(--cream);
            padding: 20px 60px 40px;
            overflow: hidden;
        }

        .dot-grid {
            position: absolute;
            width: 60px;
            height: 50px;
            background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
            background-size: 9px 9px;
            opacity: 0.7;
        }

        .dg-1 {
            top: 24px;
            right: 60px;
        }

        .dg-2 {
            bottom: 120px;
            left: 20px;
        }

        .dg-3 {
            bottom: 14px;
            right: 20px;
        }

        .contact-grid {
            max-width: 1240px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.15fr 1fr;
            gap: 40px;
            align-items: start;
            position: relative;
            z-index: 2;
        }

        /* ---------- LEFT ---------- */
        .badge-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 18px;
        }

        .badge-row .dash {
            width: 20px;
            height: 1px;
            background: var(--maroon);
        }

        .get-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: var(--cream-deep);
            color: var(--maroon);
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: 0.5px;
            padding: 6px 14px;
            border-radius: 20px;
        }

        .get-badge i {
            font-size: 11px;
        }

        .contact-left h1 {
            font-size: 34px;
            font-weight: 800;
            color: var(--ink);
            line-height: 1.2;
            margin-bottom: 14px;
        }

        .contact-left h1 span {
            color: var(--maroon);
            display: block;
        }

        .underline-dash {
            width: 36px;
            height: 3px;
            background: var(--maroon);
            border-radius: 2px;
            margin-bottom: 16px;
        }

        .contact-left p.lead {
            font-size: 14px;
            color: var(--ink-soft);
            line-height: 1.7;
            max-width: 340px;
            margin-bottom: 26px;
        }

        .info-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }

        .info-icon {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--maroon);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        .info-text b {
            display: block;
            font-size: 13px;
            color: var(--maroon);
            font-weight: 700;
            margin-bottom: 3px;
        }

        .info-text span {
            font-size: 12.5px;
            color: var(--ink-soft);
            line-height: 1.5;
            display: block;
        }

        /* illustration */
        .illustration {
            position: absolute;
            top: 60px;
            left: 290px;
            width: 250px;
            height: 280px;
            z-index: 1;
        }

        .bubble-q {
            position: absolute;
            top: 0;
            left: 70px;
            width: 70px;
            height: 58px;
            background: var(--maroon);
            border-radius: 16px 16px 16px 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 22px rgba(122, 22, 32, 0.3);
        }

        .bubble-q i {
            color: #fff;
            font-size: 22px;
        }

        .bubble-dots {
            position: absolute;
            top: 44px;
            left: 150px;
            width: 64px;
            height: 44px;
            background: var(--cream-deep);
            border: 1px solid var(--line);
            border-radius: 14px 14px 14px 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .bubble-dots span {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--gold);
        }

        .bubble-q2 {
            position: absolute;
            bottom: 14px;
            left: 0;
            width: 56px;
            height: 46px;
            background: var(--cream-deep);
            border: 1px solid var(--line);
            border-radius: 14px 14px 4px 14px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .bubble-q2 i {
            color: var(--maroon);
            font-size: 18px;
        }

        .plant-books {
            position: absolute;
            bottom: 0;
            left: 60px;
            width: 170px;
        }

        .leaf-icon {
            position: absolute;
            top: -30px;
            right: 0;
            color: var(--maroon);
            font-size: 60px;
            transform: rotate(6deg);
        }

        .pot {
            position: absolute;
            top: 40px;
            right: 6px;
            width: 64px;
            height: 54px;
            background: linear-gradient(180deg, #fff, var(--cream-deep));
            border: 1px solid var(--line);
            border-radius: 0 0 20px 20px;
        }

        .books {
            position: absolute;
            bottom: 0;
            left: 0;
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .book {
            height: 24px;
            border-radius: 3px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
        }

        .book1 {
            background: var(--maroon);
            width: 150px;
        }

        .book2 {
            background: #B8672E;
            width: 140px;
            margin-left: 6px;
        }

        .book3 {
            background: var(--maroon);
            width: 130px;
            margin-left: 12px;
        }

        /* ---------- RIGHT: FORM ---------- */
        .contact-form-card {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 20px;
            padding: 28px 30px;
            box-shadow: 0 20px 50px rgba(122, 22, 32, 0.08);
        }

        .form-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 8px;
        }

        .form-icon {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--cream-deep);
            color: var(--maroon);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
        }

        .form-header h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--maroon);
        }

        .form-underline {
            width: 30px;
            height: 2px;
            background: var(--maroon);
            border-radius: 2px;
            margin: 0 0 20px 50px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-bottom: 14px;
        }

        .field {
            position: relative;
        }

        .field input,
        .field textarea {
            width: 100%;
            border: 1px solid var(--line);
            background: var(--cream);
            border-radius: 10px;
            padding: 13px 40px 13px 14px;
            font-family: 'Poppins', sans-serif;
            font-size: 13.5px;
            color: var(--ink);
            outline: none;
            resize: none;
            transition: border-color .2s ease;
        }

        .field input:focus,
        .field textarea:focus {
            border-color: var(--maroon);
        }

        .field input::placeholder,
        .field textarea::placeholder {
            color: #a99a8f;
        }

        .field i {
            position: absolute;
            right: 14px;
            top: 15px;
            color: var(--ink-soft);
            font-size: 13px;
        }

        .field.full {
            margin-bottom: 14px;
        }

        .field textarea {
            height: 110px;
            padding-top: 14px;
        }

        .field textarea+i {
            top: 14px;
        }

        .send-btn {
            margin-top: 6px;
            background: var(--maroon);
            color: #fff;
            border: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 14px;
            padding: 14px 30px;
            border-radius: 30px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: background .2s ease, transform .2s ease;
        }

        .send-btn:hover {
            background: var(--maroon-deep);
            transform: translateY(-1px);
        }

        /* ---------- BOTTOM STRIP ---------- */
        .feature-strip {
            max-width: 1240px;
            margin: 34px auto 0;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 22px 30px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            position: relative;
            z-index: 2;
            box-shadow: 0 10px 30px rgba(122, 22, 32, 0.05);
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .feature-icon {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--cream-deep);
            color: var(--maroon);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .feature-item b {
            display: block;
            font-size: 13px;
            color: var(--ink);
            font-weight: 700;
        }

        .feature-item span {
            font-size: 11.5px;
            color: var(--ink-soft);
        }

        @media (max-width: 980px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }

            .illustration {
                display: none;
            }

            .feature-strip {
                grid-template-columns: 1fr 1fr;
            }

            .contact-section {
                padding: 20px 24px 30px;
            }
        }

        @media (max-width: 560px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .feature-strip {
                grid-template-columns: 1fr;
            }

            .contact-left h1 {
                font-size: 26px;
            }
        }

        .courses-section {
            max-width: 1300px;
            margin: 0 auto;
            padding: 50px 40px 20px;
            position: relative;
        }

        .dot-grid {
            position: absolute;
            top: 20px;
            right: 50px;
            width: 60px;
            height: 50px;
            background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
            background-size: 9px 9px;
            opacity: 0.7;
        }

        /* ---------- HEADER ---------- */
        .courses-top {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 26px;
        }

        .badge-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
        }

        .badge-row .plus {
            color: var(--maroon);
            font-size: 12px;
        }

        .courses-badge {
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: 1.5px;
            color: var(--maroon);
            text-transform: uppercase;
        }

        .courses-top h1 {
            font-family: 'Fraunces', serif;
            font-size: 36px;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 12px;
        }

        .courses-top h1 span {
            color: var(--maroon);
        }

        .courses-top p {
            font-size: 14px;
            color: var(--ink-soft);
            max-width: 480px;
            line-height: 1.6;
        }

        .top-actions {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-shrink: 0;
        }

        .view-all-btn {
            background: var(--maroon);
            color: #fff;
            border: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 13.5px;
            padding: 13px 22px;
            border-radius: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
            transition: background .2s ease, transform .2s ease;
        }

        .view-all-btn:hover {
            background: var(--maroon-deep);
            transform: translateY(-2px);
        }

        .arrow-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid var(--line);
            background: transparent;
            color: var(--maroon);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background .2s ease, color .2s ease, transform .2s ease;
            flex-shrink: 0;
        }

        .arrow-btn.filled {
            background: var(--gold);
            color: #fff;
            border: none;
        }

        .arrow-btn:hover {
            background: var(--maroon);
            color: #fff;
            transform: translateY(-2px);
        }

        .arrow-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none;
        }


        /* ---------- CATEGORY FILTERS ---------- */
        .category-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 34px;
        }

        @media (max-width: 680px) {
            .category-row {
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scroll-snap-type: x proximity;
                padding-bottom: 6px;
                margin-left: -40px;
                margin-right: -40px;
                padding-left: 40px;
                padding-right: 40px;
                scrollbar-width: none;
            }

            .category-row::-webkit-scrollbar {
                display: none;
            }

            .cat-btn {
                flex-shrink: 0;
                scroll-snap-align: start;
                white-space: nowrap;
            }
        }

        .cat-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            border: 1px solid var(--line);
            color: var(--ink);
            font-family: 'Poppins', sans-serif;
            font-size: 13px;
            font-weight: 500;
            padding: 9px 18px;
            border-radius: 30px;
            cursor: pointer;
            transition: all .2s ease;
        }

        .cat-btn i {
            font-size: 12px;
        }

        .cat-btn:hover {
            border-color: var(--maroon);
            color: var(--maroon);
            transform: translateY(-2px);
        }

        .cat-btn.active {
            background: var(--maroon);
            color: #fff;
            border-color: var(--maroon);
        }

        /* ---------- COURSE GRID ---------- */
        .course-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 22px;
            margin-bottom: 34px;
        }

        .course-card {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 18px;
            overflow: hidden;
            transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease;
            cursor: pointer;
        }

        .course-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 24px 44px rgba(122, 22, 32, 0.16);
        }

        .course-thumb {
            position: relative;
            height: 150px;
            overflow: hidden;
        }

        .course-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .5s ease;
        }

        .course-card:hover .course-thumb img {
            transform: scale(1.08);
        }

        .level-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(122, 22, 32, 0.88);
            backdrop-filter: blur(4px);
            color: #fff;
            font-size: 10.5px;
            font-weight: 600;
            padding: 5px 11px;
            border-radius: 20px;
        }

        .level-badge i {
            font-size: 9px;
        }

        .bookmark-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--maroon);
            font-size: 12px;
            cursor: pointer;
            opacity: 0;
            transform: translateY(-6px);
            transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease;
        }

        .course-card:hover .bookmark-btn {
            opacity: 1;
            transform: translateY(0);
        }

        .bookmark-btn:hover {
            background: var(--maroon);
            color: #fff;
        }

        .bookmark-btn.saved {
            color: var(--gold);
        }

        .bookmark-btn.saved i {
            font-weight: 900;
        }

        .course-body {
            padding: 18px 18px 20px;
        }

        .course-body h3 {
            font-size: 15.5px;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 6px;
            transition: color .2s ease;
        }

        .course-card:hover .course-body h3 {
            color: var(--maroon);
        }

        .course-body p {
            font-size: 12px;
            color: var(--ink-soft);
            line-height: 1.6;
            margin-bottom: 14px;
            min-height: 36px;
        }

        .course-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 11.5px;
            color: var(--ink-soft);
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px dashed var(--line);
        }

        .course-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .course-meta i {
            font-size: 11px;
            color: var(--gold);
        }

        .course-meta i.fa-star {
            color: #f0a63c;
        }

        .course-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .price {
            font-size: 17px;
            font-weight: 700;
            color: var(--maroon);
        }

        .course-btn {
            background: var(--maroon);
            color: #fff;
            border: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 12.5px;
            padding: 10px 16px;
            border-radius: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 7px;
            transition: background .2s ease, gap .2s ease;
        }

        .course-btn:hover {
            background: var(--maroon-deep);
            gap: 10px;
        }



        @media (max-width: 1080px) {
            .course-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 680px) {
            .courses-top {
                flex-direction: column;
                align-items: flex-start;
            }

            .course-grid {
                grid-template-columns: 1fr;
            }

            .courses-top h1 {
                font-size: 28px;
            }
        }


        /* ================= CTA BANNER ================= */
        .cta-wrap {
            background: var(--cream);
            padding: 28px 40px 0;
        }

        .cta-banner {
            max-width: 1300px;
            margin: 0 auto;
            position: relative;
            background: linear-gradient(120deg, #6E0F1A 0%, #8C1B26 55%, #6E0F1A 100%);
            border-radius: 20px;
            padding: 38px 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
            overflow: hidden;
        }

        .cta-decor-circle {
            position: absolute;
            top: -60px;
            right: -40px;
            width: 220px;
            height: 220px;
            border-radius: 50%;
            background: radial-gradient(circle at 35% 35%, #9C2430, #5C1017 70%);
            opacity: 0.9;
        }

        .cta-decor-circle::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background-image:
                radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
            background-size: 10px 10px;
        }

        .cta-left {
            display: flex;
            align-items: center;
            gap: 22px;
            position: relative;
            z-index: 2;
        }

        .cta-icon {
            width: 76px;
            height: 76px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            font-size: 46px;
            filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
        }

        .cta-text h2 {
            font-family: 'Fraunces', serif;
            font-size: 24px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 6px;
        }

        .cta-text p {
            font-size: 14px;
            color: var(--text-soft);
        }

        .cta-btn {
            position: relative;
            z-index: 2;
            background: var(--gold);
            color: var(--maroon-deep);
            border: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 14.5px;
            padding: 14px 26px;
            border-radius: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
            transition: transform .2s ease, background .2s ease;
        }

        .cta-btn:hover {
            transform: translateY(-1px);
            background: #f0c476;
        }

        /* ================= FOOTER MAIN ================= */
        .footer {
            background: linear-gradient(180deg, var(--maroon-deep) 0%, var(--maroon-darkest) 100%);
            padding-top: 50px;
            position: relative;
            overflow: hidden;
        }

        .footer-decor-dome {
            position: absolute;
            top: 20px;
            right: 60px;
            width: 220px;
            height: 220px;
            opacity: 0.06;
            color: #fff;
            font-size: 220px;
            pointer-events: none;
        }

        .footer-inner {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 40px;
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
            gap: 30px;
            padding-bottom: 40px;
        }

        .footer-brand .logo-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .brand-shield {
            width: 52px;
            height: 52px;
            flex-shrink: 0;
            color: var(--gold);
        }

        .brand-text .name {
            font-family: 'Fraunces', serif;
            font-size: 21px;
            font-weight: 600;
            color: #fff;
            letter-spacing: 1.5px;
            line-height: 1.1;
        }

        .brand-text .sub {
            font-size: 10px;
            letter-spacing: 3px;
            color: var(--gold);
            font-weight: 600;
        }

        .footer-brand p {
            font-size: 13px;
            line-height: 1.7;
            color: var(--text-soft);
            max-width: 250px;
            margin-bottom: 20px;
        }

        .social-row {
            display: flex;
            gap: 10px;
        }

        .social-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid var(--line);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            text-decoration: none;
            transition: background .2s ease, transform .2s ease;
        }

        .social-icon:hover {
            background: var(--gold);
            color: var(--maroon-deep);
            transform: translateY(-2px);
        }

        ol,
        ul {
            padding-left: 0 !important;
        }

        .footer-col h4 {
            font-family: 'Fraunces', serif;
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 18px;
        }

        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 11px;
        }
        a{
            text-decoration: none !important;
        }

        .footer-col a {
            font-size: 13px;
            color: var(--text-soft);
            text-decoration: none;
            transition: color .2s ease, padding-left .2s ease;
        }

        .footer-col a:hover {
            color: var(--gold);
            padding-left: 3px;
        }

        .footer-newsletter h4 {
            font-family: 'Fraunces', serif;
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 10px;
        }

        .footer-newsletter>p {
            font-size: 12.5px;
            line-height: 1.7;
            color: var(--text-soft);
            margin-bottom: 16px;
        }

        .newsletter-form {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid var(--line);
            border-radius: 30px;
            padding: 5px 5px 5px 16px;
            margin-bottom: 22px;
        }

        .newsletter-form input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            font-family: 'Poppins', sans-serif;
            font-size: 12.5px;
            color: #fff;
            padding: 8px 0;
        }

        .newsletter-form input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .newsletter-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: var(--maroon);
            border: none;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
            transition: background .2s ease;
        }

        .newsletter-btn:hover {
            background: #9c2430;
        }

        .help-row {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding-top: 16px;
            border-top: 1px solid var(--line);
        }

        .help-icon {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            font-size: 16px;
            flex-shrink: 0;
        }

        .help-text b {
            display: block;
            font-size: 13px;
            color: #fff;
            font-weight: 600;
            margin-bottom: 3px;
        }

        .help-text span {
            display: block;
            font-size: 12px;
            color: var(--text-soft);
            line-height: 1.5;
        }

        /* ================= BOTTOM BAR ================= */
        .footer-bottom {
            border-top: 1px solid var(--line);
            padding: 20px 40px;
            position: relative;
            z-index: 2;
        }

        .footer-bottom-inner {
            max-width: 1300px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
        }

        .footer-bottom-inner p {
            font-size: 12px;
            color: var(--text-soft);
        }

        .made-with {
            font-size: 12px;
            color: var(--text-soft);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .made-with i {
            color: #e0455a;
            font-size: 12px;
        }

        @media (max-width: 1080px) {
            .footer-inner {
                grid-template-columns: 1fr 1fr;
            }

            .footer-brand {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 680px) {
            .cta-banner {
                flex-direction: column;
                text-align: center;
                padding: 30px 24px;
            }

            .cta-left {
                flex-direction: column;
            }

            .footer-inner {
                grid-template-columns: 1fr;
            }

            .footer-bottom-inner {
                flex-direction: column;
                text-align: center;
            }
        }

            :root {
            --chat-maroon: #7A1620;
            --chat-maroon-deep: #4E0F16;
            --chat-maroon-darkest: #380A0F;
            --chat-gold: #E8B65A;
            --chat-cream: #FBF0E1;
            --chat-cream-deep: #F4E1C6;
            --chat-ink: #2b1a14;
            --chat-ink-soft: #7a6a60;
            --chat-line: rgba(122, 22, 32, 0.14);
        }

        /* ---------- Floating trigger button ---------- */
        .chat-fab {
            position: fixed;
            bottom: 26px;
            right: 26px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--chat-maroon), var(--chat-maroon-deep));
            color: #fff;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 14px 32px rgba(122, 22, 32, 0.35);
            z-index: 2000;
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .chat-fab:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 18px 38px rgba(122, 22, 32, 0.45);
        }

        .chat-fab .fa-xmark {
            display: none;
        }

        .chat-fab.open .fa-comment-dots {
            display: none;
        }

        .chat-fab.open .fa-xmark {
            display: inline-block;
        }

        .chat-fab-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--chat-gold);
            border: 2px solid var(--chat-cream);
        }

        .chat-fab.open .chat-fab-badge {
            display: none;
        }

        /* ---------- Chat panel ---------- */
        .chat-panel {
            position: fixed;
            bottom: 100px;
            right: 26px;
            width: 370px;
            max-width: calc(100vw - 32px);
            height: 520px;
            max-height: calc(100vh - 140px);
            background: var(--chat-cream);
            border-radius: 20px;
            box-shadow: 0 30px 70px rgba(58, 10, 16, 0.35);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            z-index: 2000;
            opacity: 0;
            transform: translateY(16px) scale(0.97);
            pointer-events: none;
            transition: opacity .25s ease, transform .25s ease;
        }

        .chat-panel.open {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: auto;
        }

        /* header */
        .chat-header {
            background: linear-gradient(120deg, var(--chat-maroon) 0%, #8C1B26 55%, var(--chat-maroon) 100%);
            padding: 16px 18px;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }

        .chat-header::after {
            content: "";
            position: absolute;
            top: -30px;
            right: -20px;
            width: 110px;
            height: 110px;
            border-radius: 50%;
            background: radial-gradient(circle at 35% 35%, #9C2430, #5C1017 70%);
            opacity: 0.6;
        }

        .chat-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--chat-gold);
            font-size: 18px;
            flex-shrink: 0;
            position: relative;
            z-index: 2;
        }

        .chat-header-text {
            position: relative;
            z-index: 2;
            flex: 1;
        }

        .chat-header-text h4 {
            margin: 0;
            font-family: 'Poppins', sans-serif;
            font-size: 14.5px;
            font-weight: 700;
            color: #fff;
        }

        .chat-header-text span {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 11.5px;
            color: rgba(255, 255, 255, 0.75);
            margin-top: 2px;
        }

        .chat-status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #4ADE80;
            display: inline-block;
            box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
            animation: chatPulse 2s infinite;
        }

        @keyframes chatPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
            }

            70% {
                box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
            }
        }

        .chat-close {
            position: relative;
            z-index: 2;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            border: none;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 13px;
            flex-shrink: 0;
            transition: background .2s ease;
        }

        .chat-close:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        /* messages */
        .chat-body {
            flex: 1;
            overflow-y: auto;
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            background:
                radial-gradient(circle, rgba(122, 22, 32, 0.05) 1px, transparent 1px) 0 0/16px 16px,
                var(--chat-cream);
        }

        .chat-body::-webkit-scrollbar {
            width: 5px;
        }

        .chat-body::-webkit-scrollbar-thumb {
            background: var(--chat-line);
            border-radius: 10px;
        }

        .msg-row {
            display: flex;
            gap: 9px;
            align-items: flex-end;
            max-width: 86%;
        }

        .msg-row.bot {
            align-self: flex-start;
        }

        .msg-row.user {
            align-self: flex-end;
            flex-direction: row-reverse;
        }

        .msg-avatar {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--chat-maroon);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            flex-shrink: 0;
        }

        .msg-row.user .msg-avatar {
            background: var(--chat-gold);
            color: var(--chat-maroon-deep);
        }

        .msg-bubble {
            padding: 10px 14px;
            border-radius: 16px;
            font-size: 13px;
            line-height: 1.55;
            font-family: 'Poppins', sans-serif;
        }

        .msg-row.bot .msg-bubble {
            background: #fff;
            border: 1px solid var(--chat-line);
            color: var(--chat-ink);
            border-bottom-left-radius: 4px;
        }

        .msg-row.user .msg-bubble {
            background: var(--chat-maroon);
            color: #fff;
            border-bottom-right-radius: 4px;
        }

        .quick-replies {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 4px;
            align-self: flex-start;
            padding-left: 35px;
        }

        .quick-chip {
            background: #fff;
            border: 1px solid var(--chat-line);
            color: var(--chat-maroon);
            font-family: 'Poppins', sans-serif;
            font-size: 12px;
            font-weight: 600;
            padding: 7px 14px;
            border-radius: 20px;
            cursor: pointer;
            transition: background .2s ease, color .2s ease, transform .2s ease;
        }

        .quick-chip:hover {
            background: var(--chat-maroon);
            color: #fff;
            transform: translateY(-1px);
        }

        .typing-row {
            align-self: flex-start;
        }

        .typing-dots {
            display: flex;
            gap: 4px;
            padding: 12px 14px;
            background: #fff;
            border: 1px solid var(--chat-line);
            border-radius: 16px;
            border-bottom-left-radius: 4px;
        }

        .typing-dots span {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--chat-ink-soft);
            animation: typingBounce 1.2s infinite ease-in-out;
        }

        .typing-dots span:nth-child(2) {
            animation-delay: .15s;
        }

        .typing-dots span:nth-child(3) {
            animation-delay: .3s;
        }

        @keyframes typingBounce {

            0%,
            60%,
            100% {
                transform: translateY(0);
                opacity: .5;
            }

            30% {
                transform: translateY(-4px);
                opacity: 1;
            }
        }

        /* input area */
        .chat-input-row {
            flex-shrink: 0;
            padding: 12px 14px;
            background: #fff;
            border-top: 1px solid var(--chat-line);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .chat-input-row input {
            flex: 1;
            border: 1px solid var(--chat-line);
            background: var(--chat-cream);
            border-radius: 24px;
            padding: 11px 16px;
            font-family: 'Poppins', sans-serif;
            font-size: 13px;
            color: var(--chat-ink);
            outline: none;
            transition: border-color .2s ease;
        }

        .chat-input-row input:focus {
            border-color: var(--chat-maroon);
        }

        .chat-input-row input::placeholder {
            color: #a99a8f;
        }

        .chat-send-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--chat-maroon);
            color: #fff;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
            font-size: 14px;
            transition: background .2s ease, transform .2s ease;
        }

        .chat-send-btn:hover {
            background: var(--chat-maroon-deep);
            transform: scale(1.05);
        }

        .chat-footer-note {
            text-align: center;
            font-size: 10px;
            color: var(--chat-ink-soft);
            padding: 6px 0 10px;
            background: #fff;
        }

        @media (max-width: 480px) {
            .chat-panel {
                right: 12px;
                left: 12px;
                width: auto;
                bottom: 90px;
                height: 70vh;
            }

            .chat-fab {
                right: 16px;
                bottom: 16px;
            }
        }