/* ═══════════════════════════════════════════════════
   MWISHO BORA — Main Stylesheet
   Colors: Navy #1B5089 | Bronze #8B6340 | Gold #C8941A | Cream #F5F0E8
═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1B5089;
  --navy-dark: #0F3260;
  --bronze:  #8B6340;
  --gold:    #C8941A;
  --gold-light: #E8B84B;
  --cream:   #F5F0E8;
  --cream-dark: #EDE6D9;
  --white:   #FFFFFF;
  --text:    #1A1A2E;
  --text-muted: #5A5A72;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(27,80,137,0.10);
  --shadow-lg: 0 8px 40px rgba(27,80,137,0.16);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 56px;
  font-size: 1.05rem;
}

.blue  { color: var(--navy); }
.gold  { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--bronze); border-color: var(--bronze); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.full-width { width: 100%; text-align: center; }

/* ═══ NAVBAR ═══ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}
#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .nav-links a:hover { color: var(--navy); }
#navbar.scrolled .logo-text { color: var(--navy); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  transition: color var(--transition);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.btn-nav {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
}
.btn-nav:hover { background: var(--bronze) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--navy); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3a6b 100%);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,148,26,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,99,64,0.12) 0%, transparent 50%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.04)"/></svg>') repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
  padding-top: 72px;
}
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.hero-verse {
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 1.6s ease infinite;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ═══ ABOUT ═══ */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}
.about-text .lead {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--navy);
}
.about-text p { color: var(--text-muted); margin-bottom: 14px; }

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pillar {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px 20px;
  border-top: 3px solid var(--gold);
  transition: var(--transition);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon { font-size: 1.8rem; margin-bottom: 10px; }
.pillar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.pillar p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ═══ IMPACT ═══ */
.impact-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}
.impact-section .section-title { color: var(--white); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  position: relative;
}
.stat-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold-light);
  display: inline-block;
  line-height: 1;
}
.stat-plus {
  display: inline-block;
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 700;
  vertical-align: top;
  margin-top: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 10px;
}

/* ═══ PROJECTS ═══ */
.projects-section { background: var(--cream); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-image {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.project-card:hover .project-image img { transform: scale(1.04); }
.project-image.no-img::after {
  content: '📋';
  font-size: 4rem;
  opacity: 0.4;
}

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 50px;
}

.project-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-date {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.project-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.project-body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }

.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.project-highlights span {
  background: var(--cream);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--cream-dark);
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.upcoming-badge {
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ═══ GALLERY ═══ */
.gallery-section { background: var(--white); }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: -24px 0 40px;
}
.filter-btn {
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  position: relative;
  background: var(--cream);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(15,50,96,0.45);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.hide { display: none; }

/* Copyright notice + image protection */
.gallery-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 720px;
  margin: -32px 0 32px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  border-radius: 0 8px 8px 0;
}
.protected-gallery img,
.lightbox-img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;            /* clicks pass to the figure for the lightbox */
}
/* persistent watermark on every gallery photo */
.gallery-item .wm,
.lightbox-wm {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  pointer-events: none;
  z-index: 3;
}
.lightbox-figure { position: relative; display: inline-block; }
.lightbox-wm {
  bottom: 14px;
  right: 18px;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 88vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2.4rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover { background: var(--gold); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ═══ FOUNDER ═══ */
.founder-section { background: var(--white); }
.founder-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}
.founder-image-wrap {
  position: relative;
  text-align: center;
}
.founder-image-placeholder {
  width: 300px;
  height: 380px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.5);
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--gold);
}
.founder-image-wrap img {
  width: 300px;
  height: 380px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--gold);
  margin: 0 auto;
}
.founder-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 24px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(200,148,26,0.35);
}
.founder-text .lead {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 14px;
}
.founder-text p { color: var(--text-muted); margin-bottom: 14px; }
.founder-quote {
  border-left: 4px solid var(--gold);
  margin: 28px 0 0;
  padding: 16px 24px;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
}
.founder-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* ═══ SUPPORT ═══ */
.support-section { background: var(--cream); }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}
.support-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.highlight-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  border: 2px solid var(--gold);
}
.highlight-card h3 { color: var(--white); }
.highlight-card p { color: rgba(255,255,255,0.8); }

.support-icon { font-size: 2.4rem; margin-bottom: 16px; }
.support-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.support-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 20px; }

.mpesa-details {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  text-align: left;
}
.mpesa-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mpesa-row:last-child { border-bottom: none; }
.mpesa-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.mpesa-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.06em;
}
.mpesa-note { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-style: italic; }

.impact-promise {
  margin-top: 40px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 32px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  color: var(--text-muted);
}
.impact-promise strong { color: var(--navy); }

