/* ====================================================
   NICE TIME DAYCARE – styles.css  (Multi-page)
   ==================================================== */

/* ---------- RESET & TOKENS ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --peach:    #ff8c61;
  --peach-d:  #e8703c;
  --peach-lt: #fff0e8;
  --yellow:   #ffd166;
  --mint:     #c8f0dc;
  --lavender: #e4d9f5;
  --sky:      #d4eeff;
  --white:    #ffffff;
  --bg:       #fff7f0;
  --text:     #3a2f2f;
  --muted:    #7a6b6b;
  --border:   #edddd4;
  --radius:   18px;
  --radius-sm:10px;
  --shadow:   0 4px 28px rgba(255,140,97,.18);
  --shadow-sm:0 2px 12px rgba(0,0,0,.08);
  --font:     'Nunito', sans-serif;
  --font-head:'Fredoka One', cursive;
  --nav-h:    70px;
  --trans:    .2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; width: 100%; object-fit: cover; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section    { padding: 90px 0; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { line-height: 1.2; }
h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-family: var(--font-head); font-size: 1.3rem; }

.section-tag {
  display: inline-block;
  background: var(--peach-lt);
  color: var(--peach);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 52px;
}
.section-header h2 { margin-bottom: 10px; }
.section-header p  { color: var(--muted); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,140,97,.35); }

.btn-primary { background: var(--peach); color: #fff; }
.btn-primary:hover { background: var(--peach-d); }
.btn-outline  { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.18); }
.btn-white    { background: #fff; color: var(--peach); border-color: #fff; }
.btn-white:hover { background: var(--peach-lt); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.btn-small    { padding: 8px 20px; font-size: .85rem; background: var(--peach-lt); color: var(--peach); }
.btn-small:hover { background: var(--peach); color: #fff; box-shadow: none; transform: none; }
.btn-sm       { padding: 9px 22px; font-size: .88rem; }
.btn-full     { width: 100%; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,247,240,.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text);
  white-space: nowrap;
}
.logo-icon { font-size: 1.6rem; }
.logo strong { color: var(--peach); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  transition: color var(--trans);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2.5px;
  background: var(--peach);
  transition: width .25s;
  border-radius: 4px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--peach); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 4px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #ff8c61 0%, #ffb347 55%, #ffd166 100%);
  padding: calc(var(--nav-h) + 48px) 0 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.9); max-width: 560px; }

/* Breadcrumb */
.breadcrumb {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; }

/* ---------- HOME HERO + SLIDESHOW ---------- */
.hero {
  min-height: 100vh;
  background: #1a1a2e; /* fallback while images load */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Slideshow background */
.hero-slideshow { 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;
  display: block;
}
.hero-slide.active img {
  animation: kenBurns 9s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.08) translate(-1%,-0.5%); }
}

/* Dark overlay so text stays readable over any image */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.48) 0%,
    rgba(0,0,0,.22) 45%,
    rgba(0,0,0,.58) 100%
  );
}

/* Prev / Next arrows */
.hero-arr {
  position: absolute; top: 50%; z-index: 4;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans), transform var(--trans);
  line-height: 1;
}
.hero-arr:hover {
  background: rgba(255,255,255,.3);
  transform: translateY(-50%) scale(1.1);
}
.hero-arr.prev { left: 20px; }
.hero-arr.next { right: 20px; }

/* Pill dots */
.hero-dots {
  position: absolute; bottom: 88px; left: 50%; z-index: 4;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
}
.hero-dot {
  height: 8px; width: 8px;
  border-radius: 50px;
  background: rgba(255,255,255,.5);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, width .3s;
}
.hero-dot.active {
  background: #fff;
  width: 28px; border-radius: 4px;
}

/* Slide counter badge (top-right) */
.hero-counter {
  position: absolute;
  top: calc(var(--nav-h) + 18px); right: 24px;
  z-index: 4;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 50px;
}

