/* =============================================
   HORIZONS INTERNATIONAL PLAY SCHOOL
   Stylesheet — Playful, Fun & Interactive
   ============================================= */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  /* Playful palette */
  --coral:   #FF6B6B;
  --orange:  #FF8B64;
  --teal:    #4ECDC4;
  --yellow:  #FFE66D;
  --purple:  #764BA2;
  --blue:    #667EEA;
  --green:   #69D17A;
  --pink:    #FF8FAB;
  --dark:    #2C3E50;
  --light:   #FFF9F0;
  --white:   #FFFFFF;

  /* ── Logo brand colours (from the circular badge) ── */
  --logo-navy:  #0D47A1;   /* deep navy outer ring  */
  --logo-blue:  #1565C0;   /* mid blue              */
  --logo-light: #1976D2;   /* lighter blue accent   */
  --navy:       #0D47A1;   /* keep --navy in sync   */

  --font-h: 'Fredoka One', cursive;
  --font-b: 'Nunito', sans-serif;

  --shadow:    0 10px 40px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.16);
  --radius:    20px;
  --radius-lg: 32px;

  /* Hero: logo-blue → purple → coral (bridges school colours → playful) */
  --hero-gradient: linear-gradient(135deg,
    var(--logo-navy)  0%,
    var(--logo-blue)  22%,
    #764ba2           52%,
    #FF6B6B           78%,
    #FF8B64           100%);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-b); }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--logo-blue), var(--coral));
  border-radius: 99px;
}

/* ---------- SELECTION ---------- */
::selection { background: var(--yellow); color: var(--dark); }

/* =============================================
   FLOATING BACKGROUND SHAPES
   ============================================= */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.shape {
  position: absolute;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0.055;
  animation: driftShape 18s ease-in-out infinite;
}
.s1 { top:  8%; left:  4%; animation-duration: 14s; animation-delay: 0s; }
.s2 { top: 22%; right: 6%; animation-duration: 18s; animation-delay: 2s; }
.s3 { top: 55%; left:  2%; animation-duration: 20s; animation-delay: 5s; }
.s4 { top: 75%; right: 4%; animation-duration: 16s; animation-delay: 8s; }
.s5 { top: 40%; left: 48%; animation-duration: 22s; animation-delay: 1s; }
.s6 { top: 15%; right: 28%; animation-duration: 12s; animation-delay: 4s; }
.s7 { top: 88%; left: 22%; animation-duration: 17s; animation-delay: 7s; }
.s8 { top: 60%; right: 18%; animation-duration: 15s; animation-delay: 3s; }

