/* =============================================
   LEARNHUB PRESCHOOL — PLAYFUL THEME
   ============================================= */

/* --- Google Fonts (loaded in HTML) --- */
/* Baloo 2, Nunito, Poppins */

/* --- CSS Custom Properties --- */
:root {
  --yellow:   #FFD93D;
  --orange:   #FF6B35;
  --pink:     #FF6B9D;
  --purple:   #A855F7;
  --blue:     #3B82F6;
  --teal:     #06B6D4;
  --green:    #22C55E;
  --red:      #EF4444;
  --bg:       #FFFBF0;
  --white:    #FFFFFF;
  --dark:     #1E1B4B;
  --text:     #374151;
  --muted:    #6B7280;
  --radius-xl: 40px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-sm: 0 4px 15px rgba(0,0,0,.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.15);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Utility --- */
.container { width: min(1160px, 92%); margin: auto; }
.section { padding: 90px 0; position: relative; }
.section-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.section h2 {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  color: var(--dark);
}
.section h2 span { color: var(--pink); }
.section-heading { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-heading p { color: var(--muted); margin-top: 12px; }

/* =============================================
   FLOATING BACKGROUND BUBBLES
   ============================================= */
.bubbles-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: floatBubble linear infinite;
}
@keyframes floatBubble {
  0%   { transform: translateY(110vh) scale(0.8); opacity: 0; }
  10%  { opacity: 0.07; }
  90%  { opacity: 0.07; }
  100% { transform: translateY(-20vh) scale(1.1); opacity: 0; }
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 251, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--yellow);
}
.nav-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 52px; height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff;
  font: 800 32px 'Baloo 2', cursive;
  display: grid; place-items: center;
  transform: rotate(-6deg);
  box-shadow: 0 6px 18px rgba(255,107,53,.35);
  transition: transform .3s;
}
.brand:hover .brand-mark { transform: rotate(6deg) scale(1.08); }
.brand b { font: 800 26px 'Baloo 2', cursive; color: var(--dark); line-height: .9; }
.brand small { font-size: 9px; font-weight: 700; letter-spacing: 2px; color: var(--muted); }

