/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #D42B2B;
  --red-lt:   #fff0f0;
  --green:    #3d9e32;
  --green-lt: #f0faf0;
  --blue:     #1A56C4;
  --blue-lt:  #f0f4ff;
  --yellow:   #E8A800;
  --yellow-lt:#fffbf0;
  --brown:    #7a5c2e;
  --text:     #1f2937;
  --text-lt:  #6b7280;
  --border:   #e5e7eb;
  --white:    #ffffff;
  --bg:       #fefefe;
  --radius:   14px;
  --shadow:   0 4px 24px rgba(0,0,0,.08);
  --nav-h:    72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  background: var(--bg);
  /* Crayon paper texture base */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cpath d='M30 25 C36 14 52 16 54 27 C56 38 43 46 33 41 C21 36 19 30 27 22' stroke='%23ffcccc' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M155 18 L158 30 L170 27 L162 36 L167 48 L155 42 L143 48 L148 36 L140 27 L152 30 Z' stroke='%23b3d1ff' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 105 L22 89 L38 107 L54 90 L70 106' stroke='%23b8f0b0' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='170' cy='130' r='5' fill='%23ffe0a0' opacity='0.55'/%3E%3Ccircle cx='90' cy='55' r='3.5' fill='%23ffbbbb' opacity='0.5'/%3E%3Ccircle cx='45' cy='170' r='4' fill='%23b3d1ff' opacity='0.5'/%3E%3Cpath d='M105 155 C111 148 118 152 115 160 C112 168 103 169 99 163 C95 157 100 149 108 148' stroke='%23d4b3ff' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M5 178 C16 166 28 186 40 175 C52 164 62 182 74 172' stroke='%23ffd0a0' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M140 90 C142 84 150 83 152 90 C154 97 148 103 141 100 C136 97 136 92 140 88' stroke='%23b8f0b0' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M185 160 L191 160 M188 156 L188 164' stroke='%23ffbbbb' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M200 70 C203 68 207 70 206 74 C205 78 200 79 198 76 C196 73 198 69 202 68' stroke='%23ffe0a0' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ── Crayon Scribble Layer (per section) ── */
.scribble-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Ensure sections stack correctly */
section, .cta-banner, footer, header, .topbar {
  position: relative;
}

/* All direct section content above scribble layer */
section > .container,
.cta-banner > .container,
.cta-banner > .cta-shapes,
.cta-banner > .cta-inner,
footer > .footer-fun-strip,
footer > .container,
.hero > .hero-content,
.hero > .hero-card,
.hero > .hero-stats,
.hero > .hero-bg-pattern,
.hero > .hero-shapes,
.hero > .hero-badge {
  position: relative;
  z-index: 1;
}

/* ── Scribble Element Animations ── */
@keyframes float-up {
  0%   { transform: translateY(0)   rotate(0deg)   scale(1);    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(-100vh) rotate(25deg) scale(1.1); opacity: 0; }
}

@keyframes float-drift {
  0%   { transform: translate(0, 0)      rotate(0deg);  opacity: 0; }
  15%  { opacity: 0.85; }
  85%  { opacity: 0.6; }
  100% { transform: translate(60px, -80px) rotate(18deg); opacity: 0; }
}

@keyframes draw-in {
  from { stroke-dashoffset: 300; opacity: 0; }
  10%  { opacity: 1; }
  to   { stroke-dashoffset: 0;   opacity: 0.75; }
}

@keyframes wobble-spin {
  0%   { transform: rotate(0deg)   scale(1); }
  25%  { transform: rotate(8deg)   scale(1.05); }
  75%  { transform: rotate(-6deg)  scale(0.97); }
  100% { transform: rotate(0deg)   scale(1); }
}

@keyframes pulse-fade {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 0.5;  transform: scale(1.08); }
}

.scribble-float {
  position: absolute;
  animation: float-up linear infinite;
  pointer-events: none;
  opacity: 0;
}

.scribble-drift {
  position: absolute;
  animation: float-drift ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
}

.scribble-draw {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-in ease-out forwards;
  pointer-events: none;
}

.scribble-wobble {
  animation: wobble-spin ease-in-out infinite;
  transform-origin: center;
}

.scribble-pulse {
  animation: pulse-fade ease-in-out infinite;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Layout ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 60px; }