@keyframes driftShape {
  0%, 100% { transform: translateY(0)   rotate(0deg);   }
  33%       { transform: translateY(-28px) rotate(12deg);  }
  66%       { transform: translateY(14px)  rotate(-8deg);  }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.tag {
  display: inline-block;
  /* Logo blue → coral: reinforces school brand then plays */
  background: linear-gradient(135deg, var(--logo-blue), var(--coral));
  color: #fff;
  padding: 6px 20px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.tag-white {
  background: rgba(255,255,255,0.22);
  border: 1.5px solid rgba(255,255,255,0.45);
}

.sec-title {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 14px;
}
.clr-coral { color: var(--coral); }
.clr-blue  { color: var(--logo-blue); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  padding: 0 20px;
}
.section-header p { color: #666; font-size: 1.08rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  box-shadow: 0 8px 28px rgba(255,107,107,0.38);
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(255,107,107,0.48);
}

.btn-glass {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.34);
  transform: translateY(-3px);
}

.btn-bounce {
  animation: bounceCTA 2.4s ease-in-out infinite;
}
@keyframes bounceCTA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  border-radius: 99px;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  box-shadow: 0 8px 28px rgba(255,107,107,0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(255,107,107,0.48);
}

/* =============================================
   SCROLL ANIMATION STUBS
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   HERO ENTRY ANIMATIONS
   ============================================= */
.slide-down { animation: slideDown 0.7s ease both; }
.slide-up   { animation: slideUp  0.7s ease both; }
.delay-1    { animation-delay: 0.15s; }
.delay-2    { animation-delay: 0.3s; }
.delay-3    { animation-delay: 0.45s; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   NAVBAR  — logo-blue always visible
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 55%, #1976D2 100%);
  box-shadow: 0 3px 18px rgba(13,71,161,0.28);
  transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
/* Slightly darker + tighter when user scrolls */
.navbar.scrolled {
  background: linear-gradient(135deg, #0A3880 0%, #0D47A1 55%, #1565C0 100%);
  box-shadow: 0 5px 30px rgba(10,56,128,0.40);
  padding: 6px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo img {
  height: 62px;
  transition: height 0.35s ease;
  /* subtle glow to connect logo to the bar */
  filter: drop-shadow(0 2px 6px rgba(255,255,255,0.18));
}
.navbar.scrolled .nav-logo img { height: 48px; }

/* Desktop nav list */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Nav links — always white on blue bar */
.nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 15px;
  border-radius: 99px;
  transition: background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.nav-link:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.nav-link.active {
  background: rgba(255,255,255,0.22);
  color: #fff;
  font-weight: 800;
}

/* CTA button */
.nav-cta {
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 9px 22px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: 0 5px 18px rgba(255,107,107,0.40);
  margin-left: 6px;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,107,0.52);
}

/* Hamburger — always white stripes on blue bg */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.9);
  transition: all 0.35s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: var(--hero-gradient);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 28px 100px;
  overflow: hidden;
}

/* Bubbles */
.hero-bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  animation: riseUp linear infinite;
}
.b1 { width: 70px;  height: 70px;  left: 9%;  animation-duration: 9s;  animation-delay: 0s;  }
.b2 { width: 44px;  height: 44px;  left: 24%; animation-duration: 13s; animation-delay: 2s;  }
.b3 { width: 110px; height: 110px; left: 68%; animation-duration: 11s; animation-delay: 4s;  }
.b4 { width: 36px;  height: 36px;  left: 84%; animation-duration: 8s;  animation-delay: 1s;  }
.b5 { width: 80px;  height: 80px;  left: 52%; animation-duration: 16s; animation-delay: 3s;  }
.b6 { width: 55px;  height: 55px;  left: 38%; animation-duration: 10s; animation-delay: 6s;  }
.b7 { width: 30px;  height: 30px;  left: 15%; animation-duration: 7s;  animation-delay: 5s;  }
.b8 { width: 90px;  height: 90px;  left: 76%; animation-duration: 14s; animation-delay: 2.5s;}

@keyframes riseUp {
  0%   { bottom: -160px; opacity: 0; }
  8%   { opacity: 0.9; }
  90%  { opacity: 0.7; }
  100% { bottom: 108%; opacity: 0; }
}

/* Hero layout */
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Hero text */
/* ── Hero school-name intro (replaces capsule badge) ── */
.hero-intro {
  margin-bottom: 24px;
}

