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

/*
  ============================================================
  COLOR PALETTE — Strictly using user-specified colors:
  --sky-blue:    #49C0E9 (RGB: 73, 192, 233)
  --aqua-blue:   #14BEEC (RGB: 20, 190, 236)
  --ice-blue:    #D8EAF3 (RGB: 216, 234, 243)
  --dark-navy:   #213048 (RGB: 33, 48, 72)

  DESIGN: Light & professional — white/ice-blue backgrounds,
  navy text, blue accents (like a premium tutoring website).
  ============================================================
*/

:root {
  --sky-blue:   #49C0E9;
  --aqua-blue:  #14BEEC;
  --ice-blue:   #D8EAF3;
  --dark-navy:  #213048;

  /* Backgrounds */
  --bg-white:       #ffffff;
  --bg-light:       #f4f9fd;
  --bg-ice:         #D8EAF3;
  --bg-navy:        #213048;
  --bg-navy-deep:   #172335;
  --bg-card:        #ffffff;
  --bg-card-alt:    #f4f9fd;

  /* Text */
  --text-dark:      #213048;
  --text-body:      #3a4e62;
  --text-muted:     #7a92a7;
  --text-white:     #ffffff;
  --text-ice:       #D8EAF3;

  /* Borders */
  --border-light:   #e2eef7;
  --border-blue:    rgba(73, 192, 233, 0.35);
  --border-hover:   #14BEEC;

  /* Gradients */
  --gradient-main:      linear-gradient(135deg, #14BEEC 0%, #49C0E9 100%);
  --gradient-navy:      linear-gradient(135deg, #213048 0%, #2a4060 100%);
  --gradient-hero:      linear-gradient(160deg, #213048 0%, #1c3a58 60%, #14BEEC 160%);
  --gradient-section:   linear-gradient(180deg, #f4f9fd 0%, #ffffff 100%);
  --gradient-text:      linear-gradient(135deg, #14BEEC, #49C0E9);

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(33, 48, 72, 0.08);
  --shadow-md:    0 8px 32px rgba(33, 48, 72, 0.12);
  --shadow-lg:    0 16px 48px rgba(33, 48, 72, 0.16);
  --shadow-blue:  0 8px 32px rgba(20, 190, 236, 0.25);
  --shadow-card:  0 4px 20px rgba(33, 48, 72, 0.08);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Kumbh Sans', 'Inter', sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb {
  background: var(--gradient-main);
  border-radius: 999px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Kumbh Sans', 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(20, 190, 236, 0.35);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: var(--dark-navy);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 2px solid var(--dark-navy);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--sky-blue);
  border-color: var(--sky-blue);
  background: rgba(73, 192, 233, 0.06);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(20, 190, 236, 0.4);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(20, 190, 236, 0.55);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(20, 190, 236, 0.35);
}
.btn-primary-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(20, 190, 236, 0.45);
}

/* ===== SECTION COMMON ===== */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-blue);
  padding: 6px 18px;
  background: rgba(73, 192, 233, 0.1);
  border: 1px solid rgba(73, 192, 233, 0.3);
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}

/* White-on-dark variant */
.section-label-white {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua-blue);
  padding: 6px 18px;
  background: rgba(20, 190, 236, 0.15);
  border: 1px solid rgba(20, 190, 236, 0.35);
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: var(--bg-navy);
}
.navbar.scrolled {
  background: rgba(33, 48, 72, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(73, 192, 233, 0.15);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.nav-logo-img:hover {
  filter: drop-shadow(0 0 10px rgba(73, 192, 233, 0.6));
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  margin: 0 auto;
}
.nav-link {
  padding: 8px 14px;
  color: rgba(216, 234, 243, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(73, 192, 233, 0.15);
}
.nav-link.active {
  color: var(--sky-blue);
}
.nav-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ice-blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== NAVBAR DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown > .nav-link::after {
  content: '▾';
  font-size: 0.7rem;
  transition: transform 0.25s ease;
  display: inline-block;
}
.nav-dropdown:hover > .nav-link::after {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 40px rgba(33, 48, 72, 0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  transform: translateX(-50%) translateY(-8px);
  z-index: 2000;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ffffff;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-navy);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--sky-blue);
}
.dropdown-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.dropdown-item-icon.student {
  background: rgba(73, 192, 233, 0.12);
}
.dropdown-item-icon.tutor {
  background: rgba(20, 190, 236, 0.12);
}
.dropdown-item-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 1px;
}
/* Nav Register Button */
.nav-register-btn {
  padding: 8px 18px;
  background: var(--gradient-main);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(20,190,236,0.35);
  white-space: nowrap;
}
.nav-register-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(20,190,236,0.5);
  background: var(--gradient-main) !important;
}

/* ===== HERO — Split layout (educatesonline style) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-white); /* Light background */
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.orb-1 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(73,192,233,0.15), transparent 70%);
  top: -120px; right: 0;
  animation: float 10s ease-in-out infinite;
}
.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(20,190,236,0.12), transparent 70%);
  bottom: -60px; left: 5%;
  animation: float 14s ease-in-out infinite reverse;
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(33,48,72,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,48,72,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-28px) scale(1.04); }
}

