/* ============================================================
   JEEVORA FOUNDATION — styles.css
   Premium Humanitarian Website — Custom Styles
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --navy-deep:    #091530;
  --navy:         #152f61;
  --navy-mid:     #2d5a9e;
  --green:        #4ea076;
  --green-dark:   #2d8057;
  --cream:        #fdfcf9;
  --cream-mid:    #f8f5ef;
  --cream-warm:   #f0ebe0;
  --white:        #ffffff;
  --text-dark:    #0d1b2a;
  --text-muted:   #5c6b7a;
  --text-light:   rgba(255,255,255,0.72);

  --shadow-soft:  0 4px 24px rgba(9,21,48,0.08);
  --shadow-card:  0 8px 48px rgba(9,21,48,0.12);
  --shadow-hover: 0 20px 60px rgba(9,21,48,0.18);
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  9999px;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --transition:   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* --- Grain Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 20px;
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 80px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 32px rgba(9,21,48,0.08);
  transition: var(--transition);
}

#navbar.scrolled .nav-container {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 48px rgba(9,21,48,0.14);
  padding: 8px 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 38px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text .brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.nav-logo-text .brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  letter-spacing: 0.1px;
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(21,47,97,0.06);
}

/* Donate CTA */
.btn-donate-nav {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-donate-nav:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(78,160,118,0.4);
}

.btn-donate-nav svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 999;
  background: rgba(9,21,48,0.92);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 8px 0;
}

.mobile-nav a:hover { opacity: 1; }

.mobile-nav .btn-donate-nav {
  margin-top: 24px;
  font-size: 16px;
  padding: 14px 36px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('images/children-smiling.jpg');
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg-image.loaded { transform: scale(1); }

/* Dark gradient overlay for left text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9,21,48,0.94) 0%,
    rgba(9,21,48,0.82) 40%,
    rgba(9,21,48,0.35) 65%,
    rgba(9,21,48,0.1) 100%
  );
}

/* Subtle gradient at bottom for impact strip overlap */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(9,21,48,0.5), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 40px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hero Left Content */
.hero-left { }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.hero-eyebrow span {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-headline .highlight {
  color: var(--green);
  font-style: italic;
  display: inline;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-light);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  border: 2px solid var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(78,160,118,0.45);
}

.btn-primary svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-2px);
}

.btn-outline-white svg { width: 16px; height: 16px; stroke: currentColor; fill: none; flex-shrink: 0; }

/* Donate frequency toggle */
.donate-type-toggle {
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 5px;
  margin-bottom: 20px;
  gap: 4px;
  width: fit-content;
}

.donate-type-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.donate-type-btn.active {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(78,160,118,0.4);
}

.donate-type-btn:hover:not(.active) {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.07);
}

.monthly-info-bar {
  background: rgba(78,160,118,0.1);
  border: 1px solid rgba(78,160,118,0.25);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* ============================================================
   IMPACT STRIP — kept in CSS for backward compat but hidden
   ============================================================ */
#impact-strip {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 40px 0;
}

.impact-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 56px;
  box-shadow: 0 24px 80px rgba(9,21,48,0.16), 0 2px 8px rgba(9,21,48,0.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.8);
}

.impact-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  position: relative;
}

.impact-stat + .impact-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(9,21,48,0.08);
}

.impact-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(78,160,118,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.impact-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 1.8;
}

.impact-stat-content { }

.impact-stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--navy);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.impact-stat-num .plus {
  font-size: 24px;
  color: var(--green);
  font-style: italic;
}

.impact-stat-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section { padding: 120px 40px; }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.section-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.section-eyebrow span {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--navy);
}

.section-headline.light { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
}

.section-sub.light { color: var(--text-light); }

/* ============================================================
   MISSION SECTION
   ============================================================ */
#mission {
  background: var(--cream);
  padding-top: 100px;
}

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

.mission-images {
  position: relative;
  height: 540px;
}

.mission-img-main {
  position: absolute;
  width: 70%;
  height: 85%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  right: 0;
  top: 0;
  box-shadow: var(--shadow-card);
}

.mission-img-float {
  position: absolute;
  width: 52%;
  height: 52%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  left: 0;
  bottom: 0;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--white);
}

