/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: #FAFAFA;
  color: #2D2926;
  overflow-x: hidden;
  line-height: 1.6;
}

:root {
  /* === Brand Palette — Blue & Orange Primary === */
  --green-900: #0A5C8A;   /* Deep Blue    — dark headers, titles, accents  */
  --green-700: #26A9E0;   /* Sky Blue     — primary blue, buttons, accents */
  --green-500: #62C8F0;   /* Light Blue   — lighter tints                  */
  --green-300: #A8DFF5;   /* Pale Blue    — borders, timeline dots         */
  --green-100: #D6EFF9;   /* Very Pale Blue — label/badge bg               */
  --green-50:  #EBF7FD;   /* Near-White Blue — icon bg, soft tints         */
  --yellow:    #FFF200;   /* Sunshine Yellow — badges, highlights          */
  --yellow-lt: #FFFDE6;   /* Light Yellow — section tints                  */
  --coral:     #F37021;   /* Playhouse Orange — primary CTA, buttons       */
  --coral-lt:  #FEF0E6;   /* Light Orange — tint                           */
  --teal:      #39B54A;   /* Leafy Green  — supporting vibrant accent      */
  --red:       #ED1C24;   /* Vibrant Red  — urgent CTAs                    */
  --bg:        #FAFAFA;   /* Page Background                               */
  --surface:   #FFFFFF;   /* Card Background                               */
  --text:      #2D2926;   /* Charcoal — body text                          */
  --muted:     #6B6561;   /* Secondary Text                                */
  --border:    #D8EBF5;   /* Blue-tinted border                            */
  --shadow-sm: 0 2px 8px  rgba(10,92,138,0.08);
  --shadow:    0 4px 24px rgba(10,92,138,0.10);
  --shadow-lg: 0 8px 40px rgba(10,92,138,0.14);
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: 'Fredoka One', cursive; line-height: 1.2; color: var(--text); }
p { color: var(--muted); }
a { color: inherit; }

