/* ==========================================================================
   Tiny Star Academy - Modern Responsive Styling
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary-yellow: #FFC526;
  --primary-yellow-hover: #F2B30E;
  --yellow-light: #FFF9E6;
  --navy-dark: #1E1B4B;
  --purple-brand: #4C1D95;
  --purple-soft: #8B5CF6;
  --purple-light: #F5F3FF;
  --pink-accent: #FF3B69;
  --pink-soft: #FFE4EC;
  --blue-accent: #0284C7;
  --blue-soft: #E0F2FE;
  --green-accent: #059669;
  --green-soft: #D1FAE5;
  --orange-accent: #F97316;
  --orange-soft: #FFEDD5;

  /* Neutrals */
  --bg-page: #FFFDF9;
  --bg-card: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border-light: #F3F4F6;
  --border-card: #F1F3F9;

  /* Typography */
  --font-heading: 'Fredoka', cursive, system-ui, sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Radii & Shadows */
  --radius-full: 9999px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(30, 27, 75, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 27, 75, 0.06);
  --shadow-lg: 0 16px 40px rgba(30, 27, 75, 0.08);
  --shadow-hover: 0 20px 48px rgba(30, 27, 75, 0.12);
  --shadow-yellow: 0 10px 25px rgba(255, 197, 38, 0.4);

  /* Container */
  --max-width: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 228, 236, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(224, 242, 254, 0.5) 0%, transparent 45%),
    radial-gradient(circle at 50% 60%, rgba(255, 249, 230, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(245, 243, 255, 0.5) 0%, transparent 40%);
  background-attachment: fixed;
}

main {
  width: 100%;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 244, 246, 0.8);
  transition: all 0.3s ease;
  width: 100%;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

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

.nav-brand img {
  height: 64px;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(255, 197, 38, 0.3));
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.nav-brand:hover img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 6px 16px rgba(255, 197, 38, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-item a {
  display: block;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #4B5563;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-item a:hover {
  color: var(--navy-dark);
  background: rgba(243, 244, 246, 0.8);
}

.nav-item.active a {
  background: #EBE5FA;
  color: #5B21B6;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-yellow);
  color: #372A00;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(255, 197, 38, 0.35);
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-yellow-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  color: #4B5563;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-profile:hover {
  border-color: var(--primary-yellow);
  color: var(--navy-dark);
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 36px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 36px;
}

/* Left Hero Column */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #3730A3;
  margin-bottom: 8px;
}

.hero-welcome-badge .sparkle-icon {
  width: 24px;
  height: 24px;
  animation: spinSlow 8s linear infinite;
}

.hero-title-container {
  margin-bottom: 8px;
}

.hero-colorful-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.char-blue { color: #0284C7; }
.char-pink { color: #EC4899; }
.char-orange { color: #F97316; }
.char-green { color: #22C55E; }
.star-word { 
  color: #0284C7; 
  display: inline-flex;
  align-items: center;
  position: relative;
}
.star-word::after {
  content: '★';
  position: absolute;
  right: 17px;
  top: 10px;
  font-size: 1.3rem;
  color: #FBBF24;
}

.hero-academy-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4C1D95;
  letter-spacing: 2px;
  margin-top: -6px;
}

.ray-dashes {
  color: #F59E0B;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  color: #1E3A8A;
  margin-top: 8px;
  margin-bottom: 12px;
}

.hero-description {
  font-size: 1.12rem;
  color: #4B5563;
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-hero-explore {
  padding: 13px 30px;
  font-size: 1.08rem;
  border-radius: var(--radius-full);
}

.btn-watch-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #4C1D95;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  border: 1.5px solid #E9D5FF;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.btn-watch-demo:hover {
  background: #FAF5FF;
  border-color: #C084FC;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
}

.play-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: #7C3AED;
  color: #FFFFFF;
  font-size: 0.75rem;
  padding-left: 2px;
}

/* Social Proof Modern Glassmorphism Pill */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(254, 215, 170, 0.7);
  border-radius: var(--radius-full);
  padding: 8px 18px 8px 10px;
  box-shadow: 0 6px 20px rgba(30, 27, 75, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  width: fit-content;
  max-width: 100%;
}

.hero-social-proof:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 27, 75, 0.1);
  border-color: rgba(251, 191, 36, 0.9);
}

.avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-left: -10px;
  background: #F3F4F6;
  object-fit: cover;
  transition: transform 0.2s ease, z-index 0.2s ease;
  cursor: pointer;
  position: relative;
}

.avatar-circle:first-child {
  margin-left: 0;
}

.avatar-circle:hover {
  transform: translateY(-3px) scale(1.12);
  z-index: 10;
}

.avatar-plus-badge {
  background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.proof-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.proof-count {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: #1E1B4B;
  line-height: 1.2;
}

.proof-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.proof-stars-svg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.star-icon {
  width: 14px;
  height: 14px;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.3));
}

.proof-rating-score {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  color: #4B5563;
}

/* --------------------------------------------------------------------------
   Right Hero Column - Interactive CSS Showcase
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-showcase-card {
  position: relative;
  width: 100%;
  max-width: 530px;
  background: linear-gradient(145deg, #FFFDF8 0%, #FAF5FF 45%, #F0F9FF 100%);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow: 
    0 20px 45px -12px rgba(55, 42, 112, 0.14),
    0 4px 18px rgba(255, 197, 38, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 26px 52px -12px rgba(55, 42, 112, 0.18),
    0 8px 24px rgba(255, 197, 38, 0.15);
}

/* Ambient Radial Glows */
.showcase-glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.glow-yellow {
  top: -30px;
  left: -30px;
  width: 220px;
  height: 220px;
  background: rgba(255, 214, 0, 0.22);
}

.glow-purple {
  bottom: -30px;
  right: -30px;
  width: 230px;
  height: 230px;
  background: rgba(139, 92, 246, 0.16);
}

/* Top Speech Badge */
.showcase-speech-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1.5px solid #F3E8FF;
  border-radius: 50px;
  padding: 6px 16px 6px 12px;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.08);
  animation: gentleFloat 3.5s ease-in-out infinite alternate;
}

.speech-bulb {
  font-size: 1.25rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

.speech-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.speech-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #372A70;
  font-size: 0.95rem;
}

.speech-sub {
  color: #7C3AED;
  font-weight: 600;
  font-size: 0.82rem;
}

/* Decorative Sparkle Stars */
.sparkle-float {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

.star-s1 {
  top: 18px;
  right: 22px;
  font-size: 1.25rem;
  color: #F59E0B;
  animation: sparkleTwinkle 2.5s infinite;
}

.star-s2 {
  top: 130px;
  left: 14px;
  font-size: 0.95rem;
  color: #EC4899;
  animation: sparkleTwinkle 3.2s infinite 0.7s;
}

.star-s3 {
  bottom: 84px;
  right: 18px;
  font-size: 1.1rem;
  color: #38BDF8;
  animation: sparkleTwinkle 2.8s infinite 1.4s;
}

.star-s4 {
  bottom: 66px;
  left: 20px;
  font-size: 0.85rem;
  color: #8B5CF6;
  animation: sparkleTwinkle 3.4s infinite 0.3s;
}

/* Interactive Stage Grid (2 Columns: Mascot + Books) */
.showcase-stage-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

/* Left: Mascot Column */
.showcase-mascot-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mascot-halo {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.28) 0%, rgba(255, 214, 0, 0) 70%);
  z-index: 1;
}

.showcase-mascot-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 22px rgba(245, 158, 11, 0.22));
  animation: mascotFloat 4s ease-in-out infinite alternate;
}

.mascot-ground-shadow {
  width: 130px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(55, 42, 112, 0.14) 0%, transparent 70%);
  margin-top: -6px;
  animation: shadowPulse 4s ease-in-out infinite alternate;
  z-index: 1;
}