.mission-tag-float {
  position: absolute;
  top: 32px;
  left: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 2;
}

.mission-tag-float .tag-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  line-height: 1;
}

.mission-tag-float .tag-txt {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

.mission-content { padding-left: 20px; }

.mission-content .section-headline { margin: 16px 0 24px; }

.mission-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.mission-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.mission-pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(9,21,48,0.06);
}

.mission-pillar svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.mission-pillar span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* ============================================================
   REALITY SECTION (Dark)
   ============================================================ */
#reality {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

#reality::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,160,118,0.08) 0%, transparent 70%);
  pointer-events: none;
}

#reality::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,90,158,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.reality-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.reality-header .section-eyebrow { justify-content: center; }

.reality-header .section-headline { margin: 16px 0 20px; }

.reality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.reality-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.reality-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(78,160,118,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.reality-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(78,160,118,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.reality-card:hover::before { opacity: 1; }

.reality-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(78,160,118,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.reality-card:hover .reality-icon {
  background: rgba(78,160,118,0.2);
}

.reality-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
}

.reality-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.reality-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.reality-stat {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 8px;
}

.reality-stat-num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--green);
}

.reality-stat-txt {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

/* ============================================================
   JOURNEY SECTION
   ============================================================ */
#journey {
  background: var(--white);
}

.journey-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 80px;
}

.journey-header .section-headline { margin: 16px 0 20px; }

.journey-steps { display: flex; flex-direction: column; gap: 80px; }

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

.journey-step.reverse { direction: rtl; }
.journey-step.reverse > * { direction: ltr; }

.journey-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.journey-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.journey-img-wrap:hover img { transform: scale(1.04); }

.journey-step-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--green);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(78,160,118,0.5);
  z-index: 2;
}

.journey-content { }

.journey-step-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.journey-content h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.journey-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 420px;
}

.journey-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.journey-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.journey-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ============================================================
   STORIES SECTION
   ============================================================ */
#stories {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.stories-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.stories-header .section-headline { margin: 16px 0 20px; }

.stories-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.story-card-main {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.story-card-main .story-img {
  height: 280px;
  overflow: hidden;
}

.story-card-main .story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card-main:hover .story-img img { transform: scale(1.04); }

.story-card-content {
  padding: 40px 44px 44px;
}

.story-quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--cream-warm);
  line-height: 0.5;
  display: block;
  margin-bottom: 24px;
  user-select: none;
}

.story-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--navy);
  line-height: 1.5;
  font-style: italic;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}

.story-author-info strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
}

.story-author-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.story-outcome {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(78,160,118,0.1);
  color: #1a5e3a;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-top: 20px;
  letter-spacing: 0.2px;
}

.story-outcome::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Side Story Cards */
.story-side-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-card-small {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9,21,48,0.05);
  transition: var(--transition);
}

.story-card-small:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.story-card-small .story-text {
  font-size: 16px;
  margin-bottom: 20px;
}

/* ============================================================
   DONATION SECTION
   ============================================================ */
#donate {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#donate::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,160,118,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.donate-inner {
  max-width: 800px;
  margin: 0 auto;
}

.donate-header {
  text-align: center;
  margin-bottom: 52px;
}

.donate-header .section-headline { margin: 16px 0 20px; }

.donate-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-btn {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  font-family: var(--font-body);
}

.amount-btn:hover,
.amount-btn.active {
  background: rgba(78,160,118,0.15);
  border-color: var(--green);
}

.amount-btn strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  line-height: 1;
}

.amount-btn span {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 5px;
  font-weight: 500;
}

.amount-btn .popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.custom-input-wrap {
  margin-bottom: 28px;
}

.custom-input-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.custom-input-field {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.custom-input-field:focus-within {
  border-color: var(--green);
  background: rgba(78,160,118,0.07);
}

.currency-symbol {
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-right: 1.5px solid rgba(255,255,255,0.1);
  height: 56px;
  display: flex;
  align-items: center;
}

.custom-input-field input {
  flex: 1;
  padding: 0 18px;
  height: 56px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
}

.custom-input-field input::placeholder { color: rgba(255,255,255,0.3); }

.donate-cta {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 14px;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-fast);
  letter-spacing: 0.2px;
}