/* ── Split container ── */
.hero-split-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

/* ── LEFT column ── */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Hero badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-ice);
  border: 1px solid rgba(73,192,233,0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sky-blue);
  margin-bottom: 24px;
  width: fit-content;
  animation: fadeSlideUp 0.7s ease 0.1s both;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--aqua-blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--aqua-blue);
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity:1; transform: scale(1); box-shadow: 0 0 8px var(--aqua-blue); }
  50% { opacity: 0.7; transform: scale(1.4); box-shadow: 0 0 18px var(--aqua-blue); }
}

/* Main heading */
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--dark-navy);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s ease 0.2s both;
}

/* Typed / cycling text */
.hero-typed-wrapper {
  display: inline-block;
  position: relative;
}
.hero-typed {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-right: 3px solid var(--sky-blue);
  padding-right: 4px;
  animation: blink-cursor 0.75s step-end infinite;
  white-space: nowrap;
}
@keyframes blink-cursor {
  50% { border-color: transparent; }
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 500px;
  animation: fadeSlideUp 0.7s ease 0.3s both;
}

/* Feature checklist */
.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.7s ease 0.4s both;
}
.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}
.hero-feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* CTA row */
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.7s ease 0.5s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(20,190,236,0.3);
  white-space: nowrap;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(20,190,236,0.4);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  color: var(--dark-navy);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: var(--transition);
  border: 2px solid var(--border-blue);
  white-space: nowrap;
}
.btn-hero-outline:hover {
  background: rgba(73,192,233,0.05);
  border-color: var(--sky-blue);
  color: var(--sky-blue);
  transform: translateY(-2px);
}

/* Social proof row */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeSlideUp 0.7s ease 0.6s both;
}
.avatars { display: flex; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-right: -8px;
}
.avatar-count {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-ice);
  color: var(--sky-blue);
  font-size: 0.68rem;
  font-weight: 700;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
}
.proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 10px;
}
.stars { color: #f59e0b; font-size: 0.78rem; letter-spacing: 2px; }
.proof-text span:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── RIGHT column ── */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideRight 0.8s ease 0.3s both;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}

/* Curriculum tag cloud */
.curriculum-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
}
.curr-tag {
  padding: 6px 16px;
  background: rgba(73,192,233,0.12);
  border: 1px solid rgba(73,192,233,0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sky-blue);
  letter-spacing: 0.05em;
  transition: var(--transition);
  animation: tagPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.curr-tag:nth-child(1) { animation-delay: 0.5s; }
.curr-tag:nth-child(2) { animation-delay: 0.6s; }
.curr-tag:nth-child(3) { animation-delay: 0.7s; }
.curr-tag:nth-child(4) { animation-delay: 0.8s; }
.curr-tag:nth-child(5) { animation-delay: 0.9s; }
.curr-tag:nth-child(6) { animation-delay: 1.0s; }
.curr-tag:hover {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
@keyframes tagPop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* Image frame */
.hero-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(33,48,72,0.15), 0 0 0 1px rgba(73,192,233,0.2);
  animation: float 7s ease-in-out infinite 1s;
}
.hero-student-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.hero-img-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(33,48,72,0.1) 0%,
    transparent 40%
  );
  pointer-events: none;
}

/* Floating stat cards */
.hero-stat-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(33,48,72,0.2);
  border: 1px solid rgba(73,192,233,0.2);
  animation: floatCard 5s ease-in-out infinite;
}
.stat-top-right  { top: -16px;   right: -16px; animation-delay: 0s; }
.stat-bottom-left  { bottom: 20px; left: -24px; animation-delay: 1.5s; }
.stat-bottom-right { bottom: -16px; right: -12px; animation-delay: 3s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.stat-card-icon { font-size: 1.4rem; }
.stat-card-num {
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-card-lbl { font-size: 0.68rem; color: var(--text-muted); font-weight: 600; }

/* Entry animations */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    padding: 110px 20px 60px;
    gap: 48px;
  }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-subtitle { max-width: 100%; }
}
/* ===== TRUSTED BY (marquee) ===== */
.brands-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  background: var(--bg-white);
}
.brands-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  font-weight: 600;
}
.brands-track { overflow: hidden; position: relative; }
.brands-track::before, .brands-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 1;
}
.brands-track::before { left: 0; background: linear-gradient(to right, var(--bg-white), transparent); }
.brands-track::after { right: 0; background: linear-gradient(to left, var(--bg-white), transparent); }
.brands-slide {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-name {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: var(--transition);
  user-select: none;
}
.brand-name:hover { color: var(--sky-blue); }

/* ===== FEATURES ===== */
.features-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }
.feature-card-large { grid-column: span 1; grid-row: span 2; }
.feature-card-wide { grid-column: span 2; }

