/* ============================================================
   IndiGo Preschool – Main Stylesheet
   Palette: Sky Blue #2196F3, Sunshine Yellow #FFD600,
            Tangerine #FF7043, Mint #4CAF50, Lavender #9C27B0
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:   #2196F3;
  --blue-d: #1565C0;
  --yellow: #FFD600;
  --orange: #FF7043;
  --green:  #4CAF50;
  --purple: #9C27B0;
  --pink:   #E91E63;
  --teal:   #00BCD4;
  --bg:     #FFFDF5;
  --text:   #2D2D2D;
  --white:  #FFFFFF;
  --gray:   #F5F5F5;
  --shadow: 0 8px 32px rgba(33,150,243,.15);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: 'Baloo 2', 'Nunito', sans-serif; line-height: 1.2; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: .5rem;
  position: relative;
}

.section-title span { color: var(--orange); }

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.pill-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 90px 0; }
.section-light { background: var(--white); }
.section-gray  { background: var(--gray); }
.section-blue  { background: linear-gradient(135deg, #E3F2FD 0%, #E8F5E9 100%); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(33,150,243,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(33,150,243,.45); }

.btn-secondary {
  background: linear-gradient(135deg, var(--orange), #FF4500);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(255,112,67,.4);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,112,67,.45); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-3px); }

.btn-green {
  background: linear-gradient(135deg, var(--green), #2E7D32);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(76,175,80,.4);
}
.btn-green:hover { transform: translateY(-3px); }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  padding: .6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
}
/* Real logo image */
.nav-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.18));
  transition: var(--transition);
}
/* Fallback icon (shown if logo.png is missing) */
.nav-logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(33,150,243,.35);
  flex-shrink: 0;
}
.nav-logo-text { display: none; }   /* hidden when using real logo */
.nav-logo-img-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 4px 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 14px rgba(0,0,0,.12);
  transition: var(--transition);
}
#navbar.scrolled .nav-logo-img-wrap {
  background: var(--white);
  box-shadow: none;
  padding: 2px 8px;
}
.nav-logo-img-wrap img { height: 48px; width: auto; object-fit: contain; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  font-weight: 600;
  font-size: .93rem;
  color: var(--white);
  transition: var(--transition);
  position: relative;
}
#navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2.5px;
  border-radius: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--yellow); }
#navbar.scrolled .nav-links a:hover { color: var(--orange); }

.nav-cta { display: flex; gap: .7rem; }
.nav-cta .btn { font-size: .88rem; padding: .6rem 1.4rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-weight: 700; color: var(--text); font-size: 1.05rem; padding: .5rem 0; border-bottom: 1px solid #eee; }
.mobile-menu .btn { text-align: center; justify-content: center; }

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Multi-layer overlay: strong on left for readability, lighter right */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,  rgba(5,15,55,.88) 0%,  rgba(10,40,110,.65) 45%, rgba(0,0,0,.18) 100%),
    linear-gradient(to top,    rgba(0,0,0,.55) 0%,    transparent 55%);
}