.intro-pre {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* Three sticker chips side-by-side */
.intro-nameplate {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.name-chip {
  font-family: var(--font-h);
  font-size: 1.25rem;
  display: inline-block;
  padding: 6px 18px 8px;
  border-radius: 8px;
  line-height: 1.1;
  position: relative;
  /* shared depth shadow */
  box-shadow: 4px 5px 0px rgba(0,0,0,0.18);
  letter-spacing: 0.5px;
  transition: transform 0.25s ease;
}
.name-chip:hover { transform: scale(1.06) rotate(0deg) !important; }

/* "Horizons" — yellow chip, logo-navy text, tilted left */
.chip-horizons {
  background: var(--yellow);
  color: var(--logo-navy);
  transform: rotate(-2.5deg);
  border-bottom: 4px solid #e6c800;
}

/* "Play School" — white chip, logo-blue text, tilted right */
.chip-playschool {
  background: #fff;
  color: var(--logo-blue);
  transform: rotate(1.5deg);
  border-bottom: 4px solid #d0d8f0;
}

/* "International" — logo-navy chip, white text, slight tilt */
.chip-intl {
  background: var(--logo-navy);
  color: #fff;
  transform: rotate(-1deg);
  border-bottom: 4px solid #072a6e;
  font-size: 1.05rem;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.hero-highlight {
  color: var(--yellow);
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(255,230,109,0.45));
  animation: wobbleText 3s ease-in-out infinite;
}
@keyframes wobbleText {
  0%, 100% { transform: rotate(-1.5deg); }
  50%       { transform: rotate(1.5deg); }
}

.hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 500px;
}
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-tagline .sep { opacity: 0.4; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-blob {
  width: min(480px, 100%);
  border-radius: 62% 38% 46% 54% / 42% 54% 46% 58%;
  overflow: hidden;
  animation: morphBlob 9s ease-in-out infinite;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28);
  border: 6px solid rgba(255,255,255,0.35);
}
@keyframes morphBlob {
  0%, 100% { border-radius: 62% 38% 46% 54% / 42% 54% 46% 58%; }
  33%       { border-radius: 40% 60% 58% 42% / 58% 44% 56% 42%; }
  66%       { border-radius: 52% 48% 40% 60% / 46% 62% 38% 54%; }
}
.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Floating chips */
.float-chip {
  position: absolute;
  background: #fff;
  color: var(--dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 99px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  white-space: nowrap;
  pointer-events: none;
}
.chip-a { top: 8%;  left: -10px;  animation: floatChip 3.2s ease-in-out infinite; background: var(--yellow); }
.chip-b { bottom: 28%; right: -14px; animation: floatChip 3.8s ease-in-out 0.9s infinite; background: var(--teal); color: #fff; }
.chip-c { bottom: 2%;  left: 12%;   animation: floatChip 3s ease-in-out 1.8s infinite; background: var(--coral); color: #fff; }

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

/* Decorative rings */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.22);
  pointer-events: none;
  animation: spinRing 20s linear infinite;
}
.r1 { width: 120px; height: 120px; top: -30px; right: -30px; }
.r2 { width: 200px; height: 200px; bottom: -50px; left: -50px; animation-direction: reverse; }
@keyframes spinRing { to { transform: rotate(360deg); } }

/* Hero wave */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: #fff;
  padding: 60px 28px;
  position: relative;
  z-index: 1;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  /* subtle logo-blue top accent */
  border-top: 5px solid var(--logo-blue);
}
.stat {
  text-align: center;
  padding: 16px 12px;
}
.stat-divider {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, #e5e5e5, transparent);
  justify-self: center;
}
.stat-icon { font-size: 2.2rem; margin-bottom: 10px; }
.stat-num {
  font-family: var(--font-h);
  font-size: 2.6rem;
  /* alternate logo blue and coral for visual variety */
  color: var(--logo-blue);
  line-height: 1;
  margin-bottom: 6px;
}
/* Alternate colours per stat */
.stat:nth-child(3) .stat-num { color: var(--coral); }
.stat:nth-child(5) .stat-num { color: var(--logo-navy); }
.stat:nth-child(7) .stat-num { color: var(--coral); }
.stat-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: #fff;
  padding: 80px 28px 0;
  position: relative;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-bottom: 80px;
}

/* About image stack */
.about-images {
  position: relative;
  height: 520px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 68%;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
  z-index: 1;
  transition: transform 0.4s ease;
}
.about-img-main:hover { transform: scale(1.02); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 54%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
  z-index: 2;
  transition: transform 0.4s ease;
}
.about-img-secondary:hover { transform: scale(1.02); }
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-award {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 104px; height: 104px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  box-shadow: 0 10px 32px rgba(255,107,107,0.4);
  z-index: 5;
  animation: floatChip 3s ease-in-out infinite;
}
.award-icon { font-size: 1.6rem; }
.about-award strong { font-size: 0.75rem; font-weight: 900; line-height: 1; }
.about-award span  { font-size: 0.7rem;  font-weight: 700; opacity: 0.85; }
.about-award small { font-size: 0.65rem; opacity: 0.75; }

/* About text */
.about-text .tag { margin-top: 0; }
.about-desc {
  color: #666;
  line-height: 1.82;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0 34px;
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 4px solid var(--logo-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.pillar-icon { font-size: 1.9rem; flex-shrink: 0; }
.pillar strong { display: block; font-weight: 800; color: var(--dark); margin-bottom: 3px; }
.pillar p { color: #777; font-size: 0.9rem; margin: 0; }

.section-wave-bottom { line-height: 0; }
.section-wave-bottom svg { display: block; width: 100%; height: 70px; }

/* =============================================
   PROGRAMS
   ============================================= */
.programs {
  background: var(--light);
  padding: 80px 28px;
}
.programs-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.prog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--cc, var(--coral));
}
.prog-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--cc, var(--coral));
  opacity: 0.05;
  transition: transform 0.4s ease;
}
.prog-card:hover { transform: translateY(-14px); box-shadow: var(--shadow-lg); }
.prog-card:hover::after { transform: scale(1.3); }

