/* ==========================================================================
   COMPETITIVE EYES — Vedantu Bright Study Design System
   Source: D:\vedantu.com-design.md & https://www.vedantu.com/
   Clean, Cheerful, High-Contrast Education Brand with Bold Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --primary:        #ff693d; /* Vedantu Orange */
  --primary-strong: #ef5c32; /* Pressed/Hover Orange */
  --secondary:      #01202b; /* Deep Inky Blue-Black */
  --tertiary:       #ffd84d; /* Bright Sunny Yellow */
  --neutral:        #ffffff;
  --surface:        #ffffff;
  --surface-muted:  #f7f7f7;
  --on-surface:     #01202b;
  --text:           #01202b;
  --text-muted:     #576b74;
  --border:         #eceaea;
  --success:        #54b948;
  --warning:        #ffd84d;

  /* Pastel Accents */
  --accent-lilac:   #e8ddff;
  --accent-sky:     #c9dcff;
  --accent-mint:    #bcf5e3;
  --accent-pink:    #f8deec;
  --accent-peach:   #fbe8dc;
  --accent-cream:   #fbeebb;

  /* Typography */
  --font-family:    'Poppins', sans-serif;

  /* Corner Radii */
  --r-none: 0px;
  --r-sm:   6px;
  --r-md:   8px;
  --r-lg:   10px;
  --r-xl:   16px;
  --r-full: 9999px;

  /* Spacing Scale */
  --sp-xs: 2px;
  --sp-sm: 10px;
  --sp-md: 20px;
  --sp-lg: 64px;
  --sp-xl: 80px;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(1, 32, 43, 0.05);
  --shadow-md: 0 4px 14px rgba(1, 32, 43, 0.07);
  --shadow-lg: 0 8px 24px rgba(1, 32, 43, 0.09);
  --shadow-xl: 0 16px 36px rgba(1, 32, 43, 0.12);

  --dur: 0.2s;
}

/* ── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 68px; /* space for mobile sticky bar */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.25;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--dur) ease;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-family);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── SKIP LINK ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: var(--r-md);
  font-weight: 600;
  z-index: 9999;
}

/* ── ANNOUNCEMENT TICKER ────────────────────────────────────────────────── */
.urgency-bar {
  background: var(--secondary);
  color: var(--neutral);
  padding: 0.45rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  white-space: nowrap;
}

.urgency-bar-track {
  display: inline-block;
  animation: ticker 32s linear infinite;
  padding-left: 100%;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.ub-highlight {
  color: var(--tertiary);
  font-weight: 700;
}

.ub-sep {
  margin: 0 1.5rem;
  opacity: 0.4;
}

/* ── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
  transition: box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-family);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.logo-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Nav Links (Desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  border-radius: var(--r-sm);
  transition: all var(--dur) ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--accent-peach);
}

/* Nav Right Buttons */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--secondary);
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-md);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--dur) ease;
  white-space: nowrap;
}

.nav-phone-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--accent-peach);
}

.nav-enquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary);
  color: var(--neutral);
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  height: 40px;
  transition: background var(--dur) ease, transform var(--dur) ease;
  white-space: nowrap;
}

.nav-enquire-btn:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

/* Hamburger (3 lines) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 6px;
  border-radius: var(--r-md);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 9995;
  touch-action: manipulation;
}

.hamburger:hover,
.hamburger:active {
  background: var(--border);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: var(--r-full);
  transition: transform var(--dur) ease, opacity var(--dur) ease;
  pointer-events: none;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5.5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5.5px);
}

.nav-mobile-header { display: none; }
.nav-mobile-ctas { display: none; }

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(1, 32, 43, 0.55);
  z-index: 9990;
  backdrop-filter: blur(2px);
}

.nav-overlay.active { display: block; }

/* ── BUTTONS (Vedantu Component Specs) ─────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--neutral);
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 8px 24px;
  min-height: 44px;
  transition: background var(--dur) ease, transform var(--dur) ease, box-shadow var(--dur) ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--neutral);
  color: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 24px;
  min-height: 44px;
  transition: all var(--dur) ease;
}

.btn-secondary:hover,
.btn-outline-white:hover {
  background: var(--accent-peach);
  border-color: var(--primary);
  color: var(--primary-strong);
  transform: translateY(-1px);
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--success);
  color: var(--neutral);
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 20px;
  min-height: 42px;
  transition: all var(--dur) ease;
}

.btn-green:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-block { width: 100%; }
.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  min-height: 34px;
  border-radius: var(--r-sm);
}

/* ── CHIPS & BADGES ─────────────────────────────────────────────────────── */
.chip,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--tertiary);
  color: var(--on-surface);
  border: 1px solid rgba(1, 32, 43, 0.08);
  border-radius: var(--r-full);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  margin-bottom: 0.85rem;
}