/* ── Two-column hero layout ── */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 2rem 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* ── Left: glass card ── */
.hero-glass-card {
  flex: 0 0 auto;
  max-width: 600px;
  background: rgba(5, 20, 70, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  padding: 2.5rem 2.8rem;
  animation: fadeInLeft .9s ease both;
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .8px;
  padding: .45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.3rem;
  box-shadow: 0 4px 14px rgba(255,214,0,.4);
  text-transform: uppercase;
}

.hero-glass-card h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .9rem;
  line-height: 1.12;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.hero-glass-card h1 .highlight {
  color: var(--yellow);
  display: inline-block;
  text-shadow: 0 0 30px rgba(255,214,0,.4);
}
.hero-glass-card h1 .school-name {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: rgba(255,255,255,.9);
  letter-spacing: -.5px;
}

.hero-glass-card p {
  font-size: clamp(.95rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 1.8rem;
  line-height: 1.75;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.8rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .42rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.28);
}
.hero-tag .icon { font-size: .95rem; }

/* ── Right: floating stat cards ── */
.hero-side-stats {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInRight .9s ease .3s both;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-stat-card {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  padding: 1.1rem 1.6rem;
  text-align: center;
  min-width: 148px;
  transition: transform .3s ease;
}
.hero-stat-card:hover { transform: translateY(-4px) scale(1.03); }
.hero-stat-card strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 20px rgba(255,214,0,.5);
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stat-card small {
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .3px;
}
.hero-stat-card .stat-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: .3rem;
}

/* ── Wave divider at hero bottom ── */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 5;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll .scroll-arrow {
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}

/* Keep old hero-stats for counter fallback */
.hero-stats { display: none; }
.stat-item { color: #fff; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 900; color: var(--yellow); }
.stat-item small  { font-size: .82rem; opacity: .85; }

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 3rem;
  right: 2rem;
  z-index: 11;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.hero-dot.active { background: var(--yellow); transform: scale(1.3); }

/* ── About Section ── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  text-align: center;
}
.about-img-badge strong { display: block; font-size: 2rem; color: var(--blue); font-weight: 900; }
.about-img-badge span { font-size: .78rem; color: #666; font-weight: 600; }

.about-img-float {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }

.about-content { padding-left: 1rem; }
.about-content h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 900; margin-bottom: 1.2rem; }
.about-content h2 span { color: var(--blue); }
.about-content p { color: #555; line-height: 1.8; margin-bottom: 1rem; font-size: 1.05rem; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 1.5rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: var(--gray);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
}
.value-icon { font-size: 1.4rem; flex-shrink: 0; }
.value-item strong { display: block; font-size: .88rem; font-weight: 800; color: var(--text); }
.value-item span { font-size: .78rem; color: #777; }

/* ── Programs Section ── */
#programs .programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 5px solid transparent;
  cursor: default;
}
.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}
.program-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,.13); }

.program-card:nth-child(1) { border-top-color: var(--blue);   }
.program-card:nth-child(2) { border-top-color: var(--orange); }
.program-card:nth-child(3) { border-top-color: var(--green);  }
.program-card:nth-child(4) { border-top-color: var(--purple); }

