﻿/* ==========================================================================
   Dreams to Life Foundation — Responsive Stylesheet
   Mobile-first · all breakpoints · graphics preserved
   Breakpoints:
     · base  : ≤ 480px  (small phones)
     · sm    : ≥ 481px
     · md    : ≥ 768px  (tablets)
     · lg    : ≥ 1024px (small desktops)
     · xl    : ≥ 1280px (desktops)
     · 2xl   : ≥ 1536px (large desktops / 4K safe)
   ========================================================================== */

/* ============ DESIGN TOKENS ============ */
:root {
  --primary: #0a7c5a;
  --primary-dark: #065a3f;
  --primary-light: #14b87a;
  --accent: #f4a949;
  --accent-2: #ec6a3d;
  --bg: #fbfbf7;
  --surface: #ffffff;
  --ink: #0f1f1a;
  --ink-2: #36474a;
  --muted: #6b7d7a;
  --line: rgba(15, 31, 26, .08);
  --grad-hero: linear-gradient(120deg, #0a7c5a 0%, #14b87a 45%, #f4a949 100%);
  --grad-soft: linear-gradient(135deg, #e9f7ee 0%, #fdf3df 100%);
  --shadow-sm: 0 4px 14px rgba(15, 31, 26, .06);
  --shadow-md: 0 14px 40px rgba(15, 31, 26, .12);
  --shadow-lg: 0 24px 60px rgba(10, 124, 90, .18);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --font: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --transition: cubic-bezier(.2, .7, .2, 1) .4s;
  --gap-section: clamp(48px, 8vw, 80px);
  --gap-card: clamp(14px, 2vw, 22px);
}

/* ============ RESET ============ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: clamp(15px, 1.6vw, 16px);
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .3s ease; word-break: break-word; overflow-wrap: anywhere; }
a:hover { color: var(--primary); }

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
p, li, blockquote { overflow-wrap: anywhere; word-wrap: break-word; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

::selection { background: var(--primary); color: #fff; }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(14px, 3vw, 24px);
}
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ============ ICONS ============ */
.ico-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  max-width: 1.4em;
  max-height: 1.4em;
  min-width: 16px;
  min-height: 16px;
  vertical-align: -0.15em;
  line-height: 1;
  color: currentColor;
  flex-shrink: 0;
}
.ico-svg svg { width: 100%; height: 100%; display: block; }
.ico-svg.ico-sm { width: 1em; height: 1em; max-width: 1.2em; max-height: 1.2em; }
.ico-svg.ico-lg { width: 1.3em; height: 1.3em; max-width: 1.6em; max-height: 1.6em; }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: clamp(.7rem, 1.4vw, .78rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
h1.hero-title {
  font-size: clamp(1.85rem, 5.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
}
h2.section-title {
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 1rem;
}
h3 { font-size: clamp(1.05rem, 2.2vw, 1.2rem); font-weight: 700; }
p  { color: var(--ink-2); }
.lead {
  font-size: clamp(.96rem, 1.8vw, 1.05rem);
  color: var(--ink-2);
  max-width: 60ch;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: clamp(.72rem, 1.8vw, .85rem) clamp(1rem, 2.4vw, 1.4rem);
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(.85rem, 1.6vw, .92rem);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  line-height: 1.3;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 25px rgba(10, 124, 90, .25);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 14px 30px rgba(10, 124, 90, .35); color: #fff; }
.btn-accent {
  background: var(--accent);
  color: #1c1502;
  box-shadow: 0 10px 25px rgba(244, 169, 73, .3);
}
.btn-accent:hover { background: #ffba54; transform: translateY(-2px); color: #1c1502; }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .25); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1180px);
  max-width: calc(100% - 16px);
  padding: clamp(.5rem, 1.5vw, .65rem) clamp(.8rem, 2vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(15, 31, 26, .08);
  border: 1px solid rgba(255, 255, 255, .6);
  z-index: 1000;
  transition: padding .3s ease, background .3s ease;
}
.navbar.scrolled { padding: clamp(.42rem, 1.2vw, .5rem) clamp(.8rem, 2vw, 1rem); background: rgba(255, 255, 255, .97); }

.brand {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.2vw, .55rem);
  font-weight: 700;
  min-width: 0;
  flex-shrink: 1;
}
.brand img {
  height: clamp(32px, 6vw, 40px);
  width:  clamp(32px, 6vw, 40px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-text strong {
  color: var(--ink);
  font-size: clamp(.82rem, 1.7vw, .95rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-text small {
  color: var(--muted);
  font-size: clamp(.58rem, 1.2vw, .68rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav links — hidden by default; revealed at lg breakpoint */
.nav-links {
  display: none;
  gap: clamp(.15rem, .6vw, .3rem);
  align-items: center;
  position: fixed;
  top: 72px;
  left: 12px;
  right: 12px;
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  width: auto;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  z-index: 1050;
}
.nav-links.open { display: flex; }
.nav-links a {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 999px;
  font-size: clamp(.88rem, 1.6vw, .92rem);
  font-weight: 500;
  color: var(--ink-2);
  text-align: left;
  transition: all .3s ease;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(10, 124, 90, .08);
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: .65rem 1.1rem !important;
  text-align: center;
}
.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  z-index: 1100;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(110px, 16vw, 160px) 0 clamp(50px, 8vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 10% 10%, rgba(20, 184, 122, .18), transparent 60%),
    radial-gradient(900px 600px at 90% 30%, rgba(244, 169, 73, .18), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 124, 90, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .3) 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .3) 80%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text h1 span.accent { color: var(--primary); }
.hero-text h1 span.accent-2 {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cta {
  margin-top: clamp(1.4rem, 3vw, 1.8rem);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.hero-stats {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.2rem);
}
.hero-stat strong {
  display: block;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  color: var(--primary);
  font-weight: 800;
  line-height: 1.1;
}
.hero-stat small { color: var(--muted); font-size: clamp(.72rem, 1.4vw, .82rem); }

.hero-visual {
  position: relative;
  height: clamp(360px, 65vw, 560px);
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}
.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
  max-width: 100%;
  background: var(--surface);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.main     { width: 65%; height: 88%; top: 6%;  left: 0; }
.hero-card.accent   { width: 50%; height: 42%; top: 0;   right: 0; }
.hero-card.tertiary { width: 48%; height: 40%; bottom: 0; right: 8%; border: 6px solid var(--bg); }

.hero-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(.65rem, 1.6vw, .85rem) clamp(.75rem, 1.8vw, 1rem);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.4vw, .7rem);
  z-index: 4;
  max-width: 220px;
}
.hero-badge.b1 { top: 36%; left: -6%; animation: float 6s ease-in-out infinite; }
.hero-badge.b2 { bottom: 4%; left: 16%; animation: float 6s ease-in-out 2s infinite; }
.hero-badge .ico {
  width: clamp(34px, 6vw, 40px);
  height: clamp(34px, 6vw, 40px);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.hero-badge strong { display: block; font-size: clamp(.78rem, 1.5vw, .85rem); overflow-wrap: anywhere; line-height: 1.2; }
.hero-badge small  { color: var(--muted); font-size: clamp(.65rem, 1.3vw, .72rem); display: block; margin-top: 2px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ============ SECTION ============ */
section { padding: clamp(50px, 8vw, 80px) 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head p { margin-top: .8rem; font-size: clamp(.95rem, 1.7vw, 1.02rem); }

/* ============ FOCUS AREAS ============ */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-card);
}
.focus-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 2.6vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-width: 0;
}
.focus-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 200px;
  height: 200px;
  background: var(--grad-soft);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.focus-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.focus-card:hover::after { opacity: 1; transform: scale(1.4); }
.focus-card .icon {
  width: clamp(48px, 9vw, 56px);
  height: clamp(48px, 9vw, 56px);
  border-radius: 16px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: clamp(.9rem, 2vw, 1.2rem);
  font-size: clamp(1.1rem, 2.4vw, 1.25rem);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  color: var(--primary);
}
.focus-card h3 { margin-bottom: .6rem; position: relative; z-index: 2; }
.focus-card p  { font-size: clamp(.88rem, 1.6vw, .92rem); position: relative; z-index: 2; overflow-wrap: anywhere; }
.focus-card a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: clamp(.82rem, 1.5vw, .88rem);
  position: relative;
  z-index: 2;
}

/* ============ STATS BAND ============ */
.stats {
  background: var(--grad-hero);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 1.5rem);
  position: relative;
  overflow: hidden;
  margin: clamp(20px, 4vw, 30px) auto;
  width: min(94%, var(--container));
  max-width: 100%;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(0, 0, 0, .18), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.4rem);
  position: relative;
}
.stat { text-align: center; padding: clamp(.5rem, 1.5vw, .8rem); min-width: 0; }
.stat h3 {
  color: #fff;
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}
.stat p { color: rgba(255, 255, 255, .88); margin-top: .25rem; font-size: clamp(.82rem, 1.6vw, .92rem); overflow-wrap: anywhere; }

/* ============ PROGRAMS / OUR WORK ============ */
.program-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}
.program-tabs button {
  padding: clamp(.5rem, 1.5vw, .6rem) clamp(.85rem, 2vw, 1.1rem);
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink-2);
  font-size: clamp(.8rem, 1.5vw, .88rem);
  transition: all .3s ease;
  white-space: normal;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.program-tabs button.active,
.program-tabs button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(10, 124, 90, .25);
}
.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-card);
}
.program-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--line);
  min-width: 0;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.program-card .thumb {
  height: clamp(160px, 30vw, 200px);
  overflow: hidden;
  position: relative;
}
.program-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.program-card:hover .thumb img { transform: scale(1.08); }
.program-card .body { padding: clamp(1rem, 2.5vw, 1.3rem); }
.program-card .body h3 { overflow-wrap: anywhere; }
.program-card .body p  { overflow-wrap: anywhere; }
.program-card .tag {
  display: inline-block;
  padding: .25rem .7rem;
  background: rgba(10, 124, 90, .1);
  color: var(--primary);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}