.section-tag.green-tag {
  background: var(--accent-mint);
  color: #0c5738;
  border-color: rgba(84, 185, 72, 0.25);
}

.section-tag.blue-tag {
  background: var(--accent-sky);
  color: #1a4282;
  border-color: rgba(201, 220, 255, 0.5);
}

.section-tag.lilac-tag {
  background: var(--accent-lilac);
  color: #4a2882;
}

/* ── SECTION HEADINGS ──────────────────────────────────────────────────── */
.section-hd {
  margin-bottom: 2.5rem;
}

.section-hd.center {
  text-align: center;
}

.section-hd h2 {
  font-size: 2.05rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--secondary);
  margin-bottom: 0.55rem;
}

.section-hd p {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 600px;
}

.section-hd.center p {
  margin: 0 auto;
}

.highlight-o { color: var(--primary); }
.highlight-g { color: var(--success); }

/* ── HERO SECTION (Vedantu Bright Style) ────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #fff7f4 0%, #ffffff 100%);
  padding: 3.5rem 1.25rem 3.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.75rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Left */
.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--tertiary);
  color: var(--secondary);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  margin-bottom: 1.25rem;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.hero-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.hero-h1 {
  font-size: 2.75rem;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.7px;
  margin-bottom: 1rem;
}

.hero-h1 .hl {
  color: var(--primary);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.85rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

/* Stats Row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.85rem;
}

.stat-chip {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0.85rem 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) ease, border-color var(--dur) ease;
}

.stat-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.stat-chip strong {
  display: block;
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-chip span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sc-orange strong { color: var(--primary); }
.sc-green strong  { color: var(--success); }
.sc-gold strong   { color: #d97706; }
.sc-cyan strong   { color: #0284c7; }

/* Social Row (Vedantu aligned pills) */
.hero-social-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.social-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-btns-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neutral);
  transition: transform var(--dur) ease, opacity var(--dur) ease;
}

.social-btn svg { display: block; }
.social-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.sb-yt { background: #CC0000; }
.sb-ig { background: linear-gradient(135deg, #D92E7F, #E85A3C, #E5A93B); }
.sb-fb { background: #1877F2; }
.sb-wa { background: #25D366; }

/* Hero Right — Carousel */
.hero-right { position: relative; }

.carousel-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
  aspect-ratio: 16/10;
  background: var(--surface-muted);
}

.carousel, .carousel-track {
  width: 100%;
  height: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* YouTube Video Banners */
.video-carousel-wrap {
  aspect-ratio: 16/9;
  background: #000;
}

.video-slide {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #000;
}

.video-slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.video-slide-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.video-slide:hover .video-slide-thumb {
  transform: scale(1.03);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease;
  z-index: 2;
  cursor: pointer;
}

.video-slide:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.38);
}

.video-play-btn {
  width: 68px;
  height: 48px;
  background: #ff0000;
  border-radius: 14px;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease;
  pointer-events: none;
}

.video-slide:hover .video-play-btn {
  transform: scale(1.15);
  background: #cc0000;
}

.video-title-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  z-index: 3;
  pointer-events: none;
}

.video-title-badge {
  background: #ff0000;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.video-title-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--dur) ease;
  z-index: 5;
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--neutral);
  border-color: var(--primary);
}

.carousel-btn.prev { left: 0.65rem; }
.carousel-btn.next { right: 0.65rem; }

.carousel-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 5;
}

