/* ============================================
   EduHub — Stylesheet
   Theme: "Alphabet Balloons" — playful preschool
   ============================================ */

:root {
  --cream:   #FFF8ED;
  --ink:     #2A2550;
  --sky:     #3EC6E0;
  --sky-dk:  #22A6C4;
  --sunshine:#FFC53D;
  --coral:   #FF6B6B;
  --leaf:    #5FBF6E;
  --grape:   #9B7EDE;
  --white:   #FFFFFF;

  --font-display: 'Baloo 2', 'Segoe UI Rounded', sans-serif;
  --font-body: 'Quicksand', 'Segoe UI', sans-serif;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 12px 30px rgba(42, 37, 80, 0.12);
  --shadow-pop: 0 8px 0 rgba(0,0,0,0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(255,107,107,0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  text-align: center;
}

.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: #574f7d;
  font-size: 1.05rem;
}

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(3px); }

.btn-primary {
  background: linear-gradient(135deg, #FF7A7A, var(--coral));
  color: var(--white);
  box-shadow: 0 6px 0 #d84f4f;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #d84f4f; }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 #d84f4f; }

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 0 #ddd4c2;
}
.btn-secondary:hover { transform: translateY(-2px); }

.btn-sunshine {
  background: var(--sunshine);
  color: var(--ink);
  box-shadow: 0 6px 0 #e0a520;
}
.btn-sunshine:hover { transform: translateY(-2px); }

/* ============================================
   NAV
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 248, 237, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid rgba(42,37,80,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.nav-brand img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255,255,255,0.8);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(62,198,224,0.15); color: var(--sky-dk); }
.nav-links .btn { margin-left: 6px; padding: 10px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle::before { top: 14px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 28px; }
.nav-toggle.open::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open::after { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.open span { opacity: 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  min-height: 640px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,26,60,0.55) 0%, rgba(30,26,60,0.4) 45%, rgba(20,17,45,0.8) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 150px 24px 110px;
  color: var(--white);
}
.hero-content .eyebrow {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero-content h1 .highlight { color: var(--sunshine); }
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin: 0 auto 10px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}
.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.hero-dot.active { background: var(--white); width: 30px; border-radius: 6px; }

.wave-divider { display: block; width: 100%; line-height: 0; margin-top: -2px; position: relative; z-index: 2; }
.wave-divider svg { width: 100%; height: 70px; display: block; }

/* ============================================
   ABOUT / WHO WE ARE
   ============================================ */
.section-about { background: var(--cream); padding: 90px 0 70px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.feature-card:hover { transform: translateY(-8px); }
.feature-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-photo img { transform: scale(1.1); }
.feature-card h3 { font-size: 1.4rem; padding: 0 22px; margin-top: 24px; }
.feature-card p { color: #665f8c; font-size: 1.1rem; margin: 0; line-height: 1.55; padding: 0 22px 28px; }

/* ============================================
   AGE GROUPS / ALPHABETZ PRESCHOOL
   ============================================ */
.section-ages {
  background: var(--sky);
  padding: 90px 0 100px;
  color: var(--white);
  position: relative;
}
.section-ages .section-title, .section-ages .eyebrow { color: var(--white); }
.section-ages .eyebrow { background: rgba(255,255,255,0.18); }
.section-ages .section-lead { color: rgba(255,255,255,0.9); }

.alphabetz-logo-frame {
  width: 220px;
  height: 220px;
  margin: 18px auto 8px;
  background: var(--white);
  border-radius: 32px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  border: 4px solid rgba(255,255,255,0.5);
}
.alphabetz-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.franchise-photos {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 48px auto 0;
  max-width: 900px;
  flex-wrap: wrap;
  padding: 0 20px;
}
.franchise-photo {
  width: 260px;
  height: 260px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
  border: 5px solid rgba(255,255,255,0.7);
  background: var(--white);
  padding: 8px;
  transition: transform 0.3s ease;
}
.franchise-photo:hover { transform: translateY(-30px); }
.franchise-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  cursor: zoom-in;
}

.admission-banner {
  background: linear-gradient(120deg, #FFFFFF 0%, #FFF6E0 100%);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  max-width: 900px;
  margin: 0 auto 3rem;
  box-shadow: 0 24px 50px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.6);
}
.admission-banner-badge {
  flex-shrink: 0;
  width: 110px;
  height: 68px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
}
.admission-banner-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.admission-banner-text { flex: 1; min-width: 0; }
.admission-banner-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(255,107,107,0.12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.admission-banner-text h3 {
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.admission-banner-text p {
  font-size: 0.95rem;
  color: #574f7d;
  font-weight: 500;
  margin: 0;
}
.admission-banner-btn { flex-shrink: 0; }

.age-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.age-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-pop);
  transition: transform 0.2s ease;
}
.age-card:hover { transform: translateY(-8px); }
.age-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  position: relative;
}
.age-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.age-card:hover .age-photo img { transform: scale(1.1); }
.age-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.age-card span { font-family: var(--font-display); font-weight: 700; color: var(--coral); }

.ages-cta { text-align: center; margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   COURSES / PROGRAMS
   ============================================ */
.section-courses { background: var(--cream); padding: 90px 0 80px; }
.courses-banner { max-width: 700px; margin: 0 auto 3rem; }
.courses-banner svg { width: 100%; height: auto; display: block; }
.cb-item { animation: cb-bounce 2.4s ease-in-out infinite; transform-origin: center; }
.cb-delay1 { animation-delay: 0.2s; }
.cb-delay2 { animation-delay: 0.4s; }
.cb-delay3 { animation-delay: 0.6s; }
@keyframes cb-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.course-scroll-wrap { position: relative; }
.course-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 6px 6px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--coral) transparent;
}
.course-grid::-webkit-scrollbar { height: 8px; }
.course-grid::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.course-grid::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 10px; }
.course-card { flex: 0 0 auto; width: 250px; scroll-snap-align: start; }
.course-scroll-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 8px 20px rgba(42,37,80,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: var(--ink);
  transition: background 0.2s ease, transform 0.2s ease;
}
.course-scroll-btn:hover { background: var(--coral); color: var(--white); transform: translateY(-50%) scale(1.08); }
.course-scroll-btn svg { width: 20px; height: 20px; }
.course-scroll-prev { left: -22px; }
.course-scroll-next { right: -22px; }
.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 3px solid transparent;
  opacity: 0;
  transform: translateY(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.course-card.in-view {
  animation: pop-in 0.55s ease forwards;
}
@keyframes pop-in {
  to { opacity: 1; transform: translateY(0); }
}
.course-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--sunshine);
}
.course-photo { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.course-photo svg { width: 100%; height: 100%; display: block; transition: transform 0.4s ease; }
.course-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.course-card:hover .course-photo svg,
.course-card:hover .course-photo img { transform: scale(1.08); }
.course-photo.zoomable-course { cursor: zoom-in; position: relative; }
.course-photo.zoomable-course::after {
  content: "🔍";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.course-card:hover .course-photo.zoomable-course::after { opacity: 1; transform: scale(1); }
.course-card h3 { font-size: 1.08rem; margin: 18px 0 6px; }
.course-card p { padding: 0 18px; }
.course-card .course-explore { margin-bottom: 22px; }
.course-card p { font-size: 0.9rem; color: #6a6390; margin: 0 0 16px; flex: 1; }
.course-explore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--coral);
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255,107,107,0.3);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.course-explore:hover {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

/* ============================================
   GALLERY
   ============================================ */
.section-gallery { background: var(--ink); padding: 100px 0 100px; }
.section-gallery .eyebrow { color: var(--sunshine); background: rgba(255,197,61,0.15); }
.section-gallery .section-title { color: var(--white); }
.section-gallery .section-lead { color: rgba(255,255,255,0.72); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  grid-column: span 2;
  grid-row: span 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.gallery-item-big { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, rgba(42,37,80,0) 35%, rgba(20,17,45,0.94) 100%);
  pointer-events: none;
}
.gallery-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
  transform: translateY(6px);
  opacity: 0.9;
}
.gallery-overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin: 0 0 4px;
}
.gallery-overlay p {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay p { max-height: 60px; opacity: 1; }

/* ============================================
   GALLERY — MASONRY (Alphabetz Our Events)
   ============================================ */
.gallery-masonry {
  column-count: 3;
  column-gap: 18px;
}
.gallery-photo {
  break-inside: avoid;
  margin: 0 0 18px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-photo.ar-tall { aspect-ratio: 3 / 4; }
.gallery-photo.ar-square { aspect-ratio: 1 / 1; }
.gallery-photo.ar-wide { aspect-ratio: 4 / 3; }
.gallery-photo:hover img { transform: scale(1.08); }
.gallery-photo figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, rgba(42,37,80,0) 40%, rgba(20,17,45,0.92) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-photo:hover figcaption { opacity: 1; }
.gallery-photo figcaption h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.gallery-photo figcaption p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}
.gallery-photo:hover figcaption p { max-height: 60px; opacity: 1; }

/* ============================================
   FAQ
   ============================================ */
.section-faq { background: var(--cream); padding: 90px 0 90px; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,107,107,0.12);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--coral); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
}
.faq-item.open .faq-answer { max-height: 220px; padding: 0 26px 22px; }
.faq-answer p { margin: 0; color: #665f8c; font-size: 0.98rem; line-height: 1.6; }

/* ============================================
   CONTACT
   ============================================ */
.section-contact {
  background: var(--ink);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.section-contact .eyebrow { color: var(--sunshine); background: rgba(255,197,61,0.15); }
.section-contact .section-title { color: var(--white); }
.section-contact .section-lead { color: rgba(255,255,255,0.75); }

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 34px 28px;
}
.contact-info h3 { color: var(--sunshine); font-size: 1.3rem; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info-item .icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-info-item p { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-info-item a { color: var(--white); font-weight: 700; }

.contact-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid #e7e1d3;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sky);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: #8a83a8; margin-top: -6px; }
.form-status {
  margin-top: 14px;
  font-weight: 700;
  font-family: var(--font-display);
  display: none;
}
.form-status.success { display: block; color: var(--leaf); }
.form-status.error { display: block; color: var(--coral); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #201C3D;
  color: rgba(255,255,255,0.85);
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 84px; height: 84px; border-radius: 20px; border: 2px solid rgba(255,255,255,0.15); }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.footer h4 { color: var(--white); font-family: var(--font-display); font-size: 1rem; margin-bottom: 14px; }
.footer p { font-size: 0.92rem; margin-bottom: 8px; }
.footer a:hover { color: var(--sunshine); }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  z-index: 900;
  animation: pulse-wa 2.4s ease-in-out infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.85), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ============================================
   ADMISSION POPUP MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,37,80,0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), opacity 0.35s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.modal-overlay.show .modal-box { transform: scale(1) translateY(0); opacity: 1; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  font-size: 1.2rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-logo { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 10px; display: block; }
.modal-box .eyebrow { background: rgba(255,107,107,0.12); }
.modal-box h3 { font-size: 1.4rem; margin-bottom: 10px; }
.modal-box p { color: #665f8c; font-size: 0.98rem; }
.modal-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

/* ============================================
   PHOTO ZOOM LIGHTBOX
   ============================================ */
img.zoomable { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,17,45,0.94);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 60px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.show { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
  cursor: zoom-out;
}
.lightbox-overlay.show .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: fixed;
  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.4);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1101;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); transform: scale(1.06); }

