/* ════════════════════════════════════════
   The NewTown Classes – PRO ENHANCED Stylesheet
   ════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --navy: #003087;
  --deep: #ffffff;
  --gold: #0ea5e9;
  --gold2: #0284c7;
  --sky: #1a56db;
  --teal: #1e66f5;
  --white: #111827;
  --muted: #546e7a;
  --card: #ffffff;
  --card-glass: rgba(255,255,255,0.85);
  --border: rgba(0,48,135,0.12);
  --glow-gold: 0 0 30px rgba(14,165,233,.12);
  --glow-sky: 0 0 30px rgba(26,86,219,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #f5f7ff;
  color: #111827;
  opacity: 0;
  transition: opacity .6s ease;
  overflow-x: hidden;
}
body.loaded { opacity: 1; }

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, #003087, #0ea5e9, #1a56db);
  width: 0%;
  box-shadow: 0 0 10px rgba(14,165,233,.3);
  will-change: width;
  transform: translateZ(0);
}

/* ── FLOATING PARTICLES (removed) ── */

/* ── STARFIELD (hidden in light theme) ── */
.stars {
  display: none;
}

/* ── HEADER BANNER ── */
.header-banner {
  position: relative; z-index: 101;
  background: linear-gradient(135deg, #003087, #004bc2);
  padding: 1.5rem 5% .8rem;
  text-align: center;
  animation: slideDown .6s ease both;
}
.header-banner-inner {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.header-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: #ffffff;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 50%, #0ea5e9 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s linear infinite;
}
@keyframes shimmerText {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.header-pill {
  display: inline-block;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  /* font-family: 'Syne', sans-serif; */
  font-weight: 700; font-size: clamp(.75rem, 1.5vw, .95rem);
  padding: .4rem 1.6rem;
  border-radius: 50px;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 20px rgba(14,165,233,.3);
}

@keyframes slideDown { from { transform: translateY(-100%); opacity:0; } to { transform: translateY(0); opacity:1; } }

/* ── ANNOUNCEMENT TICKER ── */
.announcement-ticker {
  background: linear-gradient(90deg, #003087, #0050d0, #003087);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 99;
  border-bottom: 2px solid rgba(14,165,233,.3);
  border-top: 2px solid rgba(14,165,233,.3);
  padding: .55rem 0;
}
.ticker-track {
  display: inline-block;
  animation: tickerScroll 28s linear infinite;
}
.ticker-item {
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .3px;
}
.ticker-item strong {
  color: #7dd3fc;
  font-weight: 800;
}
.ticker-item.highlight {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #003087;
  padding: .2rem .8rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .84rem;
}
.ticker-item.highlight strong { color: #003087; }
.ticker-item.urgent {
  color: #fbbf24;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .5px;
}
.ticker-sep {
  color: #0ea5e9;
  margin: 0 1.5rem;
  font-size: .7rem;
  opacity: .7;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: .8rem 5%;
  background: rgba(0,48,135,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 2rem;
  transition: all .35s ease;
  will-change: transform;
  transform: translateZ(0);
}
nav.nav-scrolled {
  background: rgba(0,48,135,0.98);
  padding: .55rem 5%;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.logo span { color: #0ea5e9; }

.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,.7);
  font-size: .9rem; font-weight: 500;
  transition: color .3s, transform .2s;
  letter-spacing: .3px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 50%; width: 0; height: 2px;
  background: #0ea5e9;
  transition: width .3s, left .3s;
  border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active { color: #0ea5e9; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; left: 0; }

/* ── LOGIN DROPDOWN ── */
.login-dropdown {
  position: relative;
}
.login-toggle {
  cursor: pointer;
  user-select: none;
}
.login-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 190px;
  background: rgba(0,48,135,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: .5rem 0;
  list-style: none;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  z-index: 200;
  animation: dropdownFade .25s ease;
}
.login-menu.open {
  display: block;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.login-menu li a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.2rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: background .2s, color .2s;
  border-radius: 0;
}
.login-menu li a:hover {
  background: rgba(14,165,233,0.08);
  color: #0ea5e9;
}
.login-menu li a::after {
  display: none;
}

.nav-cta {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  padding: .5rem 1.3rem; border-radius: 50px;
  font-weight: 700; font-size: .85rem;
  text-decoration: none; letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(14,165,233,.25);
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(14,165,233,.4);
}

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 5% 5rem;
  overflow: hidden;
  background: #f5f7ff;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.4rem;
  color: #003087;
  animation: fadeUp .8s .2s both;
}
.hero h1 em {
  font-style: italic;
  color: #003087;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(0,48,135,.06);
  border: 1px solid rgba(0,48,135,.12);
  padding: .5rem 1.4rem; border-radius: 6px;
  font-size: .9rem; font-weight: 600; color: #003087;
  margin-bottom: .5rem;
  animation: fadeUp .8s .35s both;
  letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.hero-badge span { width: 6px; height: 6px; background: #0ea5e9; border-radius: 50%; animation: pulse 1.5s infinite; }
.hero-badge strong { color: #0ea5e9; font-size: 1.1rem; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }

.hero-tagline {
  display: inline-block;
  color: #546e7a;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: .85rem;
  padding: .35rem 1.4rem;
  border-radius: 4px;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 1.8rem;
  animation: fadeUp .8s .45s both;
}

.hero p {
  max-width: 600px;
  font-size: 1.15rem; color: #37474f;
  line-height: 1.7; margin-bottom: 2.5rem;
  font-weight: 500;
  animation: fadeUp .8s .5s both;
}
.hero-modes {
  display: inline-block;
  color: #0ea5e9;
  font-weight: 600; font-size: 1.05rem;
  letter-spacing: 1px;
  background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.3);
  padding: .4rem 1.2rem;
  border-radius: 50px;
  margin-top: .4rem;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  cursor: default;
  backdrop-filter: blur(8px);
}
.hero-modes:hover {
  font-size: 1.2rem;
  padding: .5rem 1.5rem;
  background: rgba(14,165,233,.18);
  box-shadow: 0 0 20px rgba(14,165,233,.2);
}
.hero-modes small { opacity: .7; font-size: .85em; }

.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .8s .65s both;
}
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  padding: .85rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 4px 20px rgba(14,165,233,.25);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(14,165,233,.4);
}

.btn-outline {
  border: 1.5px solid rgba(0,48,135,.2); color: #003087;
  padding: .85rem 2.2rem; border-radius: 50px;
  font-weight: 500; font-size: 1rem;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-outline:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: rgba(14,165,233,.05);
  box-shadow: 0 0 20px rgba(14,165,233,.1);
}

.hero-stats {
  display: flex; gap: 3rem; margin-top: 5rem;
  animation: fadeUp .8s .8s both;
  flex-wrap: wrap; justify-content: center;
}
.stat {
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08);
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,.1);
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.stat-lbl { font-size: .75rem; color: #546e7a; letter-spacing: 1.5px; text-transform: uppercase; margin-top: .2rem; }

/* glow orbs */
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; z-index: -1;
  transition: transform .5s ease;
  will-change: transform;
  contain: strict;
}
.orb1 { width: 500px; height: 500px; background: rgba(14,165,233,.08); top: 5%; left: -10%; }
.orb2 { width: 400px; height: 400px; background: rgba(26,86,219,.08); bottom: 0; right: -5%; }

/* ── SECTION SHARED ── */
section { position: relative; z-index: 1; padding: 6rem 5%; }
.section-label {
  font-size: .72rem; letter-spacing: 3px; text-transform: uppercase;
  color: #1a56db; font-weight: 700; margin-bottom: .8rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.section-label::before {
  content: ''; width: 20px; height: 2px;
  background: #1a56db; display: inline-block;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 1rem;
  color: #003087;
}
.section-sub { color: #546e7a; font-size: 1rem; max-width: 500px; line-height: 1.7; }

/* Section divider gradient lines */
section::after {
  content: '';
  position: absolute; bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,48,135,.1), transparent);
}

/* ── COURSES ── */
#courses { background: #ffffff; }

.courses-header { text-align: center; margin-bottom: 3.5rem; }
.courses-header .section-sub { margin: 0 auto; }
.courses-header .section-label::before { display: none; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}

.course-card {
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08);
  border-radius: 20px;
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  cursor: default;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.course-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(14,165,233,.03));
  pointer-events: none;
  transition: opacity .3s;
}
.course-card::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,48,135,.02), transparent);
  transition: left .6s;
}
.course-card:hover::after { left: 100%; }
.course-card:hover {
  border-color: rgba(14,165,233,.3);
  box-shadow: 0 12px 35px rgba(0,0,0,.1);
}

