/* ============================================================
   CHRISTIANA OLAWUMI FOUNDATION — Premium Stylesheet
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Image Utilities ──────────────────────────────────────── */

/* Real logo in navbar */
.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
}

/* Hero with real background photo */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,34,.92) 0%, rgba(13,82,50,.85) 50%, rgba(19,117,71,.78) 100%);
  z-index: 1;
}

/* ── About section real photo ─────────────────────────────── */
.about-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* ── Photo Gallery Grid ───────────────────────────────────── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.photo-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.photo-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }

.photo-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-200);
  cursor: pointer;
}

.photo-item.tall   { aspect-ratio: 3/4; }
.photo-item.wide   { grid-column: span 2; aspect-ratio: 16/7; }
.photo-item.square { aspect-ratio: 1/1; }

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}

.photo-item:hover img { transform: scale(1.06); }

.photo-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,61,34,.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.photo-item:hover .photo-item-overlay { opacity: 1; }

.photo-item-caption {
  font-size: .8125rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Program card with image ──────────────────────────────── */
.program-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: block;
}

/* ── Feature image block ─────────────────────────────────── */
.feature-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.feature-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

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

.lightbox-img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  padding: 8px;
  opacity: .8;
  transition: opacity .2s;
}

.lightbox-close:hover { opacity: 1; }

/* ── Hero visual card image ───────────────────────────────── */
.hero-card-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: block;
}

/* Gallery mobile overrides consolidated into main responsive block below */

/* ── Premium Polish ───────────────────────────────────────── */

/* Smooth font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Better focus rings for accessibility */
*:focus-visible {
  outline: 2px solid var(--green-500, #22b870);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --green-900: #0a3d22;
  --green-800: #0d5232;
  --green-700: #137547;
  --green-600: #1a9459;
  --green-500: #22b870;
  --green-100: #d4edda;
  --green-50:  #f0faf4;

  --gold:      #f4a61d;
  --gold-dark: #d4880a;

  --blue-600:  #0284c7;
  --blue-700:  #0369a1;

  --dark:      #111827;
  --gray-800:  #1f2937;
  --gray-600:  #4b5563;
  --gray-400:  #9ca3af;
  --gray-200:  #e5e7eb;
  --gray-100:  #f3f4f6;
  --white:     #ffffff;
  --page-bg:   #eef1f4;
  --page-bg-2: #e9edf2;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: linear-gradient(180deg, #F4F6F8 0%, #EEF1F4 100%);
  background-attachment: fixed;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
.serif { font-family: var(--font-serif); }

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; font-weight: 700; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.8;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 100px; }
.section-sm { padding-block: 64px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(19,117,71,.35);
}

.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(19,117,71,.45);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(244,166,29,.35);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244,166,29,.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-700);
}

.btn-outline-dark:hover {
  background: var(--green-700);
  color: var(--white);
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s 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; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 20px 0;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.nav-logo-text {
  line-height: 1.15;
}

.nav-logo-name {
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.nav-logo-tagline {
  font-size: .6875rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo-name { color: var(--dark); }
.navbar.scrolled .nav-logo-tagline { color: var(--gray-600); }

/* Alias so pages using .nav-logo-sub also get proper styling */
.nav-logo-sub {
  font-size: .6875rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.navbar.scrolled .nav-logo-sub { color: var(--gray-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 8px;
  color: rgba(255,255,255,.88);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.navbar.scrolled .nav-links a { color: var(--gray-800); }

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-links a.active {
  color: var(--green-500);
}

.navbar.scrolled .nav-links a.active {
  color: var(--green-700);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-donate {
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--white);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(244,166,29,.4);
}

.nav-donate:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '›';
  margin-left: 4px;
  font-size: .75rem;
  display: inline-block;
  transform: rotate(90deg);
  transition: transform var(--transition);
}

.nav-dropdown:hover > a::after {
  transform: rotate(270deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: .875rem;
  color: var(--gray-800) !important;
  background: transparent !important;
}

.dropdown-menu a:hover {
  background: var(--green-50) !important;
  color: var(--green-700) !important;
}

.dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 4px 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,61,34,.97) 0%, rgba(13,82,50,.88) 50%, rgba(19,117,71,.80) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--green-500);
  top: -150px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: -100px;
  left: 10%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 140px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
  letter-spacing: .05em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: .7; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
}

.hero-stat {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num span { color: var(--gold); }

.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-visual {
  position: relative;
}

.hero-card-main {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  border-radius: inherit;
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  background: var(--green-700);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.75rem;
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-card-text {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-programs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-prog-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
}

.hero-prog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-card-1 {
  bottom: -24px;
  left: -32px;
  animation: float1 6s ease-in-out infinite;
}

.hero-floating-card-2 {
  top: -20px;
  right: -24px;
  animation: float2 7s ease-in-out infinite;
}

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

@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

.fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fc-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.fc-label { font-size: .75rem; color: var(--gray-600); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 2;
  animation: fadeInUp 1s ease 1s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%    { transform: scaleY(0); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   MISSION STRIP
   ============================================================ */
.mission-strip {
  background: var(--green-700);
  padding: 60px 0;
}

.mission-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.mission-item { padding: 24px 40px; text-align: center; }

.mission-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.2);
}

.mission-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.mission-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}

.mission-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.4;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }

.about-image-stack {
  position: relative;
  height: 560px;
}

.about-img-main {
  position: absolute;
  inset: 0 40px 0 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--green-100) 0%, var(--green-50) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-placeholder {
  text-align: center;
  color: var(--green-700);
}

.about-img-placeholder .big-icon { font-size: 5rem; margin-bottom: 16px; }
.about-img-placeholder p { font-family: var(--font-serif); font-size: 1.1rem; color: var(--green-800); }

.about-img-accent {
  position: absolute;
  bottom: 32px;
  right: 0;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  background: var(--green-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  gap: 8px;
}

.about-accent-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.about-accent-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-align: center;
  max-width: 120px;
  line-height: 1.4;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  transition: var(--transition);
}

.about-value-item:hover {
  background: var(--green-50);
  transform: translateX(4px);
}

.about-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-value-title {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.about-value-text {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   IMPACT STATS
   ============================================================ */
.stats-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(19,117,71,.3) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(244,166,29,.12) 0%, transparent 60%);
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.stat-card {
  background: rgba(255,255,255,.03);
  padding: 56px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-700);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.stat-card:hover::after { transform: scaleX(1); }

.stat-card:hover { background: rgba(255,255,255,.06); }

.stat-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(19,117,71,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .suffix { color: var(--gold); }

.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs-section { background: var(--page-bg-2); }

.programs-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

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

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  cursor: pointer;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.program-card:hover::before { transform: scaleX(1); }

.program-card.featured {
  background: var(--green-700);
  border-color: transparent;
  grid-column: span 1;
}

.program-card.featured .program-title,
.program-card.featured .program-num { color: var(--white); }

.program-card.featured .program-text { color: rgba(255,255,255,.75); }

.program-card.featured .program-icon-wrap {
  background: rgba(255,255,255,.15);
}

.program-card.featured .program-link {
  color: var(--gold);
}

.program-card.featured::before { background: var(--gold); }

.program-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gray-400);
  margin-bottom: 20px;
  font-family: var(--font-sans);
}

.program-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--green-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.program-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.program-text {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 24px;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--green-700);
  transition: gap var(--transition);
}

.program-link:hover { gap: 10px; }

.program-link svg { width: 16px; height: 16px; }

/* large featured card at bottom */
.program-card-wide {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
  transition: var(--transition);
}

.program-card-wide:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.program-wide-content .program-num { margin-bottom: 8px; }

.program-wide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  padding: 6px 14px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid var(--green-100);
}

.program-wide-image {
  background: var(--green-50);
  border-radius: var(--radius-md);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ============================================================
   ORPHANAGE FEATURE
   ============================================================ */
.orphanage-section {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
}

.orphanage-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
}

.orphanage-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.orphanage-text .section-label { color: var(--gold); }
.orphanage-text .section-label::before { background: var(--gold); }
.orphanage-text .section-title { color: var(--white); }

.orphanage-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.orphanage-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.orphanage-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9375rem;
  color: rgba(255,255,255,.8);
}

