:root {
  --color-primary: #0f7b6c;
  --color-secondary: #4faf3d;
  --color-accent: #f59a23;
  --color-danger-soft: #d94141;

  --color-bg: #f8f7f3;
  --color-surface: #ffffff;
  --color-surface-muted: #edebe4;

  --color-text: #1f2a2a;
  --color-text-muted: #5f6b68;
  --color-border: rgba(31, 42, 42, 0.08);

  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 24px rgba(15, 123, 108, 0.08);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --container-width: 1200px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.45s ease;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  opacity: 0;
  animation: pageFadeIn 0.55s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* =========================
   GLOBAL LAYOUT
========================= */
.container {
  width: min(92%, var(--container-width));
  margin: 0 auto;
}

.section-spacing {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

/* =========================
   TYPOGRAPHY
========================= */
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: 3.6rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.section-subtext {
  max-width: 700px;
  margin: 18px auto 0;
}

.left-text {
  margin-left: 0;
}

.center-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background-color: #0b6559;
}

.btn-secondary {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-light {
  background-color: #fff;
  color: var(--color-primary);
}

.btn-light:hover {
  transform: translateY(-3px);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--color-primary);
  transform: translateY(-3px);
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--color-primary);
  font-weight: 700;
}

.text-link:hover {
  color: var(--color-accent);
  transform: translateX(2px);
}

/* =========================
   CARDS
========================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  background-color: var(--color-surface);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: var(--transition-slow);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(15, 123, 108, 0.12);
}

.info-card h3 {
  margin-bottom: 14px;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(
    135deg,
    rgba(15, 123, 108, 0.12),
    rgba(79, 175, 61, 0.12),
    rgba(245, 154, 35, 0.16)
  );
}

.section-action {
  margin-top: 34px;
}

.center-action {
  text-align: center;
}

/* =========================
   SHARED SECTION UTILITIES
========================= */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.section-text-block p + p {
  margin-top: 18px;
}

/* =========================
   SHARED CTA BOX
========================= */
.final-cta-box {
  background: linear-gradient(135deg, #0f7b6c, #13695d, #4faf3d);
  color: #fff;
  border-radius: 30px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 18px 40px rgba(15, 123, 108, 0.18);
}

.final-cta-box h2,
.final-cta-box p {
  color: #fff;
}

.light-tag {
  color: #ffe3b6;
}

/* =========================
   ACCESSIBILITY / FOCUS
========================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(245, 154, 35, 0.5);
  outline-offset: 3px;
  border-radius: 12px;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(248, 247, 243, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 42, 42, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}

.logo {
  width: 175px;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding-bottom: 6px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
  border-radius: 999px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 20px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* =========================
   REVEAL ON SCROLL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background-color: #112222;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 18px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 22px 0;
}
/* ── MARQUEE TICKER ─────────────────────────── */
.marquee-bar {
  background: #f59e0b;
  padding: 14px 0;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1b4332;
  white-space: nowrap;
}

.marquee-diamond {
  width: 5px;
  height: 5px;
  background: #1b4332;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.5;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* ── IMPACT STATS CARDS ─────────────────────────── */
.impact-section {
  padding: 80px 40px;
  background: #fdfaf6;
  width: 100%;
  box-sizing: border-box;
}

.impact-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4622a;
  margin-bottom: 16px;
}

.impact-section-label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #d4622a;
}

.impact-section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #141a1f;
  margin-bottom: 56px;
  line-height: 1.15;
}

.impact-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
  width: 100%;
  max-width: 100% !important; /* removes any old max-width that was shrinking it */
}

/* Only stack on very small phones */
@media (max-width: 580px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Individual card */
.impact-card {
  position: relative;
  background: #f0ede6;
  border-radius: 20px;
  padding: 48px 32px 40px;
  text-align: center;
  overflow: hidden;
  cursor: default;
  border: 1.5px solid transparent;

  /* smooth transitions for every property */
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.38s ease,
    border-color 0.38s ease,
    background 0.38s ease;
}

/* Glowing radial wash that appears on hover */
.impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    ellipse at 50% 110%,
    rgba(27, 67, 50, 0.18) 0%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.38s ease;
}

/* Animated bottom accent line */
.impact-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #1b4332;
  border-radius: 0 0 20px 20px;
  transform: translateX(-50%);
  transition: width 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── HOVER STATE ── */
.impact-card:hover {
  transform: translateY(-10px) scale(1.03);
  background: #ffffff;
  border-color: rgba(27, 67, 50, 0.12);
  box-shadow:
    0 10px 40px rgba(27, 67, 50, 0.12),
    0 30px 60px rgba(27, 67, 50, 0.08),
    0 0 0 1px rgba(27, 67, 50, 0.06);
}

.impact-card:hover::before {
  opacity: 1;
}
.impact-card:hover::after {
  width: 60%;
}

/* Individual card accent colors on hover */
.impact-card:nth-child(1):hover {
  border-color: rgba(27, 67, 50, 0.2);
}
.impact-card:nth-child(1)::before {
  background: radial-gradient(
    ellipse at 50% 110%,
    rgba(27, 67, 50, 0.16) 0%,
    transparent 70%
  );
}

.impact-card:nth-child(2):hover {
  border-color: rgba(245, 158, 11, 0.3);
}
.impact-card:nth-child(2)::before {
  background: radial-gradient(
    ellipse at 50% 110%,
    rgba(245, 158, 11, 0.18) 0%,
    transparent 70%
  );
}
.impact-card:nth-child(2):hover .impact-num {
  color: #b45309;
}
.impact-card:nth-child(2)::after {
  background: #f59e0b;
}

