/* =============================================
   SAMATHWEE – Stylesheet
   Two-column hero: text left, video right
   ============================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --purple:       #5a2d91;
  --purple-light: #7c3fb8;
  --orange:       #f39223;
  --orange-dark:  #e07a10;
  --dark:         #0f0a1e;
  --dark2:        #1e1340;
  --muted:        #6b7280;
  --light:        #f8f4ff;
  --white:        #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--white); overflow-x: hidden; }

/* ── LOADING SCREEN ─────────────────────────────────────────── */
.loading-screen {
  position: fixed; inset: 0;
  background: radial-gradient(circle at 30% 20%, #0f0a1e, #03010a);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.8rem;
  transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), visibility 0.6s;
  opacity: 1; visibility: visible;
}
.loading-screen.fade-out { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 80px; height: 80px;
  border: 5px solid rgba(243,146,35,0.2);
  border-top: 5px solid var(--orange);
  border-right: 5px solid rgba(90,45,145,0.7);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.68,-0.55,0.265,1.55) infinite;
  box-shadow: 0 0 15px rgba(243,146,35,0.3);
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loading-text {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: 2px;
  background: linear-gradient(135deg, #f39223, #ffb347);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: softPulse 1.4s infinite alternate;
}
@keyframes softPulse {
  0%   { opacity: 0.6; letter-spacing: 1px; }
  100% { opacity: 1;   letter-spacing: 3px; }
}
.loading-sub { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ── HERO CONTAINER ──────────────────────────────────────────── */
.hero-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0a1e 0%, #1e1340 40%, #2d1a5c 70%, #1a0f35 100%);
}

#bg-canvas {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 1;
}
.orb-1 { width: 500px; height: 500px; background: rgba(90,45,145,0.45);  top: -100px; right: 10%; animation: orbFloat 8s  ease-in-out infinite; }
.orb-2 { width: 350px; height: 350px; background: rgba(243,146,35,0.25); bottom: 10%; left: 5%;   animation: orbFloat 10s ease-in-out infinite reverse; }
.orb-3 { width: 250px; height: 250px; background: rgba(124,63,184,0.3);  top: 40%;   left: 35%;  animation: orbFloat 12s ease-in-out infinite 2s; }
@keyframes orbFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav-bar {
  position: relative; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  width: 94%; max-width: 1400px; margin: 20px auto;
  padding: 14px 36px;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(20px);
  border-radius: 100px; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.logo-container { display: flex; align-items: center; gap: 12px; }
.logo-container img { height: 44px; border-radius: 10px; }
.logo-container h1 { font-size: 1rem; color: #fff; font-weight: 700; line-height: 1.2; font-family: 'Sora', sans-serif; }

.nav-links { display: flex; list-style: none; align-items: center; gap: 28px; }
.nav-links li a {
  text-decoration: none; color: rgba(255,255,255,0.75);
  font-weight: 600; font-size: 0.9rem;
  position: relative; padding: 5px 0; transition: color .3s;
}
.nav-links li a::after {
  content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0;
  background: var(--orange); transition: width .35s;
}
.nav-links li a:hover::after { width: 100%; }
.nav-links li a:hover { color: #fff; }
.contact-btn-nav {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)) !important;
  color: #fff !important; padding: 10px 28px !important; border-radius: 50px;
  font-weight: 700 !important; text-transform: uppercase; font-size: 0.76rem !important;
  letter-spacing: 1.4px; box-shadow: 0 4px 18px rgba(243,146,35,.4);
  transition: transform .3s, box-shadow .3s !important;
}
.contact-btn-nav:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 28px rgba(243,146,35,.55) !important; }
.contact-btn-nav::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 4px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   HERO MAIN ROW  —  left: text  |  right: video
   ═══════════════════════════════════════════════════════════════ */
.hero-main {
  position: relative;
  z-index: 10;
  flex: 1;                        /* fills remaining hero height */
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 48px 7% 48px;
}

