/* ================================================================
   Safe Cities Foundation — Complete Design System
   A world-class NGO website for transforming African urban spaces
   ================================================================ */

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

:root {
  /* ── Core Brand Palette ── */
  --navy:          #0B1D35;
  --navy-mid:      #162B4D;
  --navy-light:    #1E3A5F;
  --orange:        #E84E1B;
  --orange-dark:   #C63D12;
  --gold:          #F5A623;
  --gold-light:    #FDC055;
  --forest:        #1B4332;
  --forest-mid:    #2D6A4F;
  --sage:          #52796F;
  --white:         #FFFFFF;
  --off-white:     #F8F6F1;
  --gray-light:    #F0EDE6;
  --gray-mid:      #DDD9CF;
  --text:          #0F1409;
  --text-mid:      #3D3D3D;
  --text-muted:    #777066;
  --border:        #E5E1D8;
  --ghana-red:     #CE1126;
  --ghana-gold:    #FCD116;
  --ghana-green:   #006B3F;

  /* ── Typography ── */
  --serif:   'DM Serif Display', 'Playfair Display', Georgia, serif;
  --sans:    'DM Sans', 'Inter', system-ui, sans-serif;

  /* ── Spacing scale ── */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   2rem;
  --sp-lg:   4rem;
  --sp-xl:   7rem;

  /* ── Radius ── */
  --r-sm:    8px;
  --r-md:    16px;
  --r-lg:    24px;
  --r-pill:  100px;

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl:  0 24px 60px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ================================================================
   ANNOUNCEMENT BAR
   ================================================================ */
#announce-bar {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 0.6rem 3rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 200;
}
#announce-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
#announce-bar a:hover { color: var(--gold-light); }
.announce-close {
  position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; font-size: 1.1rem; line-height: 1;
  transition: color 0.2s;
}
.announce-close:hover { color: #fff; }

/* ================================================================
   NAVIGATION
   ================================================================ */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s ease;
}
#main-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }

.nav-logo img { height: 44px; width: auto; }
.nav-logo:hover { opacity: 0.9; }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.5rem 1.3rem;
  border-radius: var(--r-pill);
  margin-left: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.nav-links a.nav-cta:hover { background: var(--gold); color: #111 !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 5% 2rem;
  flex-direction: column; gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a.mob-cta {
  margin-top: 1rem;
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  border: none;
}

/* ================================================================
   HERO
   ================================================================ */
#hero {
  background: var(--navy);
  min-height: calc(100vh - 68px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-bg-city {
  position: absolute; inset: 0;
  opacity: 0.12;
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-left {
  padding: 5rem 4% 5rem 8%;
  position: relative; z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
}
.hero-eyebrow-line {
  width: 30px; height: 2px; background: var(--gold); border-radius: 2px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-title .line-orange { color: var(--orange); }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  max-width: 500px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,78,27,0.3);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,78,27,0.4);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  padding: 0.9rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,166,35,0.06);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 0.85rem 1.8rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-orange-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  padding: 0.85rem 1.8rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn-orange-outline:hover { background: var(--orange); color: #fff; }

.hero-badges {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.hero-badge svg { flex-shrink: 0; }
.hero-badge-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.15); }

.hero-right {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem 4% 2rem 2%;
}

.hero-visual {
  width: 100%;
  max-width: 560px;
  position: relative;
}

.hero-stat-float {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  padding: 1rem 1.4rem;
  color: #fff;
}
.hero-stat-float.stat-1 { top: 15%; right: 0; }
.hero-stat-float.stat-2 { bottom: 15%; left: 0; }
.hero-stat-float .stat-big {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
}
.hero-stat-float .stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
}

/* ================================================================
   STATS BAR
   ================================================================ */