.program-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.program-card:nth-child(1) .program-icon { background: #E3F2FD; }
.program-card:nth-child(2) .program-icon { background: #FFF3E0; }
.program-card:nth-child(3) .program-icon { background: #E8F5E9; }
.program-card:nth-child(4) .program-icon { background: #F3E5F5; }

.program-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: .3rem; }
.age-badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.program-card:nth-child(1) .age-badge { background: var(--blue); }
.program-card:nth-child(2) .age-badge { background: var(--orange); }
.program-card:nth-child(3) .age-badge { background: var(--green); }
.program-card:nth-child(4) .age-badge { background: var(--purple); }

.program-card p { color: #666; font-size: .92rem; line-height: 1.6; margin-bottom: 1rem; }
.program-activities { display: flex; flex-wrap: wrap; gap: .4rem; }
.activity-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 50px;
  background: var(--gray);
  color: #555;
}

/* ── Methodology Section ── */
#methodology { background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%); }

.methodology-phonics {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.phonics-icon-wrap {
  flex-shrink: 0;
  width: 90px; height: 90px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
}
.phonics-text h3 { font-size: 1.6rem; font-weight: 800; color: var(--blue); margin-bottom: .5rem; }
.phonics-text p  { color: #555; line-height: 1.7; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: .7rem;
  display: block;
}
.feature-card h4 { font-size: .95rem; font-weight: 800; margin-bottom: .3rem; }
.feature-card p  { font-size: .8rem; color: #777; line-height: 1.5; }

/* ── Activities Section ── */
#activities .activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.activity-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.activity-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 16px 40px rgba(0,0,0,.18); }

.activity-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.activity-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.activity-card:hover .activity-card-img img { transform: scale(1.08); }

.activity-card-body {
  background: var(--white);
  padding: 1.1rem 1.3rem;
}
.activity-card-body h4 { font-size: 1rem; font-weight: 800; margin-bottom: .3rem; }
.activity-card-body p  { font-size: .83rem; color: #777; }

.activity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  pointer-events: none;   /* ← lets clicks pass through to the card */
}
.activity-card:hover .activity-overlay { opacity: 1; }
.activity-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  padding: .4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.35);
}

/* ── Gallery Section ── */
#gallery { background: var(--white); }

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .55rem 1.4rem;
  border-radius: 50px;
  border: 2px solid #ddd;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: var(--transition);
  color: #555;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33,150,243,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  flex-direction: column;
  gap: .3rem;
  pointer-events: none; /* let clicks pass through to parent .gallery-item */
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: #fff; font-size: .82rem; font-weight: 700; text-align: center; padding: 0 .5rem; }
.gallery-item-overlay .zoom-icon { font-size: 2rem; }

/* Gallery filter hidden state */
.gallery-item.gallery-hidden {
  display: none !important;
}

/* ── Lightbox ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
}
.lightbox-inner img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: .8rem;
  font-size: .95rem;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}
.lightbox-nav:hover { background: var(--blue); }
.lightbox-prev { left: -3.5rem; }
.lightbox-next { right: -3.5rem; }

/* ── Why Choose ── */
#why .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transition: var(--transition);
  border-left: 5px solid transparent;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }

.why-card:nth-child(1) { border-left-color: var(--blue); }
.why-card:nth-child(2) { border-left-color: var(--green); }
.why-card:nth-child(3) { border-left-color: var(--orange); }
.why-card:nth-child(4) { border-left-color: var(--purple); }
.why-card:nth-child(5) { border-left-color: var(--pink); }
.why-card:nth-child(6) { border-left-color: var(--teal); }

.why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.why-card:nth-child(1) .why-icon { background: #E3F2FD; }
.why-card:nth-child(2) .why-icon { background: #E8F5E9; }
.why-card:nth-child(3) .why-icon { background: #FFF3E0; }
.why-card:nth-child(4) .why-icon { background: #F3E5F5; }
.why-card:nth-child(5) .why-icon { background: #FCE4EC; }
.why-card:nth-child(6) .why-icon { background: #E0F7FA; }

.why-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .4rem; }
.why-card p  { font-size: .88rem; color: #666; line-height: 1.6; }

/* ── Testimonials ── */
#testimonials { background: linear-gradient(135deg, #1565C0 0%, #9C27B0 100%); }
#testimonials .section-title,
#testimonials .section-subtitle { color: #fff; }
#testimonials .section-subtitle { opacity: .85; }

.testimonials-slider {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform .5s ease;
}
.testimonial-card {
  min-width: 100%;
  padding: 1rem;
}
@media (min-width: 768px) {
  .testimonial-card { min-width: 50%; }
}
@media (min-width: 1100px) {
  .testimonial-card { min-width: 33.33%; }
}

.testimonial-inner {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.testimonial-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: .8rem; letter-spacing: 2px; }
.testimonial-inner p { color: rgba(255,255,255,.9); font-size: .97rem; line-height: 1.7; margin-bottom: 1.4rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff;
}
.author-info strong { display: block; color: #fff; font-size: .95rem; font-weight: 800; }
.author-info small  { color: rgba(255,255,255,.7); font-size: .78rem; }

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.t-dot.active { background: var(--yellow); transform: scale(1.3); }

/* ── Admissions ── */
#admissions {
  background: linear-gradient(135deg, #FFFDE7 0%, #E3F2FD 100%);
}

.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.admissions-steps { }
.step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  width: 2px;
  height: calc(100% - 10px);
  background: linear-gradient(to bottom, var(--blue), var(--purple));
  opacity: .3;
}
.step-num {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(33,150,243,.4);
}
.step-body h4 { font-size: 1rem; font-weight: 800; margin-bottom: .3rem; }
.step-body p  { font-size: .88rem; color: #666; line-height: 1.6; }

.admissions-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.admissions-form-wrap h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.admissions-form-wrap h3 span { color: var(--orange); }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .4rem; color: #555; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .93rem;
  transition: var(--transition);
  background: var(--gray);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(33,150,243,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Contact Section ── */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info { }
.contact-info h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #E3F2FD;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: .88rem; font-weight: 800; color: #555; margin-bottom: .2rem; }
.contact-item a, .contact-item span { color: var(--text); font-size: .95rem; font-weight: 600; }
.contact-item a:hover { color: var(--blue); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}
.contact-map iframe { width: 100%; height: 320px; border: none; display: block; }

.contact-form-wrap {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-wrap h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; }

/* ── WhatsApp Float ── */
#whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.5);
  animation: pulse-green 2s infinite;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
#whatsapp-btn:hover { transform: scale(1.12); }
#whatsapp-btn svg { width: 32px; height: 32px; fill: #fff; }

@keyframes pulse-green {
  0%,100% { box-shadow: 0 6px 22px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 6px 35px rgba(37,211,102,.8); }
}

/* Footer logo — white version on dark background */
.footer-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  /* invert colours so white-bg PNG looks good on dark footer */
  filter: brightness(0) invert(1);
  opacity: .9;
  margin-bottom: 1.2rem;
}

/* ── Footer ── */
#footer {
  background: linear-gradient(135deg, #0D1B2A 0%, #1565C0 100%);
  color: rgba(255,255,255,.85);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-about .nav-logo { margin-bottom: 1rem; }
.footer-about .nav-logo-text h1 { color: #fff; }
.footer-about .nav-logo-text span { color: rgba(255,255,255,.6); }
.footer-about p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }

.footer-social { display: flex; gap: .7rem; flex-wrap: wrap; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
}
.social-icon:hover { background: var(--blue); transform: translateY(-3px); }

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .7rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px; height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-col ul li a:hover { color: var(--yellow); padding-left: 5px; }

.footer-contact-item {
  display: flex;
  gap: .7rem;
  margin-bottom: .8rem;
  align-items: flex-start;
  font-size: .85rem;
}
.footer-contact-item span:first-child { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: var(--yellow); }

/* ── Scroll to top ── */
#scroll-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 800;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(33,150,243,.4);
  transition: var(--transition);
}
#scroll-top.visible { display: flex; }
#scroll-top:hover { transform: translateY(-3px); background: var(--blue-d); }

/* ── Animations ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

/* Reveal animations — only activate after JS loads (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(35px);
}
body.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Success Toast ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--green);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  z-index: 9999;
  transition: transform .4s ease;
  box-shadow: 0 6px 22px rgba(76,175,80,.4);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { gap: 2.5rem; }
  .lightbox-prev { left: -2.5rem; }
  .lightbox-next { right: -2.5rem; }
}

@media (max-width: 1024px) {
  .hero-side-stats { display: none; }
  .hero-glass-card { max-width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 90px 1.2rem 80px; }
  .hero-glass-card { padding: 1.8rem 1.5rem; border-radius: 20px; }
  .hero-highlights { gap: .5rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-float { width: 90px; }
  .about-img-badge { right: -10px; bottom: -10px; }
  .about-content { padding-left: 0; }
  .about-values { grid-template-columns: 1fr; }

  .admissions-grid { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .lightbox-prev { left: -.5rem; }
  .lightbox-next { right: -.5rem; }

  .methodology-phonics { flex-direction: column; text-align: center; }

  .hero-dots { display: none; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── WhatsApp Confirmation Modal ── */
#wa-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0,0,0,.6);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#wa-modal.open { display: flex; }
.wa-modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: waSlideIn .25s ease;
}
@keyframes waSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.wa-modal-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
.wa-modal-icon { font-size: 1.8rem; line-height: 1; }
.wa-modal-header h3 { flex: 1; font-size: 1.15rem; font-weight: 800; color: #1a1a2e; margin: 0; }
.wa-modal-close {
  background: none; border: none; font-size: 1.3rem;
  cursor: pointer; color: #999; line-height: 1; padding: .2rem .4rem;
}
.wa-modal-close:hover { color: #333; }
.wa-modal-label { font-size: .8rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.wa-modal-preview {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 10px;
  padding: 1rem;
  font-size: .82rem;
  line-height: 1.7;
  color: #1a1a2e;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 1.2rem;
  font-family: inherit;
}
.wa-modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  font-weight: 800;
  font-size: .95rem;
  padding: .85rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-bottom: .7rem;
  font-family: inherit;
}
.wa-modal-btn:hover { transform: translateY(-2px); }
.wa-btn-whatsapp { background: #25d366; color: #fff; }
.wa-btn-whatsapp:hover { background: #1ebe5d; }
.wa-btn-copy { background: #f0f4ff; color: #1a1a2e; border: 2px solid #c7d4ff; }
.wa-btn-copy:hover { background: #e0e9ff; }
.wa-btn-call { background: #fff3e0; color: #e65100; border: 2px solid #ffcc80; }
.wa-btn-call:hover { background: #ffe0b2; }
.wa-modal-note { text-align: center; font-size: .75rem; color: #aaa; margin: .4rem 0 0; line-height: 1.5; }