.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: var(--bg-ice);
}
.feature-icon { font-size: 1.6rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.feature-card p { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; }
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 14px;
  background: rgba(73, 192, 233, 0.1);
  border: 1px solid rgba(73, 192, 233, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--sky-blue);
  font-weight: 700;
}

/* ===== COURSES / SUBJECTS ===== */
.courses-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  overflow: hidden;
}

/* animated underline heading */
.courses-section .section-title {
  position: relative;
  display: inline-block;
}
.courses-section .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 999px;
  transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.3s;
}
.courses-section.in-view .section-title::after {
  transform: translateX(-50%) scaleX(1);
}

/* --- Tab bar --- */
.category-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  position: relative;
}
.cat-tab {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  font-family: 'Kumbh Sans', sans-serif;
  position: relative;
  overflow: hidden;
}
.cat-tab::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 999px;
  z-index: 0;
}
.cat-tab span { position: relative; z-index: 1; }
.cat-tab:hover {
  color: var(--sky-blue);
  border-color: var(--sky-blue);
  background: rgba(73,192,233,0.05);
  transform: translateY(-1px);
}
.cat-tab.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(20, 190, 236, 0.4);
  transform: translateY(-2px);
}

/* --- Grid --- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 52px;
  perspective: 1200px;       /* enables 3D tilt on children */
}

/* --- Card base --- */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.35s ease,
              border-color 0.25s ease;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  /* entrance animation */
  opacity: 0;
  transform: translateY(30px);
}
.course-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}
.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--border-blue);
  box-shadow: 0 20px 48px rgba(20,190,236,0.18), 0 4px 16px rgba(33,48,72,0.1);
}

/* --- Thumbnail with real image --- */
.course-thumb {
  height: 185px;
  position: relative;
  overflow: hidden;
  background: var(--bg-ice);
}
.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  display: block;
}
.course-card:hover .course-thumb img {
  transform: scale(1.08);
}

/* shimmer while image loads */
.course-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--bg-ice) 25%,
    rgba(255,255,255,0.6) 50%,
    var(--bg-ice) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.course-thumb.img-loaded::before { opacity: 0; pointer-events: none; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* gradient overlay on top of image */
.course-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(33,48,72,0.72) 0%,
    rgba(33,48,72,0.2) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-card:hover .course-thumb-overlay { opacity: 1; }

/* subject badge on image */
.subject-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(33,48,72,0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(73,192,233,0.35);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--aqua-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 3;
  transition: transform 0.3s ease;
}
.course-card:hover .subject-badge {
  transform: translateY(-2px);
}

/* play button */
.play-btn {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark-navy);
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(20,190,236,0.4);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 3;
}
.course-card:hover .play-btn { transform: scale(1); }

