/* ==========================================================================
   KIC WAY Foundation — Design System
   Every Journey Begins With a Pair of Shoes
   ========================================================================== */

:root{
  /* Brand palette — drawn from the KIC WAY mark (shoe + sunrise + road),
     tuned toward a bold flat "kids' education brand" look: big orange blob,
     tomato-red CTAs, deep navy, and a bright teal secondary. */
  --gold:        #F6A61E;
  --gold-light:  #FFCE73;
  --gold-dark:   #C97E00;
  --green:       #1F9D6C;
  --green-deep:  #0F6B45;
  --green-light: #4FD199;
  --blue:        #2F6FED;
  --blue-deep:   #17348C;
  --purple:      #8A5CF6;
  --coral:       #F1592A;
  --coral-deep:  #D6431A;
  --teal:        #24B8A6;
  --teal-deep:   #158A7C;
  --navy:        #171A34;
  --pink:        #FF8FB1;

  --ink:         #191A2E;
  --ink-soft:    #55566B;
  --warm-white:  #FFFCF6;
  --cream:       #FFF3E1;
  --white:       #FFFFFF;
  --line:        #F0E6D4;

  --grad-sunrise: linear-gradient(135deg, var(--gold) 0%, var(--coral) 100%);
  --grad-sky:     linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --grad-meadow:  linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  --grad-warm:    linear-gradient(180deg, #FFFCF6 0%, #FFEBC7 100%);
  --grad-rainbow: linear-gradient(90deg, var(--gold) 0%, var(--coral) 28%, var(--purple) 60%, var(--blue) 82%, var(--green-light) 100%);
  --grad-cta:     linear-gradient(120deg, var(--coral) 0%, #FF8A4C 55%, var(--gold) 100%);

  --font-head: 'Baloo 2', 'Quicksand', sans-serif;
  --font-body: 'Nunito', 'Poppins', sans-serif;

  --shadow-soft: 0 10px 30px rgba(23, 26, 52, 0.08);
  --shadow-med:  0 20px 50px rgba(23, 26, 52, 0.12);
  --shadow-lift: 0 26px 60px rgba(23, 26, 52, 0.2);

  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --radius-pill: 100px;

  --container: 1240px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4{
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; }
h2{ font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; }
h3{ font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4{ font-size: 1.15rem; }
p{ line-height: 1.7; margin: 0 0 1em; color: var(--ink-soft); }
p.lead{ font-size: 1.2rem; }

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 0 0 12px 0; z-index: 999;
}
.skip-link:focus{ left: 0; }

:focus-visible{ outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow{ width: 100%; max-width: 860px; margin: 0 auto; padding: 0 28px; }

section{ position: relative; }
.section{ padding: 100px 0; }
.section-sm{ padding: 64px 0; }
.section-tight{ padding: 40px 0; }
@media (max-width: 780px){
  .section{ padding: 64px 0; }
  .section-sm{ padding: 48px 0; }
}

.bg-warm{ background: var(--warm-white); }
.bg-cream{ background: var(--cream); }
.bg-white{
  background:
    radial-gradient(circle at 100% 0%, rgba(138,92,246,0.06), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(255,107,94,0.06), transparent 40%),
    var(--white);
}
.bg-ink{ background: var(--ink); color: #fff; }
.bg-ink p{ color: #C9CAD2; }
.bg-green{ background: var(--grad-meadow); color: #fff; }
.bg-green p, .bg-green h2, .bg-green h3{ color: #fff; }
.bg-sunrise{ background: var(--grad-sunrise); color: #241300; }

/* Eyebrow / badge tags */
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green-deep); background: #E4F5EA;
  padding: 8px 18px; border-radius: var(--radius-pill); margin-bottom: 18px;
  transform: rotate(-2deg); box-shadow: 0 6px 14px rgba(33,34,39,0.06);
  transition: transform .25s ease;
}
.eyebrow:hover{ transform: rotate(0deg) scale(1.04); }
.eyebrow.gold{ background: #FFF1CC; color: var(--gold-dark); }
.eyebrow.blue{ background: #E4EAFD; color: var(--blue-deep); }
.eyebrow.coral{ background: #FFE7E4; color: var(--coral-deep); }
.eyebrow.purple{ background: #EFE7FE; color: #5B34C4; }
.eyebrow.on-dark{ background: rgba(255,255,255,0.16); color: #fff; }
.eyebrow .dot{ width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.text-center{ text-align: center; }
.max-w-copy{ max-width: 640px; }
.mx-auto{ margin-left: auto; margin-right: auto; }

/* Buttons */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 16px 30px; border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-3px) scale(1.03); }
.btn:active{ transform: translateY(-1px) scale(0.98); }
.btn-primary{ background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(241,89,42,0.38); }
.btn-primary:hover{ background: var(--coral-deep); box-shadow: 0 14px 30px rgba(241,89,42,0.48); }
.btn-navy{ background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(23,26,52,0.3); }
.btn-navy:hover{ background: #0D0F22; }
.btn-teal{ background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(36,184,166,0.35); }
.btn-teal:hover{ background: var(--teal-deep); }
.btn-gold{ background: var(--gold); color: #241300; box-shadow: 0 10px 24px rgba(246,166,30,0.4); }
.btn-gold:hover{ background: var(--gold-dark); color: #fff; }
@keyframes pulse-glow{
  0%, 100%{ box-shadow: 0 10px 24px rgba(241,89,42,0.38); }
  50%{ box-shadow: 0 12px 32px rgba(241,89,42,0.58); }
}
.donate-pill{ animation: pulse-glow 1.8s ease-in-out infinite; }
.btn-outline{ background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover{ background: var(--ink); color: #fff; }
.btn-outline-white{ background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline-white:hover{ background: #fff; color: var(--ink); }
.btn-white{ background: #fff; color: var(--ink); box-shadow: 0 14px 30px rgba(0,0,0,0.15); }
.btn-white:hover{ background: var(--gold); color: #241300; }
.btn-sm{ padding: 11px 22px; font-size: 0.92rem; }
.btn-lg{ padding: 19px 38px; font-size: 1.08rem; }
.btn-block{ width: 100%; }

/* ===================== NAV ===================== */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,251,243,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header::before{ content: ''; display: block; height: 5px; background: var(--grad-rainbow); }
.site-header.scrolled{ box-shadow: 0 6px 24px rgba(33,34,39,0.08); border-color: var(--line); }
.nav-wrap{ display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; max-width: var(--container); margin: 0 auto; }
.brand{ display: flex; align-items: center; gap: 10px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.brand:hover{ transform: rotate(-3deg) scale(1.04); }
.brand img{ height: 46px; width: auto; }
.nav-links{ display: flex; align-items: center; gap: 30px; }
.nav-links a{
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: var(--ink);
  position: relative; padding: 6px 2px;
}
.nav-links a::after{
  content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 3px; border-radius: 4px;
  background: var(--grad-rainbow); transition: right .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ right: 0; }
.nav-links a:hover{ color: var(--coral-deep); }
.nav-links a.active{ color: var(--coral-deep); }
.nav-cta{ display: flex; align-items: center; gap: 14px; }
.hamburger{
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 10px;
}
.hamburger span{ width: 26px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.mobile-panel{
  display: none; position: fixed; inset: 0; background: var(--warm-white); z-index: 600;
  padding: 100px 32px 40px; overflow-y: auto;
}
.mobile-panel.open{ display: block; }
.mobile-panel .nav-links{ flex-direction: column; align-items: flex-start; gap: 22px; }
.mobile-panel h3{ margin-bottom: 8px; }
.mobile-close{
  position: absolute; top: 22px; right: 24px; background: none; border: none; font-size: 2rem; line-height: 1;
  color: var(--ink);
}
@media (max-width: 960px){
  .nav-wrap .nav-links{ display: none; }
  .nav-cta .btn:not(.donate-pill){ display: none; }
  .hamburger{ display: flex; }
}
.mobile-panel .nav-links{ display: flex; }

/* ===================== HERO shared bits ===================== */
.hero{ position: relative; overflow: hidden; }
.hero-media{ position: relative; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }

.blob{ position: absolute; border-radius: 50%; filter: blur(0px); z-index: 0; }
.ray-burst{ position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none; }

.stat-strip{ display: flex; flex-wrap: wrap; gap: 40px; }
.stat{ transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.stat:hover{ transform: translateY(-4px) scale(1.05); }
.stat .num{ font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stat .label{ font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--ink-soft); margin-top: 6px; }
.bg-ink .stat .label, .bg-green .stat .label, .hero-dark .stat .label{ color: rgba(255,255,255,0.75); }

/* Road divider between sections — echoes the logo's winding road */
.road-divider{ position: relative; height: 90px; overflow: hidden; }
.road-divider svg{ position: absolute; bottom: -1px; left: 0; width: 100%; height: 100%; }

/* Gradient / accent text for playful headline pops */
.gradient-text{
  background: var(--grad-rainbow); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; animation: gradient-pan 6s ease infinite;
}
@keyframes gradient-pan{ 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }
.accent-coral{ color: var(--coral-deep); }
.accent-gold{ color: var(--gold-dark); }
.accent-blue{ color: var(--blue-deep); }
.accent-green{ color: var(--green-deep); }
.accent-purple{ color: #5B34C4; }

/* Highlighter-marker background behind hero text (clones per line) */
.hl-gold{
  display: inline-block;
  max-width: 100%;
  background: var(--gold-light);
  color: var(--ink);
  padding: 0.1em 0.35em;
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(23,26,52,0.05);
}
/* Per-line highlighter for naturally-wrapping text (paragraphs) — clone
   repeats the padded/rounded box on every wrapped line. No literal <br>
   is used inside this span, which avoids the clipping bug that combining
   clone with a forced line break caused on the headline. */
.hl-gold-lines{
  background: var(--gold-light);
  color: var(--ink);
  padding: 0.08em 0.14em;
  margin: 0 -0.14em;
  line-height: 2.05;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(23,26,52,0.05);
}

/* Sticker badge — playful rotated tag used for callouts */
.sticker{
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800;
  font-size: 0.8rem; padding: 8px 16px; border-radius: var(--radius-pill); color: #fff; background: var(--coral);
  transform: rotate(-4deg); box-shadow: 0 8px 18px rgba(255,107,94,0.35); border: 3px solid #fff;
}

/* ===================== GRIDS & CARDS ===================== */
.grid{ display: grid; gap: 30px; }
.grid-2{ grid-template-columns: 1fr 1fr; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-3{ grid-template-columns: 1fr 1fr; } .grid-4{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; } }
@media (max-width: 640px){
  .hero-grid .hero-grid-text{ order: 2; }
  .hero-grid > div:not(.hero-grid-text){ order: 1; }
}

.card{
  background: #fff; border-radius: var(--radius-md); padding: 34px;
  box-shadow: var(--shadow-soft); transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .35s ease;
  border: 2px solid var(--line); position: relative; overflow: hidden;
}
.card::before{
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--grad-rainbow); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.card:hover{ transform: translateY(-8px) rotate(-0.6deg); box-shadow: var(--shadow-lift); border-color: transparent; }
.card:hover::before{ transform: scaleX(1); }
.grid-3 .card:nth-child(3n+2):hover, .grid-4 .card:nth-child(4n+2):hover{ transform: translateY(-8px) rotate(0.6deg); }

.program-card{
  border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease; display: flex; flex-direction: column;
  border: 2px solid var(--line);
}
.program-card:hover{ transform: translateY(-10px) rotate(-0.5deg); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.program-card:nth-child(3n+2):hover{ transform: translateY(-10px) rotate(0.5deg); }
.program-card .media{ aspect-ratio: 4/3; overflow: hidden; position: relative; }
.program-card .media .sticker{ position: absolute; top: 16px; right: 16px; z-index: 2; }
.program-card .media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.program-card:hover .media img{ transform: scale(1.09) rotate(1deg); }
.program-card .body{ padding: 30px; flex: 1; display: flex; flex-direction: column; }
.program-card .tag{
  font-family: var(--font-head); font-weight: 800; font-size: 0.74rem; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 12px; display: inline-flex; align-self: flex-start; padding: 6px 14px; border-radius: var(--radius-pill);
  background: currentColor; transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(33,34,39,0.12);
}
.program-card .tag span{ color: #fff; }

.icon-badge{
  width: 64px; height: 64px; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 18px; flex-shrink: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 8px 18px rgba(33,34,39,0.08);
}
.grid-3 > *:nth-child(3n+1) .icon-badge, .grid-4 > *:nth-child(4n+1) .icon-badge{ transform: rotate(-6deg); }
.grid-3 > *:nth-child(3n+2) .icon-badge, .grid-4 > *:nth-child(4n+2) .icon-badge{ transform: rotate(4deg); }
.grid-3 > *:nth-child(3n+3) .icon-badge, .grid-4 > *:nth-child(4n+3) .icon-badge{ transform: rotate(-3deg); }
.card:hover .icon-badge{ transform: rotate(0deg) scale(1.14) !important; }

/* quote / testimonial */
.quote-card{
  background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft);
  border: 2px solid var(--line); position: relative; transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .35s ease;
}
.quote-card:hover{ transform: translateY(-8px) rotate(0.6deg); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.quote-card .mark{
  font-family: var(--font-head); font-weight: 800; font-size: 3.6rem; line-height: 0.5; display: block; margin-bottom: 14px;
  background: var(--grad-sunrise); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote-card .who{ display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.quote-card .who img{ width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-light); }
.quote-card .who .name{ font-family: var(--font-head); font-weight: 700; }
.quote-card .who .role{ font-size: 0.88rem; color: var(--ink-soft); }

/* leader card */
.leader-card{ text-align: center; }
.leader-card .photo{
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; margin-bottom: 18px; box-shadow: var(--shadow-soft);
  border: 5px solid #fff; outline: 3px solid var(--line); transition: transform .35s cubic-bezier(.34,1.56,.64,1), outline-color .35s ease;
}
.leader-card:nth-child(4n+1) .photo{ transform: rotate(-2deg); }
.leader-card:nth-child(4n+2) .photo{ transform: rotate(1.5deg); }
.leader-card:nth-child(4n+3) .photo{ transform: rotate(-1.5deg); }
.leader-card:nth-child(4n+4) .photo{ transform: rotate(2deg); }
.leader-card:hover .photo{ transform: rotate(0deg) scale(1.03); outline-color: var(--gold); }
.leader-card .photo img{ width: 100%; height: 100%; object-fit: cover; }
.leader-card .name{ font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 2px; }
.leader-card .role{ color: var(--coral-deep); font-weight: 700; font-family: var(--font-head); font-size: 0.92rem; }

/* news card */
.news-card{ border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); border: 2px solid var(--line); transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .35s ease; }
.news-card:hover{ transform: translateY(-8px) rotate(-0.5deg); box-shadow: var(--shadow-lift); border-color: var(--coral); }
.news-card .media{ aspect-ratio: 3/2; overflow: hidden; }
.news-card .media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .media img{ transform: scale(1.08); }
.news-card .body{ padding: 26px; }
.news-card .date{ font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--coral-deep); margin-bottom: 8px; display: block; }

/* pill list */
.pill-list{ display: flex; flex-wrap: wrap; gap: 12px; }
.pill{
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-pill); padding: 10px 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), border-color .25s ease, background .25s ease;
}
.pill:hover{ transform: translateY(-3px) scale(1.05) rotate(-1deg); border-color: var(--coral); background: var(--cream); }

/* timeline (Our History) */
.timeline{ position: relative; margin-top: 40px; }
.timeline::before{ content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--coral), var(--blue), var(--green)); border-radius: 4px; }
.timeline-item{ position: relative; padding-left: 70px; margin-bottom: 46px; }
.timeline-item:last-child{ margin-bottom: 0; }
.timeline-item::before{
  content: ''; position: absolute; left: 12px; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); border: 5px solid var(--coral); box-shadow: 0 0 0 6px var(--warm-white);
}
.timeline-item .year{ font-family: var(--font-head); font-weight: 800; color: var(--coral-deep); font-size: 1.4rem; margin-bottom: 6px; }
@media (max-width: 640px){ .timeline-item{ padding-left: 54px; } }

/* forms */
.form-field{ margin-bottom: 20px; }
.form-field label{ display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.form-field input, .form-field textarea, .form-field select{
  width: 100%; padding: 15px 18px; border-radius: var(--radius-sm); border: 2px solid var(--line);
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42,85,229,0.12); outline: none;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px){ .form-row{ grid-template-columns: 1fr; } }

/* donate amount tiles */
.amount-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 640px){ .amount-grid{ grid-template-columns: 1fr 1fr; } }
.amount-tile{
  border: 3px solid var(--line); border-radius: var(--radius-sm); padding: 20px 10px; text-align: center;
  background: #fff; font-family: var(--font-head); font-weight: 800; cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.amount-tile .impact{ display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; color: var(--ink-soft); margin-top: 6px; }
.amount-tile:hover{ border-color: var(--gold); transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-soft); }
.amount-tile.selected{ border-color: var(--coral); background: #FFF1EF; color: var(--coral-deep); transform: translateY(-3px) scale(1.05) rotate(-1deg); box-shadow: var(--shadow-med); }

/* toggle */
.toggle-group{ display: inline-flex; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-pill); padding: 4px; margin-bottom: 26px; }
.toggle-group button{ border: none; background: none; padding: 10px 26px; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 700; color: var(--ink-soft); transition: all .25s ease; }
.toggle-group button.active{ background: var(--grad-cta); color: #fff; }

/* ===================== FOOTER ===================== */
.site-footer{ position: relative; color: #fff; overflow: hidden; }
.site-footer::before{ content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--grad-rainbow); z-index: 3; }
.footer-media{ position: absolute; inset: 0; }
.footer-media img{ width: 100%; height: 100%; object-fit: cover; }
.footer-overlay{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,26,0.72) 0%, rgba(15,15,20,0.92) 100%); }
.footer-inner{ position: relative; z-index: 2; }
.footer-quote{ text-align: center; max-width: 780px; margin: 0 auto 54px; }
.footer-quote p{ font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.3rem); color: #fff; line-height: 1.3; }
.footer-quote span{ color: var(--gold-light); font-family: var(--font-body); font-weight: 700; font-size: 1rem; display: block; margin-top: 14px; }

.newsletter-box{
  background: rgba(255,255,255,0.08); border: 2px solid rgba(255,214,102,0.4); border-radius: var(--radius-lg);
  padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 60px; backdrop-filter: blur(6px); transition: transform .3s ease, border-color .3s ease;
}
.newsletter-box:hover{ transform: translateY(-3px); border-color: var(--gold-light); }
.newsletter-box form{ display: flex; gap: 10px; flex: 1; max-width: 460px; min-width: 260px; }
.newsletter-box input{ flex: 1; padding: 14px 18px; border-radius: var(--radius-pill); border: none; }

.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.15); }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h4{ color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-grid ul li{ margin-bottom: 12px; }
.footer-grid ul li a{ color: rgba(255,255,255,0.78); transition: color .2s ease; }
.footer-grid ul li a:hover{ color: var(--gold-light); }
.footer-brand img{ height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p{ color: rgba(255,255,255,0.7); max-width: 300px; }
.social-row{ display: flex; gap: 12px; margin-top: 18px; }
.social-row a{
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease;
}
.social-row a:hover{ background: var(--coral); transform: translateY(-3px); }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 14px; }
.footer-bottom p{ color: rgba(255,255,255,0.6); font-size: 0.88rem; margin: 0; }
.footer-bottom .legal-links{ display: flex; gap: 20px; }
.footer-bottom .legal-links a{ color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-bottom .legal-links a:hover{ color: #fff; }

/* ===================== ANIMATIONS ===================== */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: .12s; }
.reveal-delay-2{ transition-delay: .24s; }
.reveal-delay-3{ transition-delay: .36s; }
.reveal-delay-4{ transition-delay: .48s; }

@keyframes floaty{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }
.floaty{ animation: floaty 6s ease-in-out infinite; }
.floaty-slow{ animation: floaty 9s ease-in-out infinite; }

@keyframes spin-slow{ from{ transform: rotate(0); } to{ transform: rotate(360deg); } }
.spin-slow{ animation: spin-slow 40s linear infinite; }

.marquee-track{ display: flex; gap: 60px; white-space: nowrap; animation: marquee 26s linear infinite; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* utility spacing */
.mt-0{ margin-top: 0; } .mb-0{ margin-bottom: 0; }
.gap-sm{ gap: 16px; } .gap-lg{ gap: 46px; }
.flex{ display: flex; } .items-center{ align-items: center; } .justify-between{ justify-content: space-between; } .flex-wrap{ flex-wrap: wrap; }

/* misc shape frame for images */
.frame{ border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-med); position: relative; }
.frame img{ width: 100%; height: 100%; object-fit: cover; }
.frame-blob{ border-radius: 42% 58% 62% 38% / 45% 40% 60% 55%; overflow: hidden; box-shadow: var(--shadow-med); }
.frame-blob img{ width: 100%; height: 100%; object-fit: cover; }

/* ===================== HERO PORTRAIT: organic blob + circular photo ===================== */
.hero-portrait{ position: relative; width: 100%; max-width: 460px; margin: 0 auto; }
.hero-portrait .blob-organic{
  position: absolute; inset: 6% 2% 2% 8%; z-index: 0;
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  background: var(--gold);
}
.hero-portrait .frame-circle{
  position: relative; z-index: 1; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden;
  box-shadow: var(--shadow-lift); border: 8px solid var(--warm-white); margin: 4% 10% 0 0;
}
.hero-portrait .frame-circle img{ width: 100%; height: 100%; object-fit: cover; }
.hero-portrait .dotted-ring{
  position: absolute; inset: -18px; border-radius: 50%; z-index: 2; pointer-events: none;
  border: 3px dashed rgba(23,26,52,0.28); margin: 4% 10% 0 0;
}
.hero-portrait .deco-dot{
  position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--teal);
  top: 2%; left: 2%; z-index: 3; box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Small circular photo used in "about" style overlapping duo */
.duo-photo{ position: relative; max-width: 380px; }
.duo-photo .p1{
  border-radius: 50%; overflow: hidden; aspect-ratio: 1/1; width: 78%; box-shadow: var(--shadow-med);
  border: 7px solid var(--warm-white); position: relative; z-index: 2;
}
.duo-photo .p2{
  border-radius: 50%; overflow: hidden; aspect-ratio: 1/1; width: 46%; box-shadow: var(--shadow-lift);
  border: 7px solid var(--warm-white); position: absolute; right: -6%; bottom: -8%; z-index: 3;
}
.duo-photo .p1 img, .duo-photo .p2 img{ width: 100%; height: 100%; object-fit: cover; }
.duo-photo .ring{
  position: absolute; top: -14px; left: 8%; width: 82%; aspect-ratio: 1/1; border-radius: 50%;
  border: 3px dashed rgba(36,184,166,0.5); z-index: 1;
}

/* ===================== ICON CIRCLE ROW (flat, Kidearn-style) ===================== */
.icon-circle-row{ display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; text-align: center; }
.icon-circle-item{ width: 130px; }
.icon-circle{
  width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 16px; box-shadow: 0 12px 24px rgba(23,26,52,0.14); color: #fff;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.icon-circle-item:hover .icon-circle{ transform: translateY(-6px) scale(1.08) rotate(-4deg); }
.icon-circle-item .label{ font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.ic-coral{ background: var(--coral); } .ic-teal{ background: var(--teal); } .ic-blue{ background: var(--blue); }
.ic-gold{ background: var(--gold); } .ic-green{ background: var(--green); } .ic-navy{ background: var(--navy); }
.ic-purple{ background: var(--purple); } .ic-pink{ background: var(--pink); }

/* ===================== STAT WITH ICON CHIP ===================== */
.stat-icon{
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 10px; color: #fff;
}

/* ===================== WAVE BAND (full-bleed colored section) ===================== */
.wave-band{ position: relative; overflow: hidden; }
.wave-band .wave-top, .wave-band .wave-bottom{ position: absolute; left: 0; width: 100%; line-height: 0; z-index: 1; }
.wave-band .wave-top{ top: -1px; transform: scaleY(-1); }
.wave-band .wave-bottom{ bottom: -1px; }
.wave-band .wave-top svg, .wave-band .wave-bottom svg{ display: block; width: 100%; height: 70px; }
.wave-band-inner{ position: relative; z-index: 2; }

/* ===================== CTA BANNER (rounded full-color card) ===================== */
.cta-banner{
  border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--blue);
  display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; box-shadow: var(--shadow-lift);
}
.cta-banner .cta-media{ position: relative; align-self: end; height: 100%; }
.cta-banner .cta-media img{ width: 100%; height: 100%; object-fit: cover; object-position: bottom; display: block; }
.cta-banner .cta-copy{ padding: 50px 44px; position: relative; z-index: 2; }
.cta-banner .cta-copy h2, .cta-banner .cta-copy p{ color: #fff; }
.cta-banner .blob-accent{
  position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--gold);
  opacity: .25; top: -60px; right: -60px; z-index: 1;
}
@media (max-width: 780px){
  .cta-banner{ grid-template-columns: 1fr; }
  .cta-banner .cta-media{ height: 220px; order: -1; }
  .cta-banner .cta-copy{ padding: 34px 26px; }
}

/* ===================== PROGRAM CARD BADGE OVERLAP (Kidearn-style) ===================== */
.program-card.v2{ border: none; box-shadow: var(--shadow-soft); }
.program-card.v2 .media{ aspect-ratio: 5/4; }
.program-card.v2 .badge-circle{
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; box-shadow: 0 10px 22px rgba(23,26,52,0.22); border: 5px solid #fff;
  position: relative; margin: -44px auto 0; z-index: 2; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.program-card.v2:hover .badge-circle{ transform: scale(1.12) rotate(-8deg); }
.program-card.v2 .body{ text-align: center; padding-top: 16px; }
.program-card.v2 .age{ display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; color: var(--coral-deep); margin-bottom: 6px; }

/* ===================== DECORATIVE ILLUSTRATIONS (balloons / rainbow) ===================== */
.deco-illustration{ position: absolute; z-index: 0; pointer-events: none; opacity: .9; }
.balloon{ animation: floaty 7s ease-in-out infinite; }
.balloon.slow{ animation-duration: 10s; }

.float-card{
  position: absolute; background: #fff; border-radius: var(--radius-md); padding: 18px 22px;
  box-shadow: var(--shadow-lift); display: flex; align-items: center; gap: 14px; z-index: 3;
  border: 3px solid #fff; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.float-card:hover{ transform: scale(1.06) rotate(-2deg); }
.float-card .icon-badge{ margin: 0; width: 46px; height: 46px; border-radius: 14px; font-size: 1.2rem; }
.float-card .num{ font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.float-card .label{ font-size: 0.78rem; color: var(--ink-soft); }

.breadcrumb-hero{
  padding: 150px 0 70px; text-align: center; position: relative; overflow: hidden;
  background-image:
    radial-gradient(circle at 6% 22%, rgba(245,180,0,0.4) 0%, rgba(245,180,0,0) 9%),
    radial-gradient(circle at 93% 18%, rgba(255,107,94,0.35) 0%, rgba(255,107,94,0) 10%),
    radial-gradient(circle at 88% 82%, rgba(138,92,246,0.32) 0%, rgba(138,92,246,0) 11%),
    radial-gradient(circle at 10% 85%, rgba(79,191,131,0.35) 0%, rgba(79,191,131,0) 10%),
    radial-gradient(circle at 50% 100%, rgba(42,85,229,0.15) 0%, rgba(42,85,229,0) 20%);
}
.breadcrumb-hero::before, .breadcrumb-hero::after{
  content: ''; position: absolute; border-radius: 50%; z-index: 0; opacity: .8; pointer-events: none;
}
.breadcrumb-hero::before{
  width: 46px; height: 46px; top: 18%; left: 12%; background: var(--gold);
  animation: floaty 5s ease-in-out infinite;
}
.breadcrumb-hero::after{
  width: 30px; height: 30px; bottom: 16%; right: 14%; background: var(--purple);
  animation: floaty 7s ease-in-out infinite reverse;
}

::selection{ background: var(--gold-light); color: var(--ink); }

.confetti-dots{ position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image:
  radial-gradient(var(--gold) 3px, transparent 3px),
  radial-gradient(var(--coral) 3px, transparent 3px),
  radial-gradient(var(--blue) 2.5px, transparent 2.5px),
  radial-gradient(var(--purple) 2.5px, transparent 2.5px),
  radial-gradient(var(--green-light) 3px, transparent 3px);
  background-size: 70px 70px, 100px 100px, 130px 130px, 90px 90px, 120px 120px;
  background-position: 0 0, 35px 45px, 60px 10px, 20px 80px, 90px 60px;
  opacity: .55; }

/* Extra floating shapes for hero sections */
.hero::before{
  content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,94,0.35), rgba(255,107,94,0) 70%);
  top: 8%; right: 6%; z-index: 0; animation: floaty 8s ease-in-out infinite; pointer-events: none;
}
.hero::after{
  content: ''; position: absolute; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,191,131,0.4), rgba(79,191,131,0) 70%);
  bottom: 12%; left: 4%; z-index: 0; animation: floaty 6s ease-in-out infinite reverse; pointer-events: none;
}
