/* ══════════════════════════════════════════════════════
   MATHPLUS.IN — STYLESHEET v2
   Inspired by clean, editorial, content-first design.
   Font: Inter (all weights)
   Primary: #1A6B93  |  Text: #111827  |  Gray bg: #F4F6F8
══════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111827;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }

/* ── TOKENS ────────────────────────────────────────── */
:root {
    --blue:       #1A6B93;
    --blue-dark:  #145472;
    --blue-faint: #EBF4FA;
    --blue-mid:   #C5DFF0;
    --gold:       #B87C0A;
    --gold-faint: #FEF3DC;
    --text:       #111827;
    --text-mid:   #4B5563;
    --text-light: #9CA3AF;
    --border:     #E5E7EB;
    --bg-gray:    #F4F6F8;
    --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
    --radius:     10px;
    --radius-lg:  14px;
    --ease:       0.2s ease;
}

/* ── CONTAINER ─────────────────────────────────────── */
.container { width: min(1100px, 100% - 3rem); margin-inline: auto; }

/* ── BACKGROUNDS ───────────────────────────────────── */
.bg-white { background: #ffffff; }
.bg-gray  { background: var(--bg-gray); }

/* ── SECTION SHARED ────────────────────────────────── */
.section { padding: 96px 0; }

.sec-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
    display: block;
}

.sec-heading {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 48px;
}

.body-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 14px;
    max-width: 540px;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 2px solid var(--blue);
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
    white-space: nowrap;
}
.btn-primary svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,107,147,0.25);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: border-color var(--ease), background var(--ease), transform var(--ease);
    white-space: nowrap;
}
.btn-ghost:hover {
    border-color: var(--text-mid);
    background: var(--bg-gray);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--ease), box-shadow var(--ease);
}
#navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    width: min(1100px, 100% - 3rem);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.02em;
}
.nav-logo-text span { font-weight: 400; }

.brand-text-blue {
    color: var(--blue);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    padding: 7px 13px;
    border-radius: 8px;
    transition: color var(--ease), background var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-gray); }
.nav-links a.nav-btn {
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    margin-left: 8px;
    padding: 8px 18px;
}
.nav-links a.nav-btn:hover { background: var(--blue-dark); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border-radius: 6px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 900;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
    padding-top: calc(66px + 80px);
    padding-bottom: 80px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.hero-body { max-width: 720px; }

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 20px;
    display: block;
}

.hero-heading {
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero-heading em {
    font-style: italic;
    color: var(--blue);
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Stats strip */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    row-gap: 20px;
}

.hs-item {
    display: flex;
    flex-direction: column;
    padding: 0 36px 0 0;
}
.hs-item:first-child { padding-left: 0; }

.hs-item strong {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    letter-spacing: -0.02em;
}
.hs-item span {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.hs-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
    margin-right: 36px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.about-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.about-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 16px;
    border: 1.5px solid var(--blue-mid);
    border-radius: 8px;
    margin-top: 12px;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.linkedin-link svg { width: 15px; height: 15px; }
.linkedin-link:hover { background: var(--blue-faint); border-color: var(--blue); transform: translateY(-1px); }

/* Credentials list */
.cred-list { display: flex; flex-direction: column; gap: 0; }

.cred-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.cred-item:first-child { border-top: 1px solid var(--border); }

.cred-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    margin-top: 7px;
}

.cred-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}
.cred-item span {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.5;
}

/* Teacher photo */
.teacher-photo-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    background: #e8edf2;
}

/* Multi-layer fade: bottom fades heavily, sides fade slightly — hides the event background */
.teacher-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, transparent 45%, rgba(246,248,250,0.98) 100%),
        linear-gradient(to right, transparent 65%, rgba(246,248,250,0.25) 100%),
        linear-gradient(to left, transparent 65%, rgba(246,248,250,0.25) 100%);
    pointer-events: none;
    z-index: 1;
}

.teacher-photo {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    display: block;
    /* Tone down the vivid background colours slightly */
    filter: saturate(0.72) brightness(1.04);
    transition: filter 0.4s ease;
}
.teacher-photo-wrap:hover .teacher-photo {
    filter: saturate(0.85) brightness(1.06);
}

.teacher-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 12px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-mid);
    text-align: center;
    letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════════════
   COURSES