.donate-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(78,160,118,0.45);
}

.donate-cta svg { width: 18px; height: 18px; fill: currentColor; }

.donate-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.donate-note svg { width: 14px; height: 14px; stroke: currentColor; fill: none; flex-shrink: 0; }

/* ============================================================
   VOLUNTEER SECTION
   ============================================================ */
#volunteer {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

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

.volunteer-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 480px;
}

.volunteer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.volunteer-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,21,48,0.7) 0%, transparent 60%);
}

.volunteer-img-tag {
  position: absolute;
  bottom: 32px;
  left: 28px;
  right: 28px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}

.volunteer-img-tag p {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  font-style: italic;
  line-height: 1.4;
}

.volunteer-content { }

.volunteer-content .section-headline { margin: 16px 0 20px; }

.volunteer-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.volunteer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.volunteer-tag {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1.5px solid rgba(9,21,48,0.12);
  color: var(--navy);
  background: var(--white);
}

.volunteer-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: var(--transition-fast);
}

.btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  background: var(--white);
}

.contact-header {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 56px;
}

.contact-header .section-headline { margin: 16px 0 20px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(9,21,48,0.04);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(21,47,97,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.8;
}

.contact-card h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
}

.contact-social {
  text-align: center;
}

.social-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid rgba(9,21,48,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.social-link:hover svg { stroke: var(--white); }

.social-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
  transition: var(--transition-fast);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy-deep);
  padding: 64px 40px 40px;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}

.footer-brand .nav-logo { margin-bottom: 20px; }

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 280px;
}

.footer-brand .initiative-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.3px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

.footer-copy span { color: rgba(255,255,255,0.4); }

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--green);
  border-color: var(--green);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 2;
  transition: var(--transition-fast);
}

.footer-social a:hover svg { stroke: var(--white); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Hero entry animation */
.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: heroEntry 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}

@keyframes heroEntry {
  to { opacity: 1; transform: translateY(0); }
}

.hero-animate:nth-child(1) { animation-delay: 0.15s; }
.hero-animate:nth-child(2) { animation-delay: 0.3s; }
.hero-animate:nth-child(3) { animation-delay: 0.45s; }
.hero-animate:nth-child(4) { animation-delay: 0.6s; }

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

