/* ============================================
   Just Kids Preschool — Stylesheet
   ============================================ */

:root {
  --cream: #FDF6EA;
  --cream-soft: #FBF1E4;
  --navy: #1B2A57;
  --navy-deep: #0B1B3D;
  --pink: #F2456B;
  --pink-soft: #FCE4EA;
  --orange: #F5A623;
  --orange-soft: #FDF0DA;
  --green: #3FA96A;
  --green-soft: #E7F5EC;
  --blue: #4A90D9;
  --blue-soft: #E7F1FB;
  --purple: #9B7FD4;
  --purple-soft: #F0EBFB;
  --text: #4A5164;
  --text-light: #7A8194;
  --white: #FFFFFF;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(27, 42, 87, 0.08);
  --shadow-sm: 0 4px 14px rgba(27, 42, 87, 0.06);
  --max-width: 1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Baloo 2', cursive;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

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

.section-tag {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(242, 69, 107, 0.35);
}
.btn-primary:hover { background: #d92e56; }

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 2px solid #EDE6D8;
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ============== TOP BAR ============== */
.top-bar {
  background: var(--cream-soft);
  font-size: 0.75rem;
  border-bottom: 1px solid #F0E7D6;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-left a, .top-bar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
}
.top-bar .container { justify-content: center !important; }
/* Language switcher removed per client request (see .top-bar-lang, now unused) */
.top-bar-lang { display: none !important; }

/* ============== HEADER / NAV ============== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 96px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 700;
  color: var(--navy);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a.active { color: var(--pink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--pink);
  border-radius: 3px;
}
.nav-links a:hover { color: var(--pink); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 130%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  min-width: 220px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  display: block;
}
.dropdown a:hover { background: var(--pink-soft); color: var(--pink); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.hamburger span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; }

/* ============== HERO ============== */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 18px;
}
.hero-content h1 .pink { color: var(--pink); }
.hero-content h1 .green { color: var(--green); }
.hero-tagline {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.hero-content p {
  color: var(--text-light);
  max-width: 460px;
  margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-image-wrap img { border-radius: var(--radius-lg); width: 100%; }

.decor { position: absolute; opacity: 0.7; }

/* ============== FEATURES STRIP ============== */
.features {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: var(--max-width);
  margin: 0 auto 70px;
  padding: 50px 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.features-scroll-hint {
  display: none;
}
.feature-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
}
.feature-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.88rem; color: var(--text-light); }

.icon-pink { background: var(--pink-soft); color: var(--pink); }
.icon-orange { background: var(--orange-soft); color: var(--orange); }
.icon-green { background: var(--green-soft); color: var(--green); }
.icon-blue { background: var(--blue-soft); color: var(--blue); }
.icon-purple { background: var(--purple-soft); color: var(--purple); }

/* ============== SECTION HEADER ============== */
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 2.3rem; margin-bottom: 10px; }
.section-head .divider {
  width: 60px; height: 4px;
  background: var(--pink);
  border-radius: 4px;
  margin: 0 auto;
}
.section-head p.sub {
  color: var(--text-light);
  max-width: 560px;
  margin: 14px auto 0;
}

/* ============== PROGRAMS ============== */
.programs { padding: 30px 0 80px; }
.programs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.programs-grid .program-card { flex: 0 1 calc((100% - 80px) / 5); }
@media (max-width: 1200px) {
  .programs-grid { gap: 26px; }
  .programs-grid .program-card { flex-basis: calc((100% - 52px) / 3); }
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-card img { height: 190px; width: 100%; object-fit: cover; }
.program-body { padding: 22px; position: relative; }
.program-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  position: absolute;
  top: -23px; left: 22px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.program-body h3 { font-size: 1.15rem; margin: 14px 0 4px; }
.program-age { font-size: 0.82rem; color: var(--text-light); font-weight: 700; margin-bottom: 12px; }
.program-body p.desc { font-size: 0.9rem; margin-bottom: 14px; }
.learn-more { font-weight: 800; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }

.bg-pink { background: var(--pink); }
.bg-orange { background: var(--orange); }
.bg-green { background: var(--green); }
.bg-blue { background: var(--blue); }
.bg-purple { background: var(--purple); }
.text-pink { color: var(--pink); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-purple { color: var(--purple); }

/* ============== CTA BANNER ============== */
.cta-banner {
  background: linear-gradient(120deg, var(--pink), #ff6b8a);
  border-radius: var(--radius-lg);
  max-width: var(--max-width);
  margin: 0 auto 90px;
  padding: 42px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.9); }
.cta-left { display: flex; align-items: center; gap: 18px; }
.cta-apple {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.cta-banner .btn-primary { background: var(--white); color: var(--pink); box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--orange-soft); }

/* ============== ABOUT SECTION ============== */
.about-section { padding: 30px 0 90px; }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}
.about-text h2 { font-size: 2rem; margin-bottom: 16px; }
.about-text p { margin-bottom: 14px; color: var(--text-light); font-size: 0.95rem; }
.about-img { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.about-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.why-box {
  background: var(--orange-soft);
  border-radius: var(--radius-md);
  padding: 30px;
}
.why-box h3 { font-size: 1.3rem; margin-bottom: 18px; }
.why-box li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 0.92rem; font-weight: 600; color: var(--navy);
}
.why-box li::before {
  content: '♥';
  color: var(--pink);
  font-size: 0.9rem;
  margin-top: 2px;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--navy-deep);
  color: #C8CEE0;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo img { height: 120px; width: auto; margin-bottom: 14px; background: #fff; padding: 8px 12px; border-radius: 16px; }
.footer-about p { font-size: 0.88rem; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--pink); border-color: var(--pink); }

.footer-col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--pink); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }

