/* Homepage — visual-first layout */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

body.home-page {
  font-family: "Plus Jakarta Sans", var(--font);
}

/* Hero — slider ya mandhari + maandishi */
.hero-modern {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0f172a;
}

.hero-bg-slider--empty {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 45%, #0f172a 100%);
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 32%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.08);
  will-change: opacity, transform;
}

.hero-bg-slide.is-active {
  opacity: 1;
  animation: heroKenBurns 20s ease-in-out infinite alternate;
  z-index: 1;
  filter: brightness(1.1) contrast(1.05) saturate(1.08);
}

.hero-bg-dots {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  left: auto;
  bottom: auto;
  transform: none;
  z-index: 5;
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.hero-bg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.3s, background 0.3s;
}

.hero-bg-dot.is-active {
  background: #4ade80;
  transform: scale(1.25);
}

.hero-modern__copy--solo {
  max-width: 720px;
  position: relative;
  z-index: 3;
}

.hero-modern__copy--center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-modern__copy--bottom {
  width: 100%;
  max-width: 920px;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 20px 20px 0 0;
  /* Giza kidogo chini ya maandishi tu — hakuna blur (blur ilificha watu) */
  background: linear-gradient(
    to top,
    rgba(6, 30, 24, 0.72) 0%,
    rgba(6, 30, 24, 0.45) 55%,
    rgba(6, 30, 24, 0.12) 85%,
    transparent 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

.hero-modern__copy--bottom .hero-modern__title {
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 4px 24px rgba(0, 0, 0, 0.65);
}

.hero-modern__copy--bottom .hero-modern__lead {
  color: #f1f5f9;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-bento__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 280px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.hero-bento__placeholder p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-bento__placeholder a {
  color: #86efac;
  font-weight: 600;
}

.program-tile__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
}

.program-tile__ph img {
  width: 64px;
  height: auto;
  opacity: 0.5;
  object-fit: contain;
}

.insta-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--text-muted, #64748b);
}

/* Softer fallback when stock photos feel busy */
.hero-modern__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes heroKenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-modern__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Juu: picha wazi. Chini: kijani-kijivu kidogo kwa kusoma maandishi */
  background:
    linear-gradient(
      to top,
      rgba(4, 47, 46, 0.75) 0%,
      rgba(4, 47, 46, 0.35) 16%,
      rgba(15, 23, 42, 0.08) 32%,
      transparent 48%
    );
}

.hero-modern__mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.4;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-modern__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
  animation: heroOrbFloat 8s ease-in-out infinite alternate;
}

.hero-modern__orb--1 {
  width: 320px;
  height: 320px;
  background: rgba(22, 163, 74, 0.35);
  top: 10%;
  right: 8%;
}

.hero-modern__orb--2 {
  width: 240px;
  height: 240px;
  background: rgba(37, 99, 235, 0.3);
  bottom: 15%;
  left: 35%;
  animation-delay: -3s;
}

@keyframes heroOrbFloat {
  from { transform: translate(0, 0); }
  to { transform: translate(12px, -18px); }
}

.hero-modern__inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(5rem, 14vh, 7rem) 4% 0.35rem;
  box-sizing: border-box;
  pointer-events: none;
}

.hero-modern__inner > * {
  pointer-events: auto;
  width: min(920px, 100%);
}

.hero-modern__spacer {
  display: none;
}

.hero-modern__badges {
  position: absolute;
  top: clamp(4.5rem, 10vh, 6rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  justify-content: center;
  margin: 0;
  z-index: 5;
  pointer-events: auto;
}

.hero-modern__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-modern__visual {
  position: relative;
}

.hero-modern__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-pill--brand {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.45);
}

.hero-pill--glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-pill--glass:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-pill--glass img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-modern__copy--center .hero-modern__title {
  margin-left: auto;
  margin-right: auto;
}

.hero-modern__copy--bottom .hero-modern__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.85rem;
}

.hero-modern__title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 1.15rem;
  letter-spacing: -0.04em;
}

.hero-modern__title span:first-child {
  display: block;
}

.hero-title-gradient {
  display: block;
  background: linear-gradient(135deg, #ecfccb 0%, #4ade80 40%, #86efac 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.85))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9))
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
}

.hero-modern__copy--bottom .hero-modern__lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.hero-modern__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 1.85rem;
}