/* ============ STORIES / MISSION ============ */
.stories {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.stories > * { min-width: 0; }
.stories img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 100%;
  height: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.story-card {
  background: var(--surface);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
  overflow-wrap: anywhere;
}
.story-card blockquote {
  font-size: clamp(.95rem, 1.7vw, 1rem);
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
.story-card cite { color: var(--muted); font-style: normal; font-size: clamp(.82rem, 1.5vw, .88rem); }

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-card);
}
.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 0;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo {
  height: clamp(220px, 40vw, 280px);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.team-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), transparent 50%);
}
.team-photo span { position: relative; z-index: 2; }
.team-body { padding: clamp(1rem, 2.5vw, 1.3rem) clamp(.8rem, 2vw, 1rem); overflow-wrap: anywhere; }
.team-body h3 { font-size: clamp(1rem, 1.8vw, 1.1rem); }
.team-body p  { color: var(--muted); font-size: clamp(.8rem, 1.5vw, .85rem); }
.team-social { display: flex; gap: .6rem; justify-content: center; padding-bottom: 1.3rem; }
.team-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10, 124, 90, .1);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: all .3s ease;
  font-size: .85rem;
  font-weight: 700;
}
.team-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ============ GALLERY ============ */
.gallery {
  columns: 1;
  column-gap: clamp(.8rem, 1.6vw, 1rem);
}
.gallery .g-item {
  break-inside: avoid;
  margin-bottom: clamp(.8rem, 1.6vw, 1rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: block;
  background: var(--surface);
}
.gallery .g-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery .g-item img { width: 100%; height: auto; transition: transform .6s ease; display: block; }
.gallery .g-item:hover img { transform: scale(1.05); }
.gallery .g-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent);
  color: #fff;
  padding: 1.2rem 1rem .8rem;
  font-size: clamp(.8rem, 1.5vw, .85rem);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery .g-item:hover .caption,