.section { padding: 96px 0; }

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.red    { background: var(--red-lt);    color: var(--red);   }
.green  { background: var(--green-lt);  color: var(--green); }
.blue   { background: var(--blue-lt);   color: var(--blue);  }
.yellow { background: var(--yellow-lt); color: var(--yellow);}

/* ── Headings ── */
h1, h2, h3 { font-family: 'Fredoka One', cursive; font-weight: 400; line-height: 1.2; }

.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

.section-header h2 { font-size: 2.4rem; color: var(--text); margin-bottom: 12px; }
.section-sub { color: var(--text-lt); font-size: 1rem; max-width: 580px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(212,43,43,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,43,43,.4); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  border: 2.5px solid rgba(255,255,255,.7);
  transition: all .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: white; }

.btn-white {
  display: inline-block;
  background: white;
  color: var(--red);
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  transition: transform .2s;
}
.btn-white:hover { transform: translateY(-2px); }

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  border: 2.5px solid rgba(255,255,255,.7);
  transition: all .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); }

.btn-full { width: 100%; text-align: center; padding: 16px; font-size: 1rem; }

/* ── Top Bar ── */
.topbar {
  background: var(--blue);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 0;
}
.topbar a { color: white; }
.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: white;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 56px; width: auto; object-fit: contain; }

/* ── Nav links (desktop horizontal) ── */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .95rem;
  font-weight: 700;
}
.nav-links a {
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: #fff5f5; }
.nav-links .nav-dd-wrap { position: relative; }

/* ── Mobile drawer (cloned element, appended to body by JS) ── */
#mobile-nav-drawer {
  display: none;
  list-style: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  background: #fff;
  flex-direction: column;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
}
#mobile-nav-drawer.open { transform: translateX(0); }
#mobile-nav-drawer li { width: 100%; list-style: none; }
#mobile-nav-drawer a {
  display: block;
  padding: 15px 28px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
#mobile-nav-drawer a:hover { color: var(--red); background: #fff5f5; }
#mobile-nav-drawer .btn-nav {
  display: block;
  margin: 8px 20px;
  text-align: center;
  border-radius: 999px;
  border-bottom: none;
}
#mobile-nav-drawer li:has(.btn-nav) { border-bottom: none; }
#mobile-nav-drawer .nav-dd-wrap { position: relative; }
#mobile-nav-drawer .nav-dd {
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-top: 1px solid var(--border) !important;
  border-radius: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: all !important;
  display: none;
  padding: 4px 0 8px !important;
  background: #fafafa !important;
}
#mobile-nav-drawer .nav-dd::before { display: none !important; }
#mobile-nav-drawer .nav-dd-wrap.open .nav-dd { display: block; }
#mobile-nav-drawer .nav-dd-item { padding: 9px 44px !important; }
#mobile-nav-drawer .nav-dd-view-all { display: block !important; padding: 9px 44px !important; }
#mobile-nav-drawer .donate-peek { display: none; }

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
}
.nav-overlay.open { display: block; }

/* ── Mobile breakpoint ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links  { display: none; }
  #mobile-nav-drawer { display: flex; }
}

.btn-nav {
  background: var(--red) !important;
  color: white !important;
  padding: 9px 22px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(212,43,43,.25);
}
.btn-nav:hover { background: #b52020 !important; }

/* ── Donate nav button ── */
.btn-donate {
  background: linear-gradient(135deg, #f59e0b, #f97316) !important;
  box-shadow: 0 3px 10px rgba(245,158,11,.32) !important;
}
.btn-donate:hover {
  background: linear-gradient(135deg, #d97706, #ea580c) !important;
  box-shadow: 0 4px 14px rgba(245,158,11,.5) !important;
}
.btn-portal {
  background: #1A56C4 !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(26,86,196,.28) !important;
}
.btn-portal:hover {
  background: #1340a0 !important;
  box-shadow: 0 4px 14px rgba(26,86,196,.45) !important;
}

/* ── Kid peek animation ── */
.nav-donate-wrap { position: relative; }

.donate-peek {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2rem;
  overflow: hidden;
  pointer-events: none;
  z-index: 101;
}

.donate-kid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-donate-wrap:hover .donate-kid {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px 12px;
  color: var(--text);
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--red); background: #fff5f5; }

/* ── Hero ── */
.hero {
  min-height: 88vh;
  background: linear-gradient(135deg, #1a56c4 0%, #2563eb 40%, #7c3aed 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 60px 60px;
  gap: 40px;
}

/* Hero video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,86,196,.82) 0%, rgba(124,58,237,.75) 100%);
  z-index: 0;
}

/* Playful polka-dot background pattern */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.15) 2px, transparent 2px),
    radial-gradient(circle, rgba(255,220,0,.12) 3px, transparent 3px),
    radial-gradient(circle, rgba(255,100,100,.1) 2px, transparent 2px);
  background-size: 48px 48px, 72px 72px, 36px 36px;
  background-position: 0 0, 24px 24px, 12px 36px;
  pointer-events: none;
}