.footer-bottom {
  text-align: center;
  padding: 10px 0;
  font-size: 0.82rem;
  background: var(--pink);
  color: var(--white);
}
.footer-bottom .container {
  display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a:hover { text-decoration: underline; }

/* ============== PAGE HERO (inner pages) ============== */
.page-hero {
  background: var(--cream-soft);
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.6rem; margin-bottom: 10px; }
.page-hero .breadcrumb { font-weight: 700; color: var(--text-light); }
.page-hero .breadcrumb a { color: var(--pink); }

/* ============== GENERIC CARD GRID (Programs / Gallery pages) ============== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

/* ============== FORM ============== */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  border: 2px solid #EDE6D8;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream-soft);
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--pink); background: var(--white);
}
.form-note { font-size: 0.82rem; color: var(--text-light); margin-top: 10px; }
.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 0.92rem;
}
.form-alert.success { background: var(--green-soft); color: var(--green); }
.form-alert.error { background: var(--pink-soft); color: var(--pink); }

/* ============== GALLERY ============== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-grid img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item:hover img { transform: scale(1.06); }

/* ============== CONTACT INFO CARDS ============== */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 60px; }
.contact-card { background: var(--white); border-radius: var(--radius-md); padding: 30px; text-align: center; box-shadow: var(--shadow-sm); }
.contact-card .feature-icon { margin: 0 auto 16px; }
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { font-size: 0.9rem; color: var(--text-light); }