.hero-modern__copy--center .hero-modern__cta {
  justify-content: center;
}

.hero-modern__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #22c55e, #16a34a, #15803d);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.65rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.45);
  transition: transform 0.2s, box-shadow 0.25s;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.55);
  color: #fff;
}

.btn-hero-secondary {
  background: rgba(0, 0, 0, 0.35);
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.btn-hero-link:hover {
  color: #4ade80 !important;
  border-color: #4ade80;
}

/* Bento gallery */
.hero-bento {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  min-height: 420px;
  animation: heroBentoIn 1s ease-out 0.2s both;
}

.hero-bento-ready .hero-bento {
  animation: heroBentoIn 1s ease-out both;
}

@keyframes heroBentoIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-bento__cell {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.hero-bento__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
  transition: transform 0.6s ease;
}

.hero-bento__cell:hover img {
  transform: scale(1.06);
}

.hero-bento__main {
  grid-row: span 2;
  min-height: 100%;
}

.hero-bento__top {
  grid-column: 2;
}

.hero-bento__bottom {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-bento__float {
  position: absolute;
  bottom: 1rem;
  left: -1rem;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  animation: heroFloatCard 4s ease-in-out infinite alternate;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .hero-bento__float {
  background: var(--surface);
  color: var(--text);
}

@keyframes heroFloatCard {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.hero-bento__float strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}

.hero-bento__float span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color 0.2s;
}

.hero-scroll-hint:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-hint__dot {
  width: 4px;
  height: 8px;
  background: #4ade80;
  border-radius: 4px;
  animation: heroScrollBounce 1.8s ease-in-out infinite;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* Trust band — stats + ticker (kisasa) */
.trust-band {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.trust-band--overlap {
  margin-top: -1.25rem;
  position: relative;
  z-index: 5;
}

.trust-band .container {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  padding: 0;
  overflow: hidden;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 0.75rem;
  border-right: 1px solid #e2e8f0;
  transition: background 0.25s;
}

.trust-stat:last-child {
  border-right: none;
}

.trust-stat:hover {
  background: #f8fafc;
}

.trust-stat__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  color: #0c4a6e;
}

.trust-stat__icon svg {
  width: 36px;
  height: 36px;
}

.trust-stat strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.trust-stat span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
  max-width: 120px;
}

.trust-ticker {
  overflow: hidden;
  background: linear-gradient(90deg, #a5f3fc 0%, #67e8f9 50%, #a5f3fc 100%);
  border-top: 1px solid rgba(14, 116, 144, 0.15);
  padding: 0.85rem 0;
}

.trust-ticker__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: trustTicker 45s linear infinite;
  padding-left: 2.5rem;
}

.trust-ticker__track span {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0c4a6e;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.trust-ticker__track span::after {
  content: "◆";
  margin-left: 2.5rem;
  opacity: 0.35;
  font-size: 0.5rem;
  vertical-align: middle;
}

@keyframes trustTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

[data-theme="dark"] .trust-band {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .trust-band .container {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .trust-stat {
  border-right-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .trust-stat:hover {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .trust-stat__icon {
  color: #67e8f9;
}

[data-theme="dark"] .trust-stat strong {
  color: #f8fafc;
}

[data-theme="dark"] .trust-stat span {
  color: #94a3b8;
}

/* Legacy impact strip (impact.html) */
.impact-strip--overlap {
  position: relative;
  z-index: 4;
  margin-top: -2.5rem;
}

.impact-strip--overlap .impact-grid {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.impact-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.impact-strip .impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.impact-strip .impact-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.impact-strip .impact-item:last-child { border-right: none; }
.impact-strip strong {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--green);
  font-weight: 800;
}

/* Photo strip marquee */
.photo-strip {
  overflow: hidden;
  background: #0f172a;
  padding: 0.75rem 0;
}
.photo-strip__track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.photo-strip__track img {
  height: 200px;
  width: 320px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Programs — large image cards */
.programs-section { padding: 5rem 0; }
.program-showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.program-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s ease;
}
.program-tile:hover {
  transform: translateY(-8px);
  color: #fff;
}
.program-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-tile:hover img { transform: scale(1.06); }
.program-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.85));
}
.program-tile__body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}
.program-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.program-tile p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.9;
}
.program-tile--large { grid-column: span 7; min-height: 380px; }
.program-tile--medium { grid-column: span 5; }
.program-tile--small { grid-column: span 4; min-height: 260px; }

/* Story split */
.story-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.story-block__media {
  min-height: 420px;
  position: relative;
}
.story-slider-wrap,
.story-slider-wrap .riseup-slider,
.story-slider-wrap .riseup-slider__viewport {
  min-height: 420px;
  height: 100%;
}
.story-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.story-block__content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Foundation pillars — icons, hakuna picha */
.foundation-pillars {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(22, 163, 74, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(37, 99, 235, 0.06), transparent 45%),
    var(--bg-alt, #f8fafc);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pillar-accent), transparent);
  opacity: 0.9;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border-color: color-mix(in srgb, var(--pillar-accent) 35%, transparent);
}

.pillar-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pillar-accent) 12%, #fff);
  color: var(--pillar-accent);
}

.pillar-card__icon svg {
  width: 28px;
  height: 28px;
}

.pillar-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
}

