:root {
    --navy: #0B1F3A;
    --gold: #C9920A;
    --gold-light: #F0C040;
    --cream: #FAF7F2;
    --white: #FFFFFF;
    --text: #1A2940;
    --muted: #5A6A80;
    --accent: #E8F0FE;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 31, 58, 0.97);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 68px;
    border-bottom: 2px solid var(--gold);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--white);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.nav-logo img {
    height: 42px;
    width: 52px;
}

.nav-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-cta {
    background: var(--gold);
    color: var(--navy);
    padding: 0.45rem 1.3rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--gold-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 7% 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 146, 10, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 146, 10, 0.07) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 146, 10, 0.15);
    border: 1px solid rgba(201, 146, 10, 0.4);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s ease both;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.2rem;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: fadeIn 0.8s 0.4s ease both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 146, 10, 0.25);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 360px;
    backdrop-filter: blur(8px);
}

.stat-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    margin-top: 0.3rem;
    letter-spacing: 0.05em;
}

.divider-gold {
    width: 100%;
    height: 1px;
    background: rgba(201, 146, 10, 0.25);
    margin: 1.5rem 0;
}

.course-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.chip.gold {
    background: rgba(201, 146, 10, 0.2);
    border-color: rgba(201, 146, 10, 0.5);
    color: var(--gold-light);
}

/* ── TRUST BAR ── */
.trust-bar-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid #E2E8F0;
}

.trust-bar {
    display: flex;
    width: max-content;
    padding: 1.2rem 0;
}

.group {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    animation: marquee 18s infinite linear;
    white-space: nowrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 500;
}

.trust-icon {
    font-size: 1.1rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ── SECTIONS ── */
section {
    padding: 90px 7%;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
}

/* ── COURSES ── */
.courses-section {
    background: var(--cream);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(11, 31, 58, 0.1);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.course-level {
    display: inline-block;
    background: var(--accent);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.course-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.course-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.subjects-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subject-tag {
    background: #F0F4FF;
    color: #2D4080;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.28rem 0.75rem;
    border-radius: 4px;
}

/* ── WHY US ── */
.why-section {
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-text .section-title {
    color: var(--white);
}

.why-text .section-sub {
    color: rgba(255, 255, 255, 0.6);
}

.why-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(201, 146, 10, 0.15);
    border: 1px solid rgba(201, 146, 10, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-item-text h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.why-item-text p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.6;
}

.why-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s;
}

.why-card:hover {
    border-color: rgba(201, 146, 10, 0.5);
}

.why-card-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
}

.why-card-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* ══════════════════════════════════════════════
   TESTIMONIALS — live scrolling reviews
   ══════════════════════════════════════════════ */
.testimonials-section {
    background: var(--white);
    overflow: hidden;
    /* Remove bottom padding to let the marquee breathe */
    padding-bottom: 70px;
}

/* Header row: title left, CTA button right */
.testi-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

/* "Share Your Experience" button */
.write-review-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.35rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.write-review-btn:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 146, 10, 0.25);
}

/* Review count bar */
.review-count-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.2rem;
}

.review-count-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-count-text {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

/* ── Marquee wrapper ── */
.reviews-marquee-wrapper {
    position: relative;
    overflow: hidden;
    /* Negative side margins to bleed past section padding */
    margin-left: -7%;
    margin-right: -7%;
    padding: 0.5rem 0 1rem;
}

/* Fade edges */
.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

/* ── Scrolling track ── */
.reviews-marquee {
    display: flex;
    width: max-content;
}

/*  Direction: REVERSE — right to left is the trust bar;
    here we scroll right-to-left but via the REVERSE keyframe
    so it visually flows in the opposite direction.
    (translateX(-100%) → 0 = content enters from LEFT, exits RIGHT)  */
.reviews-track {
    display: flex;
    align-items: stretch;
    gap: 1.2rem;
    padding: 1rem 0.6rem;
    /* animation set via JS for dynamic speed; fallback below */
    animation: marquee-reverse 36s infinite linear;
    will-change: transform;
}

@keyframes marquee-reverse {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

/* Pause on hover */
.reviews-marquee-wrapper:hover .reviews-track {
    animation-play-state: paused;
}

/* ── Individual review card ── */
.review-card {
    background: var(--cream);
    border: 1px solid #E4EAF4;
    border-radius: 14px;
    padding: 1.5rem 1.4rem 1.3rem;
    width: 290px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: default;
}

.review-card:hover {
    border-color: rgba(201, 146, 10, 0.4);
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
}

/* Gold top accent line */
.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 14px 14px 0 0;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.review-card:hover::before {
    opacity: 1;
}

/* "New" badge for freshly submitted reviews */
.review-card--new::after {
    content: 'New ✨';
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(201, 146, 10, 0.18);
    border: 1px solid rgba(201, 146, 10, 0.4);
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.18rem 0.55rem;
    border-radius: 20px;
}

.rc-stars {
    color: var(--gold);
    font-size: 0.88rem;
    letter-spacing: 2px;
}

.rc-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--gold);
    line-height: 0.8;
    opacity: 0.5;
}