.gallery .g-item:focus-visible .caption { opacity: 1; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: clamp(1rem, 3vw, 1.5rem);
}
.lightbox.open { display: flex; animation: fadeIn .3s ease; }
.lightbox img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  width: auto;
  height: auto;
}
.lightbox .close {
  position: absolute;
  top: clamp(12px, 2vw, 16px);
  right: clamp(12px, 2vw, 16px);
  width: clamp(38px, 7vw, 44px);
  height: clamp(38px, 7vw, 44px);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 5;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3.5vw, 2.5rem);
  background: var(--surface);
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact-grid > * { min-width: 0; }
.contact-info h3 { font-size: clamp(1.2rem, 2.4vw, 1.4rem); margin-bottom: 1rem; }
.contact-info p  { margin-bottom: 1rem; }
.contact-info .item {
  display: flex;
  gap: clamp(.6rem, 1.6vw, .8rem);
  align-items: flex-start;
  margin: 1rem 0;
  min-width: 0;
}
.contact-info .ico {
  width: clamp(38px, 7vw, 44px);
  height: clamp(38px, 7vw, 44px);
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
}
.contact-info .item strong { display: block; font-size: clamp(.82rem, 1.6vw, .9rem); color: var(--ink); }
.contact-info .item small  { color: var(--muted); font-size: clamp(.8rem, 1.5vw, .85rem); overflow-wrap: anywhere; }