/* ============== MAP ============== */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ============== UTILS ============== */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .programs-grid .program-card { flex-basis: calc((100% - 26px) / 2); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img img { min-height: 260px; }
  .grid-3, .contact-cards, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-content { order: 1; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-image-wrap { order: 2; }
  .logo img { height: 88px; }
  .nav-cta { gap: 12px; }
  .nav-cta .btn-primary { padding: 12px 20px; font-size: 0.88rem; }
}

@media (max-width: 640px) {
  .programs-grid .program-card { flex-basis: 100%; }
  .hero-content h1 { font-size: 2.2rem; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-left { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > .footer-logo { grid-column: 1 / -1; }
  .footer-grid > .footer-contact,
.footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-col li { word-break: break-word; }
  .form-row { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .contact-cards, .gallery-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 1.8rem; }
  .cta-banner { padding: 30px; }
  .logo img { height: 82px !important; }
  .nav-wrap { padding: 12px 16px; gap: 12px; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn-primary { padding: 10px 14px; font-size: 0.78rem; }
}

@media (max-width: 380px) {
  .logo img { height: 64px; }
  .nav-cta .btn-primary { padding: 9px 12px; font-size: 0.72rem; }
}

/* ---- Features strip: horizontal scroll on smaller screens ---- */
@media (max-width: 1024px) {
  .features { padding: 34px 0 34px 24px; overflow: hidden; }
  .features-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    padding-bottom: 10px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .feature-item {
    flex: 0 0 auto;
    width: 62%;
    max-width: 220px;
    scroll-snap-align: start;
  }
  .features-scroll-hint {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 700;
  }
}
@media (max-width: 640px) {
  .feature-item { width: 68%; max-width: 200px; }
  .top-bar {
  font-size: 0.60rem !important;
}
}

/* ============== MOBILE NAV DRAWER ============== */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: -6px 0 20px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 30px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close { text-align: right; font-size: 1.6rem; margin-bottom: 20px; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--cream-soft);
}



.mobile-nav a.active { color: var(--pink); }
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 900;
  display: none;
}
.overlay.open { display: block; }

/* ============================================
   NEW PREMIUM SECTIONS — added for home page preview
   ============================================ */

/* ---- Curriculum / Learning Approach ---- */
.curriculum-section { padding: 20px 0 90px; }
.curriculum-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.curriculum-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 280px;
  transition: transform 0.3s ease;
}
.curriculum-card:hover { transform: translateY(-6px); }
.curriculum-card img { width: 100%; height: 100%; object-fit: cover; }
.curriculum-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,27,61,0.82) 10%, rgba(11,27,61,0.05) 60%);
}
.curriculum-label {
  position: absolute; left: 20px; bottom: 18px; right: 20px;
  color: var(--white); font-family: 'Baloo 2', cursive;
  font-size: 1.15rem; font-weight: 700; z-index: 2;
}

/* ---- Virtual Tour / Peek Inside ---- */
.tour-section { padding: 20px 0 90px; }
.tour-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: var(--max-width);
  margin: 0 auto;
}
.tour-banner img { width: 100%; display: block; height: 460px; object-fit: cover; }
.tour-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(27,42,87,0.6), rgba(27,42,87,0.15));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--white); gap: 18px; padding: 20px;
}
.play-btn {
  width: 82px; height: 82px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--pink);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
}
.tour-overlay:hover .play-btn { transform: scale(1.08); }
.tour-overlay h3 { color: var(--white); font-size: 1.8rem; }
.tour-overlay p { color: rgba(255,255,255,0.9); max-width: 460px; }

/* ---- Stats / Numbers ---- */
.stats-section {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  max-width: var(--max-width);
  margin: 0 auto 90px;
  padding: 55px 40px;
}
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.6rem;
  color: var(--white);
  font-family: 'Baloo 2', cursive;
  margin-bottom: 6px;
}
.stat-item h3 span { color: var(--pink); }
.stat-item p { color: #A9B1CC; font-weight: 700; font-size: 0.92rem; }

/* ---- Testimonials ---- */
.testimonials-section { padding: 20px 0 90px; }
.testimonials-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-quote-mark {
  font-family: 'Baloo 2', cursive;
  font-size: 3.4rem;
  color: var(--pink-soft);
  line-height: 1;
  position: absolute;
  top: 12px; right: 24px;
}
.testimonial-card p.quote {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
}
.testimonial-person h5 { font-size: 0.92rem; color: var(--navy); }
.testimonial-person span { font-size: 0.8rem; color: var(--text-light); }
.stars { color: var(--orange); font-size: 0.85rem; margin-bottom: 10px; }

/* ---- App / Daily Updates ---- */
.app-section { padding: 20px 0 90px; }
.app-grid {
  display: grid !important;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: center;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  padding: 50px;
}
.app-grid h2 { font-size: 2rem; margin-bottom: 14px; }
.app-grid p { color: var(--text-light); margin-bottom: 22px; max-width: 480px; }
.app-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.app-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-deep); color: var(--white);
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 0.85rem;
}
.app-img img { border-radius: var(--radius-md); box-shadow: var(--shadow); }

