/* =============================================================
   WalkTogetherCare — Main Stylesheet
   Color palette sourced from index2.html:
     brand-50  : #f0f9ff   (light sky tint)
     brand-100 : #e0f2fe   (sky blue tint)
     brand-200 : #bae6fd   (sky blue light)
     brand-500 : #0ea5e9   (sky blue — accent)
     brand-700 : #0369a1   (deep blue — primary)
     brand-900 : #0c4a6e   (darkest navy blue — dark sections)
     slate-50  : #f8fafc
     slate-100 : #f1f5f9
     slate-200 : #e2e8f0
     slate-600 : #475569
     slate-800 : #1e293b
     slate-900 : #0f172a
   ============================================================= */

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

:root {
  /* Brand blues — from index2 */
  --brand-50:    #f0f9ff;
  --brand-100:   #e0f2fe;
  --brand-200:   #bae6fd;
  --brand-500:   #0ea5e9;
  --brand-700:   #0369a1;
  --brand-900:   #0c4a6e;

  /* Slate neutrals — from index2 body/text */
  --slate-50:    #f8fafc;
  --slate-100:   #f1f5f9;
  --slate-200:   #e2e8f0;
  --slate-300:   #cbd5e1;
  --slate-400:   #94a3b8;
  --slate-600:   #475569;
  --slate-700:   #334155;
  --slate-800:   #1e293b;
  --slate-900:   #0f172a;

  /* Aliases */
  --white:       #ffffff;
  --text:        var(--slate-800);
  --text-light:  var(--slate-600);
  --bg:          var(--slate-50);
  --gray-border: var(--slate-200);
  --gray-bg:     var(--slate-100);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.06);
  --shadow-md:   0 4px 16px rgba(15,23,42,.10), 0 2px 6px rgba(15,23,42,.07);
  --shadow-lg:   0 12px 40px rgba(15,23,42,.14), 0 4px 12px rgba(15,23,42,.08);
  --shadow-xl:   0 24px 60px rgba(15,23,42,.18);

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;

  /* Typography */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Misc */
  --transition:   220ms cubic-bezier(.4,0,.2,1);
  --section-gap:  96px;
  --container:    1160px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- SCROLL REVEAL ---------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-on-scroll.revealed { opacity: 1; transform: none; }

/* ---------- UTILITIES ---------- */
.section-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }

/* Label on any background */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 12px;
}
.section-label.light { color: var(--brand-500); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 16px auto 0;
  line-height: 1.7;
}
.section-subtitle.light { color: rgba(255,255,255,.70); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
  letter-spacing: -.02em;
}

h3 { font-size: 1.15rem; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;            /* pill shape — matches index2 */
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primary — brand-700 fill, like index2 */
.btn-primary {
  background: var(--brand-700);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(3,105,161,.30);
}
.btn-primary:hover {
  background: var(--brand-900);
  box-shadow: 0 6px 24px rgba(3,105,161,.40);
}

/* Ghost — outline for dark backgrounds */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.50);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.80);
}

/* Secondary — white outline for dark section backgrounds */
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.78);
}

.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

.story-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- STORY MODAL ---------- */
.story-modal {
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
  padding: 24px; z-index: 1100;
}
.story-modal.open { display: flex; }
.story-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.75);
  backdrop-filter: blur(4px);
}
.story-modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 32px; z-index: 1;
}
.story-modal-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.story-modal-image img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  display: block;
}
.story-modal-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--slate-900);
}
.story-modal-copy p { color: var(--text-light); line-height: 1.85; font-size: 1rem; white-space: pre-line; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border: none;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 1.3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}
.modal-close:hover { background: var(--slate-200); }

/* =============================================================
   NAVIGATION  — light white nav (index2 style)
   ============================================================= */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow var(--transition), background var(--transition);
}
.nav-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.99);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
  height: 72px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-700);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.nav-logo:hover .nav-logo-icon { background: var(--brand-900); }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); letter-spacing: -.02em; }