.rc-text {
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.65;
    flex: 1;
    /* Clamp long reviews to 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rc-reviewer {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.6rem;
}

.rc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rc-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
}

.rc-sub {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 1px;
}

/* ══════════════════════════════════════════════
   REVIEW MODAL
   ══════════════════════════════════════════════ */
.review-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(6, 15, 30, 0.72);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.review-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.review-modal {
    background: var(--white);
    border-radius: 18px;
    padding: 2.2rem 2rem 1.8rem;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.3s;
    box-shadow: 0 24px 60px rgba(6, 15, 30, 0.35);
}

.review-modal-overlay.active .review-modal {
    transform: translateY(0);
}

/* Close button */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #F0F4FF;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: #E2E8F0;
    color: var(--navy);
}

/* Modal header */
.modal-header {
    text-align: center;
    margin-bottom: 1.4rem;
}

.modal-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.modal-header p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Star picker */
.star-picker {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.star-pick {
    font-size: 2rem;
    color: #D0D8E8;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
    user-select: none;
}

.star-pick.active {
    color: var(--gold);
}

.star-pick:hover {
    transform: scale(1.2);
}

.star-label {
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 1.4rem;
    min-height: 1.2em;
}

/* Form fields */
.modal-fields {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.mfield-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mfield-group label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.mfield-group input,
.mfield-group select,
.mfield-group textarea {
    background: #F5F8FF;
    border: 1px solid #D8E0F0;
    border-radius: 7px;
    padding: 0.7rem 0.9rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.mfield-group input:focus,
.mfield-group select:focus,
.mfield-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 146, 10, 0.12);
}

.mfield-group textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

.mfield-group select {
    cursor: pointer;
    appearance: auto;
}

.char-count {
    font-size: 0.72rem;
    color: var(--muted);
    text-align: right;
    margin-top: 0.15rem;
}

/* Error */
.modal-error {
    margin-top: 0.7rem;
    font-size: 0.84rem;
    color: #C0392B;
    font-weight: 500;
    min-height: 1.2em;
    text-align: center;
}

/* Submit */
.modal-submit {
    width: 100%;
    margin-top: 1.1rem;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 7px;
    padding: 0.9rem 1.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.modal-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ── RESULTS ── */
.results {
    font-family: 'DM Sans', sans-serif;
    background: #0B1F3A;
    color: #fff;
    padding: 60px 5%;
}

.results .section-title {
    color: var(--white);
}

#sec-title {
    color: #000000;
}

#section-sub {
    color: rgb(51, 51, 51);
}

.section-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.batch-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    margin-bottom: 2.5rem;
}

.batch-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

.batch-tab:hover {
    color: rgba(255, 255, 255, 0.7);
}

.batch-tab.active {
    color: #F0C040;
    border-bottom-color: #C9920A;
}

.batch-content {
    display: none;
}

.batch-content.active {
    display: block;
}

.subject-pill {
    display: inline-block;
    background: rgba(201, 146, 10, 0.18);
    border: 1px solid rgba(201, 146, 10, 0.45);
    color: #F0C040;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
}

.block-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.subject-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 0.5rem 0 2rem;
}

.achievers-grid {
    display: flex;
    gap: 0.75rem;
    overflow: hidden;
    padding: 1.2rem 0;
}

.class12th {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    animation: marquee 18s infinite linear;
    white-space: nowrap;
}

.achiever-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: background 0.2s, border-color 0.2s;
}

.achiever-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 146, 10, 0.3);
}

.ach-avatar img {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(201, 146, 10, 0.15);
    border: 1px solid rgba(201, 146, 10, 0.35);
}