/* ---- Blog / Parenting Tips ---- */
.blog-section { padding: 20px 0 90px; }
.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card img { height: 180px; width: 100%; object-fit: cover; }
.blog-body { padding: 22px; }
.blog-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 800;
  color: var(--pink); background: var(--pink-soft);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.blog-body h4 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-meta { font-size: 0.8rem; color: var(--text-light); }

/* ---- Newsletter ---- */
.newsletter-section {
  background: linear-gradient(120deg, var(--purple), #7a5fc4);
  border-radius: var(--radius-lg);
  max-width: var(--max-width);
  margin: 0 auto 90px;
  padding: 50px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.newsletter-section h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 6px; }
.newsletter-section p { color: rgba(255,255,255,0.88); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 20px; border-radius: 50px; border: none;
  min-width: 260px; font-family: inherit; font-size: 0.9rem;
}
.newsletter-form button {
  background: var(--white); color: var(--purple);
  padding: 14px 26px; border-radius: 50px; font-weight: 800;
}

/* ---- Responsive additions ---- */
@media (max-width: 1024px) {
  .curriculum-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 30px 20px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .blog-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .app-grid { grid-template-columns: 1fr !important; text-align: center; }
  .app-grid p { margin-left: auto; margin-right: auto; }
  .app-badges { justify-content: center; }
  .app-img { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .curriculum-grid { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .curriculum-card { height: 170px; }
  .curriculum-label { font-size: 0.95rem; left: 14px; bottom: 12px; right: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-item h3 { font-size: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr !important; }
  .blog-grid { grid-template-columns: 1fr !important; }
  .tour-banner img { height: 260px; }
  .tour-overlay h3 { font-size: 1.3rem; }
  .tour-overlay p { font-size: 0.88rem; }
  .play-btn { width: 64px; height: 64px; font-size: 1.2rem; }
  .app-grid { padding: 30px 24px; }
  .app-grid h2 { font-size: 1.6rem; }
  .newsletter-section { padding: 30px 24px; flex-direction: column; text-align: center; }
  .newsletter-form { justify-content: center; width: 100%; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .stats-section { padding: 40px 24px; }
}

@media (max-width: 420px) {
  .curriculum-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: 1fr !important; }
}

/* ============== INNER PAGES (programs / about) ============== */
.c-pink   { --accent: var(--pink);   --accent-soft: var(--pink-soft); }
.c-orange { --accent: var(--orange); --accent-soft: var(--orange-soft); }
.c-green  { --accent: var(--green);  --accent-soft: var(--green-soft); }
.c-blue   { --accent: var(--blue);   --accent-soft: var(--blue-soft); }
.c-purple { --accent: var(--purple); --accent-soft: var(--purple-soft); }

/* Page hero */
.page-hero {
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero .breadcrumb { font-size: 0.85rem; font-weight: 700; color: var(--text-light); margin-bottom: 12px; }
.page-hero .breadcrumb a { color: var(--pink); }
.page-hero h1 { font-size: 3rem; margin-bottom: 10px; }
.page-hero .divider { width: 70px; height: 5px; border-radius: 5px; background: var(--pink); margin: 0 auto 24px; }
.page-hero p { max-width: 780px; margin: 0 auto 14px; color: var(--text-light); }
.page-hero p.lead { font-size: 1.15rem; color: var(--navy); font-weight: 700; }

.jump-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.chip {
  padding: 10px 24px; border-radius: 50px; font-weight: 800; font-size: 0.92rem;
  background: var(--white); box-shadow: var(--shadow-sm); transition: transform 0.2s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip-pink { color: var(--pink); }
.chip-green { color: var(--green); }
.chip-blue { color: var(--blue); }
.chip-orange { color: var(--orange); }

/* Program blocks */
.prog-block { padding: 70px 0; scroll-margin-top: 80px; }
.prog-block:nth-of-type(even) { background: var(--white); }
.prog-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start;
}
.prog-block.reverse .prog-grid { grid-template-columns: 7fr 5fr; }
.prog-block.reverse .prog-img { order: 2; }
.prog-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 100px; }
.prog-img img { width: 100%; height: 360px; object-fit: cover; }
.prog-label {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 0.85rem; padding: 6px 16px; border-radius: 50px; margin-bottom: 12px;
}
.prog-text h2 { font-size: 2.2rem; margin-bottom: 8px; }
.prog-tagline { font-family: 'Baloo 2', cursive; font-size: 1.2rem; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.prog-text > p { margin-bottom: 14px; font-size: 0.97rem; }

.list-card { background: var(--accent-soft); border-radius: var(--radius-md); padding: 22px 26px; margin: 20px 0; }
.list-lead { font-weight: 800; color: var(--navy); margin-bottom: 12px; font-size: 0.97rem; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.check-list li { position: relative; padding-left: 26px; font-size: 0.92rem; font-weight: 600; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: var(--white); font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}

/* How children learn pillars */
.pillars-section { padding: 80px 0; scroll-margin-top: 80px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  background: var(--white); border-radius: var(--radius-md); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--accent);
}
.pillar-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}
.pillar-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pillar-card p { font-size: 0.92rem; margin-bottom: 10px; color: var(--text-light); }
.pillar-card p:first-of-type { color: var(--navy); font-weight: 700; }

/* Educators + families */
.duo-section { padding: 0 0 80px; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.duo-card.duo-alt { background: var(--green-soft); }
.duo-card h2 { font-size: 1.8rem; margin-bottom: 12px; }
.duo-card p { margin-bottom: 12px; font-size: 0.96rem; }
.duo-lead { font-weight: 800; color: var(--navy); font-size: 1.05rem !important; }

/* Closing banner */
.closing-section { padding: 0 0 90px; }
.closing-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg); padding: 60px 50px; text-align: center; color: rgba(255,255,255,0.88);
}
.closing-banner h2 { color: var(--white); font-size: 2.3rem; margin-bottom: 18px; }
.closing-banner p { max-width: 760px; margin: 0 auto 14px; }
.closing-banner .closing-strong { color: var(--white); font-weight: 800; font-size: 1.2rem; }
.closing-banner .closing-motto { color: var(--orange); font-family: 'Baloo 2', cursive; font-size: 1.4rem; font-weight: 700; }
.closing-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* About / Why choose us */
.why-section { padding: 60px 0 80px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border-radius: var(--radius-md); padding: 32px 28px;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--accent); position: relative;
}
.why-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 46px; padding: 0 10px; border-radius: 50px; margin-bottom: 14px;
  background: var(--accent-soft); color: var(--accent); font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.1rem;
}
.why-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.why-card p { font-size: 0.93rem; margin-bottom: 10px; color: var(--text-light); }
.why-card p:first-of-type { color: var(--navy); font-weight: 700; }
.why-wide { grid-column: 1 / -1; }
.why-wide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.why-wide .list-card { margin: 0; }
.why-wide .check-list { grid-template-columns: 1fr; }

/* Responsive */
@media (max-width: 1024px) {
  .pillars-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-grid, .prog-block.reverse .prog-grid { grid-template-columns: 1fr; gap: 30px; }
  .prog-block.reverse .prog-img { order: 0; }
  .prog-img { position: static; }
  .prog-img img { height: 280px; }
}
@media (max-width: 760px) {
  .page-hero h1 { font-size: 2.2rem; }
  .pillars-grid, .why-grid, .duo-grid, .why-wide-grid { grid-template-columns: 1fr; }
  .duo-card { padding: 28px 24px; }
  .closing-banner { padding: 40px 24px; }
  .closing-banner h2 { font-size: 1.7rem; }
  .prog-text h2 { font-size: 1.8rem; }
  .prog-block { padding: 50px 0; }
}
@media (max-width: 520px) {
  .check-list { grid-template-columns: 1fr; }
  .list-card { padding: 18px 20px; }
}


/* ============== WAITLIST POPUP FORM ============== */
.wl-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(11, 27, 61, 0.6);
  display: none; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.wl-overlay.open { display: flex; }
.wl-modal {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 480px; padding: 32px 30px 28px;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-height: 95vh; overflow-y: auto;
}
.wl-modal h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.wl-sub { font-size: 0.92rem; color: var(--text-light); margin-bottom: 18px; }
.wl-close {
  position: absolute; top: 14px; right: 16px; width: 36px; height: 36px;
  border: none; border-radius: 50%; background: var(--cream); color: var(--navy);
  font-size: 1rem; cursor: pointer;
}
.wl-group { margin-bottom: 14px; }
.wl-group label { display: block; font-weight: 800; font-size: 0.85rem; color: var(--navy); margin-bottom: 5px; }
.wl-group input, .wl-group select, .wl-group textarea {
  width: 100%; padding: 12px 14px; border: 2px solid #ECE3D3; border-radius: var(--radius-sm);
  background: var(--cream-soft); font-family: inherit; font-size: 0.95rem; color: var(--text);
}
.wl-group input:focus, .wl-group select:focus, .wl-group textarea:focus { outline: none; border-color: var(--pink); background: var(--white); }
.wl-group textarea { resize: vertical; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-submit { width: 100%; justify-content: center; border: none; cursor: pointer; margin-top: 4px; }
.wl-submit:disabled { opacity: 0.7; cursor: wait; }


/* ============== GALLERY ============== */
.gal-section { padding: 70px 0 90px; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gal-item {
  position: relative; padding: 0; border: none; background: none; cursor: zoom-in;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3; display: block; width: 100%;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: left;
  background: linear-gradient(transparent, rgba(11,27,61,0.85)); color: #fff; font-size: 0.85rem;
}
.gal-cap strong { display: block; font-size: 1.05rem; font-family: 'Baloo 2', sans-serif; }
.gal-cta { text-align: center; margin-top: 50px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.gal-cta p { width: 100%; font-weight: 800; color: var(--navy); font-size: 1.1rem; }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 4000; background: rgba(8,16,36,0.94);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lb.open { display: flex; }
.lb-fig { margin: 0; max-width: min(1100px, 82vw); text-align: center; }
.lb-fig img { max-width: 100%; max-height: 78vh; border-radius: 12px; display: block; margin: 0 auto; }
.lb-fig figcaption { color: #fff; margin-top: 14px; font-weight: 700; }
.lb-btn {
  position: absolute; border: none; cursor: pointer; color: #fff; background: rgba(255,255,255,0.16);
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.lb-btn:hover { background: rgba(255,255,255,0.32); }
.lb-close { top: 18px; right: 18px; font-size: 1.3rem; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; color: #fff; font-weight: 700; opacity: 0.85; }

/* ============== CONTACT PAGE ============== */
.contact-section { padding: 70px 0 90px; }
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 36px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.ci-card {
  display: flex; gap: 16px; align-items: center; background: var(--white);
  border-radius: var(--radius-md); padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.ci-card .feature-icon { flex-shrink: 0; margin: 0; }
.ci-card h4 { margin-bottom: 2px; }
.ci-card p { font-size: 0.95rem; color: var(--text-light); word-break: break-word; }
.ci-card a { color: var(--pink); font-weight: 700; }
.ci-btn { justify-content: center; text-align: center; }
.cf-title { font-size: 1.8rem; margin-bottom: 6px; }
.cf-sub { color: var(--text-light); margin-bottom: 22px; }
.cf-submit { border: none; cursor: pointer; width: 100%; justify-content: center; }
.cf-submit:disabled { opacity: 0.7; cursor: wait; }
.form-alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 700; font-size: 0.92rem; }
.form-alert.success { background: #E6F7EC; color: #1F7A3E; }
.form-alert.error { background: #FDE9EA; color: #B3261E; }

/* ============== FAQ ============== */
.faq-section { padding: 70px 0 90px; }
.faq-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 800; color: var(--navy); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--pink-soft); color: var(--pink);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800;
}
.faq-item[open] summary::after { content: '−'; }
.faq-a { padding: 0 24px 22px; color: var(--text-light); }
.faq-a a { color: var(--pink); font-weight: 700; }
.faq-more { text-align: center; margin-top: 56px; }
.faq-more h3 { font-size: 1.6rem; margin-bottom: 6px; }

/* ============== A DAY AT JUST KIDS (home) ============== */
.day-section { padding: 20px 0 90px; }
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.day-card { background: var(--white); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.day-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--pink-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 14px;
}
.day-card h4 { margin-bottom: 6px; }
.day-card p { font-size: 0.92rem; color: var(--text-light); }
.day-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* ============== BLOG POSTS ============== */
a.blog-card { color: inherit; display: block; }
.post-title { font-size: 2.4rem; max-width: 860px; margin-left: auto; margin-right: auto; }
.post-section { padding: 60px 0 90px; }
.post-wrap { max-width: 780px; margin: 0 auto; }
.post-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 34px; }
.post-body p { margin-bottom: 16px; font-size: 1.04rem; line-height: 1.8; }
.post-body h2 { font-size: 1.5rem; margin: 30px 0 10px; }
.post-body a { color: var(--pink); font-weight: 700; }
.post-body .check-list { grid-template-columns: 1fr; margin-bottom: 16px; }
.post-body .check-list li { font-size: 1rem; font-weight: 600; }
.post-cta { margin-top: 44px; background: var(--cream-soft); border-radius: var(--radius-lg); padding: 34px; text-align: center; }
.post-more { margin-top: 70px; }
.post-more h3 { text-align: center; font-size: 1.6rem; margin-bottom: 26px; }
.post-more-grid { grid-template-columns: repeat(2, 1fr) !important; max-width: 780px; margin: 0 auto; }

@media (max-width: 1024px) {
  .gal-grid, .day-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gal-grid, .day-grid, .post-more-grid { grid-template-columns: 1fr !important; }
  .lb-fig { max-width: 94vw; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-btn { width: 44px; height: 44px; }
  .post-title { font-size: 1.7rem; }
  .post-img { height: 230px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-wrap { padding: 26px 20px; }
}


/* ============== MOBILE NAV: PROGRAMS DROPDOWN ============== */
.m-dd-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 14px 0; background: none; border: none; border-bottom: 1px solid var(--cream-soft);
  font-family: inherit; font-size: inherit; font-weight: 700; color: var(--navy);
  cursor: pointer; text-align: left;
}
.m-dd-toggle.active { color: var(--pink); }
.m-dd-arrow { transition: transform 0.25s ease; font-size: 1.1rem; }
.m-dd.open .m-dd-arrow { transform: rotate(180deg); }
.m-dd-list { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--cream-soft); border-radius: 0 0 12px 12px; }
.m-dd.open .m-dd-list { max-height: 500px; }
.mobile-nav .m-dd-list a {
  padding: 12px 0 12px 18px; font-weight: 600; font-size: 0.95rem; color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mobile-nav .m-dd-list a:last-child { border-bottom: none; }
.mobile-nav .m-dd-list a:hover { color: var(--pink); }