.carousel-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(1, 32, 43, 0.25);
  border: none;
  cursor: pointer;
  transition: all var(--dur) ease;
}

.carousel-dots .dot.active {
  width: 20px;
  border-radius: var(--r-full);
  background: var(--primary);
}

/* Hero fallback illustration bento */
.hero-illus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.illus-card {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.15rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: all var(--dur) ease;
}

.illus-card:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.illus-card.full-width {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--accent-peach);
  border-color: rgba(255, 105, 61, 0.2);
}

.illus-card.full-width:hover .illus-arrow {
  transform: translateX(5px);
}

.illus-card.orange-top {
  border-top: 3px solid var(--primary);
}

.illus-card.green-top {
  border-top: 3px solid var(--success);
}

.illus-card.blue-top {
  border-top: 3px solid #0284c7;
}

.illus-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.illus-text strong {
  display: block;
  font-family: var(--font-family);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.illus-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.illus-arrow {
  font-size: 1.35rem;
  color: var(--primary);
  margin-left: auto;
  transition: transform var(--dur) ease;
  flex-shrink: 0;
}

/* ── TOPPERS / RESULTS (Vedantu Bright Cards) ───────────────────────────── */
.toppers-section {
  background: var(--surface-muted);
  padding: 4rem 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.toppers-section .section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.toppers-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.85rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.toppers-scroll::-webkit-scrollbar { display: none; }

.topper-card {
  flex-shrink: 0;
  width: 165px;
  text-align: center;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.35rem 0.85rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) ease;
}

.topper-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.topper-card.gold-ring   { border-color: var(--tertiary); }
.topper-card.silver-ring { border-color: #cbd5e1; }
.topper-card.bronze-ring { border-color: #f97316; }

.topper-photo-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 0.85rem;
}

.topper-photo,
.topper-initial {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 3px solid var(--accent-peach);
  object-fit: cover;
  display: block;
}

.topper-card.gold-ring   .topper-photo,
.topper-card.gold-ring   .topper-initial { border-color: var(--tertiary); }
.topper-card.silver-ring .topper-photo,
.topper-card.silver-ring .topper-initial { border-color: #94a3b8; }
.topper-card.bronze-ring .topper-photo,
.topper-card.bronze-ring .topper-initial { border-color: #f97316; }

.topper-initial {
  background: var(--accent-peach);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.medal-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 2px solid var(--surface);
  background: var(--tertiary);
}

.topper-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--secondary);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.topper-result {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0c5738;
  background: var(--accent-mint);
  border-radius: var(--r-full);
  padding: 0.2rem 0.65rem;
}

/* ── COURSES SECTION (Vedantu Course Tiles) ────────────────────────────── */
.courses-section {
  padding: 4.5rem 1.25rem;
  background: var(--surface);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.course-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: all var(--dur) ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.course-card:nth-child(2)::before { background: #0284c7; }
.course-card:nth-child(3)::before { background: var(--success); }
.course-card:nth-child(4)::before { background: #8b5cf6; }

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.course-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: var(--accent-peach);
}

.course-card:nth-child(2) .course-icon { background: var(--accent-sky); }
.course-card:nth-child(3) .course-icon { background: var(--accent-mint); }
.course-card:nth-child(4) .course-icon { background: var(--accent-lilac); }

.course-card h3 {
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 0.45rem;
  font-weight: 700;
  line-height: 1.35;
}

.course-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  flex: 1;
}

.fee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent-cream);
  color: #78350f;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.22rem 0.75rem;
  border-radius: var(--r-full);
  margin-bottom: 0.85rem;
  width: fit-content;
}

.course-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--dur) ease;
}

.course-card:hover .course-link {
  gap: 0.6rem;
}

/* ── WHY CHOOSE US (Vedantu Feature Bento) ──────────────────────────────── */
.why-section {
  padding: 4.5rem 1.25rem;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-inner {
  display: grid;
  grid-template-columns: 1.8fr 3fr;
  gap: 3rem;
  align-items: center;
}

.why-text-col h2 {
  font-size: 2.15rem;
  margin-bottom: 0.95rem;
  line-height: 1.22;
}

.why-text-col p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 1.65rem;
}