/* Floating emoji shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  font-size: 1.8rem;
  opacity: .25;
  animation: float 6s ease-in-out infinite;
}
.s1  { top: 10%; left:  5%; animation-delay: 0s;    font-size: 2.2rem; }
.s2  { top: 70%; left:  8%; animation-delay: 1s;    }
.s3  { top: 15%; left: 90%; animation-delay: 2s;    }
.s4  { top: 75%; left: 88%; animation-delay: .5s;   }
.s5  { top: 40%; left: 93%; animation-delay: 1.5s;  font-size: 1.5rem; }
.s6  { top: 85%; left: 45%; animation-delay: 2.5s;  }
.s7  { top:  5%; left: 50%; animation-delay: .8s;   font-size: 1.4rem; }
.s8  { top: 50%; left:  2%; animation-delay: 1.8s;  font-size: 1.4rem; }
.s9  { top: 25%; left: 70%; animation-delay: 3s;    font-size: 1.3rem; }
.s10 { top: 60%; left: 60%; animation-delay: 2.2s;  font-size: 1.3rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(8deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 640px; color: white; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.4);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.6rem;
  line-height: 1.1;
  margin-bottom: 12px;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.hero-accent { color: #ffd700; }

.hero-content p {
  font-size: 1.1rem;
  opacity: .92;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust span {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.hero-card {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.hero-logo {
  width: 340px;
  height: 340px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: float 5s ease-in-out infinite;
}

/* ── About ── */
.about { background: white; }

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