.pillar-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pillar-accent);
  margin-top: 0.25rem;
}

.pillars-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.75rem;
}

.pillars-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #e4405f, #fcb045);
  transition: transform 0.25s, box-shadow 0.25s;
}

.pillars-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(228, 64, 95, 0.35);
  color: #fff;
}

.pillars-social-link__icon {
  display: flex;
  width: 20px;
  height: 20px;
}

.pillars-social-link__icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .foundation-pillars {
    padding: 3.5rem 0;
  }
}

/* Sliders */
.hero-slider-wrap,
.story-slider-wrap,
.home-gallery-slider {
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
}

.hero-slider-wrap {
  min-height: 320px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.story-slider-wrap {
  min-height: 280px;
}

.home-gallery-slider {
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.riseup-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.riseup-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0f172a;
}

.hero-slider-wrap .riseup-slider__viewport {
  aspect-ratio: 1 / 1;
  min-height: 300px;
}

.riseup-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.riseup-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  margin: 0;
}

.riseup-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.riseup-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.riseup-slider__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.45;
  max-height: 40%;
  overflow-y: auto;
}

.riseup-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem;
  background: rgba(15, 23, 42, 0.9);
}

.riseup-slider__btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.riseup-slider__btn:hover {
  background: #1b5e20;
}

.riseup-slider__dots {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 200px;
}

.riseup-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.riseup-slider__dot.is-active {
  background: #4ade80;
  transform: scale(1.2);
}

/* Logo mobile sizing handled in header.css */

/* Donate CTA */
.donate-cta {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin: 4rem 0;
}
.donate-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.donate-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 163, 74, 0.88);
}
.donate-cta__inner {
  position: relative;
  z-index: 1;
  padding: 3rem;
  max-width: 560px;
}

@media (max-width: 960px) {
  .hero-modern__grid,
  .story-block,
  .program-showcase { grid-template-columns: 1fr; }
  .hero-modern {
    min-height: min(82vh, 720px);
  }
  .hero-modern__inner {
    padding: 5.5rem 3% 0.25rem;
  }
  .hero-modern__badges {
    top: 5rem;
    width: 94vw;
  }
  .hero-modern__copy--bottom {
    border-radius: 20px 20px 0 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-bento {
    min-height: 280px;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-bento__float {
    left: 0.5rem;
    bottom: 0.5rem;
  }
  .hero-scroll-hint { display: none; }
  .program-tile--large,
  .program-tile--medium,
  .program-tile--small { grid-column: span 1; }
  .trust-stats { grid-template-columns: repeat(3, 1fr); }
  .trust-stat:nth-child(3n) { border-right: none; }
  .trust-stat:nth-child(3) { border-right: 1px solid #e2e8f0; }
  .impact-strip .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-stat { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .trust-stat:nth-child(odd) { border-right: 1px solid #e2e8f0; }
  .trust-stat:nth-last-child(-n+2) { border-bottom: none; }
  .impact-strip .impact-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: 1fr 1fr; }
  .hero-modern__cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-modern__cta .btn-hero-primary,
  .hero-modern__cta .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}