/* --- Card body --- */
.course-body { padding: 20px 22px 22px; }
.course-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-blue);
  margin-bottom: 7px;
}
.course-title {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
  line-height: 1.35;
}
.course-instructor {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-instructor::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-ice);
  display: inline-block;
  flex-shrink: 0;
}
.course-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-body);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.course-rating { color: #f59e0b; font-weight: 700; }
.course-level {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.level-beginner     { background: rgba(73,192,233,0.12);  color: var(--sky-blue); }
.level-intermediate { background: rgba(245,158,11,0.12);  color: #d97706; }
.level-advanced     { background: rgba(33,48,72,0.1);     color: var(--dark-navy); }

/* grid exit/enter animation on tab switch */
@keyframes cardFadeOut {
  from { opacity:1; transform: translateY(0); }
  to   { opacity:0; transform: translateY(12px); }
}
.courses-grid.filtering .course-card {
  animation: cardFadeOut 0.18s ease forwards;
}

.courses-cta { text-align: center; padding-top: 8px; }

/* ===== STATS ===== */
.stats-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-navy);
}

.stats-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stats-left .section-title { text-align: left; color: #fff; }
.stats-left .section-subtitle { text-align: left; margin: 0 0 32px; max-width: 440px; color: rgba(216,234,243,0.75); }

.stats-right { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(73, 192, 233, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.stat-item:hover::after { transform: scaleX(1); }
.stat-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(73, 192, 233, 0.45);
  transform: translateY(-4px);
}
.stat-number {
  font-family: 'Kumbh Sans', 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  line-height: 1;
}
.stat-plus { display: inline-block; font-size: 2rem; font-weight: 900; color: var(--sky-blue); }
.stat-label { margin-top: 10px; font-size: 0.85rem; color: rgba(216,234,243,0.7); font-weight: 600; }

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}
.steps-grid { display: flex; align-items: center; gap: 0; margin-top: 16px; }
.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}
.step-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: 'Kumbh Sans', 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(73, 192, 233, 0.1);
  position: absolute;
  top: 14px; right: 18px;
  line-height: 1;
}
.step-icon { font-size: 2.4rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.step-card p { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; }

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--aqua-blue), var(--sky-blue));
  flex-shrink: 0;
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  background: var(--sky-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sky-blue);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.testimonial-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testi-featured {
  background: linear-gradient(135deg, rgba(73,192,233,0.06), rgba(20,190,236,0.03));
  border-color: rgba(73, 192, 233, 0.28);
}
.testi-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sky-blue); }
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); }
.testi-role { font-size: 0.8rem; color: var(--sky-blue); font-weight: 600; }

/* ===== PRICING ===== */
.pricing-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.toggle-opt { font-size: 0.95rem; color: var(--text-muted); font-weight: 600; transition: var(--transition); }
.toggle-opt.active { color: var(--text-dark); }
.toggle-switch { position: relative; width: 52px; height: 28px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-ice);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--gradient-main);
  border-radius: 50%;
  transition: var(--transition);
}
input:checked + .toggle-slider::before { transform: translateX(24px); }
.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(20, 190, 236, 0.12);
  color: var(--sky-blue);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}
.pricing-card:hover { border-color: var(--border-blue); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pricing-popular {
  background: var(--bg-navy);
  border-color: transparent;
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.pricing-popular:hover { transform: scale(1.03) translateY(-5px); }
.pricing-popular .plan-name,
.pricing-popular .plan-desc,
.pricing-popular .plan-features li { color: rgba(216,234,243,0.85); }
.pricing-popular .plan-features li:has(✓) { color: #fff; }
.pricing-popular .price-period { color: rgba(216,234,243,0.5); }

.popular-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(20, 190, 236, 0.4);
}
.plan-name { font-family: 'Kumbh Sans', 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.plan-price { margin-bottom: 12px; }
.price-amount {
  font-family: 'Kumbh Sans', 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.plan-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 0.875rem; color: var(--text-body); display: flex; align-items: center; gap: 8px; }
.plan-features li:has(✗) { color: var(--text-muted); opacity: 0.6; }
.btn-plan-primary {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(20, 190, 236, 0.35);
}
.btn-plan-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(20, 190, 236, 0.5); }
.btn-plan-outline {
  display: block;
  text-align: center;
  padding: 13px;
  border: 2px solid var(--border-blue);
  color: var(--dark-navy);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.pricing-popular .btn-plan-outline {
  border-color: rgba(73, 192, 233, 0.4);
  color: var(--ice-blue);
}
.btn-plan-outline:hover {
  background: rgba(73, 192, 233, 0.08);
  border-color: var(--sky-blue);
  color: var(--sky-blue);
}

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-navy);
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.orb-c1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(20, 190, 236, 0.18), transparent 70%);
  top: -250px; right: -150px;
}
.orb-c2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(73, 192, 233, 0.12), transparent 70%);
  bottom: -150px; left: -100px;
}
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; margin-bottom: 20px; color: #fff; }
.cta-subtitle { font-size: 1.05rem; color: rgba(216,234,243,0.75); margin: 0 auto 40px; max-width: 540px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.cta-footnote { font-size: 0.82rem; color: rgba(216,234,243,0.45); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(73, 192, 233, 0.15);
  padding: 80px 0 32px;
  background: var(--bg-navy-deep);
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand .footer-logo { margin-bottom: 16px; display: block; }
.footer-desc { font-size: 0.875rem; color: rgba(216,234,243,0.6); line-height: 1.7; margin-bottom: 24px; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(73, 192, 233, 0.2);
  border-radius: var(--radius-sm);
  color: rgba(216,234,243,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.social-link:hover {
  color: #fff;
  border-color: var(--sky-blue);
  background: var(--sky-blue);
  box-shadow: 0 4px 16px rgba(20, 190, 236, 0.35);
}
.footer-links-group h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-blue);
}
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links-group a { font-size: 0.875rem; color: rgba(216,234,243,0.6); text-decoration: none; transition: var(--transition); }
.footer-links-group a:hover { color: var(--sky-blue); padding-left: 4px; }

.footer-newsletter h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-blue);
}
.footer-newsletter p { font-size: 0.875rem; color: rgba(216,234,243,0.6); margin-bottom: 16px; }
.newsletter-form {
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(73, 192, 233, 0.2);
  border-radius: 999px;
  overflow: hidden;
  transition: var(--transition);
}
.newsletter-form:focus-within {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(73, 192, 233, 0.12);
}
.newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 20px;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  font-family: 'Kumbh Sans', sans-serif;
}
.newsletter-form input::placeholder { color: rgba(216,234,243,0.35); }
.newsletter-form button {
  width: 44px; height: 44px;
  margin: 2px;
  background: var(--gradient-main);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.newsletter-form button:hover { transform: scale(1.1); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(73, 192, 233, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(216,234,243,0.35); }
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-badge {
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(73, 192, 233, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  color: rgba(216,234,243,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-large { grid-column: span 1; grid-row: span 1; }
  .feature-card-wide { grid-column: span 2; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-content { grid-template-columns: 1fr; gap: 48px; }
  .stats-left .section-title { text-align: center; }
  .stats-left .section-subtitle { text-align: center; margin: 0 auto 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-popular { transform: none; }
  .pricing-popular:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }
  .courses-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-connector {
    width: 2px; height: 40px;
    background: linear-gradient(to bottom, var(--aqua-blue), var(--sky-blue));
  }
  .step-connector::after { right: 50%; bottom: -6px; top: auto; transform: translateX(50%); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding: 100px 20px 60px; }
  .nav-logo-img { height: 46px; }
  .hero-social-proof { flex-wrap: wrap; justify-content: center; }
}

.hide-mobile { display: none; }
@media (min-width: 769px) { .hide-mobile { display: inline; } }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: rgba(23, 35, 53, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: var(--transition);
  border-top: 1px solid rgba(73, 192, 233, 0.15);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(216, 234, 243, 0.85);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(73, 192, 233, 0.1);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--sky-blue); padding-left: 8px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== STATS BG DECORATION ===== */
.stats-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb-s1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20, 190, 236, 0.12), transparent 70%);
  top: -150px; left: -120px;
}
.orb-s2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(73, 192, 233, 0.1), transparent 70%);
  bottom: -80px; right: -80px;
}