/* ── LEFT COLUMN — text ──────────────────────────────────────── */
.hero-content {
  flex: 1;
  min-width: 0;
}
.description-box { max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(243,146,35,0.15); border: 1px solid rgba(243,146,35,0.3);
  color: var(--orange); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 20px; border-radius: 50px; margin-bottom: 28px;
  animation: fadeSlideUp 0.8s ease both;
}
.description-box h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: #fff; line-height: 1.12; font-weight: 800; margin-bottom: 22px;
  animation: fadeSlideUp 0.8s ease 0.15s both;
}
.shiny-text {
  display: inline-block;
  background: linear-gradient(135deg, #f39223, #ffb347, #fff5c4, #f39223, #ffb347);
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: metallicSheen 3.5s linear infinite;
}
@keyframes metallicSheen { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

.description-box p {
  font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.9; margin-bottom: 38px;
  animation: fadeSlideUp 0.8s ease 0.3s both;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeSlideUp 0.8s ease 0.45s both; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700;
  text-transform: uppercase; font-size: 0.84rem; letter-spacing: 1.5px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  padding: 15px 36px; border-radius: 50px;
  box-shadow: 0 6px 28px rgba(90,45,145,.5);
  transition: transform .3s, box-shadow .3s;
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(90,45,145,.6); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 0.84rem; letter-spacing: 1px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  padding: 15px 36px; border-radius: 50px;
  transition: background .3s, border-color .3s, transform .3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); transform: translateY(-4px); }

/* ── RIGHT COLUMN — stealth video ───────────────────────────── */
.hero-video-side {
  flex: 0 0 48%;                  /* takes ~half the row */
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  animation: fadeSlideUp 0.9s ease 0.4s both;

  /* Very subtle shadow — no harsh border */
  box-shadow:
    0 0 0 1px rgba(90,45,145,0.15),
    0 20px 60px rgba(0,0,0,0.45);
}

/* Subtle fade border — no animated glow */
.hero-video-side::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(90,45,145,0.18), rgba(243,146,35,0.10), rgba(90,45,145,0.12));
  z-index: -1;
  opacity: 0.5;
  animation: hvBorderFade 6s ease-in-out infinite;
}
@keyframes hvBorderFade {
  0%,100% { opacity: 0.35; }
  50%      { opacity: 0.6; }
}

/* The actual video — no browser chrome, no interaction */
#stealthVideo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  outline: none; border: none;
  pointer-events: none;           /* blocks all clicks/hover */
  user-select: none;
  -webkit-user-select: none;
  /* slightly de-saturate so it reads as a graphic element */
  filter: saturate(0.92) brightness(0.90);
}

/* 4-corner fade vignette */
#stealthVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  pointer-events: none;
  user-select: none;

  filter: saturate(0.92) brightness(0.9);

  /* 🔥 REAL EDGE FADE (THIS IS THE MAGIC) */
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,0) 100%
  );

  mask-image: radial-gradient(
    ellipse at center,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,0) 100%
  );
}

/* Transparent shield — catches any remaining mouse events */
.hvs-shield {
  position: absolute; inset: 0;
  z-index: 10;
  cursor: default;
  background: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.hero-stats {
  position: relative; z-index: 10;
  display: flex; gap: 0;
  padding: 0 7% 52px;
  animation: fadeSlideUp 0.8s ease 0.6s both;
}
.stat-item { padding: 20px 40px 20px 0; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--orange); line-height: 1; display: inline-block; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ── GRADE SECTION ───────────────────────────────────────────── */
.grade-section { background: var(--light); padding: 100px 5% 60px; }
.grade-inner { max-width: 1300px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; padding: 6px 18px; border-radius: 50px; margin-bottom: 16px;
}
.section-title { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--dark); font-weight: 800; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 560px; margin-bottom: 60px; }