#stats-bar {
  background: var(--orange);
  padding: 2rem 5%;
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.stats-bar-item {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stats-bar-num sup { font-size: 0.8em; font-family: var(--sans); font-weight: 700; }
.stats-bar-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ================================================================
   SECTION COMMONS
   ================================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-label-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label-white::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-title-white {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  margin-top: 1rem;
}

/* ================================================================
   ABOUT
   ================================================================ */
#about {
  padding: var(--sp-xl) 5%;
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.about-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.about-founding {
  margin-top: 2.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--navy);
  border-radius: var(--r-md);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about-founding-icon {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-founding strong { color: #fff; }

.vm-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.vm-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.vm-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.vm-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.vm-card-icon.orange { background: rgba(232,78,27,0.1); }
.vm-card-icon.gold   { background: rgba(245,166,35,0.1); }
.vm-card-icon.green  { background: rgba(27,67,50,0.1); }
.vm-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.vm-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.value-tag {
  background: rgba(232,78,27,0.06);
  border: 1px solid rgba(232,78,27,0.15);
  border-radius: var(--r-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ================================================================
   PROGRAMS
   ================================================================ */
#programs {
  padding: var(--sp-xl) 5%;
  background: var(--white);
}
.programs-header {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--orange);
  border-radius: 0 0 4px 0;
  transition: height 0.35s ease;
}
.program-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.program-card:hover::before { height: 100%; }

.program-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
}
.program-icon-wrap.orange { background: rgba(232,78,27,0.1); }
.program-icon-wrap.gold   { background: rgba(245,166,35,0.1); }
.program-icon-wrap.blue   { background: rgba(29,78,216,0.08); }
.program-icon-wrap.green  { background: rgba(27,67,50,0.1); }
.program-icon-wrap.teal   { background: rgba(82,121,111,0.1); }
.program-icon-wrap.navy   { background: rgba(11,29,53,0.08); }

.program-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.program-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.program-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.program-link:hover { gap: 10px; }

/* ================================================================
   PILLARS / APPROACH
   ================================================================ */
#approach {
  padding: var(--sp-xl) 5%;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#approach::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.approach-header { text-align: center; margin-bottom: 4.5rem; position: relative; z-index: 1; }
.approach-header .section-intro { color: rgba(255,255,255,0.5); max-width: 560px; margin: 1rem auto 0; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pillar-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  transition: background 0.3s, border-color 0.3s;
}
.pillar-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(245,166,35,0.3);
}
.pillar-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  color: rgba(245,166,35,0.2);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.pillar-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
}
.pillar-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.85; }
.pillar-tag {
  display: inline-block;
  margin-top: 1.5rem;
  background: rgba(245,166,35,0.12);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
}

/* ================================================================
   PROJECTS
   ================================================================ */