/* ===== UTILITY ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--surface); }
.text-center { text-align: center; }

.label {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.label-green  { background: #D4F5D8; color: #1B7A29; }
.label-orange { background: var(--coral-lt); color: #C05A10; }
.label-red    { background: #FFE5E6; color: #B8101A; }
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
  color: var(--green-900);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 0 rgba(180,80,60,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 7px 0 rgba(180,80,60,0.3); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(180,80,60,0.3); }
.btn-secondary {
  background: var(--surface);
  color: var(--green-700);
  border: 2.5px solid var(--green-300);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--green-100); border-color: var(--green-500); transform: translateY(-2px); }
.btn-green {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 4px 0 rgba(10,92,138,0.35);
}
.btn-green:hover { background: var(--green-900); transform: translateY(-3px); box-shadow: 0 7px 0 rgba(10,92,138,0.3); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--green-100);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo .logo-icon { font-size: 1.9rem; }
.nav-logo .logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--green-700);
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  transition: all 0.18s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--green-100); color: var(--green-700); }
.nav-cta.btn { padding: 0.45rem 1.2rem; font-size: 0.88rem; margin-left: 0.25rem; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; cursor: pointer; color: var(--green-700); }

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner {
  background: linear-gradient(135deg, #0A3D6B 0%, #0A5C8A 28%, #1976D2 60%, #62C8F0 100%);
  padding: 7rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Floating bubble shapes */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8%  60%, rgba(255,255,255,0.15) 0%, transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.13) 0%, transparent 20%),
    radial-gradient(circle at 50% 90%, rgba(255,255,255,0.11) 0%, transparent 18%),
    radial-gradient(circle at 72% 55%, rgba(255,255,255,0.10) 0%, transparent 14%),
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.08) 0%, transparent 12%);
}
/* Dot grid texture */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}
.page-banner .label { background: rgba(255,255,255,0.22); color: white; border: 1px solid rgba(255,255,255,0.35); position: relative; z-index: 1; }
.page-banner h1 { color: white; font-size: clamp(2.2rem, 5vw, 3.2rem); position: relative; z-index: 1; }
.page-banner p { color: rgba(255,255,255,0.88); max-width: 520px; margin: 0.75rem auto 0; font-size: 1.05rem; position: relative; z-index: 1; }
.banner-wave { line-height: 0; background: #62C8F0; }
.banner-wave svg { display: block; width: 100%; height: 60px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(10, 92, 138, 0.55), rgba(45, 41, 38, 0.68)),
    url('photos/artsandcrafts.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-content {
  max-width: 740px;
  z-index: 1;
  position: relative;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.95);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  color: white;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-title span {
  display: block;
  background: linear-gradient(90deg, #FF6B6B 0%, #FFA94D 22%, #FFD43B 42%, #69DB7C 62%, #4DABF7 80%, #E599F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin: 0 auto 1.75rem;
  max-width: 560px;
  font-weight: 600;
  line-height: 1.65;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.chip {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.95);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}
.hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }
.hero-wave { line-height: 0; position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 70px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { padding: 0.5rem; }
.stat-number {
  font-family: 'Fredoka One', cursive;
  font-size: 2.4rem;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-item:nth-child(1) .stat-number { color: var(--coral); }
.stat-item:nth-child(2) .stat-number { color: var(--teal); }
.stat-item:nth-child(3) .stat-number { color: var(--green-700); }
.stat-item:nth-child(4) .stat-number { color: var(--red); }
.stat-label { font-size: 0.85rem; font-weight: 700; color: var(--muted); }

/* ===== FEATURE CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--green-50);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.cards-grid .card:nth-child(2) .card-icon { background: #D4F5D8; }
.cards-grid .card:nth-child(3) .card-icon { background: var(--coral-lt); }
.cards-grid .card:nth-child(4) .card-icon { background: #FFE5E6; }
.cards-grid .card:nth-child(5) .card-icon { background: #D4F5D8; }
.cards-grid .card:nth-child(6) .card-icon { background: var(--coral-lt); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--green-900); }
.card p { font-size: 0.9rem; line-height: 1.65; }

/* ===== AGE CARD PHOTO HEADER ===== */
.age-card-photo {
  margin: -2.25rem -2rem 1.5rem;
  height: 180px;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.age-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== AGE CARDS ===== */
.age-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.age-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 5px solid var(--c, var(--green-500));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.age-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.age-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--c, var(--green-500));
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.age-card:hover::after { opacity: 0.03; }
.age-emoji { font-size: 3rem; margin-bottom: 0.75rem; }
.age-card h3 { font-size: 1.6rem; margin-bottom: 0.25rem; color: var(--green-900); }
.age-range {
  display: inline-block;
  background: var(--c, var(--green-500));
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}
.age-card p { font-size: 0.92rem; line-height: 1.65; }

/* ===== SCHEDULE TYPE CARDS ===== */
.sched-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}
.sched-card {
  flex: 1 1 300px;
  max-width: 380px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  text-align: center;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.sched-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sched-card.featured { border-color: var(--green-500); }
.sched-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}
.sched-icon { font-size: 2.8rem; margin-bottom: 0.85rem; }
.sched-card h3 { font-size: 1.8rem; color: var(--green-900); margin-bottom: 0.35rem; }
.sched-hours { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.6; }
.sched-perks { list-style: none; text-align: left; margin-bottom: 1.75rem; }
.sched-perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ===== TIMELINE ===== */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 85px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal), var(--green-700));
  border-radius: 3px;
}
.tl-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.tl-time {
  width: 72px;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--green-700);
  text-align: right;
  line-height: 1.3;
}
.tl-dot {
  width: 42px; height: 42px;
  background: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 2.5px solid var(--green-300);
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.2s;
}
.tl-item:hover .tl-dot { transform: scale(1.18); border-color: var(--green-500); }
.tl-body {
  background: var(--surface);
  border-radius: var(--r);
  padding: 0.9rem 1.1rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.18s;
}
.tl-item:hover .tl-body { transform: translateX(4px); }
.tl-body h4 { font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--green-900); margin-bottom: 0.2rem; }
.tl-body p { font-size: 0.85rem; color: var(--muted); }

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--muted);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: white;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.photo-slot {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-100);
  position: relative;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.photo-slot:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); z-index: 2; }