.course-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.2rem;
  transition: transform .3s;
}
.course-card:hover .course-icon { transform: scale(1.1) rotate(-3deg); }
.icon-neet  { background: rgba(255,88,88,.15); }
.icon-jee   { background: rgba(56,182,255,.15); }
.icon-sci   { background: rgba(120,255,120,.12); }
.icon-math  { background: rgba(200,120,255,.12); }
.icon-8to10 { background: rgba(245,200,66,.12); }

.course-tag {
  display: inline-block;
  background: rgba(14,165,233,.08);
  color: #0ea5e9; font-size: .72rem; font-weight: 600;
  padding: .25rem .7rem; border-radius: 50px; margin-bottom: .8rem;
  letter-spacing: .5px; text-transform: uppercase;
  border: 1px solid rgba(14,165,233,.15);
}
.course-card h3 {
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: .6rem;
  color: #003087;
}
.course-card p { color: #546e7a; font-size: .9rem; line-height: 1.6; margin-bottom: 1.2rem; }

.course-features { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.course-features li {
  font-size: .82rem; color: #546e7a;
  display: flex; align-items: center; gap: .5rem;
  transition: color .2s;
}
.course-card:hover .course-features li { color: #111827; }
.course-features li::before { content: '✦'; color: #0ea5e9; font-size: .6rem; }

/* ── TOPPERS GALLERY ── */
#toppers { background: #f5f7ff; }

.toppers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.8rem;
  max-width: 1100px; margin: 0 auto;
}

.topper-card {
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08);
  border-radius: 20px;
  padding: 1.8rem 1rem 1.4rem;
  text-align: center;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.topper-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,165,233,.03) 0%, transparent 50%);
  pointer-events: none;
}
.topper-card:hover {
  border-color: rgba(14,165,233,.3);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

.topper-ring {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  padding: 3px;
  margin: 0 auto 1rem;
  position: relative;
  transition: transform .3s;
}
.topper-card:hover .topper-ring { transform: scale(1.08); }
.topper-ring::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(14,165,233,.2);
  animation: ringPulse 2.5s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { opacity: .3; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.04); }
}