#projects {
  padding: var(--sp-xl) 5%;
  background: var(--off-white);
}
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.project-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.project-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.project-img-area {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.project-img-area.bg-1 { background: linear-gradient(135deg, #162B4D, #1E3A5F); }
.project-img-area.bg-2 { background: linear-gradient(135deg, #1B4332, #2D6A4F); }
.project-img-area.bg-3 { background: linear-gradient(135deg, #4A1942, #7B2D8B); }
.project-img-area.bg-4 { background: linear-gradient(135deg, #7C2929, #B05C3A); }

.project-body { padding: 1.8rem; }
.project-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
}
.tag-orange { background: rgba(232,78,27,0.1); color: var(--orange); }
.tag-gold   { background: rgba(245,166,35,0.12); color: #B87D00; }
.tag-blue   { background: rgba(29,78,216,0.08); color: #1D4ED8; }
.tag-green  { background: rgba(27,67,50,0.1); color: var(--forest-mid); }
.tag-purple { background: rgba(123,45,139,0.1); color: #7B2D8B; }

.project-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
.project-card p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.2rem; }
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--forest-mid);
}
.project-status::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--forest-mid);
}

/* ================================================================
   IMPACT NUMBERS
   ================================================================ */
#impact {
  padding: var(--sp-xl) 5%;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
#impact::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.impact-header { text-align: center; margin-bottom: 4.5rem; position: relative; z-index: 1; }
.impact-header .section-intro { color: rgba(255,255,255,0.5); max-width: 560px; margin: 1rem auto 0; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
  position: relative; z-index: 1;
}
.impact-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.impact-card:hover { background: rgba(255,255,255,0.09); }
.impact-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4vw, 4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.impact-num sup { font-size: 0.5em; font-family: var(--sans); font-weight: 700; vertical-align: top; margin-top: 0.4em; }
.impact-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  font-weight: 500;
}

.impact-story {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative; z-index: 1;
}
.impact-story-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.impact-story-card .quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.impact-story-card .attribution {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ================================================================
   NEWS / PUBLICATIONS
   ================================================================ */
#news {
  padding: var(--sp-xl) 5%;
  background: var(--white);
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.news-featured {
  background: var(--navy);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.news-featured:hover { box-shadow: var(--shadow-xl); }
.news-featured-img {
  height: 240px;
  background: linear-gradient(135deg, #0B1D35, #1E3A5F);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.news-featured-body { padding: 2rem; flex: 1; }
.news-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  display: inline-block;
  margin-bottom: 1rem;
}
.cat-report    { background: rgba(245,166,35,0.15); color: var(--gold); }
.cat-news      { background: rgba(232,78,27,0.15); color: #FF7B57; }
.cat-research  { background: rgba(82,121,111,0.2); color: #7BC4B8; }
.cat-event     { background: rgba(123,45,139,0.15); color: #CF85DB; }
.cat-advocacy  { background: rgba(29,78,216,0.15); color: #93AAEE; }

.news-featured h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.news-featured p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 1.5rem; }
.news-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.news-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.3); }

.news-sidebar { display: flex; flex-direction: column; gap: 1.2rem; }
.news-card {
  background: var(--off-white);
  border-radius: var(--r-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.news-card h4 {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.4;
  margin: 0.6rem 0 0.5rem;
}
.news-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.7rem; }
.news-card-meta { font-size: 0.72rem; color: var(--text-muted); }

/* ================================================================
   PARTNERS
   ================================================================ */
#partners {
  padding: 4rem 5%;
  background: var(--gray-light);
  border-top: 1px solid var(--border);
}
.partners-header { text-align: center; margin-bottom: 3rem; }
.partners-header h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.partner-logo:hover { border-color: var(--orange); color: var(--orange); box-shadow: var(--shadow-sm); }

/* ================================================================
   DONATE / CTA
   ================================================================ */
#donate-cta {
  background: var(--orange);
  padding: 5rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#donate-cta::before {
  content: '';
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
#donate-cta .section-label-white { margin-bottom: 1rem; }
#donate-cta h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
#donate-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.donate-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--orange);
  padding: 0.9rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}

/* ================================================================
   CONTACT
   ================================================================ */
#contact {
  padding: var(--sp-xl) 5%;
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-intro { font-size: 0.95rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-text { }
.contact-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-item-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.social-link:hover { border-color: var(--orange); background: rgba(232,78,27,0.06); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.8rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,78,27,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--navy-light); transform: translateY(-1px); }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--forest-mid);
}
.form-success svg { margin: 0 auto 1rem; }
.form-success h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--navy); }
.form-success p { font-size: 0.9rem; color: var(--text-muted); }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 5% 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 40px; margin-bottom: 1.2rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 260px; }
.footer-ghana-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--gold); }

.footer-newsletter { margin-top: 1.5rem; }
.footer-newsletter p { font-size: 0.82rem; margin-bottom: 0.8rem; color: rgba(255,255,255,0.5); }
.newsletter-row {
  display: flex;
  gap: 0.5rem;
}
.newsletter-row input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  padding: 0.6rem 1rem;
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-row input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-row input:focus { border-color: var(--gold); }
.newsletter-row button {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-row button:hover { background: var(--orange-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }

.slide-right {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

.slide-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay: 0.5s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .news-grid { grid-template-columns: 1fr; }
  .news-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --sp-xl: 4rem; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 3.5rem 6% 4rem; }
  .hero-title { font-size: 2.4rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #main-nav { position: sticky; }
  .programs-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-story { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item:nth-child(2) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .news-sidebar { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .partners-row { gap: 0.75rem; }
  .partner-logo { font-size: 0.7rem; padding: 0.75rem 1.2rem; }
}