/* Nav links */
.site-header nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14px; }
.site-header nav a {
  position: relative;
  padding-bottom: 3px;
  transition: color .2s;
}
.site-header nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--pink);
  border-radius: 4px;
  transition: width .25s;
}
.site-header nav a:hover { color: var(--pink); }
.site-header nav a:hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(168,85,247,.3);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(168,85,247,.4); }
.nav-cta::after { display: none !important; }
.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  background: linear-gradient(160deg, #FFF9E6 0%, #FFF0F5 50%, #EEF2FF 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Decorative shapes */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.deco-1 { width: 380px; height: 380px; background: var(--yellow); opacity: .12; right: -80px; top: -80px; }
.deco-2 { width: 260px; height: 260px; background: var(--pink); opacity: .12; left: -60px; bottom: -60px; }
.deco-3 { width: 160px; height: 160px; background: var(--teal); opacity: .12; left: 42%; top: -30px; }

/* Stars scattered */
.hero-star {
  position: absolute;
  font-size: 22px;
  animation: spin 6s linear infinite;
  opacity: .55;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero copy */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.85);
  border: 2px solid var(--yellow);
  color: var(--orange);
  font: 700 13px 'Baloo 2', cursive;
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: .5px;
  animation: bounceIn .6s ease both;
}
@keyframes bounceIn {
  0% { transform: scale(.6); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.hero h1 {
  font: 800 clamp(46px, 5.5vw, 72px)/.98 'Baloo 2', cursive;
  margin: 18px 0;
  color: var(--dark);
  animation: slideUp .7s .1s ease both;
}
.hero h1 span { color: var(--orange); position: relative; }
.hero h1 span::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 6px;
  background: var(--yellow);
  border-radius: 4px;
  z-index: -1;
}
@keyframes slideUp {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.hero-text {
  font-size: 17px;
  max-width: 500px;
  color: var(--muted);
  animation: slideUp .7s .2s ease both;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  margin: 30px 0 24px;
  flex-wrap: wrap;
  animation: slideUp .7s .3s ease both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 50px;
  padding: 14px 28px;
  font: 700 15px 'Poppins', sans-serif;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  box-shadow: 0 10px 28px rgba(255,107,53,.35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(255,107,53,.45); }
.btn-light {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--yellow);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { border-color: var(--orange); }

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: slideUp .7s .4s ease both;
}
.hero-pills span {
  background: rgba(255,255,255,.9);
  border: 2px solid rgba(255,217,61,.5);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}

/* Hero visual */
.hero-visual {
  position: relative;
  animation: slideUp .7s .15s ease both;
}
.image-frame {
  border: 10px solid #fff;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1.05;
  animation: morphBlob 8s ease-in-out infinite;
}
@keyframes morphBlob {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; }
  33%      { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
  66%      { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; }
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 20%; }

.floating-card {
  position: absolute;
  bottom: 30px;
  left: -24px;
  background: #fff;
  padding: 14px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--green);
  animation: bobCard 3s ease-in-out infinite;
}
@keyframes bobCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.floating-card strong { display: block; color: var(--green); font: 700 15px 'Baloo 2', cursive; }
.floating-card small { color: var(--muted); font-size: 12px; }

.floating-badge {
  position: absolute;
  top: 18px;
  right: -18px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  padding: 10px 16px;
  border-radius: 18px;
  font: 700 13px 'Baloo 2', cursive;
  box-shadow: var(--shadow-md);
  animation: bobCard 3.5s 1s ease-in-out infinite;
}

/* =============================================
   ALPHABET STRIP (Interactive)
   ============================================= */
.alpha-strip {
  background: var(--dark);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.alpha-track {
  display: flex;
  gap: 14px;
  animation: scrollAlpha 30s linear infinite;
  width: max-content;
}
.alpha-strip:hover .alpha-track { animation-play-state: paused; }
@keyframes scrollAlpha {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.alpha-tile {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font: 800 26px 'Baloo 2', cursive;
  color: var(--dark);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
  user-select: none;
}
.alpha-tile:hover { transform: scale(1.3) rotate(-5deg); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* =============================================
   TRUST STRIP
   ============================================= */
.trust-strip {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  padding: 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.trust-item {
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.25);
  position: relative;
}
.trust-item:last-child { border-right: 0; }
.trust-number {
  font: 800 38px 'Baloo 2', cursive;
  line-height: 1;
  display: block;
}
.trust-label { font-size: 12px; opacity: .9; font-weight: 600; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about { background: var(--white); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.section-image { position: relative; }
.section-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  object-position: 68% 20%;
  box-shadow: var(--shadow-lg);
}
.image-badge {
  position: absolute;
  bottom: -18px;
  right: 25px;
  background: var(--yellow);
  color: var(--dark);
  padding: 12px 20px;
  border-radius: 30px;
  font: 700 13px 'Baloo 2', cursive;
  box-shadow: var(--shadow-md);
  animation: bobCard 4s ease-in-out infinite;
}
.feature-list { display: grid; gap: 14px; margin-top: 28px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg);
  padding: 16px;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  cursor: default;
}
.feature-item:hover {
  border-color: var(--yellow);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.feature-emoji { font-size: 28px; }
.feature-item strong { display: block; font-weight: 700; color: var(--dark); }
.feature-item small  { display: block; font-size: 12px; color: var(--muted); }

/* =============================================
   INTERACTIVE ACTIVITY TILES
   ============================================= */
.activities { background: #F0F9FF; }
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.activity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.activity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
  border-radius: inherit;
}
.activity-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.activity-card.ac-yellow { border-color: var(--yellow); }
.activity-card.ac-yellow:hover { background: #FFFDE7; }
.activity-card.ac-pink   { border-color: var(--pink); }
.activity-card.ac-pink:hover   { background: #FFF0F6; }
.activity-card.ac-teal   { border-color: var(--teal); }
.activity-card.ac-teal:hover   { background: #E0F7FA; }
.activity-card.ac-purple { border-color: var(--purple); }
.activity-card.ac-purple:hover { background: #F5F3FF; }
.activity-card.ac-green  { border-color: var(--green); }
.activity-card.ac-green:hover  { background: #F0FFF4; }
.activity-card.ac-orange { border-color: var(--orange); }
.activity-card.ac-orange:hover { background: #FFF4EE; }
.activity-card.ac-blue   { border-color: var(--blue); }
.activity-card.ac-blue:hover   { background: #EFF6FF; }
.activity-card.ac-red    { border-color: var(--red); }
.activity-card.ac-red:hover    { background: #FFF5F5; }
.activity-icon { font-size: 48px; display: block; margin-bottom: 14px; transition: transform .3s; }
.activity-card:hover .activity-icon { transform: scale(1.25) rotate(10deg); }
.activity-card h3 { font: 700 18px 'Baloo 2', cursive; color: var(--dark); margin-bottom: 6px; }
.activity-card p  { font-size: 13px; color: var(--muted); }
.activity-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--yellow);
  color: var(--dark);
  font: 700 10px 'Poppins', sans-serif;
  padding: 3px 10px;
  border-radius: 20px;
}

/* =============================================
   PROGRAMS
   ============================================= */
.programs { background: var(--bg); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.program-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: default;
}
.program-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: .06;
  transition: transform .4s;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-card:hover::after { transform: scale(1.5); }

.pc-green { border-color: #BBF7D0; }
.pc-green::after { background: var(--green); }
.pc-green h3 { color: #15803D; }
.pc-green .program-icon { background: #DCFCE7; }
.pc-green a { color: var(--green); }

.pc-orange { border-color: #FED7AA; }
.pc-orange::after { background: var(--orange); }
.pc-orange h3 { color: #C2410C; }
.pc-orange .program-icon { background: #FFF7ED; }
.pc-orange a { color: var(--orange); }

.pc-blue { border-color: #BFDBFE; }
.pc-blue::after { background: var(--blue); }
.pc-blue h3 { color: #1D4ED8; }
.pc-blue .program-icon { background: #EFF6FF; }
.pc-blue a { color: var(--blue); }

.pc-pink { border-color: #FBCFE8; }
.pc-pink::after { background: var(--pink); }
.pc-pink h3 { color: #BE185D; }
.pc-pink .program-icon { background: #FDF2F8; }
.pc-pink a { color: var(--pink); }

.program-num {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: block;
}
.program-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin-bottom: 14px;
  transition: transform .3s;
}
.program-card:hover .program-icon { transform: rotate(10deg) scale(1.1); }
.program-card h3 { font: 800 26px 'Baloo 2', cursive; margin: 4px 0 8px; }
.program-card p  { font-size: 13px; color: var(--muted); min-height: 60px; }
.program-card a  { font: 700 13px 'Poppins', sans-serif; transition: gap .2s; display: inline-flex; align-items: center; gap: 5px; }
.program-card a:hover { gap: 10px; }

/* =============================================
   METHODOLOGY (INTERACTIVE TABS)
   ============================================= */
.methodology { background: var(--white); }
.method-tabs { display: flex; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.method-tab {
  padding: 9px 20px;
  border-radius: 30px;
  border: 2px solid #E5E7EB;
  background: var(--white);
  font: 600 13px 'Poppins', sans-serif;
  cursor: pointer;
  transition: all .2s;
  color: var(--muted);
}
.method-tab.active, .method-tab:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
}
.method-panels { position: relative; min-height: 160px; }
.method-panel { display: none; animation: fadeIn .4s ease; }
.method-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.method-panel-inner {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 5px solid var(--yellow);
}
.method-panel-inner h4 { font: 700 20px 'Baloo 2', cursive; color: var(--dark); margin-bottom: 8px; }
.method-panel-inner p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.method-panel-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.method-panel-tags span {
  background: var(--white);
  border: 2px solid var(--yellow);
  padding: 4px 14px;
  border-radius: 20px;
  font: 600 11px 'Poppins', sans-serif;
  color: var(--dark);
}

.method-art {
  min-height: 460px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #FFF9E6, #FFF0F5);
  position: relative;
  overflow: hidden;
  border: 3px solid var(--yellow);
}
.art-emoji {
  position: absolute;
  font-size: 70px;
  animation: floatEmoji 5s ease-in-out infinite;
}
.art-emoji:nth-child(2) { animation-delay: -1.5s; }
.art-emoji:nth-child(3) { animation-delay: -3s; }
@keyframes floatEmoji {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(8deg); }
}
.art-caption {
  position: absolute;
  left: 30px; bottom: 30px;
  background: var(--white);
  padding: 16px 22px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.art-caption strong, .art-caption small { display: block; }
.art-caption strong { color: var(--dark); font: 700 16px 'Baloo 2', cursive; }
.art-caption small  { color: var(--muted); font-size: 12px; margin-top: 3px; }

/* =============================================
   WHY SECTION
   ============================================= */
.why { background: #FFF9E6; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  border: 3px solid transparent;
  transition: all .3s;
  cursor: default;
}
.why-card:nth-child(1) { border-color: #BBF7D0; }
.why-card:nth-child(2) { border-color: #FED7AA; }
.why-card:nth-child(3) { border-color: #BFDBFE; }
.why-card:nth-child(4) { border-color: #FBCFE8; }
.why-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }
.why-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 14px;
  transition: transform .3s;
}
.why-card:hover .why-icon { transform: scale(1.25) rotate(-8deg); }
.why-card h3 { font: 700 18px 'Baloo 2', cursive; margin-bottom: 8px; color: var(--dark); }
.why-card p  { font-size: 13px; color: var(--muted); }

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 200px;
  gap: 16px;
}
.gallery-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.gallery-tile:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-tile.large { grid-row: span 2; }
.gallery-tile.large img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 20%; }
.gallery-tile .tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,107,53,.7), rgba(255,107,157,.7));
  opacity: 0;
  transition: opacity .3s;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 20px 'Baloo 2', cursive;
}
.gallery-tile:hover .tile-overlay { opacity: 1; }
.quote-tile {
  background: linear-gradient(135deg, var(--dark), #312E81);
  color: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-tile blockquote {
  font: 700 20px/1.3 'Baloo 2', cursive;
  margin: 0;
}
.quote-tile cite { font-size: 11px; opacity: .65; font-style: normal; }
.pastel-tile {
  background: #FFF9E6;
  display: grid;
  place-items: center;
  text-align: center;
  border: 3px dashed var(--yellow);
}
.pastel-tile .tile-emoji { font-size: 44px; display: block; margin-bottom: 8px; }
.pastel-tile b { font: 700 16px 'Baloo 2', cursive; color: var(--dark); }
.pink-pastel { background: #FFF0F5; border-color: var(--pink); }

/* =============================================
   TESTIMONIALS (SLIDER)
   ============================================= */
.testimonials { background: linear-gradient(160deg, #EEF2FF, #FFF0F5); }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform .5s ease;
}
.testimonial-card {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; left: 30px;
  font: 800 100px 'Baloo 2', cursive;
  color: var(--yellow);
  line-height: 1;
  opacity: .5;
}
.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--dark);
  font-style: italic;
  padding-top: 40px;
  max-width: 760px;
}
.testimonial-author {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  border: 3px solid var(--yellow);
}
.author-name { font: 700 16px 'Baloo 2', cursive; color: var(--dark); }
.author-role { font-size: 12px; color: var(--muted); }
.stars { color: var(--yellow); font-size: 18px; margin-top: 4px; letter-spacing: 2px; }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.slider-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  background: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: all .2s;
  display: grid;
  place-items: center;
  color: var(--dark);
}
.slider-btn:hover { background: var(--yellow); }
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D1D5DB;
  cursor: pointer;
  transition: all .25s;
}
.dot.active { background: var(--orange); width: 28px; border-radius: 8px; }

/* =============================================
   CONTACT / ENQUIRY
   ============================================= */
.contact { background: #F0FFF4; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  align-items: start;
}
.contact-items { display: grid; gap: 13px; margin-top: 28px; }
.contact-item {
  display: flex;
  gap: 15px;
  align-items: center;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 20px;
  border: 2px solid #D1FAE5;
  transition: border-color .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}
.contact-item:hover { border-color: var(--green); transform: translateX(6px); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ci-green { background: #DCFCE7; }
.ci-blue  { background: #DBEAFE; }
.ci-purple{ background: #F5F3FF; }
.contact-item small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .5px; }
.contact-item span  { display: block; font-weight: 600; color: var(--dark); font-size: 14px; }

/* Enquiry Form */
.enquiry-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 3px solid #BBF7D0;
}
.enquiry-form h3 { font: 800 30px 'Baloo 2', cursive; color: var(--dark); }
.enquiry-form > p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.form-field { margin-top: 16px; }
.form-field label { display: block; font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  font: 14px 'Poppins', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: var(--bg);
  color: var(--dark);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}
.form-field textarea { resize: none; }
#form-status {
  display: block;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: none;
}
#form-status.success { background: #DCFCE7; color: #15803D; display: block; }
#form-status.error   { background: #FEE2E2; color: #B91C1C; display: block; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-mark { background: linear-gradient(135deg, var(--orange), var(--yellow)); }
.footer-brand .brand b { color: #fff; }
.footer-brand .brand small { color: rgba(255,255,255,.5); }
.footer-brand p { opacity: .7; font-size: 14px; line-height: 1.7; }
.footer-col h4 { font: 700 18px 'Baloo 2', cursive; margin-bottom: 14px; color: var(--yellow); }
.footer-col a, .footer-col span {
  display: block;
  opacity: .75;
  margin-bottom: 8px;
  font-size: 13px;
  transition: opacity .2s, color .2s;
}
.footer-col a:hover { opacity: 1; color: var(--yellow); }
.footer-bottom {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  opacity: .55;
}

/* =============================================
   CONFETTI CANVAS (JS-driven)
   ============================================= */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .activity-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .site-header nav {
    display: none;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 5%;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    z-index: 150;
    border-bottom: 3px solid var(--yellow);
  }
  .site-header nav.open { display: flex; }
  .menu-btn { display: block; }
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: unset; padding: 50px 0 60px; }
  .hero-copy { text-align: center; }
  .hero-buttons, .hero-pills { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; }
  .gallery-tile.large { grid-column: span 2; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-bottom: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .section h2 { font-size: 36px; }
  .hero h1 { font-size: 42px; }
  .program-grid, .why-grid, .activity-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .gallery-grid { display: flex; flex-direction: column; }
  .gallery-tile { height: 200px; }
  .gallery-tile.large { height: 280px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .section-image img { height: 300px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { gap: 40px; }
  .enquiry-form { padding: 24px; }
}

/* =============================================
   GAMES SECTION
   ============================================= */

.games-section { background: linear-gradient(160deg, #FFF9E6 0%, #F0F9FF 100%); }

/* Game launcher grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Individual game card */
.game-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px 22px;
  text-align: center;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
  outline: none;
}

/* Colour variants */
.gc-yellow { border-color: var(--yellow); }
.gc-yellow:hover { background: #FFFDE7; }
.gc-teal   { border-color: var(--teal);   }
.gc-teal:hover   { background: #E0F7FA; }
.gc-purple { border-color: var(--purple); }
.gc-purple:hover { background: #F5F3FF; }
.gc-orange { border-color: var(--orange); }
.gc-orange:hover { background: #FFF4EE; }
.gc-pink   { border-color: var(--pink);   }
.gc-pink:hover   { background: #FFF0F5; }

/* Big icon */
.game-card-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 6px;
  transition: transform .3s;
}
.game-card:hover .game-card-icon { transform: scale(1.25) rotate(10deg); }

/* Badge top-right */
.game-card-label {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--yellow);
  color: var(--dark);
  font: 700 10px 'Poppins', sans-serif;
  padding: 3px 10px;
  border-radius: 20px;
}

.game-card h3 {
  font: 800 18px 'Baloo 2', cursive;
  color: var(--dark);
  margin: 2px 0;
}
.game-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Skill tags inside card */
.game-skills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.game-skills span {
  background: var(--bg);
  border: 1.5px solid #E5E7EB;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
}

/* Play button on card */
.game-play-btn {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 9px 20px;
  font: 700 13px 'Poppins', sans-serif;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  pointer-events: none; /* card itself is the click target */
}
.game-card:hover .game-play-btn {
  box-shadow: 0 6px 18px rgba(255,107,53,.4);
  pointer-events: none;
}

/* =============================================
   GAME MODAL
   ============================================= */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.game-modal[hidden] { display: none; }

.game-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 75, 0.75);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.game-modal-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes modalIn {
  from { transform: scale(.75) translateY(40px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

.game-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 0;
}
.game-modal-header h2 {
  font: 800 26px 'Baloo 2', cursive;
  color: var(--dark);
  margin: 0;
}
.game-modal-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid #E5E7EB;
  background: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, border-color .2s;
  color: var(--dark);
  flex-shrink: 0;
}
.game-modal-close:hover { background: var(--yellow); border-color: var(--yellow); }

.game-modal-body { padding: 20px 28px 28px; }

/* ── Shared in-game UI ─────────────────────── */
.game-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font: 700 15px 'Baloo 2', cursive;
  color: var(--dark);
  flex-wrap: wrap;
  gap: 8px;
}
.game-hud-pill {
  background: var(--bg);
  border: 2px solid var(--yellow);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 14px;
}
.game-result {
  text-align: center;
  padding: 28px 10px;
  animation: fadeIn .4s ease both;
}
.game-result .result-emoji { font-size: 64px; display: block; }
.game-result h3 { font: 800 28px 'Baloo 2', cursive; color: var(--dark); margin: 10px 0 6px; }
.game-result p  { color: var(--muted); margin-bottom: 20px; }
.game-play-again {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 13px 30px;
  font: 700 16px 'Poppins', sans-serif;
  cursor: pointer;
  transition: transform .2s;
}
.game-play-again:hover { transform: scale(1.05); }

/* ── Game 1: Colour Match ──────────────────── */
.cm-target {
  text-align: center;
  margin-bottom: 18px;
}
.cm-target-label {
  font: 600 13px 'Poppins', sans-serif;
  color: var(--muted);
  margin-bottom: 8px;
}
.cm-target-swatch {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: background .3s;
}
.cm-balloons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cm-balloon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  font-size: 28px;
  display: grid;
  place-items: center;
}
.cm-balloon:hover { transform: scale(1.15); box-shadow: var(--shadow-md); }
.cm-balloon.correct { animation: popCorrect .4s ease both; }
.cm-balloon.wrong   { animation: shake .4s ease both; }
@keyframes popCorrect {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(0); opacity: 0; }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-8px); }
  75%      { transform: translateX(8px); }
}

/* ── Game 2: Count Bubbles ─────────────────── */
.cb-prompt {
  text-align: center;
  font: 800 22px 'Baloo 2', cursive;
  color: var(--dark);
  margin-bottom: 16px;
  background: var(--bg);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 2px solid var(--yellow);
}
.cb-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  min-height: 160px;
  align-content: flex-start;
  margin-bottom: 16px;
}
.cb-bubble {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 26px;
  display: grid;
  place-items: center;
  transition: transform .2s;
  animation: bubblePop .3s ease both;
}
@keyframes bubblePop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cb-bubble.popped { transform: scale(0); opacity: 0; transition: transform .2s, opacity .2s; pointer-events: none; }
.cb-counter {
  text-align: center;
  font: 800 18px 'Baloo 2', cursive;
  color: var(--dark);
}
.cb-counter span { color: var(--orange); font-size: 26px; }

/* ── Game 3: Memory Flip ───────────────────── */
.mf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mf-card {
  aspect-ratio: 1;
  perspective: 600px;
  cursor: pointer;
}
.mf-card-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .45s;
  border-radius: var(--radius-md);
}
.mf-card.flipped .mf-card-inner   { transform: rotateY(180deg); }
.mf-card.matched .mf-card-inner   { transform: rotateY(180deg); cursor: default; }
.mf-card-front,
.mf-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  font-size: 32px;
  border: 3px solid transparent;
}
.mf-card-front {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  font-size: 24px;
}
.mf-card-back  {
  background: var(--bg);
  transform: rotateY(180deg);
  border-color: var(--yellow);
}
.mf-card.matched .mf-card-back { border-color: var(--green); background: #DCFCE7; }

/* ── Game 4: Shape Catcher ─────────────────── */
.sc-arena {
  position: relative;
  width: 100%;
  height: 260px;
  background: linear-gradient(180deg, #EEF2FF 0%, #FFF9E6 100%);
  border-radius: var(--radius-lg);
  border: 3px solid var(--yellow);
  overflow: hidden;
  margin-bottom: 14px;
}
.sc-target-bar {
  text-align: center;
  font: 800 16px 'Baloo 2', cursive;
  color: var(--dark);
  margin-bottom: 12px;
  padding: 10px 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 2px solid var(--yellow);
}
.sc-shape {
  position: absolute;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  transition: top .05s linear;
  line-height: 1;
}
.sc-shape:hover { transform: scale(1.2); }
.sc-catcher {
  position: absolute;
  bottom: 10px;
  font-size: 40px;
  transition: left .1s ease;
  cursor: default;
  user-select: none;
}

/* ── Game 5: Alphabet Tap ──────────────────── */
.at-prompt {
  text-align: center;
  margin-bottom: 16px;
}
.at-prompt-label {
  font: 600 13px 'Poppins', sans-serif;
  color: var(--muted);
  margin-bottom: 6px;
}
.at-target {
  font: 800 72px 'Baloo 2', cursive;
  color: var(--dark);
  line-height: 1;
  animation: pulseTarget 1s ease-in-out infinite alternate;
}
@keyframes pulseTarget {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.at-timer-bar {
  height: 10px;
  background: #E5E7EB;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}
.at-timer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  border-radius: 10px;
  transition: width .1s linear;
}
.at-letters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.at-letter {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 2px solid #E5E7EB;
  background: var(--white);
  font: 800 20px 'Baloo 2', cursive;
  color: var(--dark);
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
  display: grid;
  place-items: center;
}
.at-letter:hover { transform: scale(1.1); border-color: var(--yellow); background: #FFFDE7; }
.at-letter.correct { background: #DCFCE7; border-color: var(--green); animation: popCorrect .35s ease both; }
.at-letter.wrong   { background: #FEE2E2; border-color: var(--red);   animation: shake .3s ease both; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .mf-grid   { grid-template-columns: repeat(4, 1fr); }
  .cm-balloons { grid-template-columns: repeat(4, 1fr); }
  .at-letters  { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 440px) {
  .game-grid { grid-template-columns: 1fr; }
}