══════════════════════════════════════════════════════ */
.courses-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}
.courses-header .sec-heading { margin-bottom: 0; }
.courses-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 32px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.course-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
    cursor: pointer;
    position: relative;
}
.course-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.course-card--ap {
    border-color: #D4E8F5;
    background: #FAFCFF;
}
.course-card--ap:hover { border-color: var(--blue); }

.cc-top { margin-bottom: 4px; }

.cc-grade {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    background: var(--bg-gray);
    padding: 3px 9px;
    border-radius: 100px;
    border: 1px solid var(--border);
}
.cc-grade--ap {
    color: var(--gold);
    background: var(--gold-faint);
    border-color: #F0D9A0;
}

.course-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.course-card p {
    font-size: 0.83rem;
    color: var(--text-mid);
    line-height: 1.55;
    flex: 1;
}

.cc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.cc-lessons {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}

.cc-view {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    transition: letter-spacing var(--ease);
}
.course-card:hover .cc-view { letter-spacing: 0.02em; }

/* ══════════════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.why-item {
    background: #fff;
    padding: 36px 32px;
    transition: background var(--ease);
}
.why-item:hover { background: var(--blue-faint); }

.why-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.35;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-left: 4px solid var(--blue);
}

.testi-stars {
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.testi-card blockquote {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.testi-avatar {
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}
.testi-author span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════
   RESULTS
══════════════════════════════════════════════════════ */
.results-intro {
    font-size: 0.92rem;
    color: var(--text-mid);
    margin-top: -36px;
    margin-bottom: 36px;
    max-width: 560px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.results-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow var(--ease), transform var(--ease);
}
.results-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.results-year-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    background: var(--bg-gray);
    border: 1px solid var(--border);
    padding: 3px 9px;
    border-radius: 100px;
    width: fit-content;
}

.results-course-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.results-score-block {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.score-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.score-label {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.3;
}

.score-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
}
.score-badge.s5 {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.score-badge.s4 {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.results-named-scores {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.results-multi-scores {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.named-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-mid);
}

/* Highlight box */
.results-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 8px;
}

.rh-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.rh-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.rh-text span {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.rh-text em {
    font-style: italic;
    color: var(--text);
}

/* ══════════════════════════════════════════════════════
   TUITION MODES COMPARISON
   ══════════════════════════════════════════════════════ */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.mode-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease);
}
.mode-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mode-card--one-on-one {
    border-top: 4px solid var(--blue);
}

.mode-card--group {
    border-top: 4px solid var(--gold);
}

.mode-badge {
    position: absolute;
    top: -14px;
    left: 36px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 100px;
}
.mode-card--one-on-one .mode-badge {
    background: var(--blue-faint);
    color: var(--blue);
    border: 1px solid var(--blue-mid);
}
.mode-card--group .mode-badge {
    background: var(--gold-faint);
    color: var(--gold);
    border: 1px solid #F0D9A0;
}

.mode-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-top: 8px;
}
.mode-card h3 small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.mode-desc {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.mode-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mode-section h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
}

.mode-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mode-bullets li {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
    padding-left: 24px;
    position: relative;
}

/* Bullet list icon decoration */
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: 700;
}

.feature-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}
.mode-card--group .feature-list li::before {
    color: var(--gold);
}

/* ══════════════════════════════════════════════════════
   FEES
══════════════════════════════════════════════════════ */
.fees-period {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: -36px;
    margin-bottom: 40px;
}

.fees-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}

/* Table */
.fees-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.fees-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
}
.fees-table-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}
.fees-table-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
    background: #fff;
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 100px;
}

.table-scroll { overflow-x: auto; }