.hero-content { position: relative; z-index: 3; padding: 70px 0 90px; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.25);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.highlight {
  background: rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 2px 12px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.92);
  max-width: 580px;
  margin: 0 auto 22px;
}
.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.95);
  font-size: .95rem;
}
.stars  { font-size: 1.1rem; color: #ffd166; letter-spacing: 2px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Floating bubbles (hidden on home page now, kept for other uses) */
.hero-bubbles { display: none; }
.bubble { display: none; }
@keyframes floatBubble { 0%,100%{transform:none} }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* Boost hero text shadow for photo backgrounds */
.hero h1 { text-shadow: 0 3px 18px rgba(0,0,0,.45); }
.hero-sub { text-shadow: 0 1px 8px rgba(0,0,0,.4); }

/* ---------- STATS STRIP ---------- */
.stats-strip { background: var(--white); padding: 36px 0; box-shadow: var(--shadow-sm); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item   { padding: 12px; }
.stat-num    { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--peach); line-height: 1; }
.stat-label  { font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ---------- ABOUT GRID (shared) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-image { position: relative; }
.about-img-box {
  background: linear-gradient(135deg, var(--peach-lt), var(--mint));
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  font-size: 3rem;
  box-shadow: var(--shadow);
}
.about-img-box p { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.provider-box    { padding: 48px 40px; }

/* Real photo variant for about sections */
.about-img-real {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 420px;
  position: relative;
}
.about-img-real img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .5s ease;
  display: block;
}
.about-img-real:hover img { transform: scale(1.04); }

.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  font-size: 1.6rem;
}
.about-badge p { font-size: .75rem; font-weight: 700; margin-top: 4px; line-height: 1.4; }

.about-text h2  { margin-bottom: 16px; }
.about-text p   { color: var(--muted); margin-bottom: 14px; }
.about-list     { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.about-list li  { font-size: .95rem; font-weight: 600; }

.provider-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge {
  background: var(--peach-lt);
  color: var(--peach);
  font-weight: 700;
  font-size: .8rem;
  padding: 5px 14px;
  border-radius: 50px;
}

/* ---------- PROGRAMS GRID ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--peach), var(--yellow));
  opacity: 0; transition: opacity .25s;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-card:hover::before { opacity: 1; }
.program-card.featured {
  background: linear-gradient(160deg, var(--peach) 0%, var(--peach-d) 100%);
  color: #fff;
}
.program-card.featured h3,
.program-card.featured p { color: #fff; }
.program-card.featured .age-badge { background: rgba(255,255,255,.25); color: #fff; }
.program-card.featured .btn-small { background: #fff; color: var(--peach); }
.program-card.featured .tuition-line { color: #fff !important; }
.program-card.featured .tuition-line span { color: rgba(255,255,255,.75) !important; }

.program-icon { font-size: 2.8rem; margin-bottom: 14px; }
.program-card h3 { margin-bottom: 6px; }
.program-card p  { font-size: .92rem; color: var(--muted); line-height: 1.6; }
.age-badge {
  display: inline-block;
  background: var(--peach-lt);
  color: var(--peach);
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.tuition-line {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--peach) !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}
.tuition-line span { font-size: .85rem; font-weight: 600; color: var(--muted) !important; }

/* ---------- FULL PROGRAM CARDS (programs.php) ---------- */
.programs-full { grid-template-columns: 1fr; gap: 24px; }

.program-card-full {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.program-card-full:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.pcf-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  color: #fff;
}
.pcf-infant   { background: linear-gradient(90deg, #ff8c61, #ffb347); }
.pcf-preschool{ background: linear-gradient(90deg, #ff6a3d, #ff8c61); }
.pcf-kinder   { background: linear-gradient(90deg, #ffb347, #ffd166); }
.pcf-kinder   { color: var(--text); }

.pcf-header .program-icon { font-size: 2.6rem; flex-shrink: 0; }
.pcf-header h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pcf-header .age-badge { background: rgba(255,255,255,.3); color: inherit; }
.pcf-kinder .age-badge  { background: rgba(0,0,0,.12); }
.pcf-price {
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 2.2rem;
  white-space: nowrap;
}
.pcf-price span { font-size: .9rem; font-weight: 400; }

.pcf-body { padding: 28px 36px 36px; }
.pcf-body > p { color: var(--muted); margin-bottom: 20px; font-size: .97rem; }

.pcf-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pcf-features span {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 600;
}

.featured-full .pcf-body > p { font-weight: 500; }

/* ---------- TUITION TABLE ---------- */
.tuition-section { background: var(--white); }
.tuition-wrap { max-width: 860px; margin: 0 auto; }

.tuition-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.tuition-table thead tr { background: var(--peach); color: #fff; }
.tuition-table th, .tuition-table td {
  padding: 16px 24px;
  text-align: left;
}
.tuition-table th { font-family: var(--font-head); font-size: 1rem; font-weight: 400; }
.tuition-table tbody tr { background: var(--white); border-bottom: 1px solid var(--border); }
.tuition-table tbody tr.row-highlight { background: var(--peach-lt); }
.tuition-table td:last-child { text-align: right; }
.age-note { font-size: .8rem; color: var(--muted); font-weight: 400; }
.price-cell { white-space: nowrap; }
.price { font-family: var(--font-head); font-size: 1.7rem; color: var(--peach); }
.per   { font-size: .8rem; color: var(--muted); margin-left: 2px; }

.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.fee-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fee-icon { font-size: 1.8rem; flex-shrink: 0; }
.fee-card strong { display: block; margin-bottom: 4px; }
.fee-card p { font-size: .85rem; color: var(--muted); }

.tuition-note {
  background: var(--mint);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .92rem;
  color: var(--text);
}

/* ---------- CURRICULUM SECTION ---------- */
.curriculum-section { background: var(--bg); }
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.curriculum-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s;
}
.curriculum-card:hover { transform: translateY(-4px); }
.curriculum-icon { font-size: 2.8rem; display: block; margin-bottom: 14px; }
.curriculum-card h3 { margin-bottom: 10px; }
.curriculum-card p  { font-size: .92rem; color: var(--muted); }

/* ---------- THE BASICS GRID (about.php) ---------- */
.basics-section { background: var(--white); }
.basics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.basic-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform .2s;
}
.basic-item:hover { transform: translateY(-2px); }
.basic-icon { font-size: 1.8rem; flex-shrink: 0; }
.basic-item strong { display: block; margin-bottom: 4px; font-size: .92rem; }
.basic-item p      { font-size: .82rem; color: var(--muted); }

/* ---------- FACILITY GRID (about.php) ---------- */
.facility-section { background: var(--bg); }
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s;
}
.facility-card:hover { transform: translateY(-4px); }
.facility-icon { font-size: 2.5rem; display: block; margin-bottom: 14px; }
.facility-card h3 { margin-bottom: 10px; }
.facility-card p  { font-size: .9rem; color: var(--muted); }

/* ---------- GALLERY ---------- */
.gallery-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.gtab {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  color: var(--muted);
  transition: all var(--trans);
}
.gtab:hover, .gtab.active {
  background: var(--peach);
  border-color: var(--peach);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item.gi-large { grid-column: span 2; }
.gallery-item.gi-tall  { grid-row: span 2;   }
.gallery-item.hidden   { display: none; }

/* Real image inside gallery */
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

/* Caption overlay */
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  color: #fff;
  padding: 28px 16px 14px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption p     { font-weight: 700; font-size: .88rem; margin: 0; }
.gallery-caption small { font-size: .75rem; opacity: .8; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
  animation: lbFadeIn .25s ease;
  padding: 20px;
}
.lightbox.open { display: flex; }
@keyframes lbFadeIn { from { opacity:0 } to { opacity:1 } }

.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 8px 48px rgba(0,0,0,.6);
  animation: lbZoom .3s ease;
}
@keyframes lbZoom { from { transform:scale(.92) } to { transform:scale(1) } }

.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: #fff; font-size: 1.4rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 9001;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

.lightbox-caption {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: .9rem; font-weight: 600;
  background: rgba(0,0,0,.5);
  padding: 6px 20px; border-radius: 50px;
  white-space: nowrap;
}

/* ---------- FACILITY PHOTO STRIP (about.html) ---------- */
.facility-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.facility-photo {
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.facility-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.facility-photo:hover img { transform: scale(1.06); }
.facility-photo-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: #fff; padding: 20px 14px 12px;
  font-size: .88rem; font-weight: 700;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--bg); }
.overall-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  font-size: .9rem;
  color: var(--muted);
}
.stars-lg { font-size: 1.4rem; color: var(--yellow); letter-spacing: 2px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--peach-lt);
  position: absolute;
  top: -8px; left: 16px;
  line-height: 1;
}
.testi-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p {
  font-size: .93rem;
  color: var(--muted);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--peach-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .92rem; }
.testi-author span   { font-size: .78rem; color: var(--muted); }

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-left h2  { margin-bottom: 12px; }
.contact-left > p { color: var(--muted); margin-bottom: 28px; font-size: .97rem; }

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cd-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.4; }
.contact-details strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.contact-details span   { font-size: .88rem; color: var(--muted); }

/* Google Map */
.map-wrap    { margin-top: 8px; }
.map-title   { font-family: var(--font); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-container iframe { display: block; }
.map-note { font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { font-family: var(--font-head); margin-bottom: 6px; }
.contact-form-wrap > p { font-size: .9rem; color: var(--muted); margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 700; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: .93rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color var(--trans);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--peach); background: #fff; }
.form-group textarea { resize: vertical; }
.req { color: var(--peach); }

.form-privacy { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* Alerts */
.alert {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.alert-success { background: #e8f7ef; color: #2e7d52; border: 1px solid #b2dfcc; }
.alert-error   { background: #fde8e8; color: #c0392b; border: 1px solid #f5b7b1; }
.alert-info    { background: var(--sky); color: #1a5276; border: 1px solid #aed6f1; }
.alert-info a  { color: var(--peach); font-weight: 700; }
.alert-info code { background: rgba(0,0,0,.07); padding: 1px 5px; border-radius: 4px; font-size:.82rem; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--peach), var(--peach-d));
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; margin-bottom: 8px; }
.cta-inner p  { color: rgba(255,255,255,.88); font-size: .97rem; }

/* ---------- FOOTER ---------- */
.footer { background: #2d2020; color: rgba(255,255,255,.75); padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand p         { font-size: .87rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer-license         { font-size: .78rem; color: rgba(255,255,255,.35); margin-top: 8px; }
.footer-links h4, .footer-hours h4, .footer-contact h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a  { font-size: .87rem; color: rgba(255,255,255,.55); transition: color var(--trans); }
.footer-links a:hover { color: var(--peach); }
.footer-hours p         { font-size: .87rem; line-height: 2; color: rgba(255,255,255,.55); }
.closed                 { color: rgba(255,255,255,.3) !important; }
.footer-contact p       { font-size: .87rem; line-height: 2; color: rgba(255,255,255,.55); }
.footer-cta             { margin-top: 16px; }

.footer-bottom { text-align: center; padding: 20px 0; font-size: .8rem; color: rgba(255,255,255,.3); }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====================================================
   RESPONSIVE
   ==================================================== */

@media (max-width: 1100px) {
  .basics-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .about-grid        { grid-template-columns: 1fr; }
  .about-image       { max-width: 420px; margin: 0 auto; }
  .programs-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .facility-grid     { grid-template-columns: repeat(2, 1fr); }
  .curriculum-grid   { grid-template-columns: 1fr; }
  .pcf-features      { grid-template-columns: repeat(2, 1fr); }
  .contact-grid      { grid-template-columns: 1fr; }
  .fees-grid         { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .programs-grid     { grid-template-columns: 1fr; }
  .facility-grid     { grid-template-columns: 1fr; }
  .facility-photos   { grid-template-columns: 1fr; }
  .basics-grid       { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item.gi-large { grid-column: span 2; }
  .gallery-item.gi-tall  { grid-row: span 1; }
  .form-row          { grid-template-columns: 1fr; }
  .footer-inner      { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner         { flex-direction: column; text-align: center; }
  .hero-actions      { flex-direction: column; align-items: center; }
  .pcf-header        { flex-wrap: wrap; padding: 20px 24px; }
  .pcf-price         { margin-left: 0; }
  .pcf-body          { padding: 20px 24px 28px; }
  .pcf-features      { grid-template-columns: 1fr; }
  .tuition-table th,
  .tuition-table td  { padding: 12px 14px; }
  .contact-form-wrap { padding: 24px; }
  .hero-arr          { width: 40px; height: 40px; font-size: 1.4rem; }
  .hero-arr.prev     { left: 10px; }
  .hero-arr.next     { right: 10px; }
  .about-img-real    { height: 300px; }
  .facility-photo    { height: 200px; }
}

@media (max-width: 500px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    padding: 24px 32px 32px;
    gap: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .hamburger      { display: flex; }
  .gallery-grid   { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .gallery-item.gi-large, .gallery-item.gi-tall { grid-column: span 1; grid-row: span 1; }
}

/* Desktop nav always visible */
@media (min-width: 501px) {
  .nav-links { display: flex !important; }
  .hamburger { display: none; }
}