.about-card {
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.red-card    { background: var(--red-lt);    border-color: #ffd0d0; }
.green-card  { background: var(--green-lt);  border-color: #c8eec4; }
.blue-card   { background: var(--blue-lt);   border-color: #c7d8f8; }
.yellow-card { background: var(--yellow-lt); border-color: #f5e0a0; }

.about-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.about-card h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.about-card p  { font-size: .88rem; color: var(--text-lt); line-height: 1.6; }

/* ── Programs ── */
.programs { background: #f8f9ff; }

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

.program-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 2px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.program-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }

.program-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.red-tag    { background: var(--red-lt);    color: var(--red);   }
.green-tag  { background: var(--green-lt);  color: var(--green); }
.blue-tag   { background: var(--blue-lt);   color: var(--blue);  }
.yellow-tag { background: var(--yellow-lt); color: var(--yellow);}

.program-card h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.program-card p  { font-size: .87rem; color: var(--text-lt); line-height: 1.6; margin-bottom: 16px; }

.program-details { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.program-details li { font-size: .82rem; color: var(--text-lt); font-weight: 600; }

/* ── Curriculum ── */
.curriculum { background: white; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.col-text .lead {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
  margin: 16px 0 14px;
  line-height: 1.6;
}
.col-text p { color: var(--text-lt); font-size: .95rem; margin-bottom: 14px; line-height: 1.7; }

.curriculum-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pillar {
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.red-pillar    { background: var(--red-lt); }
.blue-pillar   { background: var(--blue-lt); }
.green-pillar  { background: var(--green-lt); }
.yellow-pillar { background: var(--yellow-lt); }

.pillar-icon { font-size: 1.6rem; }
.pillar strong { font-size: .95rem; color: var(--text); }
.pillar p { font-size: .83rem; color: var(--text-lt); line-height: 1.5; }

/* ── Tuition ── */
.tuition { background: #f8f9ff; }

.tuition-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.tuition-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 3px solid var(--red);
  position: relative;
  box-shadow: 0 8px 32px rgba(212,43,43,.12);
}


.tuition-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tuition-icon { font-size: 2.4rem; margin-bottom: 12px; }
.tuition-card h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 10px; }

.tuition-price {
  font-family: 'Fredoka One', cursive;
  font-size: 3.2rem;
  color: var(--red);
  line-height: 1;
  margin: 12px 0;
}
.tuition-price span { font-size: 1.2rem; color: var(--text-lt); }

.tuition-card > p { font-size: .9rem; color: var(--text-lt); margin-bottom: 20px; }

.tuition-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.tuition-list li { font-size: .9rem; color: var(--text-lt); font-weight: 600; }

.tuition-info { display: flex; flex-direction: column; gap: 24px; }
.tuition-info h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 4px; }

.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-weight: 800; font-size: .95rem; margin-bottom: 2px; }
.info-item p { font-size: .88rem; color: var(--text-lt); line-height: 1.6; }
.info-item a { color: var(--blue); font-weight: 700; }

/* ── Gallery ── */
.gallery { background: white; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 14px;
  margin-bottom: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-placeholder {
  font-size: 1.4rem;
  text-align: center;
  font-weight: 700;
  color: rgba(0,0,0,.4);
  line-height: 1.6;
}

.gallery-note {
  text-align: center;
  font-size: .88rem;
  color: var(--text-lt);
}
.gallery-note a { color: var(--blue); font-weight: 700; }

/* ── Photo Globe ── */
.globe-scene {
  position: relative;
  width: 100%;
  height: 780px;
  margin-bottom: 20px;
  cursor: default;
  overflow: hidden;
}

.globe-item {
  position: absolute;
  width: 210px;
  height: 158px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  will-change: transform, opacity;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  transition: box-shadow .2s;
  user-select: none;
}

.globe-item:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.38);
}

.globe-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  draggable: false;
}

.globe-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  padding: 18px 8px 7px;
  opacity: 0;
  transition: opacity .2s;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.globe-item:hover .globe-label { opacity: 1; }

.globe-zoom {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(0,0,0,.45);
  color: white;
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s;
}

.globe-item:hover .globe-zoom { opacity: 1; }

@media (max-width: 640px) {
  .globe-scene { height: 520px; }
  .globe-item  { width: 140px; height: 105px; border-radius: 9px; }
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, #27ae60 100%);
  color: white;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-shapes {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  font-size: 1.5rem;
  opacity: .25;
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 2.4rem; margin-bottom: 12px; color: white; }
.cta-banner p  { font-size: 1.05rem; opacity: .9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ── */
.contact { background: #f8f9ff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.red-icon    { background: var(--red-lt); }
.green-icon  { background: var(--green-lt); }
.blue-icon   { background: var(--blue-lt); }
.yellow-icon { background: var(--yellow-lt); }

.contact-item strong { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 2px; color: var(--text); }
.contact-item p { font-size: .9rem; color: var(--text-lt); line-height: 1.6; }
.contact-item a { color: var(--blue); font-weight: 700; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 800; color: var(--text); letter-spacing: .02em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: .92rem;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: white;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,196,.1);
}
.form-group textarea { resize: vertical; }
.form-success { color: var(--green); font-weight: 800; font-size: .95rem; text-align: center; }

/* ── Footer ── */
.footer { background: #1a1a2e; color: rgba(255,255,255,.6); }

.footer-fun-strip {
  background: linear-gradient(90deg, var(--red), var(--blue), var(--green), var(--yellow), var(--red));
  padding: 10px 0;
  display: flex;
  justify-content: space-around;
  font-size: 1.2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}

.footer-logo { height: 80px; width: auto; object-fit: contain; margin-bottom: 12px; background: white; border-radius: 12px; padding: 6px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 14px; }
.fb-link {
  display: inline-block;
  background: #1877f2;
  color: white;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}
.fb-link:hover { background: #145dbf; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav strong { color: white; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.footer-nav a { font-size: .85rem; transition: color .2s; }
.footer-nav a:hover { color: white; }
.footer-nav span { font-size: .85rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 28px;
  font-size: .8rem;
}

/* ── Testimonials Page ── */
.page-hero {
  background: linear-gradient(135deg, #1a56c4 0%, #7c3aed 100%);
  color: white;
  padding: 80px 60px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.page-hero h1 { font-size: 3rem; color: white; margin-bottom: 16px; }
.page-hero p  { font-size: 1.05rem; opacity: .9; }

.testimonials-page { background: #f8f9ff; }

.coming-soon-block {
  text-align: center;
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  border: 2px dashed var(--border);
  margin-bottom: 52px;
}
.coming-soon-icon { font-size: 3rem; margin-bottom: 12px; }
.coming-soon-block h2 { font-size: 1.8rem; color: var(--text); margin-bottom: 10px; }
.coming-soon-block p { color: var(--text-lt); font-size: .95rem; margin-bottom: 20px; max-width: 440px; margin-left: auto; margin-right: auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 2px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.t-stars { font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: .9rem;
  color: var(--text-lt);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}
.red-av    { background: var(--red); }
.green-av  { background: var(--green); }
.blue-av   { background: var(--blue); }
.yellow-av { background: var(--yellow); }

.t-author strong { display: block; font-size: .88rem; color: var(--text); }
.t-author span   { font-size: .78rem; color: var(--text-lt); }

.testimonial-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--blue-lt), var(--red-lt));
  border-radius: var(--radius);
  padding: 40px;
}
.testimonial-cta h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 10px; }
.testimonial-cta p  { color: var(--text-lt); font-size: .95rem; margin-bottom: 20px; }

/* ══════════════════════════════════════
   RED PANDA MASCOT
══════════════════════════════════════ */
.mascot-wrap {
  position: fixed;
  bottom: 24px;
  left: 28px;
  z-index: 998;
  width: 180px;
  cursor: pointer;
  user-select: none;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.22));
  animation: panda-bounce 1.8s ease-in-out infinite;
}

.mascot-svg {
  width: 180px;
  height: auto;
  display: block;
  transition: transform .15s;
}

.mascot-wrap:hover .mascot-svg {
  transform: scale(1.08);
}

/* Bounce */
@keyframes panda-bounce {
  0%, 100% { transform: translateY(0); }
  45%       { transform: translateY(-14px); }
  65%       { transform: translateY(-8px); }
}

/* Happy jump on click */
.mascot-wrap.panda-jump {
  animation: panda-jump-anim .55s ease;
}
@keyframes panda-jump-anim {
  0%   { transform: translateY(0)    rotate(0deg)   scale(1); }
  30%  { transform: translateY(-32px) rotate(-12deg) scale(1.1); }
  60%  { transform: translateY(-20px) rotate(10deg)  scale(1.05); }
  100% { transform: translateY(0)    rotate(0deg)   scale(1); }
}

/* Wave arm */
.mascot-arm-left {
  transform-origin: 55px 108px;
  animation: panda-wave 3.5s ease-in-out infinite 2s;
}
@keyframes panda-wave {
  0%, 100%  { transform: rotate(0deg); }
  15%       { transform: rotate(-35deg); }
  30%       { transform: rotate(5deg); }
  45%       { transform: rotate(-30deg); }
  60%       { transform: rotate(0deg); }
}

/* Speech bubble */
.mascot-bubble {
  position: absolute;
  bottom: 192px;
  left: 10px;
  background: white;
  color: var(--text);
  font-family: 'Fredoka One', cursive;
  font-size: .82rem;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
  border: 2px solid var(--red);
  min-width: 130px;
  max-width: 170px;
  text-align: center;
  opacity: 0;
  transform: scale(0.7) translateY(10px);
  transform-origin: bottom left;
  transition: opacity .3s, transform .3s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}

.mascot-bubble.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.mascot-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 18px;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid var(--red);
}
.mascot-bubble::before {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 19px;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 5px solid transparent;
  border-top: 9px solid white;
  z-index: 1;
}

/* ══════════════════════════════════════
   NOW ENROLLING BADGE
══════════════════════════════════════ */
.enrolling-badge {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka One', cursive;
  font-size: .82rem;
  line-height: 1.3;
  box-shadow: 0 6px 24px rgba(212,43,43,.45);
  cursor: pointer;
  text-decoration: none;
  animation: badge-bob 2.8s ease-in-out infinite;
}

.enrolling-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid rgba(212,43,43,.5);
  animation: pulse-ring 2s ease-out infinite;
}

.enrolling-pulse::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(212,43,43,.25);
  animation: pulse-ring 2s ease-out infinite .4s;
}

.enrolling-text { position: relative; z-index: 1; }

@keyframes badge-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-6px) scale(1.04); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ══════════════════════════════════════
   COUNTDOWN BANNER
══════════════════════════════════════ */
.countdown-banner {
  background: linear-gradient(135deg, #1a56c4 0%, #7c3aed 100%);
  color: white;
  padding: 18px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.countdown-banner::before {
  content: '⭐🎨🔬📚🎵⭐🎨🔬📚🎵⭐🎨🔬📚';
  position: absolute;
  top: 4px; left: 0;
  font-size: .7rem;
  opacity: .2;
  letter-spacing: 8px;
  white-space: nowrap;
}

.countdown-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.countdown-label {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  white-space: nowrap;
}

.countdown-clock {
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-unit {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 62px;
}

.countdown-unit span {
  display: block;
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  line-height: 1;
  animation: tick-flip .3s ease;
}

.countdown-unit small {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
  margin-top: 2px;
}

.countdown-sep {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  opacity: .6;
  animation: blink-sep 1s step-end infinite;
}

@keyframes blink-sep {
  0%, 100% { opacity: .6; }
  50%       { opacity: .1; }
}

@keyframes tick-flip {
  0%   { transform: translateY(-4px); opacity: .4; }
  100% { transform: translateY(0);    opacity: 1; }
}

.countdown-cta {
  background: white;
  color: var(--blue);
  font-weight: 800;
  font-size: .88rem;
  padding: 10px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 3px 12px rgba(0,0,0,.15);
}
.countdown-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }

/* ══════════════════════════════════════
   GALLERY LIGHTBOX
══════════════════════════════════════ */
.gallery-item { cursor: pointer; }

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.gallery-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  border-radius: var(--radius);
}
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-item:hover { transform: scale(1.03); }

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.lightbox-card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
  transform: scale(0.7) translateY(40px);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}

.lightbox.open .lightbox-card {
  transform: scale(1) translateY(0);
}

.lightbox-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  background: rgba(0,0,0,.4);
  color: white;
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.lightbox-close:hover { background: rgba(0,0,0,.65); transform: rotate(90deg); }

.lightbox-visual {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.lightbox-body {
  padding: 24px 28px 28px;
  text-align: center;
}

.lightbox-emoji {
  font-size: 2.8rem;
  margin-bottom: 10px;
  animation: pop-in .4s cubic-bezier(.34,1.56,.64,1);
}

.lightbox-body h3 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 10px;
}

.lightbox-body p {
  font-size: .95rem;
  color: var(--text-lt);
  line-height: 1.7;
  margin-bottom: 20px;
}

@keyframes pop-in {
  0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg);   opacity: 1; }
}