.fees-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.fees-table thead tr {
    background: var(--blue);
    color: #fff;
}
.fees-table th {
    padding: 13px 20px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.fees-table td {
    padding: 13px 20px;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
}
.fees-table tbody tr:last-child td { border-bottom: none; }
.fees-table tbody tr:hover td { background: var(--blue-faint); }

.ap-row td { background: #FAFCFF; }
.ap-row:hover td { background: var(--blue-faint) !important; }

.ap-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    background: var(--gold-faint);
    border: 1px solid #F0D9A0;
    padding: 1px 6px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

.fee-amt {
    font-weight: 700;
    color: var(--text) !important;
    font-size: 0.92rem !important;
}
.fee-per {
    font-size: 0.78rem !important;
    color: var(--text-light) !important;
}

.table-note {
    padding: 14px 20px;
    font-size: 0.78rem;
    color: var(--text-light);
    background: var(--bg-gray);
    border-top: 1px solid var(--border);
    line-height: 1.55;
}

/* 1-on-1 callout */
.one-on-one-box {
    background: var(--blue);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 80px;
}
.one-on-one-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.oo-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin: 4px 0 0;
}
.oo-price span {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.75;
}
.one-on-one-box > p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

.oo-notes {
    margin: 8px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.oo-notes li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    padding-left: 14px;
    position: relative;
    line-height: 1.4;
}
.oo-notes li::before {
    content: '·';
    position: absolute;
    left: 4px;
    font-weight: 700;
}

.one-on-one-box .btn-primary {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
    justify-content: center;
    margin-top: 4px;
}
.one-on-one-box .btn-primary:hover {
    background: var(--blue-faint);
    border-color: var(--blue-faint);
}

.fees-contact {
    text-align: center;
    margin-top: 28px;
    font-size: 0.88rem;
    color: var(--text-light);
}
.fees-contact a {
    color: var(--blue);
    font-weight: 500;
    transition: color var(--ease);
}
.fees-contact a:hover { color: var(--blue-dark); text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════ */
.contact-sub {
    font-size: 1rem;
    color: var(--text-mid);
    margin-top: -36px;
    margin-bottom: 40px;
    max-width: 480px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 800px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.contact-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-icon.whatsapp  { background: #E8F7EE; color: #25D366; }
.contact-icon.email     { background: var(--blue-faint); color: var(--blue); }
.contact-icon.linkedin  { background: #E8F0FA; color: #0077B5; }

.contact-card strong { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.contact-card span   { font-size: 0.82rem; color: var(--text-light); }

.contact-cta {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    margin-top: 6px;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
    background: #111827;
    padding: 48px 0 28px;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}


.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.footer-logo {

    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.footer-logo span { color: #D4AA47; }

.footer-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-nav a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--ease);
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--ease); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ══════════════════════════════════════════════════════
   MODAL — COURSE SYLLABUS
══════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.18s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-box {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.22s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-light);
    transition: background var(--ease), color var(--ease);
    z-index: 1;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--bg-gray); color: var(--text); }

.modal-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border);
}
.modal-level {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}
.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}
.modal-header p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.modal-body { padding: 24px 32px; }

.modal-units-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 14px;
}

.modal-units {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.modal-units li {
    font-size: 0.85rem;
    color: var(--text-mid);
    padding: 9px 12px;
    background: var(--bg-gray);
    border-radius: 7px;
    line-height: 1.4;
    border: 1px solid var(--border);
}
.modal-units li strong {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.78rem;
}

.modal-footer {
    padding: 20px 32px 28px;
    border-top: 1px solid var(--border);
}
.modal-footer .btn-primary { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .section { padding: 72px 0; }
    .about-wrap { grid-template-columns: 1fr; gap: 40px; }
    .body-text { max-width: 100%; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .fees-wrap { grid-template-columns: 1fr; }
    .modes-grid { grid-template-columns: 1fr; gap: 40px; }
    .one-on-one-box { position: static; }
    .contact-grid { grid-template-columns: 1fr; max-width: 380px; }
    .why-grid { grid-template-columns: 1fr; gap: 1px; }
    .modal-units { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .section { padding: 56px 0; }

    /* Nav */
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 66px;
        right: -100%;
        width: 270px;
        height: calc(100vh - 66px);
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 16px;
        gap: 4px;
        box-shadow: -4px 0 24px rgba(0,0,0,0.1);
        transition: right 0.28s ease;
        z-index: 950;
        overflow-y: auto;
    }
    .nav-links.open { right: 0; }
    .nav-backdrop.open { display: block; }
    .nav-links a { width: 100%; padding: 11px 14px; }
    .nav-links a.nav-btn { margin-left: 0; margin-top: 8px; text-align: center; width: 100%; }

    /* Hero */
    .hero-ctas { flex-direction: column; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
    .hs-sep { display: none; }
    .hero-stats { gap: 16px; }
    .hs-item { padding-right: 0; }

    /* Courses */
    .courses-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
    .courses-header { flex-direction: column; align-items: flex-start; }

    /* Fees */
    .fees-table th, .fees-table td { padding: 11px 14px; }

    /* Footer */
    .footer-top { flex-direction: column; }
    .footer-nav { gap: 16px; }
}