.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-row > * { min-width: 0; }
.form-group label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
  font-size: clamp(.8rem, 1.5vw, .85rem);
  color: var(--ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  padding: clamp(.72rem, 1.8vw, .85rem) clamp(.85rem, 2vw, 1rem);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: clamp(.88rem, 1.7vw, .95rem);
  background: var(--bg);
  transition: border-color .3s ease, box-shadow .3s ease;
  min-width: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 124, 90, .12);
  background: #fff;
}
.form-group .error-text { color: #d83838; font-size: .8rem; margin-top: .25rem; display: none; }
.form-group.error input,
.form-group.error textarea,
.form-group.error select { border-color: #d83838; }
.form-group.error .error-text { display: block; }

.success-toast {
  position: fixed;
  bottom: clamp(14px, 2.5vw, 20px);
  right:  clamp(14px, 2.5vw, 20px);
  left:   clamp(14px, 2.5vw, 20px);
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10, 124, 90, .4);
  display: none;
  align-items: center;
  gap: .7rem;
  z-index: 1500;
  animation: slideUp .4s ease;
  max-width: calc(100% - 40px);
}
.success-toast.show { display: flex; }
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--grad-hero);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  pointer-events: none;
}
.cta-banner::before { width: 220px; height: 220px; top: -80px;    left: -80px; }
.cta-banner::after  { width: 320px; height: 320px; bottom: -120px; right: -120px; }
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3.6vw, 2.4rem);
  margin-bottom: 1rem;
  position: relative;
}
.cta-banner p {
  color: rgba(255, 255, 255, .92);
  margin-bottom: 1.8rem;
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  overflow-wrap: anywhere;
}
.cta-banner .btn-group {
  position: relative;
  display: inline-flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ LEGITIMATE PROOF CARD ============ */
.proof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.4rem);
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}
.proof-card > * { min-width: 0; }
.proof-card .proof-icon {
  width: clamp(54px, 12vw, 72px);
  height: clamp(54px, 12vw, 72px);
  border-radius: 16px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  font-size: clamp(1.2rem, 2.6vw, 1.4rem);
  flex-shrink: 0;
  color: var(--primary);
  margin: 0 auto;
}
.proof-card .proof-body { min-width: 0; }
.proof-card .proof-body h3 { margin-bottom: .35rem; overflow-wrap: anywhere; }
.proof-card .proof-body p  { margin: 0; overflow-wrap: anywhere; }
.proof-card .proof-body p + p { margin-top: .35rem; font-size: clamp(.85rem, 1.6vw, .9rem); }
.proof-card .proof-cta { flex-shrink: 0; width: 100%; }