.why-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.why-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.45rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) ease;
  border-left: 4px solid var(--primary);
}

.why-card:nth-child(2) { border-left-color: var(--success); }
.why-card:nth-child(3) { border-left-color: #8b5cf6; }
.why-card:nth-child(4) { border-left-color: #0284c7; }

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  display: block;
}

.why-card h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.why-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── FACULTY ─────────────────────────────────────────────────────────────── */
.faculty-section {
  padding: 4.5rem 1.25rem;
  background: var(--surface);
}

.teachers-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.teacher-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) ease;
}

.teacher-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.teacher-avatar-wrap {
  margin-bottom: 0.9rem;
}

.teacher-avatar,
.teacher-avatar-init {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid var(--accent-peach);
  object-fit: cover;
}

.teacher-avatar-init {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--neutral);
}

.teacher-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.teacher-qual {
  font-size: 0.78rem;
  color: var(--primary-strong);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.tag {
  background: var(--surface-muted);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
}

/* ── TESTIMONIALS ─────────────────────────────────────────────────────────── */
.testimonials-section {
  padding: 4.5rem 1.25rem;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
}

.testi-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testi-scroll::-webkit-scrollbar { display: none; }

.testi-card {
  flex-shrink: 0;
  min-width: 300px;
  max-width: 300px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) ease;
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.testi-card.featured {
  background: var(--surface);
  border-color: var(--primary);
  border-top: 4px solid var(--primary);
}

.testi-stars {
  color: var(--tertiary);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.testi-text {
  font-size: 0.88rem;
  color: var(--secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar,
.testi-avatar-init {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testi-avatar-init {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  background: var(--accent-peach);
  color: var(--primary);
}

.testi-author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
}

.testi-author-info span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ── LEADERBOARD ─────────────────────────────────────────────────────────── */
.lb-section {
  padding: 4rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.lb-section .section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.lb-scroll {
  display: flex;
  gap: 0.95rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lb-scroll::-webkit-scrollbar { display: none; }

.lb-card {
  flex-shrink: 0;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.95rem 1.1rem;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) ease;
}

.lb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.lb-card:first-child {
  border-color: var(--tertiary);
  background: #fffdf5;
}

.lb-card:nth-child(2) {
  border-color: #cbd5e1;
}

.lb-card:nth-child(3) {
  border-color: #fed7aa;
}

.lb-rank {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.lb-photo,
.lb-photo-init {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lb-photo-init {
  background: var(--accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #1a4282;
}

.lb-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
}

.lb-info span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ── EVENTS ──────────────────────────────────────────────────────────────── */
.events-section {
  padding: 4rem 1.25rem;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.event-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) ease;
  flex-wrap: wrap;
}

.event-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.event-date {
  background: var(--secondary);
  color: var(--neutral);
  border-radius: var(--r-sm);
  padding: 0.55rem 0.8rem;
  text-align: center;
  min-width: 54px;
  flex-shrink: 0;
}

.event-day {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.event-mon {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  display: block;
}

.e-pill {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
}

.e-notice  { background: var(--accent-sky); color: #1a4282; }
.e-event   { background: var(--accent-peach); color: var(--primary-strong); }
.e-holiday { background: var(--accent-mint); color: #0c5738; }
.e-exam    { background: var(--accent-pink); color: #9f1239; }

.event-info {
  flex: 1;
  min-width: 0;
}

.event-info strong {
  font-size: 0.94rem;
  color: var(--secondary);
  display: block;
  font-weight: 700;
}

.event-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── FAQ ACCORDION ───────────────────────────────────────────────────────── */
.faq-section {
  padding: 4.5rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-q:hover { color: var(--primary); }

.faq-icon {
  font-size: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--dur) ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 1.05rem 1.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1.5px solid var(--border);
  background: var(--surface-muted);
}

.faq-item.open .faq-a { display: block; }

/* ── CONTACT & REGISTRATION ──────────────────────────────────────────────── */
.contact-section {
  padding: 4.5rem 1.25rem 5rem;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.75rem;
  align-items: start;
}

.contact-info-card {
  background: var(--secondary);
  border-radius: var(--r-xl);
  padding: 2.25rem 1.85rem;
  color: var(--neutral);
  box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
  font-size: 1.75rem;
  color: var(--neutral);
  margin-bottom: 0.65rem;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.65rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--neutral);
  transition: background var(--dur) ease;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cl-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card .text-orange {
  color: var(--primary);
}

.contact-form-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem 1.85rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.45rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid var(--border);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-family: var(--font-family);
  color: var(--on-surface);
  background: var(--surface);
  min-height: 44px;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23576b74'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 105, 61, 0.15);
}

#formMessage {
  display: none;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

#formMessage.success {
  display: block;
  background: var(--accent-mint);
  color: #0c5738;
}

#formMessage.error {
  display: block;
  background: var(--accent-pink);
  color: #9f1239;
}

.form-disclaimer {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.85rem;
}

/* ── FOOTER (Vedantu Deep Contrast) ─────────────────────────────────────── */
footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.7);
}

.footer-gradient-bar {
  height: 4px;
  background: var(--primary);
}

.footer-body {
  padding: 3.5rem 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--neutral);
  margin-bottom: 0.65rem;
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--neutral);
  font-size: 0.95rem;
  transition: all var(--dur) ease;
}

.footer-social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral);
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
  transition: color var(--dur) ease, padding-left var(--dur) ease;
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  margin-bottom: 0.65rem;
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.35rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── MOBILE STICKY BAR ───────────────────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1.5px solid var(--border);
  padding: 0.65rem 1rem;
  display: flex;
  gap: 0.65rem;
  z-index: 900;
  box-shadow: 0 -4px 16px rgba(1, 32, 43, 0.08);
}

.sticky-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.84rem;
  min-height: 46px;
  transition: all var(--dur) ease;
}

