/* ===================================================
   IMPALA FOUNDATION — Global Stylesheet
   Colors: Teal #0b8a8a (primary), Gold #c9922a (accent)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --teal:        #0b8a8a;
  --teal-dark:   #076b6b;
  --teal-light:  #e0f5f5;
  --teal-mid:    #12a8a8;
  --gold:        #c9922a;
  --gold-dark:   #a87520;
  --gold-light:  #fdf3e0;
  --gold-mid:    #e8b04b;
  --dark:        #111827;
  --dark-2:      #1f2937;
  --text:        #374151;
  --text-light:  #6b7280;
  --white:       #ffffff;
  --off-white:   #f9fafb;
  --border:      #e5e7eb;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .3s ease;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--text);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11,138,138,.12);
}
textarea { resize: vertical; min-height: 130px; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--off-white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,146,42,.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11,138,138,.3);
}

/* ── Labels ── */
.label {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.label-gold {
  background: var(--gold-light);
  color: var(--gold-dark);
}

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p {
  max-width: 620px;
  margin: .75rem auto 0;
  color: var(--text-light);
  font-size: 1.05rem;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 4px;
  margin: 1rem auto 0;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: .7rem 0;
}
.navbar.scrolled .nav-logo-text { color: var(--dark); }
.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover { color: var(--teal); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  transition: color var(--transition);
}
.nav-logo-text span {
  display: block;
  font-size: .7rem;
  font-family: var(--font-body);
  font-weight: 400;
  opacity: .85;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .92rem;
  padding: .5rem .85rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.15);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: .5rem 1.25rem !important;
  border-radius: 50px !important;
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
}
.navbar.scrolled .nav-cta {
  background: var(--gold) !important;
}
.navbar.scrolled .nav-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: 8px;
  transition: background var(--transition);
  position: relative;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero (shared) ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06494a 0%, #0b8a8a 50%, #076b6b 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6,73,74,.82) 0%, rgba(11,138,138,.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-content .label { background: rgba(255,255,255,.15); color: var(--white); }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  width: 100%;
  max-width: 640px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-mid);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .35rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-scroll-bar {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.5));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(.7); }
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06494a, #0b8a8a);
}
.page-hero .hero-bg { opacity: .55; }
.page-hero .hero-overlay {
  background: linear-gradient(to bottom, rgba(6,73,74,.25) 0%, rgba(6,73,74,.55) 55%, rgba(6,73,74,.88) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-top: .75rem; max-width: 600px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.45); }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.75rem; }
.card-title { font-size: 1.2rem; margin-bottom: .6rem; }
.card-text { color: var(--text-light); font-size: .93rem; line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--teal);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.card-link:hover { gap: .7rem; }

/* ── Programme Cards (home page) ── */
.prog-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  text-decoration: none;
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prog-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.prog-card:hover .prog-card-img { transform: scale(1.08); }
.prog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,40,40,.95) 0%, rgba(6,40,40,.65) 38%, rgba(6,40,40,.15) 72%, transparent 100%);
  transition: opacity var(--transition);
}
.prog-card:hover .prog-card-overlay { opacity: .92; }
.prog-card-content {
  position: relative;
  z-index: 2;
  padding: 1.6rem;
}
.prog-card-icon {
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: .9rem;
  transition: transform var(--transition);
}
.prog-card:hover .prog-card-icon { transform: scale(1.1) rotate(-4deg); }
.prog-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: .45rem;
}
.prog-card p {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  line-height: 1.5;
  margin-bottom: .9rem;
}
.prog-card-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--gold-mid);
  font-weight: 600;
  font-size: .88rem;
  transition: gap var(--transition);
}
.prog-card:hover .prog-card-link { gap: .8rem; }

/* ── Stats bar ── */
.stats-bar {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.2);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-mid);
  line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,138,138,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { color: white; width: 36px; height: 36px; }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(8px);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  transition: background var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.2); }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--gold));
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: .2rem;
  width: 14px; height: 14px;
  background: var(--teal);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--teal-light);
  transform: translateX(-6px);
}
.timeline-item h4 { color: var(--teal-dark); margin-bottom: .4rem; }
.timeline-item p { color: var(--text-light); font-size: .93rem; }