.nav-logo-care { color: var(--brand-700); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--slate-600);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--brand-700); background: var(--brand-50); }

/* Get Help CTA — outlined brand-700 pill */
.nav-links .nav-cta {
  color: var(--brand-700) !important;
  border: 1.5px solid var(--brand-700);
  border-radius: 9999px;
  padding: 7px 18px;
  font-weight: 600;
  margin-left: 4px;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.nav-links .nav-cta:hover { background: var(--brand-50); color: var(--brand-900) !important; }

/* Donate — filled brand-700 pill */
.nav-links .nav-donate {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-700);
  color: var(--white) !important;
  font-weight: 600; font-size: .88rem;
  padding: 8px 18px;
  border-radius: 9999px;
  margin-left: 6px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.nav-links .nav-donate:hover {
  background: var(--brand-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.nav-links .nav-donate svg { flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
  cursor: pointer; border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--slate-100); }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* =============================================================
   HERO — white bg with image panel (index2 style hero tones
   adapted to index.html's split-screen layout)
   ============================================================= */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--white);
  position: relative; overflow: hidden;
  padding-top: 72px;
}

/* Subtle brand tint in left content area */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 15% 55%, rgba(14,165,233,.07) 0%, transparent 65%),
    radial-gradient(ellipse 400px 400px at 5% 5%, rgba(3,105,161,.04) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  padding: 80px 48px 80px 5%;
  position: relative; z-index: 2;
  max-width: 640px;
}

/* Faith badge — matches index2's inline-flex pill badge */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-eyebrow::before { display: none; } /* Remove the line decoration on light bg */

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--slate-900);
  margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--brand-700); }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-status {
  font-size: .8rem;
  color: var(--slate-400);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-500);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(14,165,233,.5); }
  50%      { box-shadow: 0 0 0 7px rgba(14,165,233,0); }
}

/* Hero right image panel */
.hero-image-panel {
  position: relative; height: 100%;
  min-height: 100svh; overflow: hidden;
}
.hero-family-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  filter: brightness(.82) saturate(.95);
  transition: filter 1s ease;
  border-radius: 0;
}
.hero-image-panel:hover .hero-family-img { filter: brightness(.88) saturate(1); }

/* Gradient from white (matches hero bg) into image */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--white) 0%, rgba(255,255,255,.1) 28%, transparent 45%);
  z-index: 1; pointer-events: none;
}

.hero-image-caption {
  position: absolute; bottom: 28px; right: 24px; z-index: 2;
  font-size: .78rem; font-style: italic;
  color: rgba(255,255,255,.75);
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: var(--radius-sm);
}

/* =============================================================
   MISSION SECTION — slate-50 (matches index2's bg-slate-50)
   ============================================================= */
.mission-section {
  padding: var(--section-gap) 0;
  background: var(--slate-50);
}

.mission-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: start;
}

.mission-text .section-label { display: block; margin-bottom: 14px; }
.mission-text h2 { margin-bottom: 24px; }
.mission-text p {
  color: var(--text-light); font-size: 1rem;
  line-height: 1.75; margin-bottom: 18px;
}