.photo-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--c, var(--green-100));
  color: var(--green-700);
}
.photo-placeholder .ph-icon { font-size: 2.5rem; }
.photo-placeholder .ph-label { font-weight: 800; font-size: 0.9rem; }
.photo-slot img + .photo-placeholder { display: none; }
.gallery-add-note {
  margin-top: 2.5rem;
  background: var(--yellow-lt);
  border: 2px dashed var(--yellow);
  border-radius: var(--r);
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-add-note h4 { font-family: 'Fredoka One', cursive; color: var(--green-900); margin-bottom: 0.35rem; }
.gallery-add-note p { font-size: 0.9rem; }
.gallery-add-note code {
  background: var(--green-100);
  color: var(--green-700);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: monospace;
}

/* ===== STAFF ===== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
}
.staff-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.staff-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.staff-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Fredoka One', cursive;
  font-size: 1.9rem;
  color: white;
  box-shadow: var(--shadow);
  border: 4px solid var(--surface);
}
.staff-card h3 { font-size: 1.6rem; color: var(--green-900); margin-bottom: 0.2rem; }
.staff-role { color: var(--green-500); font-weight: 700; font-size: 0.88rem; margin-bottom: 0.6rem; }
.staff-years {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.2rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.staff-bio { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.staff-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.staff-badges span {
  background: var(--green-50);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-700);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.18s, box-shadow 0.18s;
}
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.contact-card-icon {
  width: 44px; height: 44px;
  background: var(--green-50);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-card h4 { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--green-900); margin-bottom: 0.15rem; }
.contact-card a, .contact-card p { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.contact-card a:hover { color: var(--green-700); }

.form-wrap {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.form-wrap h3 { font-size: 1.9rem; color: var(--green-900); margin-bottom: 0.35rem; }
.form-wrap > p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-weight: 700; font-size: 0.83rem; color: var(--green-900); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(38,169,224,0.18);
  background: white;
}
.form-group textarea { resize: vertical; }

/* ===== MEALS INFO ===== */
.meals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.meal-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: transform 0.18s;
}
.meal-card:hover { transform: translateY(-4px); }
.meal-card .m-icon { font-size: 2.25rem; margin-bottom: 0.5rem; }
.meal-card h4 { font-size: 1.05rem; color: var(--green-900); margin-bottom: 0.2rem; }
.meal-card p { font-size: 0.82rem; }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, #C62828 0%, var(--coral) 55%, #FF8F00 100%);
  border-radius: var(--r-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-block h2 { color: white; font-size: 2.2rem; margin-bottom: 0.75rem; position: relative; }
.cta-block p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 2rem; position: relative; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(160deg, #1B4332 0%, #2D6A4F 55%, #1B4332 100%);
  color: rgba(255,255,255,0.92);
  padding: 3rem 1.5rem 2rem;
  border-top: 4px solid #52B788;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand .nav-logo .logo-text { color: white; }
.footer-brand .nav-logo-img { height: 120px; width: auto; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.82); }
/* Ensure all p tags inside footer are legible */
.footer p { color: rgba(255,255,255,0.82); }
.footer-col p { color: rgba(255,255,255,0.82); font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Fredoka One', cursive;
  color: white;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.15s;
}
.footer-col a:hover { color: #F4A261; }
.footer-col p { font-size: 0.88rem; line-height: 1.7; }
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; }

/* ===== DIVIDERS ===== */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--green-900);
  color: white;
  padding: 0.9rem 1.75rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border: 2px solid var(--green-500);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== ANIMATIONS ===== */
@keyframes floatY { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-16px);} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px);} to{opacity:1;transform:translateY(0);} }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SPLASH SCREEN ===== */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #0A3D6B 0%, #0A5C8A 28%, #1976D2 60%, #62C8F0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: splashFadeOut 0.7s ease 2.5s forwards;
  overflow: hidden;
}
#splash-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}
#splash-screen.hidden { display: none; }

.splash-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.splash-bg-shapes span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  animation: splashFloat linear infinite;
}
.splash-bg-shapes span:nth-child(1) { width: 200px; height: 200px; top: -50px; left: -40px; animation-duration: 7s; animation-delay: 0s; }
.splash-bg-shapes span:nth-child(2) { width: 130px; height: 130px; top: 15%; right: 4%; animation-duration: 8s; animation-delay: -2.5s; }
.splash-bg-shapes span:nth-child(3) { width: 90px;  height: 90px;  bottom: 12%; left: 6%; animation-duration: 5.5s; animation-delay: -1s; }
.splash-bg-shapes span:nth-child(4) { width: 220px; height: 220px; bottom: -70px; right: -50px; animation-duration: 9s; animation-delay: -3.5s; }
.splash-bg-shapes span:nth-child(5) { width: 65px;  height: 65px;  top: 52%; left: 2%; animation-duration: 5s; animation-delay: -0.8s; }

.splash-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.splash-logo {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  color: white;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 18px rgba(0,0,0,0.18);
  opacity: 0;
  animation: fadeUp 0.5s ease 0.45s forwards;
}
.splash-logo span { color: #FFD43B; }
.splash-underline {
  width: 0;
  height: 4px;
  background: rgba(255,255,255,0.55);
  border-radius: 50px;
  margin: 0.8rem auto 0;
  animation: drawUnderline 1s ease 0.55s forwards;
}
.splash-tagline {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.85s forwards;
}
.splash-loader {
  display: flex;
  gap: 8px;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.4s ease 1.1s forwards;
}
.splash-loader span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  animation: splashDot 0.9s ease-in-out infinite;
}
.splash-loader span:nth-child(2) { animation-delay: 0.15s; }
.splash-loader span:nth-child(3) { animation-delay: 0.30s; }