.prog-card.featured {
  background: linear-gradient(155deg, var(--teal) 0%, #26a69a 100%);
  transform: scale(1.04);
}
.prog-card.featured:hover { transform: scale(1.04) translateY(-14px); }
.prog-card.featured h3,
.prog-card.featured p,
.prog-card.featured li { color: #fff !important; }
.prog-card.featured .prog-age { background: rgba(255,255,255,0.22); color: #fff; }

.prog-popular {
  position: absolute;
  top: 18px; right: -6px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 18px 5px 14px;
  border-radius: 99px 0 0 99px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.prog-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 10px;
  animation: bounceIcon 2.5s ease-in-out infinite;
}
@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.prog-age {
  display: inline-block;
  background: rgba(0,0,0,0.06);
  color: #666;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.prog-card h3 {
  font-family: var(--font-h);
  font-size: 1.65rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.prog-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.prog-card ul {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}
.prog-card li { font-size: 0.9rem; font-weight: 600; color: #555; }
.prog-card.featured li { color: rgba(255,255,255,0.9) !important; }

.prog-btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 99px;
  background: var(--cc, var(--coral));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.prog-card.featured .prog-btn { background: #fff; color: var(--teal); }
.prog-btn:hover { transform: scale(1.06); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }

/* =============================================
   FEATURES (WHY CHOOSE US)
   ============================================= */
.features {
  background: linear-gradient(145deg, var(--blue) 0%, var(--purple) 55%, #c2185b 100%);
  padding: 0 28px;
  position: relative;
}
.features-wave-top, .features-wave-bottom { line-height: 0; }
.features-wave-top svg, .features-wave-bottom svg { display: block; width: 100%; height: 70px; }

.features .section-header { padding-top: 56px; padding-bottom: 40px; margin-bottom: 0; }

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 60px;
}
.feat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), background 0.3s ease;
}
.feat-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.22);
}
.feat-emoji {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.feat-card h3 {
  font-family: var(--font-h);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
}
.feat-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.7; }

/* =============================================
   GALLERY
   ============================================= */
.gallery {
  background: #fff;
  padding: 80px 28px;
}
.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gal-item.wide { grid-column: span 2; }
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gal-item:hover img { transform: scale(1.1); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,107,107,0.82) 0%, rgba(118,75,162,0.4) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span {
  color: #fff;
  font-family: var(--font-h);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}
.gal-item:hover .gal-overlay span { transform: translateY(0); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  background: var(--light);
  padding: 80px 0;
  overflow: hidden;
}
.testi-viewport {
  overflow: hidden;
  padding: 16px 0;
}
.testi-track {
  display: flex;
  gap: 24px;
  padding: 0 28px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  min-width: 360px;
  max-width: 360px;
  box-shadow: var(--shadow);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 22px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--coral);
  opacity: 0.12;
  line-height: 1;
}
.testi-stars { font-size: 1.1rem; margin-bottom: 14px; }
.testi-card p {
  color: #555;
  font-size: 0.97rem;
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 22px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { font-size: 2.6rem; }
.testi-author strong { display: block; font-weight: 800; color: var(--dark); font-size: 0.95rem; }
.testi-author small { color: #999; font-size: 0.82rem; }

/* Controls */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding: 0 28px;
}
.testi-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  background: #fff;
  color: var(--coral);
  font-size: 1.4rem;
  line-height: 1;
  transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
}
.testi-arrow:hover {
  background: var(--coral);
  color: #fff;
  transform: scale(1.1);
}
.testi-dots { display: flex; gap: 7px; }
.dot {
  width: 9px; height: 9px;
  border-radius: 99px;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--coral);
  width: 26px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
  padding: 0 28px 80px;
  position: relative;
}
.contact-wave-top { line-height: 0; }
.contact-wave-top svg { display: block; width: 100%; height: 70px; }
.contact .section-header { padding-top: 56px; margin-bottom: 48px; }

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
}