/* ============================================
   COURSE ZOOM + WHATSAPP LIGHTBOX
   ============================================ */
.course-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,17,45,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.course-lightbox-overlay.show { opacity: 1; pointer-events: auto; }
.course-lightbox-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 380px;
  width: 100%;
  padding: 36px 30px 30px;
  text-align: center;
  position: relative;
  transform: scale(0.85) translateY(16px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), opacity 0.35s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.course-lightbox-overlay.show .course-lightbox-box { transform: scale(1) translateY(0); opacity: 1; }
.course-lightbox-close { position: absolute; top: 14px; right: 14px; background: var(--cream); border: none; color: var(--ink); }
.course-lightbox-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(42,37,80,0.25);
}
.course-lightbox-icon svg,
.course-lightbox-icon img { width: 100%; height: 100%; display: block; object-fit: cover; }
.course-lightbox-box h3 { font-size: 1.3rem; margin-bottom: 8px; }
.course-lightbox-box p { color: #665f8c; font-size: 0.95rem; margin-bottom: 20px; }
.course-lightbox-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-lightbox-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37,211,102,0.4); }

/* ============================================
   SIMPLE PAGES (privacy / terms)
   ============================================ */
.page-hero {
  background: var(--sky);
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  color: var(--coral);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #47406b; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-content li { margin-bottom: 8px; }

/* ============================================
   ALPHABETZ PAGE — FULL-SCREEN VIDEO HERO
   ============================================ */
.alphabetz-video-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
.alphabetz-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.alphabetz-video-hero-content { position: relative; z-index: 2; padding: 60px 24px; }
.alphabetz-video-hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: 1px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.4);
}
.video-mute-toggle {
  position: absolute;
  right: 26px;
  bottom: 30px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  background: rgba(20,17,45,0.4);
  backdrop-filter: blur(4px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.video-mute-toggle svg { width: 20px; height: 20px; }
.video-mute-toggle:hover { background: rgba(20,17,45,0.65); transform: scale(1.06); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  opacity: 0.8;
  animation: scroll-cue-bounce 1.8s ease-in-out infinite;
}
.scroll-cue svg { width: 26px; height: 26px; }
@keyframes scroll-cue-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   VIDEO WRAPPER (reused in Campus Video section)
   ============================================ */
.section-video { padding: 90px 0 100px; background: linear-gradient(180deg, #FFF3DC 0%, var(--cream) 100%); }
.video-wrapper {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
  background: #000;
}
.video-wrapper video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }

/* ============================================
   ALPHABETZ PAGE — ICON CARDS (What Student Gets)
   ============================================ */
.icon-card { padding: 34px 24px 30px; }
.icon-card-badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.6);
}
.icon-card-badge svg { width: 48px; height: 48px; }
.icon-card h3 { padding: 0; margin-bottom: 8px; }
.icon-card p { padding: 0; }

.legal-updated { color: #8a83a8; font-size: 0.9rem; margin-bottom: 2em; }

/* ============================================
   SCROLL REVEAL (generic)
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .hero-slider { min-height: 560px; }
  .hero-content { padding: 120px 24px 90px; }
  .feature-grid { grid-template-columns: 1fr; }
  .franchise-photos { gap: 22px; max-width: 640px; }
  .franchise-photo { width: 190px; height: 190px; }
  .age-grid { grid-template-columns: repeat(2, 1fr); }
  .course-card { width: 220px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item, .gallery-item-big { grid-column: span 1; grid-row: span 1; }
  .gallery-masonry { column-count: 2; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 26px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    gap: 4px;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { text-align: center; padding: 12px; }
  .nav-links .btn { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .contact-info-item { text-align: left; }
  .footer-bottom { justify-content: center; text-align: center; }
  .admission-banner { flex-direction: column; text-align: center; padding: 28px 22px; }
  .admission-banner-text { text-align: center; }
}

@media (max-width: 520px) {
  .nav-brand img { width: 56px; height: 56px; border-radius: 14px; }
  .hero-slider { min-height: 560px; }
  .hero-content { padding: 100px 20px 100px; }
  .hero-content { padding: 100px 20px 76px; }
  .hero-content p { font-size: 1rem; }
  .hero-dots { bottom: 24px; }
  .franchise-photos { gap: 16px; padding: 0 16px; }
  .franchise-photo { width: 150px; height: 150px; border-radius: 18px; }
  .age-grid { grid-template-columns: 1fr 1fr; }
  .course-grid { scroll-snap-type: x mandatory; padding: 6px 20px 24px; }
  .course-card { width: 82vw; max-width: 300px; scroll-snap-align: center; }
  .course-scroll-btn { display: none; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .section-about, .section-ages, .section-courses, .section-gallery, .section-faq, .section-contact { padding: 60px 0 50px; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .contact-form { padding: 26px 20px; }
  .alphabetz-logo-frame { width: 160px; height: 160px; }
  .faq-question { padding: 16px 18px; font-size: 0.95rem; }
  .faq-answer { padding: 0 18px; }
  .faq-item.open .faq-answer { padding: 0 18px 18px; }
  .alphabetz-video-hero { min-height: 78vh; }
  .video-mute-toggle { right: 16px; bottom: 20px; width: 42px; height: 42px; }
  .scroll-cue { display: none; }
  .video-wrapper { border-width: 4px; border-radius: var(--radius-md); }
  .gallery-masonry { column-count: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
/* =========================
   CAMPUS REELS SECTION
========================= */

.video-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.reel-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.reel-card:hover {
  transform: translateY(-8px);
}

.reel-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  background: #000;
}

/* Tablet */
@media (max-width: 992px) {
  .reels-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: auto;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .reel-card {
    border-radius: 10px;
  }
}
.photo-badge {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

.photo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-card:hover .photo-badge img {
  transform: scale(1.08);
}
/* =========================
   ALPHABETZ VIDEO HERO
========================= */

.alphabetz-video-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

/* Welcome text */
.alphabetz-video-hero-content .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #ffffff;
}

/* Main heading */
.alphabetz-video-hero-content h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -2px;
  color: #ffffff;
  text-shadow: 0 4px 25px rgba(0,0,0,0.35);
}

/* Second line */
.alphabetz-video-hero-content h1 span {
  display: block;
  margin-top: 10px;
  font-size: clamp(25px, 3.2vw, 43px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Description */
.alphabetz-video-hero-content p {
  max-width: 680px;
  margin: 25px auto 30px;
  font-size: 18px;
  line-height: 1.7;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* Buttons */
.alphabetz-video-hero-content .hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.alphabetz-video-hero-content .btn {
  padding: 14px 25px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.alphabetz-video-hero-content .btn-primary:hover,
.alphabetz-video-hero-content .btn-secondary:hover {
  transform: translateY(-3px);
}

/* Mobile */
@media (max-width: 600px) {

  .alphabetz-video-hero-content {
    padding: 30px 18px;
  }

  .alphabetz-video-hero-content h1 {
    font-size: 43px;
    letter-spacing: -1px;
  }

  .alphabetz-video-hero-content h1 span {
    font-size: 25px;
    margin-top: 8px;
  }

  .alphabetz-video-hero-content p {
    font-size: 15px;
    line-height: 1.6;
    margin: 20px auto 25px;
  }

  .alphabetz-video-hero-content .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .alphabetz-video-hero-content .btn {
    width: 100%;
    max-width: 280px;
  }
}