/* ============================================
   SHF - Salam Humanitarian Foundation
   Main Stylesheet
   ============================================ */

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

:root {
  --primary:    #1B4D6E;
  --primary-dk: #123349;
  --primary-lt: #2a6898;
  --teal:       #2A9D8F;
  --teal-dk:    #1e7268;
  --teal-lt:    #3dc4b4;
  --gold:       #E9C46A;
  --gold-dk:    #d4a843;
  --orange:     #E76F51;
  --light:      #F4F7FA;
  --white:      #FFFFFF;
  --gray-100:   #F8F9FA;
  --gray-200:   #E9ECEF;
  --gray-400:   #CED4DA;
  --gray-600:   #6C757D;
  --gray-800:   #343A40;
  --dark:       #0D1B2A;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
  --transition: .25s ease;
  --max-w:      1200px;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dk); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--primary);
}

/* --- Layout Helpers --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--gray-600); font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(42,157,143,.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dk); border-color: var(--teal-dk); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(42,157,143,.35); }

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

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); color: var(--dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(233,196,106,.4); }

.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .875rem; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-link { color: var(--gray-800); }
.navbar.scrolled .nav-link:hover { color: var(--teal); }
.navbar.scrolled .navbar-logo-text { color: var(--primary); }
.navbar.scrolled .navbar-logo-sub { color: var(--gray-600); }
.navbar.scrolled .nav-cta { color: var(--white) !important; }

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.navbar-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.navbar-logo-text {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.2;
}
.navbar-logo-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.7);
  font-family: var(--font-body);
  letter-spacing: .04em;
  display: block;
}

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

.nav-link {
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .9rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-link.active { color: var(--gold); }

.navbar.scrolled .nav-link.active { color: var(--teal); }

.nav-cta {
  margin-left: 8px;
  background: var(--gold);
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .875rem;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--gold-dk); transform: translateY(-1px); color: var(--dark) !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--gray-800); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 45%, var(--primary-lt) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 70% 50%, rgba(42,157,143,.25) 0%, transparent 60%),
    radial-gradient(circle at 15% 80%, rgba(233,196,106,.12) 0%, transparent 45%);
}

.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-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

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

.hero-desc {
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 480px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.hero-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
  display: block;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  height: 400px;
}

.hero-card {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 24px;
  color: white;
}

.hero-card-main {
  top: 0; left: 0; right: 60px;
  background: rgba(42,157,143,.25);
  border-color: rgba(42,157,143,.4);
}

.hero-card-secondary {
  bottom: 0; right: 0; left: 60px;
  top: auto;
}

.hero-card-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 1.2rem;
}
.hero-card h3 { font-size: 1rem; color: white; margin-bottom: 8px; }
.hero-card p { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.5; }

.hero-location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.location-pill {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: .72rem;
  color: rgba(255,255,255,.85);
}

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--teal);
  color: white;
  text-align: center;
  padding: 10px 24px;
  font-size: .875rem;
  font-weight: 500;
}
.announcement-bar a { color: var(--gold); font-weight: 700; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card-body { padding: 28px; }

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

.program-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.program-card p { color: var(--gray-600); font-size: .9rem; line-height: 1.6; }

.program-card .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 16px;
}

/* Program color themes */
.theme-blue   { --pc: #1B4D6E; --pcl: #EEF4FB; }
.theme-teal   { --pc: #2A9D8F; --pcl: #EAF7F5; }
.theme-gold   { --pc: #D4A843; --pcl: #FDF6E3; }
.theme-orange { --pc: #E76F51; --pcl: #FDF0ED; }
.theme-green  { --pc: #3D9970; --pcl: #EAF5EF; }
.theme-purple { --pc: #6B4C9A; --pcl: #F2EDF9; }
.theme-red    { --pc: #C0392B; --pcl: #FDECEA; }
.theme-navy   { --pc: #2C3E50; --pcl: #ECF0F1; }

.program-card-icon { background: var(--pcl); color: var(--pc); }
.program-card h3 { color: var(--pc); }
.program-card .tag { background: var(--pcl); color: var(--pc); }

/* --- Value Cards --- */
.value-card {
  text-align: center;
  padding: 32px 20px;
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--gray-600); font-size: .88rem; }

/* --- Stats Strip --- */
.stats-strip {
  background: var(--primary);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
  display: block;
}

/* --- Locations --- */
.locations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  border: 2px solid;
  transition: all var(--transition);
}

.location-chip.syria {
  background: rgba(42,157,143,.08);
  border-color: rgba(42,157,143,.3);
  color: var(--teal-dk);
}
.location-chip.syria:hover { background: var(--teal); color: white; border-color: var(--teal); }

.location-chip.turkey {
  background: rgba(27,77,110,.08);
  border-color: rgba(27,77,110,.25);
  color: var(--primary);
}
.location-chip.turkey:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Sections with background --- */
.bg-light { background: var(--light); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--dark); }
.bg-teal { background: var(--teal); }

/* --- Mission/Vision split --- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.mv-card.mission { background: linear-gradient(135deg, var(--primary), var(--primary-lt)); }
.mv-card.vision  { background: linear-gradient(135deg, var(--teal-dk), var(--teal)); }
.mv-card h2 { color: white; margin-bottom: 16px; font-size: 1.5rem; }
.mv-card p { color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.7; }
.mv-label {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 12px;
}

/* --- Partners --- */
.partner-logo {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--gray-600);
  font-size: .9rem;
  text-align: center;
  min-height: 72px;
}

/* --- Quote --- */
.quote-section {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  padding: 80px 0;
  text-align: center;
  color: white;
}
.quote-mark { font-size: 5rem; color: var(--gold); line-height: .5; margin-bottom: 24px; font-family: Georgia, serif; }
.quote-text { font-family: var(--font-head); font-size: clamp(1.25rem, 2.5vw, 1.75rem); color: white; max-width: 720px; margin: 0 auto 20px; line-height: 1.5; }
.quote-source { color: rgba(255,255,255,.65); font-size: .9rem; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dk), var(--teal));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-banner h2 { color: white; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary) 60%, var(--primary-lt));
  padding: 120px 0 64px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 50%, rgba(42,157,143,.2), transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; font-size: .875rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.35); }