.topper-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  display: block;
}

.topper-score {
  display: inline-block;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  font-weight: 800; font-size: .85rem;
  padding: .25rem .8rem;
  border-radius: 50px;
  margin-bottom: .7rem;
  letter-spacing: .3px;
  box-shadow: 0 2px 10px rgba(14,165,233,.2);
}

.topper-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: .92rem;
  margin-bottom: .25rem;
  color: #003087;
}

.topper-school {
  color: #546e7a;
  font-size: .75rem;
  line-height: 1.4;
}

/* ── WHY US ── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.2rem; max-width: 1100px; margin: 3rem auto 0;
}
.why-item {
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08);
  border-radius: 16px; padding: 1.6rem;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.why-item:hover {
  transform: translateX(6px);
  border-color: rgba(14,165,233,.3);
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}
.why-num {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1; min-width: 2.5rem;
}
.why-item h4 { font-family: 'Syne', sans-serif; font-weight: 700; margin-bottom: .3rem; color: #003087; }
.why-item p  { color: #546e7a; font-size: .88rem; line-height: 1.55; }

/* ── YOUTUBE VIDEOS ── */
#youtube-videos { padding: 5rem 1.5rem 3rem; background: #f5f7ff; }

.yt-carousel-wrapper {
  position: relative; max-width: 1100px; margin: 2rem auto 0; padding: 0 2.5rem;
}
.yt-carousel {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1rem .5rem 1.5rem; scrollbar-width: thin;
  scrollbar-color: rgba(0,48,135,.2) transparent;
}
.yt-carousel::-webkit-scrollbar { height: 6px; }
.yt-carousel::-webkit-scrollbar-track { background: transparent; }
.yt-carousel::-webkit-scrollbar-thumb { background: rgba(0,48,135,.15); border-radius: 3px; }
.yt-carousel::-webkit-scrollbar-thumb:hover { background: rgba(0,48,135,.3); }

.yt-card {
  flex: 0 0 300px; scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08); border-radius: 16px;
  overflow: hidden; transition: all .35s ease; text-decoration: none; color: #111827;
  display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.yt-card:hover {
  border-color: rgba(14,165,233,.3);
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.yt-thumb-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #eee;
}
.yt-thumb-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.yt-card:hover .yt-thumb-wrap img { transform: scale(1.05); }