/* Right: Curriculum Books Column */
.showcase-books-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.books-stack-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6B7280;
  font-weight: 700;
  margin-bottom: 2px;
}

/* 3D Styled CSS Course Books */
.css-course-book {
  display: flex;
  align-items: stretch;
  height: 46px;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.css-course-book:hover {
  transform: translateX(6px) scale(1.02);
}

.book-spine-ridge {
  width: 7px;
  background: rgba(0, 0, 0, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.book-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px 0 8px;
  gap: 6px;
}

.book-ico {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.book-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.book-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-desc {
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-arrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.css-course-book:hover .book-arrow {
  transform: translateX(3px);
  color: #FFFFFF;
}

/* Individual Book Themes Matching Original Artwork */
.book-phonics {
  background: linear-gradient(135deg, #FF5E8E 0%, #E11D48 100%);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28);
}
.book-phonics:hover {
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.4);
}

.book-maths {
  background: linear-gradient(135deg, #FB923C 0%, #EA580C 100%);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.28);
}
.book-maths:hover {
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.4);
}

.book-abacus {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.28);
}
.book-abacus:hover {
  box-shadow: 0 8px 18px rgba(4, 120, 87, 0.4);
}

.book-handwriting {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.28);
}
.book-handwriting:hover {
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.4);
}

/* Bottom Feature Pill */
.showcase-bottom-pill {
  position: relative;
  z-index: 3;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(30, 27, 75, 0.05);
}

.pill-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot-pulse {
  width: 9px;
  height: 9px;
  background: #EF4444;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDot 1.8s infinite;
}

.pill-text {
  font-size: 0.82rem;
  color: #374151;
}

.pill-text strong {
  color: #111827;
}

.pill-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: #4B5563;
}

.pill-star {
  color: #F59E0B;
  font-size: 0.95rem;
}

/* Keyframe Animations */
@keyframes gentleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

@keyframes mascotFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

@keyframes shadowPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(0.88); opacity: 0.45; }
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(15deg); }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* --------------------------------------------------------------------------
   Feature Strip (Hero Bottom Bar)
   -------------------------------------------------------------------------- */
.features-strip-section {
  margin-top: 10px;
  margin-bottom: 50px;
  position: relative;
  z-index: 5;
}