.mission-verse {
  border-left: 3px solid var(--brand-500);
  padding: 20px 24px; margin-top: 32px;
  background: linear-gradient(135deg, rgba(14,165,233,.06), rgba(14,165,233,.02));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.mission-verse p {
  font-family: var(--font-display);
  font-style: italic; font-size: 1.15rem;
  color: var(--brand-900);
  margin-bottom: 10px !important; line-height: 1.5;
}
.mission-verse cite {
  font-size: .82rem; color: var(--brand-700);
  font-style: normal; font-weight: 600; letter-spacing: .04em;
}

.mission-stats { display: flex; flex-direction: column; gap: 20px; }

/* White cards on slate-50 — matches index2's "bg-white rounded-2xl" cards */
.stat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  display: flex; 
  align-items: stretch; /* Stretch children to fill card height */
  overflow: hidden; /* Ensure image border-radius matches card */
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.stat-card:hover {
  box-shadow: var(--shadow-md), 0 0 15px rgba(14,165,233,0.12);
  border-color: var(--brand-200);
  transform: translateY(-3px);
}
.stat-image-wrap {
  width: 140px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.stat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Sky blue brand glow strip separating the image and content */
.stat-image-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 5px;
  background: var(--brand-500);
  opacity: 0.8;
  filter: drop-shadow(-2px 0 8px var(--brand-500));
  pointer-events: none;
}
.stat-body {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-label { font-size: .95rem; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.stat-desc  { font-size: .85rem; color: var(--text-light); line-height: 1.5; }

@media (max-width: 480px) {
  .stat-card {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }
  .stat-image-wrap {
    width: 100%;
    height: 160px;
  }
  .stat-image-wrap::after {
    width: auto;
    height: 5px;
    top: auto; left: 0; right: 0; bottom: 0;
    filter: drop-shadow(0 -2px 8px var(--brand-500));
  }
  .stat-body {
    padding: 20px 24px;
  }
}

/* =============================================================
   THREE PILLARS — dark slate-900 background (immersive section)
   ============================================================= */
.pillars-section {
  position: relative;
  padding: var(--section-gap) 0;
  background: var(--slate-900);
  overflow: hidden;
}

/* Watermark compass-like decoration on section background */
.pillars-section::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,.03);
  pointer-events: none;
}

.pillars-section .section-label { color: var(--brand-500); }
.pillars-section h2             { color: var(--white); }
.pillars-section .section-subtitle { color: var(--slate-400); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: transparent;
  padding: 0;
  position: relative;
}

/* Cards are transparent on the dark grid — text only */
.pillar-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  transition: none;
  overflow: visible;
}
.pillar-card::before { display: none; }
.pillar-card:hover { transform: none; box-shadow: none; border-color: transparent; }
.pillar-card:hover .pillar-icon-wrap { background: rgba(14,165,233,.30); }

/* Featured card — subtle separator line */
.pillar-card.featured {
  background: transparent;
  border: none;
}
.pillar-card.featured::before { display: none; }

.pillar-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--brand-500); color: var(--white);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
}

.pillar-number {
  font-size: .68rem; font-weight: 800; letter-spacing: .15em;
  color: rgba(255,255,255,.35); margin-bottom: 16px;
}

.pillar-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(14,165,233,.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--brand-500);
  transition: background var(--transition);
}
.pillar-icon { width: 26px; height: 26px; }

/* White/light text on dark grid */
.pillar-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.05rem; font-weight: 700; }
.pillar-card p  { color: var(--slate-400); font-size: .88rem; line-height: 1.75; margin-bottom: 20px; }

.pillar-features { display: flex; flex-direction: column; gap: 8px; }
.pillar-features li {
  font-size: .82rem; color: var(--slate-400);
  display: flex; align-items: center; gap: 8px;
}
.pillar-features li::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%; background: var(--brand-500); flex-shrink: 0;
}

/* =============================================================
   PARTNERSHIPS — white (matches index2's bg-white)
   ============================================================= */
.partnerships-section {
  padding: var(--section-gap) 0;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
}
.partnerships-content {
  max-width: var(--container); margin: 0 auto;
  padding: 0 24px; text-align: center;
}
.partnerships-section .section-label { margin-bottom: 14px; color: var(--brand-700); }
.partnerships-section h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin-bottom: 18px; color: var(--slate-900); }
.partnerships-copy {
  max-width: 720px; margin: 0 auto 38px;
  color: var(--text-light); font-size: 1rem; line-height: 1.85;
}
.partner-grid {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 22px; margin-bottom: 30px;
}
.partner-card {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px; min-width: 240px; max-width: 320px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), filter var(--transition);
  filter: grayscale(.6);
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); filter: grayscale(0); }
.partner-logo { height: 44px; width: auto; display: block; }
.partner-name { display: block; color: var(--slate-700); font-weight: 700; font-size: .95rem; }
.partnerships-action { margin-top: 12px; }
.partnerships-action .link-link { color: var(--brand-700); font-weight: 600; }
.partnerships-action .link-link:hover { text-decoration: underline; }