.impact-card:nth-child(3):hover {
  border-color: rgba(27, 67, 50, 0.2);
}
.impact-card:nth-child(3)::before {
  background: radial-gradient(
    ellipse at 50% 110%,
    rgba(27, 67, 50, 0.16) 0%,
    transparent 70%
  );
}
.impact-card:nth-child(3)::after {
  background: #1b4332;
}

.impact-card:nth-child(4):hover {
  border-color: rgba(27, 67, 50, 0.2);
}

/* Icon circle */
.impact-icon {
  width: 60px;
  height: 60px;
  background: rgba(27, 67, 50, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  transition:
    background 0.38s ease,
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.impact-card:hover .impact-icon {
  background: rgba(27, 67, 50, 0.14);
  transform: scale(1.12) rotate(-4deg);
}

/* The big number */
.impact-num {
  font-size: 3.6rem;
  font-weight: 700;
  color: #1b4332;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

/* The label */
.impact-label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 10px;
  font-weight: 400;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.impact-card:hover .impact-label {
  color: #374151;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .impact-section {
    padding: 60px 24px;
  }
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
/* ── WHY IT MATTERS SECTION ─────────────────────── */
.why-section {
  padding: 80px 40px;
  background: #fdfaf6;
  width: 100%;
  box-sizing: border-box;
}

/* Top row — label + heading + paragraph stacked */
.why-top {
  margin-bottom: 48px;
}

.why-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 14px;
}

.why-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #141a1f;
  line-height: 1.1;
  margin-bottom: 18px;
}

.why-desc {
  font-size: 0.98rem;
  color: #6b7280;
  line-height: 1.75;
  max-width: 600px;
  font-weight: 300;
}

/* 4 cards in ONE horizontal row */
.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

.why-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  border-left: 4px solid #f59e0b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  cursor: default;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(27, 67, 50, 0.12);
  border-left-color: #1b4332;
}

.why-card p {
  font-size: 0.97rem;
  font-weight: 600;
  color: #141a1f;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .why-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .why-cards {
    grid-template-columns: 1fr;
  }
  .why-section {
    padding: 60px 24px;
  }
}
/* ─────────────────────────────────────────────────
   MOBILE FIXES — Marquee + Cards
   Paste at the very BOTTOM of your CSS file
───────────────────────────────────────────────── */

/* ── MARQUEE ── */
@media (max-width: 768px) {
  .marquee-bar {
    padding: 12px 0;
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .marquee-track {
    display: flex !important;
    width: max-content !important;
    animation: marqueeScroll 22s linear infinite !important;
  }

  .marquee-item {
    font-size: 0.72rem !important;
    gap: 28px !important;
    padding: 0 28px !important;
  }
}

/* ── IMPACT STAT CARDS (Focus Programs, Child-Centered etc.) ── */
@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 768px) {
  .impact-section {
    padding: 60px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .impact-card {
    padding: 32px 20px 28px !important;
    border-radius: 16px !important;
  }

  .impact-num {
    font-size: 2.6rem !important;
  }

  .impact-label {
    font-size: 0.78rem !important;
  }

  .impact-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.3rem !important;
  }
}

@media (max-width: 420px) {
  .impact-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .impact-card {
    padding: 24px 14px !important;
  }

  .impact-num {
    font-size: 2rem !important;
  }
}

/* ── WHY IT MATTERS CARDS (Promoting dignity, Strengthening etc.) ── */
@media (max-width: 1024px) {
  .why-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 768px) {
  .why-section {
    padding: 60px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .why-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .why-card {
    padding: 24px 18px !important;
    border-radius: 12px !important;
  }

  .why-card p {
    font-size: 0.88rem !important;
  }

  .why-title {
    font-size: 1.9rem !important;
  }

  .why-desc {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 420px) {
  .why-cards {
    grid-template-columns: 1fr !important;
  }
}
/* ─────────────────────────────────────────────────
   MOBILE CARD FIX — Uniform & Balanced
   Paste at the very BOTTOM of your CSS file
   (remove any previous mobile card rules first)
───────────────────────────────────────────────── */

/* ── IMPACT STAT CARDS ── */
@media (max-width: 768px) {
  .impact-section {
    padding: 50px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .impact-section-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }

  .impact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .impact-card {
    /* force every card to be exactly the same box */
    width: 100% !important;
    min-height: 160px !important;
    max-height: 160px !important;
    padding: 20px 12px !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .impact-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
  }

  .impact-num {
    font-size: 1.8rem !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  .impact-label {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    text-align: center !important;
    padding: 0 4px !important;
    white-space: normal !important;
  }
}

/* ── WHY IT MATTERS CARDS ── */
@media (max-width: 768px) {
  .why-section {
    padding: 50px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .why-title {
    font-size: 1.7rem;
  }

  .why-desc {
    font-size: 0.88rem;
  }

  .why-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .why-card {
    width: 100% !important;
    min-height: 100px !important;
    padding: 20px 16px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    border-left-width: 3px !important;
  }

  .why-card p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
  }
}

/* ── VERY SMALL PHONES (below 380px) ── */
@media (max-width: 380px) {
  .impact-card {
    min-height: 140px !important;
    max-height: 140px !important;
    padding: 16px 8px !important;
  }

  .impact-num {
    font-size: 1.5rem !important;
  }

  .impact-label {
    font-size: 0.64rem !important;
  }

  .why-card p {
    font-size: 0.76rem !important;
  }
}