.features-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 22px 32px;
  box-shadow: 0 14px 40px rgba(30, 27, 75, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.feature-item:hover {
  background: #FAFAFD;
  transform: translateY(-2px);
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.feature-icon-wrapper img, .feature-icon-wrapper svg {
  width: 100%;
  height: 100%;
}

.feature-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 2px;
}

.feature-content p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Courses Section
   -------------------------------------------------------------------------- */
.courses-section {
  padding: 40px 0 60px;
  position: relative;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-title-wrap {
  text-align: left;
}

.section-heading-with-stars {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #372A70;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.spark-accent {
  color: #F59E0B;
  font-size: 1.8rem;
  display: inline-block;
  animation: pulseScale 2.5s infinite;
}

.section-subtext {
  font-size: 1.15rem;
  color: #4B5563;
  margin-top: 4px;
  font-weight: 500;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #0284C7;
  border: 1.5px solid #BAE6FD;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-view-all:hover {
  background: #F0F9FF;
  border-color: #38BDF8;
  transform: translateY(-2px);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

/* Course Card */
.course-card {
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  width: 100%;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Theme variations */
.course-phonics {
  background: #FFF0F4;
  border-color: #FFE0E9;
}
.course-phonics:hover {
  border-color: #FFB3C6;
}

.course-maths {
  background: #F0F9FF;
  border-color: #E0F2FE;
}
.course-maths:hover {
  border-color: #BAE6FD;
}

.course-abacus {
  background: #F0FDF4;
  border-color: #DCFCE7;
}
.course-abacus:hover {
  border-color: #BBF7D0;
}

.course-handwriting {
  background: #FAF5FF;
  border-color: #F3E8FF;
}
.course-handwriting:hover {
  border-color: #E9D5FF;
}

.course-age-badge {
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.course-phonics .course-age-badge {
  background: #FFD1DE;
  color: #BE185D;
}

.course-maths .course-age-badge {
  background: #BAE6FD;
  color: #0369A1;
}

.course-abacus .course-age-badge {
  background: #BBF7D0;
  color: #15803D;
}

.course-handwriting .course-age-badge {
  background: #E9D5FF;
  color: #7E22CE;
}

.course-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-phonics .course-title { color: #E11D48; }
.course-maths .course-title { color: #0284C7; }
.course-abacus .course-title { color: #16A34A; }
.course-handwriting .course-title { color: #7C3AED; }

.course-illustration-wrapper {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.course-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.course-card:hover .course-illustration {
  transform: scale(1.08);
}

.course-desc {
  font-size: 0.94rem;
  color: #4B5563;
  margin-bottom: 20px;
  line-height: 1.45;
  min-height: 44px;
}

.btn-course-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
  margin-top: auto;
}

.course-phonics .btn-course-learn {
  color: #E11D48;
  border: 1px solid #FFD1DE;
}
.course-phonics .btn-course-learn:hover {
  background: #E11D48;
  color: #FFFFFF;
}

.course-maths .btn-course-learn {
  color: #0284C7;
  border: 1px solid #BAE6FD;
}
.course-maths .btn-course-learn:hover {
  background: #0284C7;
  color: #FFFFFF;
}

.course-abacus .btn-course-learn {
  color: #16A34A;
  border: 1px solid #BBF7D0;
}
.course-abacus .btn-course-learn:hover {
  background: #16A34A;
  color: #FFFFFF;
}

.course-handwriting .btn-course-learn {
  color: #7C3AED;
  border: 1px solid #E9D5FF;
}
.course-handwriting .btn-course-learn:hover {
  background: #7C3AED;
  color: #FFFFFF;
}

/* Category Filter Tabs */
.category-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.category-tab-btn {
  background: #FFFFFF;
  color: #4B5563;
  border: 1.5px solid #E5E7EB;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.category-tab-btn:hover {
  border-color: #7C3AED;
  color: #7C3AED;
  transform: translateY(-2px);
}

.category-tab-btn.active {
  background: #7C3AED;
  color: #FFFFFF;
  border-color: #7C3AED;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

/* Dynamic Course Card Improvements */
.course-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}

.course-cat-tag {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 10px;
  border-radius: 12px;
}

.course-price-tag {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #1E1B4B;
  background: rgba(255, 255, 255, 0.9);
  padding: 3px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.course-actions-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.card-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.btn-card-demo {
  background: var(--primary-yellow);
  color: #372A00;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(255, 197, 38, 0.3);
  text-align: center;
}

.btn-card-demo:hover {
  background: var(--primary-yellow-hover);
  transform: translateY(-1px);
}

.btn-card-enroll {
  background: #7C3AED;
  color: #FFFFFF;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
  text-align: center;
}

.btn-card-enroll:hover {
  background: #6D28D9;
  transform: translateY(-1px);
}

.btn-card-details {
  background: rgba(255, 255, 255, 0.9);
  color: #4B5563;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
  text-align: center;
}

.btn-card-details:hover {
  background: #FFFFFF;
  color: #1E1B4B;
  border-color: #CBD5E1;
}

/* Modal account box & extra details */
.modal-account-box {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 12px 16px;
  color: #92400E;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.modal-reviews-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.course-pills-row {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  width: 100%;
}

.course-pill {
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 2px 8px;
  border-radius: 20px;
  color: #4B5563;
  font-weight: 600;
}

.btn-demo-trigger:hover {
  background: var(--primary-yellow-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 197, 38, 0.45) !important;
}

/* --------------------------------------------------------------------------
   Why Parents Trust Us Section (Trust & Impact Banner)
   -------------------------------------------------------------------------- */
.trust-strip-section {
  padding: 20px 0 60px;
  position: relative;
}

.trust-metrics-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  border: 1.5px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 30px rgba(30, 27, 75, 0.05);
  position: relative;
  overflow: hidden;
}

.trust-metrics-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F59E0B 0%, #7C3AED 50%, #0284C7 100%);
}

.trust-header-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.trust-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-stat-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #F9FAFB;
  border-radius: 16px;
  border: 1px solid #F3F4F6;
  transition: all 0.2s ease;
}

.trust-stat-box:hover {
  background: #FFFFFF;
  border-color: #E5E7EB;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.trust-icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #FFFFFF;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.trust-stat-box .stat-info {
  display: flex;
  flex-direction: column;
}

.trust-stat-box strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
}

.trust-stat-box span {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .trust-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .trust-stats-row {
    grid-template-columns: 1fr;
  }
  .trust-metrics-card {
    padding: 24px 18px;
  }
}

/* Why Parents Trust Us Bar */
.trust-metrics-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-sm);
}

.trust-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.trust-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.trust-stat-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-icon-wrap {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.trust-stat-box .stat-info {
  display: flex;
  flex-direction: column;
}

.trust-stat-box strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
}

.trust-stat-box span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Methodology & Why Choose Us Section
   -------------------------------------------------------------------------- */
.methodology-section {
  padding: 50px 0 70px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 243, 255, 0.5) 100%);
  position: relative;
}

.methodology-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #EDE9FE;
  color: #6D28D9;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.methodology-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #DDD6FE;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--primary-yellow);
  color: #372A00;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(255, 197, 38, 0.4);
}

.step-icon-bubble {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  margin: 8px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.step-icon-1 { background: #FFE4E6; color: #E11D48; }
.step-icon-2 { background: #E0F2FE; color: #0284C7; }
.step-icon-3 { background: #FEF3C7; color: #D97706; }
.step-icon-4 { background: #DCFCE7; color: #16A34A; }

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Parent Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 50px 0 70px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  box-shadow: 0 8px 24px rgba(30, 27, 75, 0.05);
  border: 1px solid rgba(229, 231, 235, 0.85);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(30, 27, 75, 0.09);
  border-color: rgba(124, 58, 237, 0.2);
}

.testi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.testi-stars {
  color: #FBBF24;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.testi-source-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
}

.source-whatsapp {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #C8E6C9;
}

.source-google {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.source-heart {
  background: #FDF2F8;
  color: #9D174D;
  border: 1px solid #FBCFE8;
}

.testi-quote {
  font-size: 0.96rem;
  color: #374151;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #F3F4F6;
  padding-top: 14px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: #E0E7FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #4338CA;
}

.author-info h5 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-dark);
}

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

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 50px 0 70px;
  position: relative;
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(229, 231, 235, 0.8);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
}

.faq-question:hover {
  background: #F9FAFB;
}

.faq-toggle-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #6B7280;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: #EDE9FE;
  color: #6D28D9;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 22px;
  color: #4B5563;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 30px 0 70px;
  overflow: hidden;
}

.cta-banner-card {
  background: linear-gradient(135deg, #4C1D95 0%, #312E81 100%);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(76, 29, 149, 0.25);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.1rem;
  color: #DDD6FE;
  margin-bottom: 22px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-cta-white {
  background: #FFFFFF;
  color: #4C1D95;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-cta-white:hover {
  background: var(--primary-yellow);
  color: #372A00;
  transform: translateY(-2px);
}

.btn-cta-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.cta-mascot-img {
  width: 200px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: bounceSlow 3.5s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding: 50px 0 25px;
  overflow: hidden;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-col img.footer-logo {
  height: 80px;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 14px rgba(255, 197, 38, 0.3));
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #3730A3;
  margin-bottom: 8px;
}

.footer-about {
  font-size: 0.92rem;
  color: #6B7280;
  max-width: 320px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4B5563;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.social-circle:hover {
  background: var(--primary-yellow);
  color: #372A00;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 0.92rem;
  color: #4B5563;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: #7C3AED;
  padding-left: 3px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: #4B5563;
}

.footer-bottom-bar {
  border-top: 1px solid #F3F4F6;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9CA3AF;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Modals (Video Player & Enrollment)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: #F3F4F6;
  color: #4B5563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E5E7EB;
  color: #111827;
  transform: rotate(90deg);
}

/* Enrollment Form Modal */
.enroll-modal-header {
  padding: 26px 28px 14px;
  text-align: center;
  background: linear-gradient(180deg, #FAF5FF 0%, #FFFFFF 100%);
}

.enroll-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.enroll-modal-header p {
  color: #6B7280;
  font-size: 0.92rem;
}

.enroll-form {
  padding: 14px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.form-control {
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid #E5E7EB;
  font-family: inherit;
  font-size: 0.96rem;
  color: #1F2937;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: #7C3AED;
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Video Modal */
.video-modal-box {
  max-width: 760px;
  padding: 0;
  background: #000;
}

.video-modal-content {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-modal-content video, .video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-footer {
  background: #FFFFFF;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-modal-footer h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy-dark);
}

/* Mobile Slide-Out Menu using Transform */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #FFFFFF;
  z-index: 2500;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F3F4F6;
}

.mobile-drawer-header img {
  height: 56px;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 197, 38, 0.25));
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-dark);
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-nav-links a:hover {
  background: #F5F3FF;
  color: #7C3AED;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes bounceSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

@keyframes pulseScale {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-welcome-badge, 
  .hero-colorful-title, 
  .hero-academy-text, 
  .hero-actions, 
  .hero-social-proof {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .features-card {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .demo-content {
    text-align: center;
  }

  .demo-heading {
    justify-content: center;
  }

  .methodology-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar {
    height: 72px;
  }

  .nav-brand img {
    height: 52px;
  }

  .nav-links, 
  .nav-actions .btn-primary, 
  .nav-actions .btn-profile {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-section {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-welcome-badge {
    font-size: 1.15rem;
  }

  .hero-colorful-title {
    font-size: 2.2rem;
    line-height: 1.1;
    justify-content: center;
  }

  .hero-academy-text {
    font-size: 1.35rem;
    gap: 6px;
    justify-content: center;
  }

  .ray-dashes {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-explore, .btn-watch-demo {
    width: 100%;
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .features-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .section-title-wrap {
    text-align: center;
    width: 100%;
  }

  .section-heading-with-stars {
    font-size: 1.75rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .spark-accent {
    font-size: 1.3rem;
  }

  .btn-view-all {
    margin: 0 auto;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
  }

  .demo-heading {
    font-size: 1.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .demo-featured-card {
    transform: none;
    max-width: 100%;
  }

  .demo-switch-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .trust-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cta-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 18px;
    gap: 18px;
  }

  .cta-content h2 {
    font-size: 1.7rem;
  }

  .cta-actions {
    justify-content: center;
    width: 100%;
  }

  .btn-cta-white, .btn-cta-outline {
    width: 100%;
    text-align: center;
  }

  .methodology-steps-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }

  .hero-showcase-card {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 70px;
  }

  .nav-brand img {
    height: 48px;
  }

  .hero-colorful-title {
    font-size: 1.95rem;
  }
  
  .hero-academy-text {
    font-size: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-heading-with-stars {
    font-size: 1.6rem;
  }

  .demo-heading {
    font-size: 1.65rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-showcase-card {
    padding: 16px 14px 14px;
    border-radius: 22px;
  }

  .showcase-stage-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase-mascot-img {
    max-width: 190px;
  }

  .showcase-speech-badge {
    align-self: center;
  }

  .showcase-bottom-pill {
    flex-direction: column;
    gap: 6px;
    border-radius: 14px;
    text-align: center;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   Parent Video Reviews Styling
   ========================================================================== */
.video-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(124, 58, 237, 0.15) !important;
}

.video-review-thumb-wrap:hover img {
  transform: scale(1.06);
}

.btn-watch-review-video:hover {
  background: #7C3AED !important;
  color: #FFFFFF !important;
}