.ach-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.ach-score {
    font-size: 0.92rem;
    font-weight: 600;
    color: #C9920A;
    margin-top: 0.1rem;
}

/* ── LOCATION ── */
.location-section {
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.location-box {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #E2E8F0;
}

.location-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.info-val {
    font-size: 0.95rem;
    color: var(--text);
    margin-top: 0.15rem;
    line-height: 1.5;
}

.map-placeholder {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 12px;
}

/* ── ENROLL BOX ── */
.enroll-box {
    background: var(--navy);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.enroll-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(201, 146, 10, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.demo-badge {
    display: inline-block;
    background: rgba(201, 146, 10, 0.18);
    border: 1px solid rgba(201, 146, 10, 0.4);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.demo-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.65rem;
    margin-bottom: 0.65rem;
    position: relative;
    line-height: 1.2;
}

.demo-header p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.65;
    position: relative;
}

.demo-steps {
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.demo-step {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(201, 146, 10, 0.2);
    border: 1px solid rgba(201, 146, 10, 0.5);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.55;
    padding-top: 3px;
}

.demo-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.8rem 0 1.6rem;
}

.demo-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.phone-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.phone-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(201, 146, 10, 0.5);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #2de070 0%, #20be5c 100%);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

.contact-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-btn .contact-btn-icon {
    background: rgba(201, 146, 10, 0.2);
    color: var(--gold-light);
}

.whatsapp-btn .contact-btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-btn-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.phone-btn .contact-btn-label {
    color: rgba(255, 255, 255, 0.5);
}

.whatsapp-btn .contact-btn-label {
    color: rgba(255, 255, 255, 0.8);
}

.contact-btn-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.phone-btn .contact-btn-num,
.whatsapp-btn .contact-btn-num {
    color: var(--white);
}

.contact-btn-arrow {
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.phone-btn .contact-btn-arrow {
    color: rgba(255, 255, 255, 0.4);
}

.whatsapp-btn .contact-btn-arrow {
    color: rgba(255, 255, 255, 0.7);
}

.contact-btn:hover .contact-btn-arrow {
    transform: translateX(4px);
}

.demo-availability {
    margin-top: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
    flex-shrink: 0;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.08);
    }
}

/* ── FLOATING WHATSAPP ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.25rem 0.75rem 0.9rem;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.25s, box-shadow 0.25s;
    animation: float-in 0.6s 1s ease both;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.whatsapp-float-label {
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: ring-pulse 2.5s ease-in-out infinite;
}

@keyframes ring-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(1.07);
    }
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── FOOTER ── */
footer {
    background: #060F1E;
    color: rgba(255, 255, 255, 0.5);
    padding: 2.5rem 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-logo span {
    color: var(--gold);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .why-section {
        gap: 3rem;
    }

    .location-section {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    nav .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(11, 31, 58, 0.98);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 1rem 0 1.5rem;
        display: none;
        border-bottom: 2px solid var(--gold);
        z-index: 99;
    }

    nav .nav-links.active {
        display: flex;
    }

    nav .nav-links li {
        width: 100%;
        text-align: center;
    }

    nav .nav-links a {
        display: block;
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 110px;
        gap: 2rem;
    }

    .hero-sub {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 0;
    }

    .hero-card {
        max-width: 100%;
    }

    .why-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why-visual {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .testi-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .reviews-marquee-wrapper {
        margin-left: -5%;
        margin-right: -5%;
    }

    .marquee-fade-left,
    .marquee-fade-right {
        width: 60px;
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 5%;
    }

    nav {
        padding: 0 5%;
    }

    .hero {
        padding: 100px 5% 50px;
    }

    .stat-row {
        gap: 1rem;
    }

    .stat-num {
        font-size: 1.7rem;
    }

    .why-visual {
        grid-template-columns: 1fr 1fr;
    }


    /* Location */
    .location-box,
    .enroll-box {
        padding: 1.5rem;
    }

    .map-placeholder {
        aspect-ratio: 4/3;
    }

    footer {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 2rem 5%;
    }

    .review-card {
        width: 250px;
    }

    .modal-row {
        grid-template-columns: 1fr;
    }

    .whatsapp-float-label {
        display: none;
    }

    .whatsapp-float {
        padding: 0.85rem;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float::before {
        border-radius: 50%;
    }
}

@media (max-width: 380px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
    }

    .hero-badge {
        font-size: 0.68rem;
        letter-spacing: 0.07em;
    }
}