@keyframes splashFloat {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-22px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes splashDot {
  0%, 80%, 100% { transform: scale(0.75); opacity: 0.45; }
  40%           { transform: scale(1.25); opacity: 1; }
}
@keyframes drawUnderline {
  from { width: 0; }
  to   { width: min(300px, 75vw); }
}
@keyframes splashFadeOut {
  from { opacity: 1; pointer-events: all; }
  to   { opacity: 0; pointer-events: none; }
}

/* ===== CURSOR TRAIL ===== */
.cursor-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  animation: dotFade 0.75s ease forwards;
}
@keyframes dotFade {
  0%   { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(0.1); }
}


/* ===== HOMEPAGE SCHEDULE TIMELINE ===== */
.schedule-section { background: var(--surface); }
.home-timeline {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}
.home-timeline::before {
  content: '';
  position: absolute;
  left: 24px; /* center of 52px dot (26px) minus half line width (2px) */
  top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--coral) 30%, var(--teal) 60%, var(--green-500) 100%);
  border-radius: 4px;
}
.htl-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.htl-item.visible { opacity: 1; transform: translateX(0); }
.htl-dot {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  border: 3px solid var(--green-300);
  flex-shrink: 0;
  position: relative;
  z-index: 1; /* sit above the line */
  transition: transform 0.2s, border-color 0.2s;
}
.htl-item:hover .htl-dot { transform: scale(1.15); border-color: var(--coral); }
.htl-item:hover .htl-body h4 { color: var(--coral); transform: translateX(4px); }
.htl-item:hover .htl-time { letter-spacing: 1px; }
.htl-body { flex: 1; padding-top: 0.9rem; }
.htl-time {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.15rem;
  transition: letter-spacing 0.2s ease;
}
.htl-body h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: var(--green-900);
  transition: color 0.2s ease, transform 0.2s ease;
}

/* ===== CONFETTI ===== */
.confetti-piece {
  position: fixed;
  top: -14px;
  pointer-events: none;
  z-index: 9998;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(105vh) rotate(780deg) scale(0.6); opacity: 0; }
}

/* ===== REVIEWS PAGE ===== */
.reviews-section {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
}
.reviews-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FFFDE6 0%, #E8F8FF 45%, #FFF0E8 100%);
  z-index: 0;
}
.reviews-bg::before {
  content: '';
  position: absolute;
  top: -40%; left: -15%;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,242,0,0.12) 0%, transparent 70%);
  animation: bgFloat 7s ease-in-out infinite alternate;
}
.reviews-bg::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,112,33,0.09) 0%, transparent 70%);
  animation: bgFloat 9s ease-in-out infinite alternate-reverse;
}
@keyframes bgFloat {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(45px) scale(1.06); }
}
.reviews-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.review-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.22s;
}
.review-card.visible { opacity: 1; transform: translateY(0); }
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.review-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 1.1rem;
}
.review-star {
  font-size: 1.3rem;
  opacity: 0;
  animation: starFillIn 0.3s ease forwards;
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 0.25rem;
}
.review-text::before {
  content: '\201C';
  font-family: 'Fredoka One', cursive;
  font-size: 3.5rem;
  color: var(--yellow);
  position: absolute;
  top: -1.1rem;
  left: -0.6rem;
  line-height: 1;
  opacity: 0.55;
  pointer-events: none;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.review-author-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--green-900);
}
.reviews-header { text-align: center; }
@keyframes starFillIn {
  from { opacity: 0; transform: scale(0.4) rotate(-15deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-desc { max-width: 100%; margin-left: auto; }
  .hero-chips, .hero-btns { justify-content: center; }
  .hero-image { order: -1; }
  .treehouse-img { max-width: 320px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .meals-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .navbar { padding: 0 1rem; }
  .nav-logo .logo-text { font-size: 1rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1rem; box-shadow: var(--shadow); border-top: 2px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .meals-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .tl-item { flex-direction: column; gap: 0.4rem; }
  .tl-time { text-align: left; width: auto; padding: 0; }
  .footer-bottom { justify-content: center; text-align: center; }
  .home-timeline::before { left: 19px; }
  .htl-dot { width: 42px; height: 42px; font-size: 1.2rem; }
.reviews-grid { grid-template-columns: 1fr; }
}