/* Info side */
.contact-info { color: #fff; }
.contact-info h3 {
  font-family: var(--font-h);
  font-size: 1.85rem;
  margin-bottom: 12px;
}
.contact-info > p {
  opacity: 0.9;
  line-height: 1.75;
  margin-bottom: 30px;
  font-size: 1.02rem;
}
.cinfo-list { display: flex; flex-direction: column; gap: 16px; }
.cinfo-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: background 0.3s ease;
}
.cinfo-item:hover { background: rgba(255,255,255,0.26); }
.cinfo-icon { font-size: 1.75rem; flex-shrink: 0; }
.cinfo-item strong { display: block; font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.cinfo-item p { margin: 0; opacity: 0.88; font-size: 0.9rem; line-height: 1.55; }

/* Form side */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.cform h3 {
  font-family: var(--font-h);
  font-size: 1.65rem;
  color: var(--dark);
  margin-bottom: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgroup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.fgroup label {
  font-weight: 700;
  font-size: 0.82rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fgroup input,
.fgroup select,
.fgroup textarea {
  padding: 12px 16px;
  border: 2px solid #eaeaea;
  border-radius: 12px;
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--light);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: none;
}
.fgroup input:focus,
.fgroup select:focus,
.fgroup textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,107,107,0.12);
  background: #fff;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: linear-gradient(160deg, var(--logo-navy) 0%, #0A3068 60%, #071E4A 100%);
  color: rgba(255,255,255,0.8);
  padding: 64px 28px 0;
  border-top: 4px solid var(--logo-light);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  height: 86px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.25s ease, transform 0.25s ease;
}
.social-btn:hover { background: var(--coral); transform: translateY(-2px); }