/* ══════════════════════════════════════
   HERO ENTRANCE ANIMATIONS
══════════════════════════════════════ */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-pop-in {
  from { opacity: 0; transform: translateY(20px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge      { animation: hero-fade-up  .55s ease both; animation-delay: .1s;  }
.hero-content h1 { animation: hero-fade-up  .6s  ease both; animation-delay: .28s; }
.hero-content p  { animation: hero-fade-up  .6s  ease both; animation-delay: .46s; }
.hero-cta        { animation: hero-fade-up  .6s  ease both; animation-delay: .62s; }
.hero-trust      { animation: hero-fade-up  .6s  ease both; animation-delay: .78s; }
.hero-card       { animation: hero-pop-in   .7s  cubic-bezier(.34,1.56,.64,1) both; animation-delay: .35s; }

/* Varied emoji float animations for more life */
@keyframes float-spin {
  0%, 100% { transform: translateY(0)    rotate(0deg);  }
  50%       { transform: translateY(-18px) rotate(14deg); }
}

@keyframes float-wide {
  0%, 100% { transform: translate(0, 0)      rotate(0deg);  }
  50%       { transform: translate(10px, -22px) rotate(-10deg); }
}

@keyframes float-pulse-up {
  0%, 100% { transform: translateY(0)    scale(1);    opacity: .25; }
  50%       { transform: translateY(-14px) scale(1.15); opacity: .4;  }
}

.s1  { animation: float-spin     5.5s ease-in-out infinite; }
.s2  { animation: float-wide     7s   ease-in-out infinite; }
.s3  { animation: float          6.5s ease-in-out infinite; }
.s4  { animation: float-spin     8s   ease-in-out infinite; }
.s5  { animation: float-pulse-up 5s   ease-in-out infinite; }
.s6  { animation: float-wide     6.2s ease-in-out infinite; }
.s7  { animation: float-spin     7.5s ease-in-out infinite; }
.s8  { animation: float          5.8s ease-in-out infinite; }
.s9  { animation: float-pulse-up 6.8s ease-in-out infinite; }
.s10 { animation: float-wide     7.2s ease-in-out infinite; }

/* ══════════════════════════════════════
   SPONSOR TICKER (footer, all pages)
══════════════════════════════════════ */
.sponsor-ticker {
  background: #fff;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 11px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sponsor-ticker-label {
  font-family: 'Fredoka One', cursive;
  font-size: .88rem;
  color: var(--text-lt);
  white-space: nowrap;
  padding: 0 20px 0 28px;
  flex-shrink: 0;
  border-right: 2px solid var(--border);
}

.sponsor-ticker-outer {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.sponsor-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.sponsor-ticker-outer:hover .sponsor-ticker-track {
  animation-play-state: paused;
}

.sponsor-ticker-set {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  flex-shrink: 0;
}

.ticker-sep {
  color: #d1d5db;
  font-size: .9rem;
  padding: 0 8px;
  user-select: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  transition: transform .15s, box-shadow .15s;
}

a.ticker-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.ticker-gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #78350f;
  border: 1.5px solid #fcd34d;
  font-size: .92rem;
}

.ticker-silver {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #475569;
  border: 1.5px solid #cbd5e1;
  font-size: .85rem;
}

.ticker-bronze {
  background: linear-gradient(135deg, #fef0e6, #fddcbc);
  color: #7c3a0b;
  border: 1.5px solid #f6ad72;
  font-size: .8rem;
}

.ticker-ph {
  opacity: .5;
  cursor: default;
  font-style: italic;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   COMMUNITY PARTNERS (homepage section)
══════════════════════════════════════ */
.partners-tier-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.partners-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 16px;
  border-radius: 999px;
  font-family: 'Fredoka One', cursive;
  font-size: .9rem;
  white-space: nowrap;
}

.ptb-gold   { background: linear-gradient(135deg,#fef3c7,#fcd34d); color: #78350f; border: 1.5px solid #f59e0b; }
.ptb-silver { background: linear-gradient(135deg,#f1f5f9,#cbd5e1); color: #334155; border: 1.5px solid #94a3b8; }
.ptb-bronze { background: linear-gradient(135deg,#fef0e6,#f6ad72); color: #7c2d12; border: 1.5px solid #fb923c; }

.partners-tier-line { flex: 1; height: 2px; background: var(--border); border-radius: 2px; }

/* Gold — large feature cards */
.partners-gold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.partner-gold-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fff 60%);
  border: 2px solid #fcd34d;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 6px 24px rgba(245,158,11,.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.partner-gold-card::before {
  content: '⭐ GOLD';
  position: absolute;
  top: 16px; right: -24px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 36px;
  transform: rotate(35deg);
}

.partner-gold-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(245,158,11,.2);
}

.partner-gold-icon { font-size: 2.6rem; line-height: 1; }
.partner-gold-name { font-family: 'Fredoka One', cursive; font-size: 1.4rem; color: var(--text); }
.partner-gold-desc { font-size: .9rem; color: var(--text-lt); line-height: 1.6; flex: 1; }

.partner-gold-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  text-decoration: none;
  align-self: flex-start;
  transition: transform .15s, box-shadow .15s;
}
.partner-gold-link:hover { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(245,158,11,.38); }

.partner-gold-ph {
  background: #fafafa;
  border: 2px dashed #e5e7eb;
  box-shadow: none;
}
.partner-gold-ph::before { display: none; }
.partner-gold-ph:hover { transform: none; box-shadow: none; }

/* Silver — standard cards */
.partners-silver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.partner-silver-card {
  background: linear-gradient(to bottom, #f8fafc, #fff);
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.partner-silver-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.partner-silver-icon { font-size: 1.8rem; }
.partner-silver-name { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--text); }

.partner-silver-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #64748b, #475569);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.partner-silver-link:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.18); }

.partner-silver-ph {
  opacity: .5;
  border-style: dashed;
  background: #fafafa;
  box-shadow: none;
}
.partner-silver-ph:hover { transform: none; box-shadow: none; }

/* Bronze — compact pill row */
.partners-bronze-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.partner-bronze-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef0e6, #fddcbc);
  border: 1.5px solid #fb923c;
  color: #7c2d12;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
a.partner-bronze-pill:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(251,146,60,.25); }

.partner-bronze-ph {
  opacity: .45;
  border-style: dashed;
  background: #fafafa;
  border-color: #e5e7eb;
  color: var(--text-lt);
  cursor: default;
}

.partners-cta {
  text-align: center;
  padding: 28px 0 0;
  border-top: 2px solid var(--border);
}
.partners-cta p { color: var(--text-lt); font-size: .9rem; margin-bottom: 14px; }

/* ══════════════════════════════════════
   NAV SPONSOR DROPDOWN
══════════════════════════════════════ */
.nav-dd-wrap { position: relative; }

.nav-dd-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-dd-caret {
  font-size: .6rem;
  opacity: .65;
  display: inline-block;
  transition: transform .22s ease;
}

.nav-dd-wrap:hover .nav-dd-caret,
.nav-dd-wrap.open   .nav-dd-caret { transform: rotate(180deg); }

/* Panel */
.nav-dd {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  margin-left: -120px;
  width: 248px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0,0,0,.13), 0 0 0 1px var(--border);
  padding: 10px 0 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
}

/* Arrow tip */
.nav-dd::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

@media (min-width: 1101px) {
  .nav-dd-wrap:hover .nav-dd {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
}

/* Tier heading inside dropdown */
.nav-dd-tier {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 14px 6px;
}
.nav-dd-tier.silver-tier { color: #64748b; }
.nav-dd-tier.bronze-tier { color: #9a4510; }

.nav-dd-section {
  padding: 6px 0 4px;
  border-bottom: 1px solid var(--border);
}
.nav-dd-section:last-of-type { border-bottom: none; }

/* Individual sponsor link */
.nav-dd-item {
  display: block;
  padding: 6px 14px;
  margin: 0 4px;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background .13s;
}
.nav-dd-item:hover { background: #f8fafc; }
/* Footer "View all" link */
.nav-dd-view-all {
  display: block;
  text-align: center;
  padding: 9px 14px 4px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color .15s;
}
.nav-dd-view-all:hover { color: var(--red); }

/* Hide placeholder slots — only real sponsors show.
   Hide the whole section if it has no real (non-ph) items. */
.nav-dd-ph { display: none; color: var(--text-lt); font-style: italic; font-weight: 400; font-size: .82rem; }
.nav-dd-section:not(:has(.nav-dd-item:not(.nav-dd-ph))) { display: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .about-grid    { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 1; }
  .hero-logo { width: 260px; height: 260px; }
}

@media (max-width: 860px) {
  .two-col        { grid-template-columns: 1fr; gap: 40px; }
  .tuition-grid   { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
  .footer-top     { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { flex-direction: column; text-align: center; padding: 60px 40px 0; }
  .hero-card { display: none; }
  .hero-trust { justify-content: center; }
  .hero-cta   { justify-content: center; }
}

@media (max-width: 640px) {
  .container    { padding: 0 20px; }
  .topbar-inner { padding: 0 20px; flex-direction: column; gap: 4px; font-size: .72rem; }
  .navbar       { padding: 0 20px; }

  .hero { padding: 50px 20px 0; min-height: auto; }
  .hero-content h1 { font-size: 2.2rem; }

  .section { padding: 64px 0; }
  .section-header h2 { font-size: 1.8rem; }

  .about-grid         { grid-template-columns: 1fr; }
  .programs-grid      { grid-template-columns: 1fr; }
  .curriculum-pillars { grid-template-columns: 1fr; }
  .gallery-grid       { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .footer-bottom      { flex-direction: column; text-align: center; }
  .page-hero          { padding: 60px 20px 52px; }
  .page-hero h1       { font-size: 2rem; }

  .countdown-label { white-space: normal; font-size: .95rem; text-align: center; }
  .countdown-inner { gap: 16px; padding: 0 16px; }

  .mascot-wrap   { width: 120px; left: 12px; bottom: 16px; }
  .mascot-svg    { width: 120px; }
  .mascot-bubble { bottom: 130px; min-width: 110px; max-width: 140px; font-size: .75rem; }
  .enrolling-badge { width: 72px; height: 72px; font-size: .72rem; right: 16px; bottom: 20px; }
}