.sticky-bar .call-btn {
  background: var(--secondary);
  color: var(--neutral);
}

.sticky-bar .call-btn:hover { background: #0b2d3b; }

.sticky-bar .enquire-btn {
  background: var(--primary);
  color: var(--neutral);
}

.sticky-bar .enquire-btn:hover { background: var(--primary-strong); }

.sticky-bar .wa-btn {
  background: #25D366;
  color: var(--neutral);
  flex: 0.75;
}

.sticky-bar .wa-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

/* ── FLOATING WA ─────────────────────────────────────────────────────────── */
.wa-float {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 1.75rem;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  transition: transform var(--dur) ease;
}

.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── RESPONSIVE DESIGN (Desktop / Tablet / Mobile) ───────────────────────── */
@media(min-width: 901px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .wa-float { display: flex; }
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .nav-mobile-header { display: none; }
  .nav-mobile-ctas { display: none; }
}

@media(max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .teachers-scroll { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

/* Tablet & Mobile (≤900px) */
@media(max-width: 900px) {
  .hamburger { display: flex; }
  .nav-right { display: none; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 84%;
    max-width: 320px;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.5rem 2.5rem;
    gap: 0.25rem;
    z-index: 9999;
    box-shadow: -6px 0 24px rgba(1, 32, 43, 0.15);
    transition: right 0.28s ease;
    overflow-y: auto;
  }

  .nav-links.open { right: 0 !important; }

  .nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1.5px solid var(--border);
  }

  .nav-mobile-title {
    font-family: var(--font-family);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
  }

  .nav-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--text-muted);
    border-radius: var(--r-sm);
    background: var(--surface-muted);
  }

  .nav-link {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.96rem;
    font-weight: 600;
    border-radius: var(--r-md);
    color: var(--secondary);
  }

  .nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1.5px solid var(--border);
    width: 100%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-h1 { font-size: 2.25rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .why-features-grid { grid-template-columns: 1fr 1fr; }
  .teachers-scroll { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Small Phones (≤600px) */
@media(max-width: 600px) {
  .hero { padding: 2.25rem 1rem 2rem; }
  .hero-h1 { font-size: 1.95rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
  .hero-illus { grid-template-columns: 1fr; }

  .courses-grid { grid-template-columns: 1fr; }
  .teachers-scroll { grid-template-columns: 1fr 1fr; }
  .why-features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .section-hd h2 { font-size: 1.75rem; }
}