/* Counter animation */
.count-num {
  display: inline-block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  section { padding: 80px 24px; }

  .hero-inner {
    padding: 120px 24px 80px;
    gap: 48px;
  }

  .hero-headline { font-size: 48px; }

  .impact-strip-inner {
    padding: 32px 28px;
    gap: 0;
  }

  .impact-stat { padding: 0 20px; }
  .impact-stat-num { font-size: 30px; }

  .mission-grid,
  .volunteer-inner { gap: 48px; }

  .reality-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Mobile */
@media (max-width: 768px) {
  section { padding: 64px 20px; }

  /* Navbar */
  .nav-links, .btn-donate-nav { display: none; }
  .hamburger { display: flex; }
  #navbar { padding: 10px 16px; }
  .nav-container { padding: 8px 16px; border-radius: 20px; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 110px 20px 60px;
    gap: 0;
  }

  .hero-headline { font-size: 40px; letter-spacing: -1px; }
  .hero-sub { max-width: 100%; }

  /* Impact Strip */
  #impact-strip { margin-top: -40px; padding: 0 16px; }

  .impact-strip-inner {
    grid-template-columns: 1fr 1fr;
    padding: 28px 20px;
    gap: 0;
  }

  .impact-stat {
    padding: 16px 12px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .impact-stat + .impact-stat::before {
    top: 50%;
    height: 1px;
    width: 80%;
    left: 10%;
  }

  .impact-stat:nth-child(1),
  .impact-stat:nth-child(2) {
    border-bottom: 1px solid rgba(9,21,48,0.08);
    padding-bottom: 24px;
  }

  .impact-stat-num { font-size: 32px; }

  /* Mission */
  .mission-grid,
  .volunteer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-images { height: 360px; }
  .mission-content { padding-left: 0; }
  .mission-pillars { grid-template-columns: 1fr; }

  /* Reality */
  .reality-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Journey */
  .journey-step,
  .journey-step.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  /* Stories */
  .stories-grid { grid-template-columns: 1fr; }

  /* Donate */
  .donate-card { padding: 28px 20px; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Section typography */
  .section-headline { font-size: 32px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-headline { font-size: 34px; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-outline-white { width: 100%; justify-content: center; }
}
/* ============================================================
   FAQ SECTION STYLES
   ============================================================ */
   .faq-list {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .faq-item {
    border-bottom: 1px solid rgba(9, 21, 48, 0.1); /* Thin divider lines */
  }
  
  .faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between; /* Pushes chevron to the right */
    align-items: center;
    padding: 24px 0;
    text-align: left;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .faq-question:hover {
    color: var(--green);
  }
  
  .faq-icon {
    width: 20px; /* Fixes the giant triangle issue */
    height: 20px;
    stroke: var(--navy-mid);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease; /* Smooth rotation */
  }
  
  /* Rotates the chevron when the FAQ is open */
  .faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    stroke: var(--green);
  }
  
  .faq-answer {
    display: none; /* Hidden by default */
    padding-bottom: 24px;
    animation: fadeIn 0.3s ease;
  }
  
  .faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* ============================================================
   FAQ SECTION — Centered & Polished
   ============================================================ */

/* 1. Center the Header Text */
.faq-header {
  text-align: center;
  max-width: 700px; /* Constrains the width of the description for better readability */
  margin: 0 auto 60px; /* Centers the header block and adds space below */
}

.faq-header .section-headline {
  text-align: center;
  margin-bottom: 16px;
}

.faq-header .section-sub {
  text-align: center;
  margin: 0 auto; /* Centers the subtext paragraph */
}

/* 2. Center and Constrain the FAQ List */
.faq-list {
  max-width: 900px; /* Limits the width so it doesn't stretch across the whole screen */
  margin: 0 auto;   /* This is what actually centers the entire list on the page */
}

.faq-item {
  border-bottom: 1px solid rgba(9, 21, 48, 0.1); /* Creates the thin divider lines */
}

/* 3. Style the Question Row */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between; /* Pushes the text to the left and icon to the right */
  align-items: center;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--green);
}

/* 4. Fix the Icon Size */
.faq-icon {
  width: 18px; /* Corrects the giant triangle issue */
  height: 18px;
  stroke: var(--navy-mid);
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
}

/* Rotates icon when open */
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  stroke: var(--green);
}

/* 5. Style the Answer Text */
.faq-answer {
  display: none; /* Hidden by default; JavaScript will toggle this */
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 800px;
}
/* ============================================================
   STORIES SECTION — Layout Alignment
   ============================================================ */

/* 1. Main Grid: Creates the 60/40 split between left and right */
.stories-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr; /* Left side is wider than the right */
  gap: 28px;                         /* Spacing between the left and right columns */
  align-items: stretch;              /* Ensures cards try to match height if possible */
}

/* 2. Left Featured Card */
.story-card-main {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;                      /* Makes sure it fills the full vertical space */
}

.story-card-main .story-img {
  width: 100%;
  height: 320px;                     /* Fixed height for the image area */
}

.story-card-main .story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* Prevents image distortion */
}

/* 3. Right Column: Stacks the two smaller cards */
.story-side-cards {
  display: flex;
  flex-direction: column;            /* Stacks cards vertically */
  gap: 24px;                         /* Spacing between the two small cards */
  justify-content: space-between;    /* Distributes them to fill the height of the left card */
}

/* 4. Small Story Cards */
.story-card-small {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(9, 21, 48, 0.05);
  flex: 1;                           /* Allows both cards to grow equally to fill space */
  display: flex;
  flex-direction: column;
  justify-content: center;           /* Centers text content vertically within the card */
}

/* 5. Typography & Spacing inside cards */
.story-card-content {
  padding: 40px;
}

.story-text {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--navy);
}

.story-card-small .story-text {
  font-size: 16px;                   /* Slightly smaller text for the side cards */
  margin-bottom: 20px;
}

/* Status Badges (The green "Now employed" tags) */
.story-outcome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;               /* Light green background */
  color: #166534;                    /* Dark green text */
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;                  /* Pushes badge to the bottom of the card */
  width: fit-content;
}