.yt-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; background: rgba(255,0,0,.85); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.5); transition: all .3s ease;
}
.yt-card:hover .yt-play-btn { background: #ff0000; transform: translate(-50%, -50%) scale(1.1); }
.yt-play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }

.yt-card-body { padding: 1rem 1.1rem; }
.yt-card-title {
  font-size: .85rem; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: .4rem;
}
.yt-card-meta { font-size: .72rem; color: #546e7a; }

.yt-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,48,135,.08); border: 1px solid rgba(0,48,135,.15);
  color: #003087; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease; z-index: 2; line-height: 1;
}
.yt-arrow:hover { background: rgba(0,48,135,.15); }
.yt-arrow-left  { left: 0; }
.yt-arrow-right { right: 0; }

.yt-channel-cta { text-align: center; margin-top: 1.5rem; }
.yt-channel-cta a {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #cc0000; text-decoration: none; font-weight: 600; font-size: .9rem;
  background: rgba(255,0,0,.06); border: 1px solid rgba(255,0,0,.2);
  padding: .6rem 1.5rem; border-radius: 30px; transition: all .3s;
}
.yt-channel-cta a:hover { background: rgba(255,0,0,.25); border-color: rgba(255,0,0,.5); }
.yt-channel-cta svg { width: 20px; height: 20px; fill: #ff0000; }

@media (max-width: 600px) {
  .yt-card { flex: 0 0 260px; }
  .yt-arrow { display: none; }
  .yt-carousel-wrapper { padding: 0 1rem; }
}

/* ── TESTIMONIALS ── */
#testimonials { background: #ffffff; }

/* Google Badge */
.google-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 2rem auto 0; padding: 1rem 2rem;
  background: #f5f7ff; border: 1px solid rgba(0,48,135,.08);
  border-radius: 16px; max-width: 380px;
}
.google-badge-score { font-size: 1.8rem; font-weight: 700; color: #003087; line-height: 1; }
.google-badge-stars { color: #0ea5e9; font-size: .85rem; letter-spacing: 2px; }
.google-badge-count { color: #546e7a; font-size: .78rem; }

/* Horizontal Scroll Carousel */
.review-carousel-wrapper {
  position: relative; max-width: 1100px; margin: 2rem auto 0; padding: 0 2.5rem;
}
.review-carousel {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1rem .5rem 1.5rem; scrollbar-width: thin;
  scrollbar-color: rgba(0,48,135,.2) transparent;
  -ms-overflow-style: none;
}
.review-carousel::-webkit-scrollbar { height: 6px; }
.review-carousel::-webkit-scrollbar-track { background: transparent; }
.review-carousel::-webkit-scrollbar-thumb { background: rgba(0,48,135,.15); border-radius: 3px; }
.review-carousel::-webkit-scrollbar-thumb:hover { background: rgba(0,48,135,.3); }

.review-screenshot-card {
  flex: 0 0 320px; scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08); border-radius: 18px;
  padding: .5rem; transition: all .35s ease; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.review-screenshot-card:hover {
  border-color: rgba(14,165,233,.3);
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.review-screenshot-card img {
  width: 100%; border-radius: 14px; display: block;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,48,135,.08); border: 1px solid rgba(0,48,135,.15);
  color: #003087; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease; z-index: 2; line-height: 1;
}
.carousel-arrow:hover { background: rgba(0,48,135,.15); }
.carousel-arrow-left  { left: 0; }
.carousel-arrow-right { right: 0; }

/* Scroll hint (mobile) */
.scroll-hint {
  text-align: center; color: #546e7a; font-size: .8rem;
  margin-top: .5rem; opacity: .6;
}

/* CTA Link */
.reviews-cta { text-align: center; margin-top: 1.5rem; }
.reviews-cta a {
  color: #0ea5e9; text-decoration: none; font-weight: 600; font-size: .95rem;
  border-bottom: 1px dashed rgba(14,165,233,.4); padding-bottom: 2px;
  transition: opacity .3s;
}
.reviews-cta a:hover { opacity: .7; }

@media (max-width: 600px) {
  .review-screenshot-card { flex: 0 0 280px; }
  .carousel-arrow { display: none; }
  .review-carousel-wrapper { padding: 0 1rem; }
}

/* Legacy testi classes (kept for compatibility) */
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 3rem auto 0;
}
.testi-card {
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08); border-radius: 18px; padding: 1.8rem;
  position: relative; transition: all .35s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.testi-card:hover {
  border-color: rgba(14,165,233,.3);
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.testi-quote {
  font-size: 3rem; color: #0ea5e9; opacity: .25;
  font-family: Georgia, serif; line-height: 1; margin-bottom: .8rem;
}
.testi-card p { color: #546e7a; font-size: .92rem; line-height: 1.65; margin-bottom: 1.2rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.testi-name   { font-weight: 600; font-size: .9rem; color: #003087; }
.testi-detail { color: #546e7a; font-size: .78rem; }
.stars-row    { color: #0ea5e9; font-size: .8rem; margin-bottom: .6rem; letter-spacing: 2px; }

/* ── CONTACT ── */
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; max-width: 1100px; margin: 3rem auto 0; align-items: start;
}
.contact-info h3 {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem;
  color: #003087;
}
.contact-detail {
  display: flex; gap: .8rem; align-items: flex-start;
  margin-bottom: 1.2rem;
  transition: transform .2s;
}
.contact-detail:hover { transform: translateX(4px); }
.contact-detail-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(14,165,233,.06); border: 1px solid rgba(14,165,233,.15);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  flex-shrink: 0;
  transition: all .2s;
}
.contact-detail:hover .contact-detail-icon {
  background: rgba(14,165,233,.12);
  box-shadow: 0 0 15px rgba(14,165,233,.1);
}
.contact-detail-text strong { display: block; font-size: .9rem; margin-bottom: .15rem; color: #003087; }
.contact-detail-text span   { color: #546e7a; font-size: .85rem; }

.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 15px rgba(0,0,0,.05);
}
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group   { display: flex; flex-direction: column; gap: .4rem; position: relative; }
.form-group label {
  font-size: .82rem; color: #546e7a; font-weight: 500;
  transition: color .2s;
}
.form-group.focused label { color: #0ea5e9; }
.form-group input, .form-group select, .form-group textarea {
  background: #f5f7ff; border: 1px solid rgba(0,48,135,.1);
  border-radius: 10px; padding: .75rem 1rem;
  color: #111827; font-family: inherit; font-size: .9rem;
  transition: all .3s ease;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(14,165,233,.5);
  box-shadow: 0 0 0 3px rgba(14,165,233,.08);
}
.form-group select option { background: #ffffff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  padding: .9rem; border-radius: 12px;
  font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(14,165,233,.2);
  position: relative; overflow: hidden;
}
.submit-btn::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  transition: width .4s, height .4s, top .4s, left .4s;
}
.submit-btn:hover::after {
  width: 300px; height: 300px; top: -100px; left: -50px;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14,165,233,.35);
}

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: #003087;
  border-top: none;
  padding: 3rem 5% 1.5rem;
  color: rgba(255,255,255,.85);
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
  opacity: .5;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.footer-brand .logo { font-size: 1.6rem; margin-bottom: .6rem; color: #ffffff; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .88rem; max-width: 260px; line-height: 1.6; }
.footer-links h5 {
  font-family: 'Syne', sans-serif; font-size: .85rem; font-weight: 700;
  color: #0ea5e9; margin-bottom: .8rem; letter-spacing: 1px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a {
  color: rgba(255,255,255,.6); font-size: .85rem; text-decoration: none;
  transition: color .2s, transform .2s;
  display: inline-block;
}
.footer-links a:hover { color: #0ea5e9; transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ── SCROLL ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Staggered card animation */
.course-card, .topper-card, .why-item, .testi-card, .faq-item {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.course-card.visible, .topper-card.visible, .why-item.visible, .testi-card.visible, .faq-item.visible {
  opacity: 1; transform: translateY(0);
}

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  animation: fabPop .5s 1.5s forwards;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,.6); }
.whatsapp-fab svg   { width: 30px; height: 30px; fill: #fff; }
@keyframes fabPop {
  from { opacity:0; transform: scale(0.4); }
  to   { opacity:1; transform: scale(1); }
}
.whatsapp-fab .fab-tooltip {
  position: absolute; right: calc(100% + 12px);
  background: rgba(0,48,135,.9); color: #fff;
  font-size: .78rem; font-weight: 500;
  padding: .35rem .75rem; border-radius: 8px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  backdrop-filter: blur(8px);
}
.whatsapp-fab:hover .fab-tooltip { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { animation: none; opacity: 1; }
  .stars::after { animation: none; }
}

/* ── FAQ ACCORDION ── */
#faq { background: #f5f7ff; }
.faq-list { max-width: 780px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(0,48,135,.08);
  border-radius: 14px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.faq-item.open { border-color: rgba(14,165,233,.3); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.faq-q {
  width: 100%; background: none; border: none;
  color: #003087; text-align: left;
  font-family: 'DM Sans', sans-serif; font-size: .97rem; font-weight: 500;
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 1rem;
  transition: color .2s;
}
.faq-q:hover { color: #0ea5e9; }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(14,165,233,.08); border: 1px solid rgba(14,165,233,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #0ea5e9;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(14,165,233,.15); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  color: #546e7a; font-size: .9rem; line-height: 1.7;
  padding: 0 1.5rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* ── GOOGLE MAP ── */
.map-embed {
  margin-top: 1.5rem; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(0,48,135,.08);
}
.map-embed iframe { display: block; width: 100%; height: 220px; border: none; }

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
  padding: 4px; z-index: 110;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: #ffffff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── RESPONSIVE / TABLET ── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .toppers-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.8rem; }
}

/* ── RESPONSIVE / MOBILE ── */
@media (max-width: 768px) {
  .ticker-item { font-size: .78rem; }
  .ticker-item.highlight { font-size: .75rem; padding: .15rem .6rem; }
  .ticker-sep { margin: 0 1rem; }
  .announcement-ticker { padding: .45rem 0; }
  .hamburger { display: flex; }

  nav {
    justify-content: space-between;
    padding: .7rem 5%;
  }

  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: center;
    background: rgba(0,48,135,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block; padding: .8rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-links a::after { display: none; }

  .login-dropdown { position: relative; width: 100%; }
  .login-menu {
    position: static;
    min-width: auto;
    background: rgba(0,48,135,0.7);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .login-menu li a {
    justify-content: center;
    padding: .6rem 1rem;
    font-size: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .header-banner { padding: 1rem 5% .6rem; }
  .header-title { font-size: 1.3rem; }
  .header-pill { font-size: .7rem; padding: .3rem 1rem; }

  .hero { padding: 3rem 5% 3rem; min-height: auto; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); letter-spacing: -0.5px; margin-bottom: 1rem; }
  .hero-badge { font-size: .75rem; padding: .4rem 1rem; }
  .hero-badge strong { font-size: .9rem; }
  .hero-tagline { font-size: .72rem; padding: .3rem 1rem; letter-spacing: 1.5px; margin-bottom: 1.2rem; }
  .hero p { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-modes { font-size: .85rem; padding: .3rem .9rem; letter-spacing: .5px; }
  .hero-modes:hover { font-size: .95rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: .8rem; }
  .btn-primary, .btn-outline { width: 80%; text-align: center; padding: .75rem 1.5rem; font-size: .9rem; }
  .hero-stats { gap: 1rem; margin-top: 3rem; }
  .stat { padding: .8rem 1rem; }
  .stat-num { font-size: 1.6rem; }
  .stat-lbl { font-size: .65rem; }

  section { padding: 3.5rem 5%; }
  .section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .section-sub { font-size: .9rem; }

  .courses-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .course-card { padding: 1.5rem; }

  .toppers-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .topper-card { padding: 1.2rem .8rem 1rem; }
  .topper-ring { width: 70px; height: 70px; }
  .topper-name { font-size: .8rem; }
  .topper-school { font-size: .68rem; }
  .topper-score { font-size: .75rem; padding: .2rem .6rem; }

  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .why-item { padding: 1.2rem; }
  .why-num { font-size: 1.5rem; min-width: 2rem; }

  .testi-grid { grid-template-columns: 1fr; }

  .faq-q { font-size: .9rem; padding: 1rem 1.2rem; }
  .faq-a { font-size: .85rem; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .whatsapp-fab { width: 50px; height: 50px; bottom: max(1.2rem, env(safe-area-inset-bottom, 1.2rem)); right: 1.2rem; z-index: 9999; }
  .whatsapp-fab svg { width: 26px; height: 26px; }

}

/* ── RESPONSIVE / SMALL MOBILE ── */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.5rem; }
  .toppers-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .topper-ring { width: 60px; height: 60px; }
  .hero-stats { flex-direction: column; gap: .8rem; }
}