/* =============================================================
   TESTIMONIALS — brand-900 dark (matches index2 "bg-brand-900")
   ============================================================= */
.testimonial-section {
  position: relative;
  padding: var(--section-gap) 0;
  background: var(--brand-900);
  color: var(--white);
}
.testimonial-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(14,165,233,.15), transparent 40%);
  pointer-events: none;
}
.testimonial-section .section-header { position: relative; z-index: 1; }
.testimonial-section .section-header h2 { color: var(--white); }
.testimonial-section .section-header .section-label { color: var(--brand-500); }
.testimonial-section .section-header .section-subtitle { color: rgba(255,255,255,.65); }

.testimonial-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px; position: relative; z-index: 1;
}
/* Matches index2 "bg-slate-800/50 rounded-2xl border border-slate-700" */
.testimonial-card {
  background: rgba(30,41,59,.5);
  border: 1px solid rgba(71,85,105,.6);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,165,233,.35);
}
.testimonial-copy {
  font-size: 1.02rem; line-height: 1.9;
  color: var(--slate-300);  /* matches index2 "text-slate-300 italic" */
  font-style: italic;
  margin-bottom: 26px;
}
.testimonial-quote {
  width: 40px; height: 40px;
  background: rgba(14,165,233,.15);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  color: var(--brand-500); opacity: .7;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--slate-700);  /* matches index2 "bg-slate-700" */
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700; flex-shrink: 0;
}
.testimonial-author-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.testimonial-author-role { font-size: .88rem; color: var(--slate-400); }

/* =============================================================
   OUR STORY & LEADERSHIP SECTION — white bg
   ============================================================= */
.founders-section {
  padding: var(--section-gap) 0;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
}

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

.founder-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.founder-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--brand-200);
}

.founder-img-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--slate-100); }
.founder-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  transition: transform .5s ease; display: block;
}
.founder-card:hover .founder-img-wrap img { transform: scale(1.05); }

.founder-info { 
  padding: 28px 24px; 
  display: flex;
  flex-direction: column;
  flex: 1;
}
.founder-info h3 { font-size: 1.05rem; color: var(--slate-900); margin-bottom: 4px; }
.founder-title {
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-700); margin-bottom: 12px;
}
.founder-text-container {
  flex: 1;
  position: relative;
}
.founder-bio, .founder-story {
  font-size: .88rem;
  line-height: 1.65;
  animation: fadeIn 0.35s ease-in-out;
}
.founder-bio { color: var(--text-light); }
.founder-story {
  color: var(--slate-700);
  font-style: italic;
}
.btn-toggle-story {
  background: none;
  border: none;
  color: var(--brand-700);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0;
  margin-top: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: .05em;
  align-self: flex-start;
}
.btn-toggle-story:hover {
  color: var(--brand-500);
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   FORM SECTION — slate-100 light bg (matches index2 "bg-slate-100")
   ============================================================= */
.form-section {
  padding: var(--section-gap) 0;
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  position: relative; overflow: hidden;
}

.form-container {
  display: grid; grid-template-columns: 1fr 1.45fr;
  gap: 72px; align-items: start;
}

.form-intro .section-label { display: block; margin-bottom: 16px; }
.form-intro h2 { color: var(--slate-900); margin-bottom: 24px; }
.form-intro p  { color: var(--text-light); font-size: .97rem; line-height: 1.75; margin-bottom: 28px; }

.form-promises { display: flex; flex-direction: column; gap: 12px; }
.form-promises li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--text-light); font-weight: 500;
}
.form-promises li svg { color: var(--brand-700); flex-shrink: 0; }