.orphanage-feature::before {
  content: '✓';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  line-height: 24px;
  text-align: center;
}

.orphanage-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.orphanage-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.orphanage-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}

.orphanage-card:first-child {
  grid-column: span 2;
}

.oc-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.oc-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.oc-num span { color: var(--gold); }

.oc-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

.orphanage-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* ============================================================
   TESTIMONIALS / SUCCESS STORIES
   ============================================================ */
.testimonials-section {
  background: linear-gradient(135deg, #0a3d20 0%, #0f5132 50%, #137547 100%);
  color: #fff;
  overflow: hidden;
}

.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.7); }

.testimonials-slider {
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  gap: 24px;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: .4;
  position: absolute;
  top: 16px;
  left: 24px;
}

.testimonial-text {
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
  margin-top: 20px;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
}

.testimonial-role {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.4);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
  .testimonial-card { flex: 0 0 100%; }
  .testimonial-card:hover { transform: none; }
}

/* ============================================================
   UPCOMING EVENTS
   ============================================================ */
.events-section { background: var(--page-bg); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.event-card:hover::before { transform: scaleY(1); }

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.event-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.event-description {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.events-empty {
  text-align: center;
  grid-column: 1 / -1;
  padding: 56px 20px;
  color: var(--gray-400);
  font-size: .95rem;
}

@media (max-width: 900px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* ── Outreach Hero Banner ── */
.outreach-hero {
  margin-top: 48px;
  background: linear-gradient(135deg, #0f5132 0%, #137547 40%, #1a8f5a 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.outreach-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(244,166,29,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%);
  pointer-events: none;
}

.outreach-hero-badge {
  display: inline-block;
  background: rgba(244,166,29,.2);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(244,166,29,.3);
  margin-bottom: 20px;
}

.outreach-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.outreach-hero-subtitle {
  font-size: 1.05rem;
  opacity: .8;
  margin-bottom: 36px;
}

.outreach-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.outreach-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.outreach-stat-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
}

.outreach-stat-lbl {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .6;
}

.outreach-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

/* ── Outreach Filters ── */
.outreach-filters {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.outreach-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.outreach-filter-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-right: 4px;
}

.outreach-filter-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.outreach-filter-btn:hover {
  border-color: var(--green-700);
  color: var(--green-700);
}

.outreach-filter-btn.active {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}

/* ── Outreach Schedule Table ── */
.outreach-table-wrap {
  margin-top: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}

.outreach-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.outreach-table thead {
  background: linear-gradient(135deg, #0f5132, #137547);
  color: #fff;
}

.outreach-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.outreach-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
  vertical-align: middle;
}

.outreach-table tbody tr {
  transition: background .2s;
}

.outreach-table tbody tr:hover {
  background: rgba(19,117,71,.03);
}

.outreach-table tbody tr:last-child td {
  border-bottom: none;
}

.outreach-table td strong {
  color: var(--dark);
  font-weight: 600;
}

.outreach-date {
  display: inline-block;
  background: rgba(19,117,71,.08);
  color: var(--green-700);
  font-weight: 700;
  font-size: .78rem;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Zone badges */
.zone-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}

.zone-oyo      { background: #e8f5e9; color: #2e7d32; }
.zone-ibadan1  { background: #e3f2fd; color: #1565c0; }
.zone-ibadan2  { background: #f3e5f5; color: #7b1fa2; }
.zone-ibarapa  { background: #fff3e0; color: #e65100; }
.zone-saki     { background: #fce4ec; color: #c62828; }

.outreach-table tbody tr.outreach-hidden {
  display: none;
}

@media (max-width: 900px) {
  .outreach-hero { padding: 40px 28px; }
  .outreach-hero-stats { gap: 20px; }
  .outreach-stat-divider { display: none; }
  .hide-mobile { display: none; }
  .outreach-table td,
  .outreach-table th { padding: 10px 12px; font-size: .82rem; }
}

@media (max-width: 600px) {
  .outreach-hero { padding: 32px 20px; }
  .outreach-hero-title { font-size: 1.5rem; }
  .outreach-table-wrap { border-radius: var(--radius-md); }
  .outreach-filter-btn { padding: 6px 12px; font-size: .75rem; }
}

/* ============================================================
   HOW TO HELP
   ============================================================ */
.help-section { background: var(--white); }

.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.help-card {
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.help-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.help-card:nth-child(1) { background: var(--green-50); border-color: var(--green-100); }
.help-card:nth-child(2) { background: #fffbf0; border-color: #fde68a; }
.help-card:nth-child(3) { background: #f0f9ff; border-color: #bae6fd; }

.help-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.help-card:nth-child(1) .help-icon { background: var(--green-700); }
.help-card:nth-child(2) .help-icon { background: var(--gold); }
.help-card:nth-child(3) .help-icon { background: #0284c7; }

.help-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.help-text {
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
}

.help-card:nth-child(1) .btn { }
.help-card:nth-child(2) .btn { background: var(--gold); color: var(--white); box-shadow: 0 4px 16px rgba(244,166,29,.35); }
.help-card:nth-child(2) .btn:hover { background: var(--gold-dark); }
.help-card:nth-child(3) .btn { background: var(--blue-600); color: var(--white); box-shadow: 0 4px 16px rgba(2,132,199,.35); }
.help-card:nth-child(3) .btn:hover { background: var(--blue-700); transform: translateY(-2px); }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section {
  background: var(--white);
  overflow: hidden;
  padding-bottom: 60px;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: partnerScroll 35s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

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

.partner-logo-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  background: var(--page-bg);
  border: 1.5px solid rgba(19,117,71,.08);
  border-radius: var(--radius-md);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  min-width: 180px;
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(19,117,71,.12);
  border-color: rgba(19,117,71,.2);
}

.partner-logo-card img,
.partner-logo-card .partner-svg {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity .3s ease;
}

.partner-logo-card:hover img,
.partner-logo-card:hover .partner-svg {
  opacity: 1;
}

.partner-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
}

@media (max-width: 768px) {
  .partners-track { gap: 24px; animation-duration: 25s; }
  .partner-logo-card { padding: 16px 20px; min-width: 140px; }
  .partner-logo-card img { height: 40px; max-width: 110px; }
  .partner-name { font-size: .72rem; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: var(--green-700);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0L80 12v2L54 40h-2zm4 0L80 16v2L58 40h-2zm4 0L80 20v2L62 40h-2zm4 0L80 24v2L66 40h-2zm4 0L80 28v2L70 40h-2zm4 0L80 32v2L74 40h-2zm4 0L80 36v2L78 40h-2zm4 0L80 40 78 40v-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner .section-title { color: var(--white); }
.cta-inner .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  margin: 1.5rem 0 2.5rem;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   TB / HIV AWARENESS SECTION
   ============================================================ */
.awareness-section {
  background: var(--white);
}

/* Disease Tabs */
.awareness-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.awareness-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 32px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.awareness-tab:hover {
  border-color: var(--green-700);
  color: var(--green-700);
}

.awareness-tab.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  box-shadow: 0 4px 16px rgba(19,117,71,.3);
}

.awareness-tab-icon { font-size: 1.2rem; }

/* Panel visibility */
.awareness-panel { display: none; }
.awareness-panel.active { display: block; }

/* Journey Timeline */
.awareness-journey {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 56px;
}

.journey-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--green-700), var(--gold), #3b82f6, #10b981);
  border-radius: 3px;
  opacity: .2;
}

.journey-step {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .6s ease, transform .6s ease;
}

.journey-step.step-visible {
  opacity: 1;
  transform: translateX(0);
}

.journey-step:last-child { margin-bottom: 0; }

.journey-icon {
  position: absolute;
  left: -56px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  z-index: 1;
}

.journey-content {
  background: var(--page-bg);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.journey-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.journey-content h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.journey-content p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.journey-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(19,117,71,.06);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-top: 12px;
}

.fact-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-700);
  white-space: nowrap;
}

.fact-text {
  font-size: .85rem;
  color: var(--gray-600);
}

.journey-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  transition: var(--transition);
}

.journey-cta:hover {
  color: var(--green-d);
  gap: 10px;
}

/* Symptom Grid */
.symptom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.symptom-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-600);
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}

.symptom-icon { font-size: 1.1rem; }

/* Facts Bar */
.awareness-facts-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.fact-card {
  text-align: center;
  background: linear-gradient(135deg, #0f5132, #137547);
  color: #fff;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(19,117,71,.3);
}

.fact-card-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.fact-card-lbl {
  font-size: .78rem;
  opacity: .8;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .awareness-facts-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .awareness-tabs { flex-direction: column; align-items: center; }
  .awareness-journey { padding-left: 44px; }
  .journey-icon { left: -44px; width: 40px; height: 40px; }
  .journey-icon svg { width: 22px; height: 22px; }
  .symptom-grid { grid-template-columns: 1fr; }
  .awareness-facts-bar { grid-template-columns: 1fr 1fr; }
  .fact-card { padding: 20px 12px; }
}

/* ============================================================
   HEALTH FINDERS FEATURE — Premium Health-Tech Design
   ============================================================ */
.finders-section {
  background: #0f2418;  /* dark green — creates strong contrast with white card */
}

/* ── Header ────────────────────────────────────────────────── */
.fhf-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.fhf-header .section-label { color: rgba(255,255,255,.55); }
.fhf-header .section-label span { background: rgba(255,255,255,.3) !important; }
.fhf-header .section-title { color: #fff; }
.fhf-header .section-subtitle { color: rgba(255,255,255,.65); }
.fhf-header-icon {
  display: block;
  width: 68px; height: 68px;
  line-height: 68px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #1a9a5c, #137547);
  font-size: 2rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 28px rgba(19,117,71,.5);
}

/* ── Main Card ─────────────────────────────────────────────── */
.fhf-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 24px 64px rgba(0,0,0,.28);
  overflow: hidden;
  margin-bottom: 24px;
}

/* ── Search Panel ──────────────────────────────────────────── */
.fhf-search-panel {
  padding: 28px 32px 24px;
  background: #f8fafc;
  border-bottom: 1.5px solid #e9edf2;
}
.fhf-search-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* Tab toggle */
.fhf-tabs {
  display: flex;
  background: #e8edf3;
  border-radius: 10px;
  padding: 3px;
  flex-shrink: 0;
}
.fhf-tab {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #64748b;
  transition: all .18s;
  white-space: nowrap;
}
.fhf-tab.active {
  background: #fff;
  color: #137547;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.fhf-tab[data-type="hiv"].active { color: #b91c1c; }

/* Search controls row */
.fhf-search-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.fhf-select {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1.5px solid #d1d9e6;
  border-radius: 10px;
  font-size: .855rem;
  color: #334155;
  background: #fff;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}
.fhf-select:focus {
  border-color: #137547;
  box-shadow: 0 0 0 3px rgba(19,117,71,.12);
}
.fhf-go-btn {
  padding: 11px 22px;
  border: none;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #137547, #0a4229);
  box-shadow: 0 3px 12px rgba(19,117,71,.4);
  transition: transform .18s, box-shadow .18s;
  flex-shrink: 0;
}
.fhf-go-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(19,117,71,.5); }
.fhf-go-btn.mode-hiv {
  background: linear-gradient(135deg, #c41c1c, #7c1d1d);
  box-shadow: 0 3px 12px rgba(185,28,28,.4);
}
.fhf-go-btn.mode-hiv:hover { box-shadow: 0 6px 20px rgba(185,28,28,.5); }

/* Quick chips */
.fhf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fhf-chip {
  font-size: .74rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
  border: 1.5px solid;
  cursor: pointer;
  transition: all .14s;
  background: transparent;
  white-space: nowrap;
}
.fhf-chip-tb  { color: #166534; border-color: #86efac; background: #f0fdf4; }
.fhf-chip-hiv { color: #991b1b; border-color: #fca5a5; background: #fff5f5; }
.fhf-chip-tb:hover  { background: #166534; color: #fff; border-color: #166534; }
.fhf-chip-hiv:hover { background: #991b1b; color: #fff; border-color: #991b1b; }

/* ── Body: Map (left) + Results (right) ────────────────────── */
.fhf-body {
  display: flex;          /* flex is more reliable than grid for this */
  height: 460px;          /* explicit height — CRITICAL for iframe to render */
}

/* Map pane — explicit height so iframe fills it */
.fhf-map-pane {
  flex: 0 0 55%;          /* 55% fixed width */
  position: relative;
  overflow: hidden;
  border-right: 1.5px solid #e9edf2;
  background: #d1e8d8;
  height: 460px;          /* explicit height */
}
.fhf-map-pane iframe {
  display: block;
  width: 100%;
  height: 460px;          /* same explicit height — fixes the iframe collapse */
  border: none;
}
.fhf-map-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border: 1px solid #d1d9e6;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: .74rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  pointer-events: none;
  z-index: 10;
}
.fhf-map-badge span { color: #137547; }

/* Results pane */
.fhf-results-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 460px;
}
.fhf-results-header {
  padding: 13px 18px;
  font-size: .7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid #f0f2f5;
  background: #fafbfc;
  flex-shrink: 0;
}
.fhf-results-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.fhf-results-scroll::-webkit-scrollbar { width: 4px; }
.fhf-results-scroll::-webkit-scrollbar-track { background: #f8fafc; }
.fhf-results-scroll::-webkit-scrollbar-thumb { background: #d1d9e6; border-radius: 4px; }

/* Facility card */
.fhf-fac-card {
  padding: 14px 18px;
  border-bottom: 1px solid #f3f5f8;
  transition: background .14s;
}
.fhf-fac-card:hover { background: #f8fafc; }
.fhf-fac-name {
  font-size: .83rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
  line-height: 1.3;
}
.fhf-fac-lga {
  font-size: .72rem;
  color: #94a3b8;
  margin-bottom: 8px;
}
.fhf-fac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.fhf-ftag {
  font-size: .64rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
}
.ft-art   { background: #dcfce7; color: #166534; }
.ft-pmtct { background: #ede9fe; color: #5b21b6; }
.ft-vct   { background: #dbeafe; color: #1e40af; }
.ft-tb    { background: #d1fae5; color: #065f46; }
.ft-dots  { background: #fef3c7; color: #92400e; }
.ft-free  { background: #ecfdf5; color: #047857; }
.fhf-fac-actions { display: flex; gap: 6px; }
.fhf-fac-btn {
  font-size: .71rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 7px;
  border: 1.5px solid;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all .14s;
  background: transparent;
  cursor: pointer;
}
.fhf-btn-ref { color: #047857; border-color: #6ee7b7; }
.fhf-btn-ref:hover { background: #047857; color: #fff; border-color: #047857; }
.fhf-btn-dir { color: #1d4ed8; border-color: #93c5fd; }
.fhf-btn-dir:hover { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }

/* See-all link */
.fhf-see-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  color: #137547;
  background: #f0fdf4;
  border-top: 1.5px solid #d1fae5;
  flex-shrink: 0;
  transition: background .14s;
}
.fhf-see-all:hover { background: #dcfce7; }
.fhf-see-all.hiv-mode { color: #b91c1c; background: #fff5f5; border-top-color: #fecaca; }
.fhf-see-all.hiv-mode:hover { background: #fee2e2; }

/* ── Trust Row ─────────────────────────────────────────────── */
.fhf-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.fhf-trust-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  transition: background .2s, transform .2s;
  cursor: default;
}
.fhf-trust-item:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-3px);
}
.fhf-trust-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.fhf-trust-num  { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.fhf-trust-label { font-size: .68rem; color: rgba(255,255,255,.5); margin-top: 5px; text-transform: uppercase; letter-spacing: .07em; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .fhf-trust { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .fhf-body { flex-direction: column; height: auto; }
  .fhf-map-pane  { flex: none; width: 100%; height: 280px; border-right: none; border-bottom: 1.5px solid #e9edf2; order: 2; }
  .fhf-map-pane iframe { height: 280px; }
  .fhf-results-pane { flex: none; height: auto; max-height: 420px; order: 1; }
  .fhf-search-top { flex-direction: column; align-items: stretch; }
  .fhf-tabs { width: 100%; }
  .fhf-tab { flex: 1; text-align: center; }
  .fhf-search-controls { flex-wrap: wrap; }
  .fhf-select { flex: 1 1 100%; }
  .fhf-go-btn { width: 100%; justify-content: center; }
  .fhf-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fhf-search-panel { padding: 20px 18px 18px; }
  .fhf-trust { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   COMMUNITY PROTECTION FEATURE (homepage)
   ============================================================ */
.cp-feature-section { background: var(--white); }

.cp-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cp-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cp-feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1.5px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cp-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gray-200);
  transition: var(--transition);
}

.cp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: inherit;
}

.cp-feature-card.fgm::before   { background: #be185d; }
.cp-feature-card.child::before  { background: #1d4ed8; }
.cp-feature-card.hiv::before    { background: #7c3aed; }
.cp-feature-card.gbv::before    { background: #dc2626; }

.cp-feature-card:hover::before { opacity: 1; }

.cp-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--gray-100);
}

.cp-feature-card.fgm .cp-feature-icon   { background: #fce7f3; }
.cp-feature-card.child .cp-feature-icon { background: #dbeafe; }
.cp-feature-card.hiv .cp-feature-icon   { background: #ede9fe; }
.cp-feature-card.gbv .cp-feature-icon   { background: #fee2e2; }

.cp-feature-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.cp-feature-card p {
  font-size: .8125rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.cp-feature-cta {
  font-size: .78rem;
  font-weight: 700;
  margin-top: auto;
}

.cp-feature-card.fgm .cp-feature-cta   { color: #be185d; }
.cp-feature-card.child .cp-feature-cta { color: #1d4ed8; }
.cp-feature-card.hiv .cp-feature-cta   { color: #7c3aed; }
.cp-feature-card.gbv .cp-feature-cta   { color: #dc2626; }

.cp-feature-promise {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: .875rem;
  color: var(--green-800);
}

.cp-feature-promise span { color: var(--green-700); font-weight: 600; }

/* ── Responsive for cp-feature ─────────────────────────── */
@media (max-width: 1024px) {
  .cp-feature-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 480px) {
  .cp-feature-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
}

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

.footer-brand { }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-logo-tagline {
  font-size: .6875rem;
  color: rgba(255,255,255,.45);
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--green-700);
  border-color: var(--green-700);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .875rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '→';
  font-size: .75rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
  color: var(--green-500);
}

.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .875rem;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(19,117,71,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  flex-shrink: 0;
  margin-top: -2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--green-900);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,34,.98) 0%, rgba(19,117,71,.85) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero .section-label { color: var(--gold); }
.page-hero .section-label::before { background: var(--gold); }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
}

.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gold); }

/* ============================================================
   FORMS & INPUTS (Legacy)
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(19,117,71,.1);
}

textarea.form-input { resize: vertical; min-height: 140px; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  background: var(--green-700);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.contact-info-card h2 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-info-card .subtitle {
  color: rgba(255,255,255,.65);
  font-size: .9375rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: .9375rem;
  color: var(--white);
  line-height: 1.6;
}

.contact-social {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.contact-social p {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form-card h2 {
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-size: .9375rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.7;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================================
   ABOUT PAGE SPECIFICS
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--green-100);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-700);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 4px var(--green-100);
}

.timeline-year {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE — Full Multi-Breakpoint System
   ============================================================ */

/* ── Tablet Landscape / Small Desktop (≤1024px) ──────────── */
@media (max-width: 1024px) {
  .container           { padding-inline: 32px; }

  /* Grids */
  .hero-content        { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual         { display: none; }
  .grid-2              { grid-template-columns: 1fr; gap: 40px; }
  .grid-3              { grid-template-columns: 1fr 1fr; gap: 24px; }
  .grid-4              { grid-template-columns: 1fr 1fr; gap: 20px; }
  .programs-intro      { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .programs-intro .btn { width: 100%; justify-content: center; }
  .programs-grid       { grid-template-columns: 1fr; }
  .programs-grid > *   { grid-column: auto !important; }
  .program-card-wide   { grid-template-columns: 1fr; gap: 24px; }
  .orphanage-content   { grid-template-columns: 1fr; gap: 48px; }
  .orphanage-visual    { max-width: 540px; margin: 0 auto; }
  .help-cards          { grid-template-columns: 1fr 1fr; }
  .footer-top          { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
  .contact-grid        { grid-template-columns: 1fr; }
  .contact-info-card   { position: static; }

  /* Mission strip */
  .mission-strip-inner { grid-template-columns: 1fr 1fr 1fr; }
  .mission-divider     { display: none; }
  .mission-item        { padding: 20px 16px; }

  /* About */
  .about-image-stack   { height: 420px; }
  .hero-stats          { grid-template-columns: repeat(3, 1fr); }

  /* Page hero */
  .page-hero           { padding: 130px 0 64px; }

  /* Inline 4-col overrides from program pages */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
}

/* ── Tablet Portrait (≤768px) ────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --radius-xl: 24px;
    --radius-lg: 16px;
  }

  .container           { padding-inline: 20px; }
  .section             { padding-block: 64px; }
  .section-sm          { padding-block: 48px; }
  .section-title       { font-size: clamp(1.625rem, 5vw, 2.375rem); }

  /* Grids */
  .grid-2              { gap: 32px; }
  .grid-3              { grid-template-columns: 1fr; gap: 16px; }
  .grid-4              { grid-template-columns: 1fr 1fr; gap: 14px; }
  .programs-grid       { grid-template-columns: 1fr; }
  .program-card-wide   { grid-template-columns: 1fr; }
  .help-cards          { grid-template-columns: 1fr; }
  .footer-top          { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
  .form-row            { grid-template-columns: 1fr; }

  /* Hero */
  .hero-content        { padding-block: 120px 64px; }
  .hero-stats          { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stat           { padding: 16px 12px; }
  .hero-stat-num       { font-size: 1.625rem; }
  .hero-badge          { font-size: .75rem; }

  /* Page hero */
  .page-hero           { padding: 110px 0 52px; }
  .page-hero h1        { font-size: clamp(1.875rem, 6vw, 2.75rem); }
  .page-hero p         { font-size: 1rem; }

  /* Navbar — slide-in panel */
  .nav-links           { display: none; }
  .nav-toggle          { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: var(--dark);
    padding: 88px 24px 40px;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    z-index: 999;
    box-shadow: -12px 0 48px rgba(0,0,0,.5);
    overflow-y: auto;
    animation: slideMenuIn .28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideMenuIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
  }

  /* Backdrop when menu open */
  .nav-links.open::before {
    content: '';
    position: fixed;
    inset: 0;
    right: min(300px, 85vw);
    background: rgba(0,0,0,.55);
    z-index: -1;
  }

  .nav-links.open > a,
  .nav-links.open .nav-dropdown > a {
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    width: 100%;
    display: block;
    border-radius: 0;
    background: transparent !important;
  }

  .nav-links.open > a:hover,
  .nav-links.open .nav-dropdown > a:hover {
    color: var(--gold) !important;
    background: transparent !important;
  }

  /* Show programs dropdown inline in mobile menu */
  .nav-links.open .nav-dropdown > a::after { display: none; }

  .nav-links.open .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 8px 16px;
    min-width: unset;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-left: 2px solid rgba(255,255,255,.1);
    margin-left: 4px;
  }

  .nav-links.open .dropdown-menu a {
    color: rgba(255,255,255,.58) !important;
    font-size: .9375rem;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.05) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .nav-links.open .dropdown-menu a:hover {
    color: var(--gold) !important;
    background: transparent !important;
  }

  /* Nav logo */
  .nav-logo-tagline    { display: none; }
  .nav-logo-name       { font-size: .8125rem; }
  .nav-donate          { font-size: .8125rem; padding: 8px 16px; }

  /* About */
  .about-image-stack   { height: 300px; }
  .about-img-accent    { width: 140px; height: 140px; bottom: 16px; }
  .about-accent-num    { font-size: 2.25rem; }
  .about-accent-label  { font-size: .75rem; }

  /* Mission strip */
  .mission-strip       { padding: 40px 0; }
  .mission-strip-inner { grid-template-columns: 1fr; }
  .mission-text        { font-size: 1.0625rem; }

  /* Contact */
  .contact-info-card   { padding: 36px 28px; }
  .contact-form-card   { padding: 32px 24px; }

  /* Photo gallery */
  .photo-gallery        { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
  .photo-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .photo-item.wide      { grid-column: span 2; aspect-ratio: 16/9; }
  .feature-img-wrap img { height: 220px; }

  /* Inline 4-col program pages */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  /* Stat card */
  .stat-card           { padding: 44px 24px; }
  .stat-number         { font-size: clamp(2rem, 5vw, 3rem); }

  /* Help card */
  .help-card           { padding: 36px 28px; }

  /* CTA actions */
  .cta-actions         { gap: 12px; }
}

/* ── Mobile Portrait (≤480px) ────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 10px;
  }

  .container           { padding-inline: 16px; }
  .section             { padding-block: 52px; }
  .section-sm          { padding-block: 40px; }
  .section-title       { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* All grids single column */
  .grid-4              { grid-template-columns: 1fr; gap: 12px; }

  /* Orphanage card inner layout */
  [style*="grid-template-columns:1fr auto"],
  [style*="grid-template-columns: 1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr auto"] img,
  [style*="grid-template-columns: 1fr auto"] img {
    width: 100% !important;
    height: 200px !important;
    border-radius: var(--radius-md) !important;
  }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
  .hero-stats          { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Hero */
  .hero-content        { padding-block: 96px 52px; }
  .hero-title          { font-size: clamp(1.875rem, 7vw, 2.5rem); }
  .hero-actions        { flex-direction: column; align-items: stretch; }
  .hero-actions .btn   { justify-content: center; width: 100%; }
  .hero-stat           { padding: 14px 10px; }
  .hero-stat-num       { font-size: 1.5rem; }

  /* Page hero */
  .page-hero           { padding: 96px 0 44px; }
  .page-hero h1        { font-size: clamp(1.625rem, 7vw, 2.25rem); }

  /* Nav */
  .nav-logo-img        { width: 36px; height: 36px; }
  .nav-logo-name       { font-size: .75rem; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-donate          { padding: 7px 13px; font-size: .75rem; }

  /* CTA */
  .cta-actions         { flex-direction: column; align-items: stretch; }
  .cta-actions .btn    { justify-content: center; width: 100%; }

  /* Footer */
  .footer-bottom       { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { gap: 16px; }
  .footer-top          { padding: 56px 0 40px; }

  /* Photo gallery */
  .photo-gallery        { grid-template-columns: 1fr; gap: 10px; }
  .photo-gallery.cols-4 { grid-template-columns: 1fr; }
  .photo-item.wide      { grid-column: span 1; aspect-ratio: 4/3; }

  /* About stack */
  .about-image-stack   { height: 260px; }

  /* Contact */
  .contact-form-card   { padding: 24px 18px; }
  .contact-info-card   { padding: 28px 18px; }

  /* Stat cards */
  .stat-card           { padding: 36px 20px; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }

  /* Help cards */
  .help-card           { padding: 32px 20px; }
  .help-icon           { width: 60px; height: 60px; font-size: 1.75rem; }

  /* Mission */
  .mission-text        { font-size: 1rem; }

  /* Inline 4-col overrides — single col on mobile */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  /* Footer desc */
  .footer-desc         { max-width: 100%; }
  .programs-intro      { gap: 16px; }
}

/* ── Tiny screens (≤360px) ───────────────────────────────── */
@media (max-width: 360px) {
  .container           { padding-inline: 14px; }
  .hero-stats          { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: 1fr; }
  .nav-logo-name       { max-width: 120px; }
  .nav-donate          { display: none; }

  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   PREMIUM MICRO-INTERACTIONS & ENHANCEMENTS
   ============================================================ */

/* ── Scroll Progress Bar ─────────────────────────────────── */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-700) 0%, var(--gold) 100%);
  z-index: 9999;
  pointer-events: none;
  transition: width .08s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Back to Top Button ──────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--green-700);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(19,117,71,.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease, box-shadow .2s ease;
  z-index: 500;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--green-800);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(19,117,71,.5);
}

.back-to-top:active { transform: translateY(0) scale(.93); }

@media (max-width: 480px) {
  .back-to-top { bottom: 20px; right: 16px; width: 42px; height: 42px; font-size: 1rem; }
}

/* ── Button Shimmer Sweep ────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.22) 50%,
    transparent 100%
  );
  transform: translateX(-110%);
  transition: transform .55s ease;
  pointer-events: none;
}

.btn:hover::after { transform: translateX(110%); }

.btn:active { transform: translateY(0) scale(.97) !important; }

/* ── Enhanced Card Hover Glow ────────────────────────────── */
.program-card:hover {
  box-shadow: 0 24px 64px rgba(19,117,71,.14), 0 8px 24px rgba(0,0,0,.09);
}

.help-card:hover {
  box-shadow: 0 20px 56px rgba(19,117,71,.11), 0 8px 20px rgba(0,0,0,.07);
}

.orphanage-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}

/* ── Gradient Text Utility ───────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animated Underline Links ────────────────────────────── */
.animated-link {
  position: relative;
  color: var(--green-700);
  font-weight: 600;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width .28s ease;
}

.animated-link:hover::after { width: 100%; }

/* ── Form Focus Glow ─────────────────────────────────────── */
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px rgba(19,117,71,.14) !important;
  border-color: var(--green-700) !important;
  outline: none;
}

/* ── Image Skeleton Shimmer ──────────────────────────────── */
@keyframes skeletonShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.img-skeleton,
.photo-item::before {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

/* ── Tooltip Component ───────────────────────────────────── */
[data-tooltip] { position: relative; }

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--dark);
  color: var(--white);
  font-size: .73rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
  font-family: var(--font-sans);
}

[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
}

[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Tag Variants ────────────────────────────────────────── */
.tag-gold {
  background: #fffbf0;
  color: var(--gold-dark);
  border-color: #fde68a;
}

.tag-blue {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}

/* ── Live Pulse Dot ──────────────────────────────────────── */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.4);
  animation: livePulse 2.2s infinite;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,.45); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0);   }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0);    }
}

/* ── Section Divider Accent ──────────────────────────────── */
.section-divider {
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--gold));
  border-radius: 4px;
  margin: 14px 0 24px;
}

.section-divider.center { margin-inline: auto; }

/* ── Stagger Reveal Delays ───────────────────────────────── */
.stagger-grid > .reveal:nth-child(1) { transition-delay: .05s; }
.stagger-grid > .reveal:nth-child(2) { transition-delay: .12s; }
.stagger-grid > .reveal:nth-child(3) { transition-delay: .19s; }
.stagger-grid > .reveal:nth-child(4) { transition-delay: .26s; }
.stagger-grid > .reveal:nth-child(5) { transition-delay: .33s; }
.stagger-grid > .reveal:nth-child(6) { transition-delay: .40s; }

/* ── Hover Arrow Nudge ───────────────────────────────────── */
.arrow-nudge {
  display: inline-block;
  transition: transform .22s ease;
}

.program-link:hover .arrow-nudge,
a:hover .arrow-nudge { transform: translateX(4px); }

/* ── Section highlight stripe ────────────────────────────── */
.section-highlight {
  position: relative;
  display: inline;
}

.section-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(244,166,29,.25);
  z-index: -1;
  border-radius: 2px;
}

/* ── Stat card pulse on hover ────────────────────────────── */
.stat-card:hover .stat-number {
  animation: statBounce .3s ease;
}

@keyframes statBounce {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ── About value item enhanced ───────────────────────────── */
.about-value-item:hover .about-value-icon {
  background: var(--green-800);
  transform: scale(1.08);
  transition: background .2s ease, transform .2s ease;
}

/* ── Navbar scrolled border ──────────────────────────────── */
.navbar.scrolled {
  border-bottom: 1px solid var(--gray-200);
}

/* ── Program link arrow ──────────────────────────────────── */
.program-link .link-arrow {
  transition: transform .22s ease;
  display: inline-block;
}

.program-link:hover .link-arrow { transform: translateX(5px); }

/* ── Help icon spin-in on hover ──────────────────────────── */
.help-card:hover .help-icon {
  animation: iconPop .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconPop {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(1.18) rotate(-8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ── Focus outline for nav links ─────────────────────────── */
.nav-links a:focus-visible,
.nav-donate:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Max-width expansion for wider screens ───────────────── */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}
/* ============================================================
   PREMIUM HEALTH FINDERS SECTION
   ============================================================ */
.fhf-premium-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

.fhf-header-area {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.fhf-header-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.fhf-header-icon-premium {
  width: 56px;
  height: 56px;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  /* subtle glow */
  box-shadow: 0 0 20px rgba(34,184,112,0.15);
}

.fhf-premium-title {
  font-size: 2.25rem;
  color: var(--dark);
  margin: 0;
}

.fhf-premium-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Search Interface */
.fhf-search-panel-premium {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  transition: var(--transition);
}
.fhf-search-panel-premium:focus-within {
  box-shadow: 0 0 0 3px rgba(34,184,112,0.2);
  border-color: var(--green-500);
}

.fhf-search-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fhf-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  position: relative;
}
.location-wrapper { flex: 1.5; }
.state-wrapper { flex: 0.8; }
.lga-wrapper { flex: 0.8; }
.service-wrapper { flex: 1; }

.fhf-input-icon {
  color: var(--gray-400);
  flex-shrink: 0;
}

.fhf-modern-input, .fhf-modern-select {
  border: none;
  background: transparent;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--dark);
  width: 100%;
  outline: none;
  cursor: pointer;
}
.fhf-modern-input::placeholder {
  color: var(--gray-400);
}

.fhf-gps-btn {
  background: none;
  border: none;
  color: var(--blue-600);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
}
.fhf-gps-btn:hover {
  background: var(--gray-100);
}

.fhf-divider-vertical {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

.fhf-modern-search-btn {
  background: var(--green-700);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(19,117,71,0.25);
}
.fhf-modern-search-btn:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(19,117,71,0.35);
}

/* Body layout */
.fhf-body-premium {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  min-height: 500px;
}

/* Map area */
.fhf-map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--gray-200);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.fhf-modern-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Results area */
.fhf-results-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fhf-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.fhf-results-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Custom scrollbar */
}
.fhf-results-list::-webkit-scrollbar {
  width: 6px;
}
.fhf-results-list::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 10px;
}
.fhf-results-list::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 10px;
}

/* Cards */
.fhf-result-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.fhf-result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-500);
}

.fhf-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.fhf-card-name {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  margin: 0;
  color: var(--dark);
}

.fhf-card-distance {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-600);
  background: rgba(2,132,199,0.1);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.fhf-card-address {
  font-size: 0.85rem;
  color: var(--gray-600);
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.fhf-card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.fhf-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-800);
}
.fhf-tag-hiv-testing, .fhf-tag-hiv-treatment {
  background: rgba(239,68,68,0.1);
  color: #b91c1c; /* red-700 */
}
.fhf-tag-tb-screening {
  background: rgba(16,185,129,0.1);
  color: #047857; /* emerald-700 */
}
.fhf-tag-malaria-testing {
  background: rgba(245,158,11,0.1);
  color: #b45309; /* amber-700 */
}

.fhf-card-actions {
  display: flex;
  gap: 12px;
}

.fhf-card-btn {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.fhf-btn-details {
  background: var(--green-50);
  color: var(--green-700);
}
.fhf-btn-details:hover {
  background: var(--green-100);
}
.fhf-btn-directions {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
}
.fhf-btn-directions:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

/* Referral Banner */
.fhf-referral-banner {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.fhf-referral-icon {
  font-size: 2rem;
  line-height: 1;
}
.fhf-referral-text h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin: 0 0 4px 0;
}
.fhf-referral-text p {
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 0;
}
.fhf-referral-btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition);
  white-space: nowrap;
}
.fhf-referral-btn:hover {
  background: var(--gold-dark);
}

/* Trust Indicators */
.fhf-trust-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 48px;
}

.fhf-ti-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--gray-800);
}

.fhf-ti-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  box-shadow: var(--shadow-sm);
}

/* Animations */
@keyframes liftUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fhf-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 900px) {
  .fhf-body-premium {
    grid-template-columns: 1fr;
  }
  .fhf-map-container {
    height: 300px;
    order: 2; /* Move map below search results on mobile */
  }
  .fhf-results-container {
    order: 1;
    max-height: 500px; /* Optional, limit height and scroll */
  }
  .fhf-search-input-group {
    flex-direction: column;
    align-items: stretch;
  }
  .fhf-divider-vertical {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }
  .fhf-premium-card {
    padding: 24px;
  }
}

/* ════════════════════════════════════════════════════════════════
   COMPACT HEALTH FACILITY FINDER (homepage map-only version)
   ════════════════════════════════════════════════════════════════ */

/* Section header — normal dark text on page background */
.fhf-section-header {
  text-align: center;
  margin-bottom: 36px;
}
.fhf-section-header .section-title  { color: var(--text-dark); }
.fhf-section-header .section-subtitle { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── Map card ─────────────────────────────────────────────────── */
.fhf-map-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(0,0,0,.08);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

/* ── Controls bar ────────────────────────────────────────────── */
.fhf-controls {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--gray-100);
}

/* Service toggle tabs */
.fhf-service-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.fhf-svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.fhf-svc-tab:hover {
  border-color: var(--green-700);
  color: var(--green-700);
  background: #f0fdf4;
}
.fhf-svc-tab.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}
.fhf-svc-tab[data-svc="hiv"].active {
  background: #dc2626;
  border-color: #dc2626;
}
.fhf-svc-tab[data-svc="hiv"]:hover:not(.active) {
  border-color: #dc2626;
  color: #dc2626;
  background: #fff5f5;
}

/* Colored dot indicators */
.fhf-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fhf-dot-tb  { background: #16a34a; }
.fhf-dot-hiv { background: #dc2626; }

/* Filter row — State, LGA, Facility */
.fhf-filter-row {
  display: flex;
  gap: 14px;
}
.fhf-filter-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fhf-filter-label {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fhf-filter-select {
  width: 100%;
  padding: 9px 32px 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: .82rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--gray-50);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: border-color .15s;
}
.fhf-filter-select:focus  { border-color: var(--green-700); outline: none; box-shadow: 0 0 0 3px rgba(19,117,71,.1); }
.fhf-filter-select:disabled { opacity: .45; cursor: default; }

/* ── Map area ─────────────────────────────────────────────────── */
.fhf-map-only {
  height: 420px;
  width: 100%;
  display: block;
}

/* ── Footer bar ──────────────────────────────────────────────── */
.fhf-map-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
.fhf-legend {
  display: flex;
  gap: 16px;
}
.fhf-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.fhf-count-badge {
  margin-left: auto;
  font-size: .74rem;
  color: var(--text-muted);
  font-style: italic;
}
.fhf-finder-links {
  display: flex;
  gap: 16px;
}
.fhf-finder-link {
  font-size: .76rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  transition: color .13s;
}
.fhf-finder-link:hover { color: var(--green-800); text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .fhf-filter-row { flex-wrap: wrap; }
  .fhf-filter-group { flex: 1 1 calc(50% - 7px); }
  .fhf-map-only { height: 340px; }
  .fhf-map-footer { gap: 12px; padding: 12px 20px; }
  .fhf-count-badge { margin-left: 0; }
}
@media (max-width: 600px) {
  .fhf-controls { padding: 18px 18px 16px; }
  .fhf-filter-group { flex: 1 1 100%; }
  .fhf-map-only { height: 280px; }
  .fhf-finder-links { flex-direction: column; gap: 8px; }
  .fhf-map-footer { flex-direction: column; align-items: flex-start; }
  .fhf-count-badge { margin-left: 0; }
}