/* ── GRADE CARDS ─────────────────────────────────────────────── */
.grade-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.grade-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: 36px 24px;
  text-align: center; cursor: pointer; text-decoration: none;
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  opacity: 0; transform: translateY(50px) scale(0.94); will-change: transform, opacity;
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.grade-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.grade-card:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 28px 48px rgba(0,0,0,0.2); }
.grade-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 32px;
  opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2), transparent);
}
.grade-card:hover::before { opacity: 1; }
.gc-0 { background: linear-gradient(145deg, #ff6b6b, #ee5a24); }
.gc-1 { background: linear-gradient(145deg, #5a2d91, #8b5cf6); }
.gc-2 { background: linear-gradient(145deg, #0ea5e9, #0369a1); }
.gc-3 { background: linear-gradient(145deg, #10b981, #059669); }
.gc-4 { background: linear-gradient(145deg, #f59e0b, #d97706); }
.gc-5 { background: linear-gradient(145deg, #ec4899, #be185d); }
.gc-6 { background: linear-gradient(145deg, #8b5cf6, #6d28d9); }
.gc-7 { background: linear-gradient(145deg, #06b6d4, #0891b2); }
.gc-emoji { font-size: 2.4rem; margin-bottom: 14px; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); }
.gc-title { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.gc-sub { font-size: 0.76rem; color: rgba(255,255,255,0.8); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.gc-count { display: inline-block; margin-top: 14px; background: rgba(255,255,255,0.2); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 5px 14px; border-radius: 50px; }
.gc-arrow { position: absolute; bottom: 18px; right: 20px; color: rgba(255,255,255,0.5); font-size: 1.2rem; transition: transform 0.25s ease, color 0.2s; }
.grade-card:hover .gc-arrow { transform: translate(5px, -5px); color: #fff; }

/* ── SUBJECTS SECTION ────────────────────────────────────────── */
.subjects-section { background: #fff; padding: 0 5% 100px; }
.subjects-inner { max-width: 1300px; margin: 0 auto; }
.search-wrap { position: relative; max-width: 600px; margin: 40px 0 50px; }
.search-wrap input {
  width: 100%; padding: 18px 60px 18px 24px; border: 2px solid #e2e8f0; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--dark); background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  outline: none; transition: border-color .3s, box-shadow .3s;
}
.search-wrap input:focus { border-color: var(--purple); box-shadow: 0 4px 24px rgba(90,45,145,0.18); }
.subjects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.subject-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 20px;
  background: var(--light); border: 1.5px solid #ede9fe;
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease-out, border-color 0.3s ease;
  opacity: 0; transform: translateY(28px) scale(0.96); cursor: default; will-change: transform, box-shadow;
}
.subject-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.subject-card:hover { transform: translateY(-6px); box-shadow: 0 20px 35px -12px rgba(90,45,145,0.2); border-color: var(--purple); background: #ffffff; }
.subject-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; transition: transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28); }
.subject-card:hover .subject-icon { transform: scale(1.06); }
.subject-name { font-weight: 800; color: var(--dark); font-size: 0.95rem; transition: color 0.25s ease; }
.subject-card:hover .subject-name { color: var(--purple); }
.subject-level { font-size: 0.7rem; color: var(--muted); font-weight: 600; margin-top: 4px; letter-spacing: 0.3px; transition: color 0.25s ease; }
.subject-card:hover .subject-level { color: var(--orange); }
.no-results { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--muted); font-size: 1rem; display: none; background: #fef9f0; border-radius: 48px; margin-top: 20px; }

/* ── TEACHERS SECTION ────────────────────────────────────────── */
.teachers-section { padding: 80px 20px; background: linear-gradient(135deg, #f8f4ff 0%, #f0f4f9 100%); }
.teachers-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.teachers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; }
.teacher-card {
  background: #fff; border-radius: 20px; padding: 30px 20px 24px;
  box-shadow: 0 4px 20px rgba(90,45,145,.08); border: 1.5px solid rgba(90,45,145,.1);
  text-align: center;
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.3s ease;
  opacity: 0; transform: translateY(40px) scale(0.95);
}
.teacher-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.teacher-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 50px rgba(90,45,145,.22); border-color: rgba(90,45,145,.25); }
.teacher-card:hover .teacher-avatar { animation: avatarPulse 1.6s ease-in-out infinite; }
@keyframes avatarGlow {
  0%   { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #5a2d91, 0 0 14px 5px rgba(90,45,145,.5),  0 0 28px 8px rgba(243,146,35,.25); }
  50%  { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #f39223, 0 0 22px 8px rgba(243,146,35,.55), 0 0 40px 12px rgba(90,45,145,.3); }
  100% { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #5a2d91, 0 0 14px 5px rgba(90,45,145,.5),  0 0 28px 8px rgba(243,146,35,.25); }
}
@keyframes avatarPulse {
  0%   { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #5a2d91, 0 0 20px 8px rgba(90,45,145,.7),  0 0 38px 12px rgba(243,146,35,.4); }
  50%  { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #f39223, 0 0 28px 10px rgba(243,146,35,.75), 0 0 50px 16px rgba(90,45,145,.4); }
  100% { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #5a2d91, 0 0 20px 8px rgba(90,45,145,.7),  0 0 38px 12px rgba(243,146,35,.4); }
}
.teacher-avatar {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 16px; overflow: visible;
  background: linear-gradient(135deg, #5a2d91, #f39223);
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; position: relative;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #5a2d91, 0 0 14px 5px rgba(90,45,145,.45), 0 0 28px 8px rgba(243,146,35,.2);
  animation: avatarGlow 3s ease-in-out infinite; transition: box-shadow .35s ease;
}
.teacher-avatar img { width: 90px; height: 90px; object-fit: cover; border-radius: 50%; display: block; }
.teacher-initials { color: #fff; font-size: 2rem; font-weight: 700; font-family: 'Sora', sans-serif; }
.teacher-name    { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.teacher-subject { font-size: .88rem; font-weight: 600; color: #5a2d91; margin-bottom: 8px; }
.teacher-qual, .teacher-exp { font-size: .8rem; color: #6b7280; margin-bottom: 4px; }
.teacher-bio { font-size: .82rem; color: #6b7280; margin-top: 8px; line-height: 1.5; border-top: 1px solid #f3f4f6; padding-top: 10px; }
.teacher-search-wrap { margin: 0 auto 32px; max-width: 520px; position: relative; }
.teacher-search-wrap input {
  width: 100%; padding: 16px 24px 16px 52px; border-radius: 50px;
  border: 2px solid rgba(90,45,145,.15); background: #fff;
  font-family: 'Nunito', sans-serif; font-size: 1rem; color: #1a1a2e;
  outline: none; box-shadow: 0 4px 20px rgba(90,45,145,.08); transition: border-color .3s, box-shadow .3s;
}
.teacher-search-wrap input:focus { border-color: #5a2d91; box-shadow: 0 4px 24px rgba(90,45,145,.18); }
.teacher-search-wrap .search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 1.15rem; pointer-events: none; }
.no-teachers-msg { text-align: center; padding: 40px 20px; color: #9ca3af; font-size: 1rem; font-family: 'Sora', sans-serif; display: none; }

/* ── CENTERS SECTION ─────────────────────────────────────────── */
.centers-section { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: 100px 5%; }
.centers-inner { max-width: 1300px; margin: 0 auto; }
.centers-inner .section-title { color: #fff; }
.centers-inner .section-sub { color: rgba(255,255,255,0.55); }
.centers-grid { display: flex; justify-content: center; }
.center-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px; padding: 48px 40px; backdrop-filter: blur(10px);
  max-width: 640px; width: 100%;
  transition: transform 0.4s cubic-bezier(0.2, 0.85, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
  opacity: 0; transform: translateY(60px);
}
.center-card.visible { opacity: 1; transform: translateY(0); }
.center-card:hover { transform: translateY(-10px); border-color: var(--orange); box-shadow: 0 30px 60px rgba(243,146,35,.15); }
.center-num {
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; box-shadow: 0 8px 24px rgba(90,45,145,.35);
}
.center-card h3 { font-family: 'Sora', sans-serif; font-size: 1.6rem; color: #fff; font-weight: 700; margin-bottom: 12px; }
.center-card p { color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 26px; }
.center-tag { display: inline-block; padding: 6px 18px; background: rgba(243,146,35,0.15); color: var(--orange); border: 1px solid rgba(243,146,35,0.25); border-radius: 100px; font-weight: 700; font-size: 0.78rem; margin-bottom: 24px; }
.center-meta { color: rgba(255,255,255,0.55) !important; font-size: 0.88rem !important; margin-bottom: 4px !important; }
.map-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--orange); font-weight: 700; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 1px; transition: gap .3s; }
.map-btn:hover { gap: 14px; }

/* ── CONTACT SECTION ─────────────────────────────────────────── */
.contact-section { background: var(--light); padding: 80px 5%; }
.contact-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.contact-title { color: var(--dark) !important; }
.contact-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.contact-item {
  background: var(--white); border: 1.5px solid #ede9fe; border-radius: 20px; padding: 24px 36px;
  display: flex; align-items: center; gap: 14px; min-width: 220px;
  box-shadow: 0 4px 20px rgba(90,45,145,0.08); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.contact-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(90,45,145,0.15); border-color: var(--purple); }
.contact-icon { font-size: 1.6rem; }
.contact-text { font-size: 0.95rem; font-weight: 700; color: var(--dark); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: #08051a; padding: 40px 5%; text-align: center; color: rgba(255,255,255,0.35); font-size: 0.85rem; }
footer span { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grade-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hero-main { gap: 40px; }
  .hero-video-side { flex: 0 0 44%; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    background: rgba(15,10,30,0.97); backdrop-filter: blur(16px);
    border-radius: 24px; padding: 16px 0; z-index: 200;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 24px; }
  .contact-btn-nav { margin: 8px auto !important; display: inline-block !important; width: fit-content; }

  /* Stack hero vertically on mobile */
  .hero-main {
    flex-direction: column;
    padding: 36px 6% 24px;
    gap: 36px;
  }
  .hero-content { text-align: center; }
  .description-box { max-width: 100%; margin: 0 auto; }
  .hero-btns { justify-content: center; }

  /* Video goes below text, full width */
  .hero-video-side {
    flex: none;
    width: 100%;
    border-radius: 18px;
  }
  .hvs-fade { border-radius: 18px; }

  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 28px; padding: 0 6% 44px; }
  .stat-item { border-right: none; padding: 0 10px; }
  .grade-grid { grid-template-columns: repeat(2, 1fr); }
  .search-wrap { margin: 30px 0 40px; }
  .center-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .grade-grid { gap: 16px; }
  .grade-card { padding: 28px 18px; }
  .gc-emoji { font-size: 2rem; }
  .gc-title { font-size: 1rem; }
  .contact-item { width: 100%; max-width: 320px; }
}