.footer-col h4 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li { font-size: 0.88rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--coral); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.84rem; opacity: 0.65; }
.footer-tag { color: var(--yellow) !important; opacity: 1 !important; font-weight: 700; }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,15,20,0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
#lb-img {
  max-width: 90%;
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 0 80px rgba(255,107,107,0.25);
  animation: zoomIn 0.32s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes zoomIn {
  from { transform: scale(0.75); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.lb-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.25s, transform 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover {
  background: var(--coral);
  border-color: var(--coral);
  transform: rotate(90deg) scale(1.1);
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  border: none;
  font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(255,107,107,0.4);
  z-index: 998;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.scroll-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.scroll-top:hover { transform: translateY(-4px) scale(1.08); }

/* =============================================
   CONFETTI CANVAS
   ============================================= */
#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}

/* =============================================
   RESPONSIVE — NARROW DESKTOP  (769px – 900px)
   Shrink nav before hamburger kicks in
   ============================================= */
@media (max-width: 900px) and (min-width: 769px) {
  .nav-link { font-size: 0.82rem; padding: 7px 10px; }
  .nav-cta   { font-size: 0.82rem; padding: 8px 14px; }
  .nav-logo img { height: 50px; }
  .navbar.scrolled .nav-logo img { height: 40px; }
}

/* =============================================
   RESPONSIVE — TABLET  (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  /* Hero — single-column centred */
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-visual  { display: none; }
  .hero-sub     { margin: 0 auto 20px; max-width: 560px; }
  .hero-tagline { justify-content: center; }
  .hero-btns    { justify-content: center; }
  .intro-nameplate { justify-content: center; }

  /* Stats — 4 items in one row, no dividers */
  .stats-inner  { grid-template-columns: repeat(4, 1fr); padding: 24px 20px; gap: 0; }
  .stat-divider { display: none !important; }

  /* About */
  .about-inner  { grid-template-columns: 1fr; gap: 36px; }
  .about-images { height: 300px; }
  .about-img-main { width: 65%; position: absolute; }
  .about-img-secondary { width: 52%; height: 190px; }

  /* Programs */
  .programs-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .prog-card.featured { transform: none; grid-column: span 2; max-width: 400px; margin: 0 auto; }
  .prog-card.featured:hover { transform: translateY(-10px); }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gal-item.wide { grid-column: span 1; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* =============================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================= */
@media (max-width: 768px) {

  /* ── Hamburger — push to far right ── */
  .hamburger { display: flex; margin-left: auto; }

  /* ── Slide-in drawer (logo-blue) ── */
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(80vw, 300px);
    height: 100vh;
    background: linear-gradient(160deg, #0D47A1 0%, #1565C0 60%, #1976D2 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 20px 36px;
    gap: 4px;
    box-shadow: -6px 0 36px rgba(13,71,161,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1rem;
    padding: 11px 16px;
    border-radius: 10px;
    width: 100%;
    display: block;
  }
  .nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.16) !important;
    color: #fff !important;
  }
  .nav-cta { margin-left: 0; width: 100%; text-align: center; margin-top: 10px; }

  /* ── Hero ── */
  .hero { padding: 96px 20px 64px; text-align: center; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-sub   { font-size: 1rem; margin: 0 auto 18px; }
  .hero-tagline { justify-content: center; font-size: 0.9rem; }
  .hero-btns  { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .intro-nameplate { justify-content: center; flex-wrap: wrap; }
  .name-chip  { font-size: 1.05rem; padding: 5px 14px 7px; }

  /* ── Stats — 2×2 flexbox, dividers hidden ── */
  .stats-bar   { padding: 28px 16px; }
  .stats-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 16px;
    border-radius: var(--radius);
    gap: 0;
  }
  .stat-divider { display: none !important; }
  .stat {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 18px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-sizing: border-box;
  }
  /* Stats in row 2 (DOM positions 5 and 7) — no bottom border */
  .stat:nth-child(n+4) { border-bottom: none; }
  .stat-icon { font-size: 1.8rem; margin-bottom: 6px; }
  .stat-num  { font-size: 2rem; }
  .stat-lbl  { font-size: 0.75rem; }

  /* ── About ── */
  .about { padding: 56px 20px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 56px; }
  .about-images {
    position: relative;
    height: 240px;
    width: 100%;
  }
  .about-img-main {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: var(--radius);
  }
  .about-img-main img { height: 240px; border-radius: var(--radius); }
  .about-img-secondary { display: none; }
  .about-award { display: none; }

  /* ── Programs ── */
  .programs { padding: 56px 20px; }
  .programs-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 20px; }
  .prog-card.featured { grid-column: span 1; transform: none; }
  .prog-card.featured:hover { transform: translateY(-10px); }

  /* ── Features ── */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 40px; }
  .feat-card { padding: 24px 18px; }
  .feat-emoji { font-size: 2.2rem; }
  .feat-card h3 { font-size: 1.1rem; }
  .feat-card p  { font-size: 0.88rem; }

  /* ── Gallery ── */
  .gallery { padding: 56px 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }

  /* ── Testimonials ── */
  .testi-card { min-width: calc(100vw - 48px); max-width: calc(100vw - 48px); padding: 28px 22px; }
  .testi-track { padding: 0 24px; }

  /* ── Contact ── */
  .contact { padding: 0 20px 56px; }
  .contact-grid { gap: 24px; }
  .contact-form-wrap { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cform h3 { font-size: 1.3rem; }

  /* ── Footer ── */
  .footer { padding: 44px 20px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .footer-logo { height: 72px; }

  /* ── Section headings ── */
  .section-header { margin-bottom: 36px; }
  .sec-title { font-size: clamp(1.65rem, 5.5vw, 2.2rem); }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ============================================= */
@media (max-width: 480px) {
  .hero { padding: 90px 16px 56px; }
  .hero-title { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .hero-btns .btn { padding: 13px 24px; font-size: 0.95rem; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-btns .btn { text-align: center; }
  .name-chip { font-size: 0.95rem; padding: 4px 12px 6px; }

  .stats-bar   { padding: 20px 12px; }
  .stats-inner { padding: 16px 10px; }
  .stat { padding: 14px 8px; }
  .stat-num  { font-size: 1.75rem; }
  .stat-icon { font-size: 1.6rem; }

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

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }

  .testi-card { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); padding: 22px 16px; }
  .testi-track { padding: 0 16px; }

  .contact-form-wrap { padding: 20px 14px; }
  .section-header { margin-bottom: 28px; }
  .sec-title { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .footer { padding: 36px 14px 0; }
}

/* =============================================
   RESPONSIVE — EXTRA SMALL  (≤ 360px)
   ============================================= */
@media (max-width: 360px) {
  .nav-inner { padding: 0 14px; }
  .nav-logo img { height: 42px; }

  .hero { padding: 84px 14px 48px; }
  .hero-title { font-size: 1.65rem; }
  .name-chip  { font-size: 0.85rem; padding: 4px 10px 5px; }

  .stat-num  { font-size: 1.55rem; }
  .stat-icon { font-size: 1.4rem; }
  .stat-lbl  { font-size: 0.7rem; letter-spacing: 0; }

  .btn { padding: 12px 18px; font-size: 0.9rem; }
  .prog-card { padding: 26px 16px; }
  .feat-card { padding: 20px 14px; }
  .testi-card { padding: 18px 14px; }
  .contact-form-wrap { padding: 16px 12px; }
}