/* ── Form ── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-weight: 500;
  font-size: .9rem;
  color: var(--dark);
}
.form-label span { color: var(--gold); margin-left: .2rem; }
.form-hint { font-size: .8rem; color: var(--text-light); margin-top: .25rem; }
.form-success {
  display: none;
  background: #d1fae5;
  border: 1px solid #34d399;
  color: #065f46;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin-top: 1rem;
  align-items: center;
  gap: .75rem;
}
.form-success.show { display: flex; }

/* ── Value Cards ── */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  border-top: 4px solid transparent;
}
.value-card:hover {
  border-top-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--teal);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  border-radius: 14px;
}
.value-card:hover .value-icon { background: var(--teal); color: var(--white); transition: all var(--transition); }
.value-card h4 { color: var(--teal-dark); margin-bottom: .5rem; }
.value-card p { font-size: .9rem; color: var(--text-light); }

/* ── Team ── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.team-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}
.team-avatar {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
}
.team-body { padding: 1.75rem; }
.team-name { font-size: 1.2rem; margin-bottom: .25rem; }
.team-role { color: var(--teal); font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.team-bio { font-size: .88rem; color: var(--text-light); }

/* ── Step Cards ── */
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-number {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.step-card h4 { margin-bottom: .5rem; }
.step-card p { font-size: .9rem; color: var(--text-light); }

/* ── Donate Banner ── */
.donate-banner {
  background: linear-gradient(135deg, #c9922a, #e8b04b);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  color: var(--white);
}
.donate-banner h2 { color: var(--white); margin-bottom: 1rem; }
.donate-banner p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Contact ── */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); }
.contact-icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--teal);
}
.contact-info-card h4 { margin-bottom: .3rem; font-size: 1rem; }
.contact-info-card p, .contact-info-card a {
  font-size: .9rem;
  color: var(--text-light);
  margin: 0;
}
.contact-info-card a:hover { color: var(--teal); }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
}
.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}

/* ── Partners ── */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  font-weight: 600;
  color: var(--text-light);
  font-size: .95rem;
  transition: all var(--transition);
}
.partner-logo:hover { border-color: var(--teal); color: var(--teal); box-shadow: var(--shadow-sm); }

/* ── Quote / Testimonial ── */
.quote-card {
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '"';
  position: absolute;
  top: -1rem; left: 1.5rem;
  font-size: 8rem;
  font-family: var(--font-head);
  color: var(--teal);
  opacity: .1;
  line-height: 1;
}
.quote-text { font-size: 1.1rem; font-style: italic; color: var(--dark); margin-bottom: 1.25rem; }
.quote-author { font-weight: 600; color: var(--teal-dark); font-size: .9rem; }
.quote-role { font-size: .82rem; color: var(--text-light); }

/* ── Footer ── */
.footer {
  background: var(--dark-2);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 55px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer h5 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-mid); }
.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item {
  display: flex;
  gap: .75rem;
  font-size: .88rem;
  align-items: flex-start;
}
.footer-contact-item span:first-child { opacity: .6; flex-shrink: 0; font-size: 1rem; }
.footer-socials { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
  cursor: pointer;
}
.footer-social:hover { background: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold-mid); }

/* ── Mobile nav overlay ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
}
.nav-overlay.open { display: block; }

/* ── Animations ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 6px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
}
/* Mobile navigation — triggers on phones and small tablets */
@media (max-width: 992px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(320px, 85vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: .25rem;
    z-index: 999;
    transition: right .35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
  }
  .nav-links.open { right: 0; }
  .nav-link { color: var(--text) !important; width: 100%; font-size: 1rem; }
  .nav-link:hover, .nav-link.active { background: var(--teal-light) !important; color: var(--teal-dark) !important; }
  .nav-cta { color: var(--white) !important; background: var(--gold) !important; }
  .navbar.scrolled .hamburger span { background: var(--dark); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .donate-banner { padding: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-row { gap: 1.25rem; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; max-width: 100%; }
  .hero-stat .num { font-size: 1.8rem; }
}