/* ═══ WHAT YOUR GIFT DOES (TIERS) ═══ */
.give-section { background: var(--white); }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.tier-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border-top: 4px solid var(--navy);
  position: relative;
  transition: var(--transition);
}
.tier-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.featured-tier {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-top-color: var(--gold);
  color: var(--white);
}
.featured-tier .tier-desc { color: rgba(255,255,255,0.85); }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.tier-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
}
.featured-tier .tier-amount { color: var(--gold-light); }
.tier-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ═══ GIVE STEPS / BANK / IN-KIND ═══ */
.give-steps {
  list-style: none;
  counter-reset: step;
  text-align: left;
  margin-top: 8px;
}
.give-steps li {
  counter-increment: step;
  position: relative;
  padding: 6px 0 6px 32px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.give-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.give-steps strong { color: var(--gold-light); }

.bank-details {
  background: var(--cream);
  border-radius: 8px;
  padding: 16px;
  margin: 8px 0 16px;
  text-align: left;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.85rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-row span { color: var(--text-muted); }
.bank-row strong { color: var(--navy); text-align: right; }
.bank-note { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }

.inkind-list {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
}
.inkind-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.inkind-list li::before {
  content: '🎁';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.support-grid.two-col {
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
}

/* ═══ TRUST STRIP ═══ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-icon { font-size: 1.6rem; flex-shrink: 0; }
.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.trust-item span { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.trust-item em { color: var(--gold); font-style: normal; font-weight: 600; }

/* ═══ CONTACT ═══ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-top: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-item a, .contact-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-item a:hover { color: var(--navy); }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; }

.form-success {
  background: #d4edda;
  color: #155724;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  margin-top: 16px;
  font-weight: 500;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid var(--gold);
}
.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

.footer-contact p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-mpesa {
  margin-top: 16px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.footer-mpesa strong { color: var(--gold-light); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-verse { color: var(--gold-light); font-style: italic; opacity: 0.8; }

/* ═══ FOOTER SOCIAL ICONS ═══ */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

/* ═══ FLOATING WHATSAPP BUTTON ═══ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  z-index: 1500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,0.6);
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 768px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ═══ SCROLL ANIMATIONS ═══ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.nav-links a.active { color: var(--gold) !important; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-image-wrap { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; padding: 12px 16px; border-radius: 8px; }
  .btn-nav { margin-top: 8px; text-align: center; }
  .logo-text { color: var(--white) !important; }
  #navbar.scrolled .logo-text { color: var(--navy) !important; }

  .hero-title { font-size: 2.4rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .support-grid, .support-grid.two-col { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-grid { gap: 40px; }
  .founder-image-placeholder, .founder-image-wrap img { width: 260px; height: 320px; }
}

@media (max-width: 480px) {
  .about-pillars { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 200px; text-align: center; }
}

/* ═══════════════════════════════════════════════════
   REVISIONS — hero brand, values, annual badges,
   support-section wording, white M-Pesa card, team
═══════════════════════════════════════════════════ */

/* Hero: "Mwisho Bora CBO" is now the big H1; "Redefine..." is the smaller subtitle */
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* Core Values */
.values-block { margin-top: 56px; }
.values-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 28px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border-top: 3px solid var(--gold);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon { font-size: 1.9rem; margin-bottom: 10px; }
.value-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.value-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* Annual event badge */
.annual-badge {
  background: var(--gold);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 50px;
}

/* What Your Support Does — icon tiers + any-amount box */
.tier-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.give-anyamount {
  margin-top: 36px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  border: 2px solid var(--gold);
}
.give-anyamount strong { color: var(--gold-light); }

/* White M-Pesa card (replaces the dark highlight card) */
.mpesa-card {
  background: var(--white);
  border: 2px solid var(--gold);
}
.mpesa-card h3 { color: var(--navy); }
.mpesa-card .mpesa-details {
  background: var(--cream);
}
.mpesa-card .mpesa-row { border-bottom-color: var(--cream-dark); }
.mpesa-card .mpesa-label { color: var(--text-muted); }
.mpesa-card .mpesa-value { color: var(--navy); }
.mpesa-card .give-steps li { color: var(--text-muted); }
.mpesa-card .give-steps strong { color: var(--navy); }

/* Team section */
.team-section { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.team-card {
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--gold);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
}
.team-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ═══ FIXES: nav active button, founder name, hero scroll hint ═══ */

/* Keep the "Support Us" nav button readable when its section is active
   (was turning gold text on gold background) */
.nav-links a.btn-nav.active,
#navbar.scrolled .nav-links a.btn-nav.active,
.nav-links a.btn-nav {
  color: #fff !important;
  background: var(--gold) !important;
}

/* Leadership name now a sub-heading inside the Team section */
.founder-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

/* Prevent hero buttons from overlapping the "Scroll to explore" hint */
.hero-content { padding-bottom: 96px; }
.hero-scroll-hint { bottom: 18px; }
@media (max-height: 860px) {
  .hero-scroll-hint { display: none; }
}

/* ═══ SUPPORT: copy buttons, tip, download, pledge, FAQ ═══ */

/* give-anyamount banner with download button */
.give-anyamount .btn { margin-top: 18px; }

/* Copy buttons */
.copy-group { display: inline-flex; align-items: center; gap: 8px; }
.copy-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  background: var(--cream-dark);
  border: 1px solid var(--cream-dark);
  border-radius: 50px;
  padding: 3px 11px;
  cursor: pointer;
  transition: var(--transition);
}
.copy-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.copy-btn.copied { background: #1f9d55; color: #fff; border-color: #1f9d55; }
.give-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* Pledge block */
.pledge-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.pledge-intro h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.pledge-intro p { font-size: 0.92rem; color: var(--text-muted); }
.pledge-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.pledge-form input,
.pledge-form select,
.pledge-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
}
.pledge-form input:focus,
.pledge-form select:focus,
.pledge-form textarea:focus { border-color: var(--navy); }
.pledge-form textarea { margin-bottom: 12px; resize: vertical; }

/* FAQ accordion */
.faq-block { margin-top: 56px; max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 24px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-ico {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .pledge-block { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .pledge-form .form-row { grid-template-columns: 1fr; }
}