/* --- Timeline (History) --- */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--primary));
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-year {
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 1rem; margin-bottom: 6px; }
.timeline-item p { font-size: .9rem; color: var(--gray-600); }

/* --- Program Detail Page --- */
.program-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}
.program-icon-lg {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.program-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--gray-800);
  font-size: .95rem;
}
.program-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* --- Contact page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(42,157,143,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-info-text p { font-size: .9rem; color: var(--gray-600); }

/* --- Form --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 6px;
  color: var(--gray-800);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-400);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,157,143,.15); }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { cursor: pointer; }

/* --- Office cards --- */
.office-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
}
.office-card h3 { font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.office-card .flag { font-size: 1.4rem; }

/* --- Impact numbers --- */
.impact-num-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.impact-num-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  border: 2px solid;
}
.impact-num-card.c1 { border-color: rgba(42,157,143,.3); background: rgba(42,157,143,.05); }
.impact-num-card.c2 { border-color: rgba(27,77,110,.3); background: rgba(27,77,110,.05); }
.impact-num-card.c3 { border-color: rgba(233,196,106,.5); background: rgba(233,196,106,.07); }
.impact-num-card.c4 { border-color: rgba(231,111,81,.3); background: rgba(231,111,81,.05); }
.impact-num-card.c5 { border-color: rgba(61,153,112,.3); background: rgba(61,153,112,.05); }
.impact-num-card.c6 { border-color: rgba(107,76,154,.3); background: rgba(107,76,154,.05); }

.impact-num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; display: block; }
.impact-label { font-size: .875rem; color: var(--gray-600); margin-top: 4px; display: block; }

.impact-num-card.c1 .impact-num { color: var(--teal); }
.impact-num-card.c2 .impact-num { color: var(--primary); }
.impact-num-card.c3 .impact-num { color: var(--gold-dk); }
.impact-num-card.c4 .impact-num { color: var(--orange); }
.impact-num-card.c5 .impact-num { color: #3D9970; }
.impact-num-card.c6 .impact-num { color: #6B4C9A; }

/* --- Get Involved --- */
.involve-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
}
.involve-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
.involve-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.involve-card h3 { margin-bottom: 12px; }
.involve-card p { color: var(--gray-600); font-size: .9rem; margin-bottom: 24px; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}
.footer-logo-icon {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.footer-logo-text { font-family: var(--font-head); font-size: 1rem; color: white; font-weight: 700; }
.footer-tagline { color: rgba(255,255,255,.55); font-size: .875rem; line-height: 1.6; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--teal); color: white; }

.footer-heading {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}

.footer-links { }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-links a:hover { color: var(--teal-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-reg {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  margin-top: 12px;
  line-height: 1.6;
}

/* --- Accessibility --- */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--teal);
  color: white;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* --- Divider --- */
.divider { height: 1px; background: var(--gray-200); margin: 40px 0; }
.divider-teal { background: linear-gradient(to right, transparent, var(--teal), transparent); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(2n) { border-bottom: none; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { color: var(--gray-800); padding: 12px 16px; }
  .nav-link:hover { background: var(--light); }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: flex; }

  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .impact-num-grid { grid-template-columns: repeat(2, 1fr); }

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

  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 40px 24px; }

  .page-hero { padding: 96px 0 48px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .impact-num-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-actions { flex-direction: column; }
}