/* White card — matches index2 "bg-white p-8 rounded-3xl shadow-xl" */
.care-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  display: flex; flex-direction: column; gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .82rem; font-weight: 600;
  color: var(--slate-700); letter-spacing: .01em;
}
.form-group label span { color: var(--brand-700); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body); font-size: .92rem;
  color: var(--text);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none; width: 100%;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-400); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px; padding-right: 40px; cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy { font-size: .78rem; color: var(--slate-400); text-align: center; line-height: 1.5; }

/* =============================================================
   FOOTER — dark
   ============================================================= */
.site-footer {
  background: var(--slate-900);
  color: rgba(255,255,255,.60);
  padding: 64px 0 0;
}
.footer-container {
  max-width: var(--container); margin: 0 auto;
  padding: 0 24px 56px;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .footer-logo span { color: var(--white); font-weight: 700; font-size: .95rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 10px; }
.footer-legal { font-size: .75rem !important; color: rgba(255,255,255,.35) !important; margin-top: 8px; }

.footer-nav h4, .footer-pillars h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-nav ul, .footer-pillars ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: .88rem; color: rgba(255,255,255,.48); transition: color var(--transition); }
.footer-nav a:hover { color: var(--brand-500); }
.footer-pillars li { font-size: .88rem; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.48); }
.footer-pillars svg { color: var(--brand-500); flex-shrink: 0; }

.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.28);
  flex-wrap: wrap; gap: 8px;
}

/* =============================================================
   SUCCESS PAGE
   ============================================================= */
.success-page {
  min-height: 100svh; display: flex; align-items: center;
  justify-content: center; background: var(--brand-900);
  padding: 40px 24px; text-align: center;
}
.success-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(14,165,233,.25);
  border-radius: var(--radius-xl);
  padding: 56px 48px; max-width: 520px; width: 100%;
}
.success-icon {
  width: 72px; height: 72px;
  background: rgba(14,165,233,.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; font-size: 2rem;
}
.success-card h1 { font-size: clamp(1.6rem, 3vw, 2rem); color: var(--white); margin-bottom: 16px; }
.success-card p { color: rgba(255,255,255,.65); font-size: .97rem; line-height: 1.7; margin-bottom: 32px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 100px 24px 48px; max-width: 100%; }
  .hero-image-panel { height: 420px; min-height: unset; }
  .hero-overlay { background: linear-gradient(to bottom, var(--white) 0%, transparent 30%); }

  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .founders-grid { grid-template-columns: 1fr 1fr; }

  .form-container { grid-template-columns: 1fr; gap: 48px; }
  .form-intro h2  { font-size: 2rem; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --section-gap: 64px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 16px 24px; gap: 4px;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; color: var(--slate-700); }
  .nav-links a:hover { color: var(--brand-700); }
  .nav-links .nav-cta { text-align: center; }
  .nav-links .nav-donate { text-align: center; justify-content: center; margin-left: 0; margin-top: 4px; }

  .pillars-grid  { grid-template-columns: 1fr; gap: 28px; }
  .founders-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .form-row      { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .care-form { padding: 28px 20px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .success-card { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .mission-grid { gap: 40px; }
  h1 { font-size: 2rem; }
  .hero-content { padding-top: 90px; }
}

/* =============================================================
   FORM VALIDATION
   ============================================================= */
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #dc2626;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.field-error {
  display: block; font-size: .78rem; color: #dc2626;
  font-weight: 500; margin-top: 2px;
  animation: fadeInDown .2s ease;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

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

/* =============================================================
   WHO WE SERVE (if used)
   ============================================================= */
.serve-section { padding: var(--section-gap) 0; background: var(--slate-50); }
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.serve-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.serve-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-200); transform: translateY(-4px); }
.serve-icon { font-size: 2.4rem; margin-bottom: 18px; display: block; }
.serve-card h3 { color: var(--slate-900); margin-bottom: 12px; }
.serve-card p  { font-size: .92rem; color: var(--text-light); line-height: 1.7; }

/* Ghost button variant for light backgrounds */
.btn-ghost-dark {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--brand-200);
}
.btn-ghost-dark:hover {
  background: var(--brand-50);
  border-color: var(--brand-500);
  color: var(--brand-900);
}