/* ============ INSTAGRAM BANNER ============ */
.ig-banner {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.5rem) clamp(1.1rem, 3vw, 1.4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ig-banner .ig-orb { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); pointer-events: none; }
.ig-banner .ig-orb.one { top: -40px; left: -40px; width: 200px; height: 200px; }
.ig-banner .ig-orb.two { bottom: -60px; right: -60px; width: 240px; height: 240px; }
.ig-banner .ig-inner { position: relative; z-index: 2; }
.ig-banner .ig-emoji {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: .5rem;
  display: inline-flex;
  color: #fff;
}
.ig-banner h2 {
  color: #fff;
  font-size: clamp(1.3rem, 3.2vw, 2.3rem);
  margin-bottom: .8rem;
  overflow-wrap: anywhere;
}
.ig-banner p {
  color: rgba(255, 255, 255, .95);
  max-width: 580px;
  margin: 0 auto 1.4rem;
  font-size: clamp(.92rem, 1.7vw, 1rem);
  overflow-wrap: anywhere;
}
.ig-banner .ig-btn {
  background: #fff;
  color: #833ab4;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  width: auto;
  max-width: 100%;
}
.ig-banner .ig-btn:hover { background: #fff; color: #6f2a97; transform: translateY(-2px); }
.ig-banner .ig-tag { margin-top: 1rem; font-size: clamp(.75rem, 1.5vw, .82rem); color: rgba(255, 255, 255, .85); }

/* ============ FOOTER ============ */
.footer {
  background: #07261c;
  color: #d2e7df;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: clamp(1.8rem, 4vw, 2.5rem);
}
.footer-grid > * { min-width: 0; }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: clamp(.95rem, 1.8vw, 1.02rem); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img {
  width: clamp(42px, 8vw, 50px);
  height: clamp(42px, 8vw, 50px);
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-brand strong { color: #fff; font-size: clamp(.95rem, 1.8vw, 1.05rem); overflow-wrap: anywhere; }
.footer ul li {
  margin-bottom: .55rem;
  overflow-wrap: anywhere;
  display: flex;
  align-items: flex-start;
  gap: .4rem;
}
.footer ul li .ico-svg { margin-top: .25em; flex-shrink: 0; }
.footer a { color: #b3cdc4; font-size: clamp(.85rem, 1.6vw, .9rem); transition: color .3s ease; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: clamp(.75rem, 1.4vw, .82rem);
  color: #93b4a9;
  text-align: center;
}
.footer-bottom > * { min-width: 0; flex: 1 1 auto; }
.social-links { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  transition: background .3s ease, transform .3s ease;
  color: #d2e7df;
}
.social-links a:hover { background: var(--accent); color: #07261c; transform: translateY(-3px); }

/* ============ ANIMATE ON SCROLL ============ */
.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: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ============ PAGE BANNER ============ */
.page-banner {
  padding: clamp(110px, 16vw, 150px) 0 clamp(40px, 6vw, 60px);
  background:
    radial-gradient(900px 500px at 20% 30%, rgba(20, 184, 122, .18), transparent 60%),
    radial-gradient(700px 400px at 80% 70%, rgba(244, 169, 73, .18), transparent 60%),
    var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner h1 {
  font-size: clamp(1.75rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
.page-banner p {
  max-width: 640px;
  margin-inline: auto;
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
}
.crumbs {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: clamp(.78rem, 1.5vw, .85rem);
  flex-wrap: wrap;
  justify-content: center;
}
.crumbs a { color: var(--primary); font-weight: 600; }

/* ============ ACTIVITY GRID ============ */
.activity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-card);
}
.activity-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: clamp(200px, 36vw, 260px);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.activity-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.activity-card:hover img { transform: scale(1.08); }
.activity-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 38, 28, .85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(.9rem, 2.5vw, 1.2rem);
  color: #fff;
}
.activity-card .overlay h4 { color: #fff; font-size: clamp(.95rem, 1.8vw, 1.02rem); }
.activity-card .overlay p  { color: rgba(255, 255, 255, .85); font-size: clamp(.8rem, 1.5vw, .85rem); margin-top: .25rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: clamp(.8rem, 1.6vw, 1rem); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(.9rem, 2.2vw, 1.1rem) clamp(1rem, 2.4vw, 1.2rem);
  cursor: pointer;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item:hover { border-color: var(--primary); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-q > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.faq-q > span:last-child {
  color: var(--primary);
  transition: transform .3s ease;
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
}
.faq-item.open .faq-q > span:last-child { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; color: var(--ink-2); }
.faq-item.open .faq-a { max-height: 320px; margin-top: 1rem; overflow-wrap: anywhere; }

/* ============ UTILITIES ============ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 3vw, 2rem);
}
.grid-2 > * { min-width: 0; }
.grid-2 > * p,
.grid-2 > * h3 { overflow-wrap: anywhere; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.tag-pill {
  display: inline-block;
  padding: .3rem .8rem;
  background: rgba(244, 169, 73, .15);
  color: #b8740e;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

body.menu-open { overflow: hidden; }

/* ==========================================================================
   BREAKPOINTS — progressively add layout as the screen grows
   ========================================================================== */

/* SM — large phones / phablets (≥ 481px) */
@media (min-width: 481px) {
  .focus-grid      { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid       { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid      { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery         { columns: 2; }
  .program-grid    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-grid   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* MD — tablets (≥ 768px) */
@media (min-width: 768px) {
  .hero-grid       { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
  .stories         { grid-template-columns: 1.1fr 1fr; }
  .contact-grid    { grid-template-columns: 1fr 1.2fr; }
  .form-row        { grid-template-columns: 1fr 1fr; }
  .grid-2          { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .focus-grid      { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid       { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program-grid    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-grid   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery         { columns: 3; }

  .proof-card {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }
  .proof-card .proof-icon { margin: 0; }
  .proof-card .proof-cta  { width: auto; }

  .footer-bottom { text-align: left; }
  .footer-bottom > * { flex: 0 1 auto; }
}

/* LG — small desktops (≥ 1024px) — nav switches to horizontal, hero two-col */
@media (min-width: 1024px) {
  section { padding: 80px 0; }

  /* Horizontal nav */
  .hamburger { display: none; }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    width: auto;
    max-height: none;
    overflow: visible;
    gap: clamp(.15rem, .6vw, .3rem);
  }
  .nav-links a {
    width: auto;
    padding: clamp(.4rem, 1.2vw, .5rem) clamp(.65rem, 1.6vw, .85rem);
    font-size: clamp(.82rem, 1.5vw, .9rem);
    text-align: center;
  }
  .nav-cta { text-align: center; }

  .hero        { padding: 150px 0 80px; }
  .hero-grid   { gap: 4rem; }
  .hero-visual { height: 540px; max-width: 540px; }

  .focus-grid    { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .program-grid  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid     { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery       { columns: 3; }

  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

/* XL — desktops (≥ 1280px) */
@media (min-width: 1280px) {
  :root { --container: 1200px; }
  .hero        { padding: 160px 0 90px; }
  .hero-visual { height: 560px; }
  .team-grid   { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .activity-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery     { columns: 4; }
}

/* 2XL — large screens / 4K (≥ 1536px) */
@media (min-width: 1536px) {
  :root { --container: 1320px; }
  body  { font-size: 17px; }
  .hero { padding: 180px 0 100px; }
  .hero-visual { height: 600px; max-width: 600px; }
  .hero-card.main     { width: 62%; height: 90%; }
  .hero-card.accent   { width: 48%; height: 44%; }
  .hero-card.tertiary { width: 46%; height: 42%; }
}

/* XS — small phones (≤ 380px) */
@media (max-width: 380px) {
  .hero-cta .btn { width: 100%; }
  .cta-banner .btn-group .btn { width: 100%; }
  .program-tabs button {
    flex: 1 1 calc(50% - .5rem);
    text-align: center;
    justify-content: center;
  }
  .hero-badge.b2 { left: 4%; }
  .brand-text small { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-badge { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .navbar, .hamburger, .lightbox, .success-toast, .cta-banner, .ig-banner { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