/* ===== SECONDARY HERO ===== */
.hero-secondary {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 160px 24px 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

/* Dark professional gradient overlay */
.hero-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(33, 48, 72, 0.90) 0%, rgba(33, 48, 72, 0.75) 100%);
  z-index: 1;
}

.hero-secondary .hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-secondary .hero-badge {
  background: rgba(73, 192, 233, 0.15);
  border: 1px solid rgba(73, 192, 233, 0.35);
  color: var(--sky-blue);
  animation: fadeSlideUp 0.6s ease both;
}

.hero-secondary .hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-top: 18px;
  line-height: 1.15;
  animation: fadeSlideUp 0.6s ease 0.15s both;
}

.hero-secondary .hero-title .gradient-text {
  background: linear-gradient(135deg, #49C0E9, #14BEEC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-secondary .hero-subtitle {
  color: var(--text-ice);
  margin-bottom: 0;
  margin-top: 18px;
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.7;
  animation: fadeSlideUp 0.6s ease 0.3s both;
}

/* Background image helper classes */
.hero-about { background-image: url('images/about_hero_bg.jpg'); }
.hero-curricula { background-image: url('images/curricula_hero_bg.jpg'); }
.hero-subjects { background-image: url('images/subjects_hero_bg.jpg'); }
.hero-pricing { background-image: url('http://localhost/wordpress/wp-content/themes/educatesonline_website4/images/pricing_hero_bg.jpg'); }
.hero-blog { background-image: url('images/blog_hero_bg.jpg'); }
.hero-contact { background-image: url('http://localhost/wordpress/wp-content/themes/educatesonline_website4/images/contact_hero_bg.jpg'); }
.hero-register { background-image: url('images/about_hero_bg.jpg'); }
.hero-register-tutor { background-image: url(http://localhost/wordpress/wp-content/themes/educatesonline_website4/images/pricing_hero_bg.jpg); }

@media (max-width: 768px) {
  .hero-secondary {
    min-height: 40vh;
    padding: 130px 20px 60px;
  }
}
