:root {
  --nu-blue: #28334a;
  --emerald-green: #a9c23f;
  --abundant-green: #0b5f3f;
  --island-green: #00a651;
  --blazing-yellow: #f7e00f;
  --spectra-yellow: #eeb007;
  --flame-orange: #e78d2d;
  --pale-green: #e0f2eb;
  --soft-gray: #f3f3f3;
  --body-color: #55575d;
  --white: #fff;
  --font-main: "Open Sans", Arial, Helvetica, sans-serif;
  --container-max: 1200px;
  --content-max: 820px;
  --radius-md: 14px;
  --radius-lg: 30px;
  --shadow: 0 14px 36px rgb(26 46 40 / 8%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--nu-blue);
  background: var(--white);
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--nu-blue);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.25rem;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgb(39 184 116 / 50%);
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, var(--container-max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--nu-blue);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared header */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
}

.header-inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 132px;
  align-items: center;
  gap: 28px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  width: auto;
  height: 75px;
  transition: transform 180ms ease;
}

.logo-link:hover .site-logo,
.logo-link:focus-visible .site-logo {
  transform: scale(1.04);
}

/* ==========================================================================
   Header Navigation & Dropdowns
   ========================================================================== */

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--nu-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-link:hover,
.has-dropdown:hover > .nav-link {
  color: var(--island-green);
}

/* Dropdown Base */
.has-dropdown {
  position: relative;
}

.caret {
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 3px solid var(--island-green);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--nu-blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: var(--pale-green);
  color: var(--island-green);
  padding-left: 28px; /* Slight indent on hover */
}

/* Desktop Hover Interaction */
@media (min-width: 769px) {
  .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .has-dropdown:hover .caret {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   Mobile Navigation Breakpoint (Max Width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  
  .has-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--island-green);
    background-color: transparent;
    padding: 0 0 16px 16px;
    margin-left: 16px;
    display: none; /* Hidden by default on mobile until toggled */
  }

  /* When the 'active' class is added via JS on mobile */
  .has-dropdown.active .dropdown-menu {
    display: block;
  }

  .has-dropdown.active .caret {
    transform: rotate(180deg);
  }
  
  .nav-link {
    padding: 16px 0;
    width: 100%;
    justify-content: space-between;
  }
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: #1f2023;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--island-green);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* Buttons */
.btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgb(38 50 70 / 18%);
}

.btn-dark {
  color: var(--white);
  background: var(--nu-blue);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #1d293c;
}

.btn-green {
  color: var(--white);
  background: var(--island-green);
}

.btn-green:hover,
.btn-green:focus-visible {
  background: var(--abundant-green);
}

.header-cta {
  min-height: 48px;
  border-radius: 13px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Home hero */
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  isolation: isolate;
  background: #d8d6c8;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgb(217 215 205 / 5%) 0 48%, rgb(255 255 255 / 3%) 100%),
    url("./assets/ntiamoah-20-impact-hero-banner2.png");
  background-position: 0 35%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-green-shape {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4%;
  z-index: -2;
  width: 60%;
  background: linear-gradient(120deg, #2cbc78, #1fb46e);
  border-radius: 0 52% 52% 0 / 0 65% 65% 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-copy {
  width: 55%;
  padding: 50px 0 50px 50px;
  color: var(--white);
}

.hero h1 {
  max-width: 540px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero p {
  margin: 18px 0 24px;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 500;
}

.hero .btn {
  min-width: 180px;
}

.hero-wave {
  position: absolute;
  bottom: -25px;
  left: -3%;
  width: 106%;
  height: 55px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  transform: rotate(0.7deg);
}

/* Impact */
.impact-section {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background: var(--white);
}

.impact-inner {
  position: relative;
  z-index: 2;
}

.impact-intro {
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
}

.impact-intro h2,
.initiatives-section h2,
.stories-section h2 {
  margin-bottom: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.impact-intro p {
  max-width: 720px;
  margin: 22px auto 24px;
  color: #5e6066;
  font-size: 1.125rem;
  line-height: 1.65;
}

.impact-intro .btn {
  min-width: 214px;
}

.stats-grid {
  width: min(100%, 960px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 88px auto 0;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat dd {
  order: -1;
  margin: 0;
}

.stat-number {
  display: block;
  margin-bottom: 10px;
  color: var(--island-green);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat dt {
  max-width: 160px;
  color: #303236;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.parallax-container {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  pointer-events: none;
}

.seed-parallax {
  --seed-parallax-y: 0px;
  --seed-scale: 1;
  position: absolute;
  top: 26%;
  right: 3.5%;
  display: grid;
  grid-template-columns: repeat(2, 64px);
  gap: 20px;
  transform: translate3d(0, var(--seed-parallax-y), 0) scale(var(--seed-scale));
  transform-origin: center right;
  will-change: transform;
}

.seed {
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.seed.pale {
  background: var(--pale-green);
}

.seed.yellow {
  background: var(--blazing-yellow);
}

/* Initiatives */
.initiatives-section {
  position: relative;
  z-index: 2;
  padding: 24px 0 84px;
  background: var(--white);
}

.initiatives-section h2 {
  margin-bottom: 44px;
  text-align: center;
}

.initiatives-media-wrap {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  padding-bottom: 112px;
}

.initiatives-media {
  position: relative;
  width: 86%;
  height: 400px;
  margin: 0 auto;
  margin-bottom: 50px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
  transition: background-image 240ms ease-in-out;
}

.media-cta {
  position: absolute;
  right: 36px;
  bottom: 30px;
  min-width: 155px;
  font-size: 0.6875rem;
  text-transform: uppercase;
}

.initiative-cards {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 80%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  transform: translateX(-50%);
}

.initiative-card {
  min-height: 118px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.initiative-card:hover,
.initiative-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.initiative-card.filled {
  color: var(--white);
  background: var(--island-green);
}

.initiative-card.outlined {
  background: var(--white);
  border: 1.5px solid #536173;
}

.initiative-card h3 {
  margin: 0 0 8px;
  color: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.initiative-card p {
  margin: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.45;
}

.initiative-card.outlined p {
  color: #4c4d50;
}

/* Stories */
.stories-section {
  position: relative;
  z-index: 2;
  padding: 72px 20px 80px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: var(--emerald-green);
  border-radius: 60px 60px 0 0;
}

.stories-section .container {
  max-width: 900px;
}

.stories-section h2 {
  margin-bottom: 34px;
  color: var(--white);
}

.story-card {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(250px, 42%) 1fr;
  align-items: stretch;
  padding: 12px;
  overflow: hidden;
  color: var(--nu-blue);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgb(39 62 53 / 8%);
}

.story-copy {
  align-self: center;
  padding: 28px 30px;
}

.story-copy h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.story-copy p {
  max-width: 325px;
  margin: 16px auto 24px;
  color: #475164;
  font-size: 1rem;
  line-height: 1.5;
}

.story-copy .btn {
  min-width: 125px;
  min-height: 40px;
  border-radius: 24px;
  font-size: 0.6875rem;
}

.story-image {
  min-height: 276px;
  border-radius: 12px;
  background:
    linear-gradient(rgb(0 0 0 / 3%), rgb(0 0 0 / 3%)),
    url("./assets/ntiamoah-school-outreach-pad-distro.png") center / cover no-repeat;
}

/* Inner pages and reusable content */
.inner-hero {
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
  padding: 120px 20px 80px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  border-radius: 0 0 60px 60px;
}

.inner-hero.edu-bg { background: var(--island-green); }
.inner-hero.health-bg { background: var(--emerald-green); }
.inner-hero.story-bg { background: var(--nu-blue); }

.inner-hero h1 {
  margin-bottom: 20px;
  color: var(--white);
}

.inner-hero p {
  max-width: 650px;
  margin: 0 auto;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-style: italic;
}

.content-section {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
  margin-bottom: 100px;
}

.content-text-wrap {
  width: 100%;
  text-align: left;
}

.order-first { order: -1; }
.order-last { order: 2; }

.section-eyebrow {
  margin-bottom: 8px;
  color: var(--island-green);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-paragraph {
  max-width: 80%;
}

.text-base {
  text-align: center;
  padding: auto;
  margin: 0 auto;
}

.section-title-large {
  font-size: 2rem ;
}

.content-img-base,
.content-img-cover,
.content-img-tall,
.content-img-xtall {
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.content-img-base { height: 220px; }
.content-img-cover { height: 100%; }
.content-img-tall { min-height: 450px; }
.content-img-xtall { min-height: 750px; }
.min-h-400 { min-height: 400px; }
.min-h-500 { min-height: 500px; }
.min-h-550 { min-height: 550px; }

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 40px 0;
  overflow: hidden;
  background: var(--soft-gray);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 80px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.play-button:hover,
.play-button:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
}

.play-button::after {
  content: "";
  margin-left: 6px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--nu-blue);
}

.media-gallery,
.three-card-grid,
.flip-card-grid,
.pillar-links-grid,
.mission-vision-grid,
.values-grid,
.donate-grid {
  display: grid;
  gap: 24px;
}

.pt-20 {
  padding-top: 20px;
}

.media-gallery,
.flip-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.three-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-links-grid,
.mission-vision-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 20px;
}

.mission-vision-grid {
  padding-bottom: 150px;
}

.disclaimer-text {
  font-size: 0.8rem;
}

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

.donate-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card-item,
.pillar-card,
.step-card,
.card-vision,
.card-mission,
.value-card,
.highlight-box,
.highlight-box-white {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card-item {
  overflow: hidden;
  background: var(--white);
}

.card-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.pillar-card,
.card-vision,
.card-mission {
  padding: 40px 32px;
}

.pillar-card,
.card-vision {
  background: var(--white);
}

.card-mission {
  color: var(--white);
  background: var(--nu-blue);
}

.card-title-green {
  color: var(--island-green);
  font-size: 24px;
  margin: 0 0 16px;
}
.card-title-yellow {
  color: var(--blazing-yellow);
  font-size: 24px;
  margin: 0 0 16px;
}
.card-text {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.card-vision .card-text {
  color: var(--body);
}

.step-card,
.value-card,
.highlight-box,
.highlight-box-white {
  padding: 24px;
}

.highlight-box {
  background: var(--pale-green);
}

.highlight-box-white,
.step-card,
.value-card {
  background: var(--white);
}

.value-card.border-green {
  border-top: 4px solid var(--island-green);
}
.value-card.border-yellow {
  border-top: 4px solid var(--blazing-yellow);
}

.step-number {
  width: 40px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--island-green);
  background: var(--pale-green);
  border-radius: 50%;
  font-weight: 800;
}

/* Timeline */
.timeline-layout {
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  margin-inline: auto;
}

.timeline-content-area {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 400px;
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
  background: var(--soft-gray);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 2px 15px rgb(0 0 0 / 3%);
}

.timeline-nav {
  position: sticky;
  top: 32px;
  grid-column: 1;
  grid-row: 1;
  z-index: 3;
  width: 100%;
  min-width: 0;
}

.seed-pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, 70px);
  justify-content: center;
  gap: 24px;
}

.seed-btn {
  position: relative;
  width: 70px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.seed-btn.pale { background: var(--pale-green); }
.seed-btn.yellow { background: var(--blazing-yellow); }
.seed-btn.active { background: var(--island-green); }

.seed-btn:hover,
.seed-btn:focus-visible,
.seed-btn.active {
  z-index: 1;
  transform: scale(1.12);
  box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
}

.seed-year {
  color: var(--nu-blue);
  font-weight: 800;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 180ms ease, transform 180ms ease;
}

.seed-btn:hover .seed-year,
.seed-btn:focus-visible .seed-year,
.seed-btn.active .seed-year {
  opacity: 1;
  transform: scale(1);
}

.seed-btn.active .seed-year {
  color: var(--white);
}

.timeline-panel {
  display: none;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.timeline-panel.active {
  display: block;
  animation: fade-up 360ms ease-out;
}

.timeline-image {
  width: 100%;
  height: auto;
  max-height: 350px;
  margin-bottom: 24px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* Strategic Priorities Grid */
.strategic-priorities-wrap {
  margin-top: 24px;
}
.priorities-title {
  margin: 0 0 16px;
  color: var(--nu-blue);
  font-size: 16px;
  font-weight: 800;
}
.priorities-grid {
  display: grid;
  gap: 16px;
}
.priority-card {
  background: var(--pale-green);
  padding: 16px 20px;
  border-radius: 12px;
}
.priority-name {
  color: var(--nu-blue);
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}
.priority-desc {
  font-size: 14px;
  color: var(--body);
  margin: 0;
}
.priority-desc.lh-tight {
  line-height: 1.2;
}


@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .timeline-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .timeline-nav {
    position: relative;
    top: auto;
    grid-column: 1;
    grid-row: 1;
  }

  .seed-pattern-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .timeline-content-area {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Gallery and lightbox */
.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-auto-rows: 200px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: brightness(0.85);
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgb(11 23 33 / 95%);
}

.lightbox.active {
  display: grid;
}

.lightbox-content {
  width: min(90%, 1000px);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 3rem;
}

.lightbox-caption {
  max-width: 800px;
  margin: 16px auto 0;
  color: var(--white);
  text-align: center;
}

/* Slider */
.slider-header,
.slider-controls {
  display: flex;
  align-items: center;
}

.slider-header {
  justify-content: space-between;
  margin-bottom: 40px;
}

.slider-controls {
  gap: 16px;
}

.slider-btn {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--soft-gray);
  border-radius: 50%;
  color: var(--nu-blue);
  background: var(--white);
  cursor: pointer;
}

.stories-slider-track {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.stories-slider-track::-webkit-scrollbar {
  display: none;
}

.story-slide {
  min-width: calc(33.333% - 16px);
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.story-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Shared footer */
.main-footer {
  padding: 60px 0 80px;
  color: var(--blazing-yellow);
  background: var(--nu-blue);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #777;
}

.email-signup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup-label {
  font-weight: 700;
}

.signup-form,
.social-icons {
  display: flex;
  gap: 10px;
}

.signup-form input {
  min-width: 240px;
  padding: 9px 12px;
  border: 1px solid #777;
  border-radius: 4px;
  color: var(--white);
  background: transparent;
}

.icon {
  width: 50px;
  aspect-ratio: 1;
  display: block;
  background: var(--island-green);
  border-radius: 50%;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 40px;
}

.footer-img-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16 / 9;
  background: url("./assets/hero-tender-newborn-handhold.png") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgb(0 0 0 / 40%);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.link-col h4 {
  margin-bottom: 15px;
  color: var(--blazing-yellow);
  font-size: 0.9rem;
}

.link-col a {
  display: block;
  margin-bottom: 8px;
  color: #c5c7cc;
  font-size: 0.8rem;
}

.link-col a:hover,
.link-col a:focus-visible {
  color: var(--white);
}

.back-to-top-btn {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  visibility: hidden;
  border: 2px solid var(--island-green);
  border-radius: 50%;
  color: var(--blazing-yellow);
  background: var(--nu-blue);
  cursor: pointer;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.back-to-top-btn.visible {
  visibility: visible;
  opacity: 1;
}

.back-to-top-btn:hover,
.back-to-top-btn:focus-visible {
  color: var(--white);
  background: var(--island-green);
  transform: translateY(-4px);
}

/* Small desktop / tablet landscape */
@media (max-width: 1024px) {
  .container {
    width: min(100% - 48px, 960px);
  }

  .header-inner {
    grid-template-columns: 170px minmax(0, 1fr) 120px;
    gap: 18px;
  }

  .desktop-nav {
    gap: 16px;
    font-size: 0.75rem;
  }

  .hero-green-shape {
    width: 58%;
  }

  .hero-copy {
    padding-left: 24px;
  }

  .seed-parallax {
    right: -24px;
    --seed-scale: 0.85;
  }
}

/* Tablet and mobile navigation */
@media (max-width: 768px) {
  .container {
    width: min(100% - 40px, 720px);
  }

  .header-inner {
    min-height: 84px;
    display: flex;
    justify-content: space-between;
  }

  .site-logo {
    height: 58px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--nu-blue);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 3px;
    background: var(--white);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    inset: 84px 0 auto;
    z-index: 99;
    display: block;
    visibility: hidden;
    background: var(--white);
    border-top: 1px solid #edf0f2;
    box-shadow: 0 20px 30px rgb(38 50 70 / 10%);
    opacity: 0;
    transform: translateY(-120%);
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu nav {
    width: min(100% - 40px, 720px);
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    padding: 18px 0 24px;
  }

  .mobile-menu nav > a:not(.btn) {
    padding: 15px 2px;
    border-bottom: 1px solid #edf0f2;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-menu .btn {
    width: 100%;
    margin-top: 18px;
  }

  .hero {
    height: 440px;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-green-shape {
    left: 0;
    width: 58%;
  }

  .hero-copy {
    width: 54%;
    padding: 90px 0 40px clamp(12px, 4vw, 40px);
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .stats-grid {
    width: min(100%, 600px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 30px;
  }

  .stat {
    text-align: center;
  }

  .stat dt {
    margin-inline: auto;
  }

  .seed-parallax {
    top: 23%;
    right: -18px;
    grid-template-columns: 48px;
    gap: 12px;
    --seed-scale: 0.85;
  }

  .seed {
    width: 48px;
  }

  .initiatives-media {
    width: 92%;
    height: 340px;
  }

  .initiative-cards {
    width: 86%;
    gap: 18px;
  }

  .content-grid,
  .timeline-layout {
    grid-template-columns: 1fr;
  }

  .timeline-nav {
    transform: none;
  }

  .seed-pattern-grid {
    display: flex;
    flex-wrap: wrap;
  }

  .three-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .four-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .story-slide {
    min-width: calc(50% - 12px);
  }

  .footer-top {
    align-items: flex-start;
  }
}

/* Phone: single-column composition */
@media (max-width: 480px) {
  .container {
    width: 100%;
    padding-inline: 24px;
  }

  .header-inner {
    min-height: 76px;
  }

  .site-logo {
    height: 50px;
  }

  .mobile-menu {
    inset-block-start: 76px;
  }

  .mobile-menu nav {
    width: 100%;
    padding-inline: 24px;
  }

  .hero {
    height: 610px;
    display: block;
    background: var(--white);
  }

  .hero-green-shape {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 275px;
    border-radius: 0;
  }

  .hero-green-shape::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -42px;
    left: -10%;
    height: 84px;
    background: inherit;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
  }

  .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 275px;
    padding-inline: 24px;
  }

  .hero-copy {
    width: 100%;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    padding: 42px 0 18px;
    text-align: center;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1;
  }

  .hero p {
    margin: 16px 0 20px;
    font-size: 0.9375rem;
  }

  .hero-image {
    top: 275px;
    bottom: auto;
    z-index: -3;
    height: 335px;
    background-image: url("./assets/hero-tender-newborn-handhold.png");
    background-position: 56% center;
  }

  .hero-wave {
    bottom: -18px;
    left: -5%;
    width: 110%;
    height: 42px;
    transform: none;
  }

  .impact-section {
    padding: 58px 0 68px;
  }

  .impact-intro,
  .impact-intro p {
    max-width: 410px;
  }

  .impact-intro h2 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .impact-intro p {
    margin-block: 20px 24px;
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
    margin-top: 64px;
  }

  .stat-number {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .stat dt {
    max-width: 145px;
    font-size: 0.8125rem;
  }

  .seed-parallax {
    top: 21%;
    right: -20px;
    gap: 10px;
    --seed-scale: 0.72;
  }

  .initiatives-section {
    padding: 24px 0 68px;
  }

  .initiatives-section h2 {
    max-width: 390px;
    margin: 0 auto 30px;
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .initiatives-media-wrap {
    padding-bottom: 0;
  }

  .initiatives-media {
    width: 100%;
    height: 280px;
    border-radius: 22px;
  }

  .media-cta {
    right: 16px;
    bottom: 16px;
    min-width: 140px;
  }

  .initiative-cards {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
    transform: none;
  }

  .initiative-card {
    min-height: 0;
  }

  .stories-section {
    padding: 42px 0 56px;
    border-radius: 40px 40px 0 0;
  }

  .stories-section h2 {
    margin-bottom: 26px;
    font-size: 2rem;
  }

  .story-card {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .story-image {
    min-height: 230px;
    grid-row: 1;
  }

  .story-copy {
    padding: 26px 18px 24px;
  }

  .content-section {
    padding: 44px 0;
  }

  .content-grid {
    gap: 28px;
    margin-bottom: 64px;
  }

  .timeline-layout {
    gap: 24px;
  }

  .timeline-content-area {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .seed-pattern-grid {
    gap: 12px;
  }

  .seed-btn {
    width: 58px;
  }

  .timeline-image {
    max-height: none;
  }

  .three-card-grid,
  .pillar-links-grid,
  .mission-vision-grid,
  .masonry-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
  }

  .slider-header,
  .footer-top,
  .signup-form {
    flex-direction: column;
    align-items: stretch;
  }

  .story-slide {
    min-width: 100%;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-img-placeholder {
    margin-inline: auto;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signup-form input {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .container,
  .mobile-menu nav {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 1.82rem;
  }

  .hero p {
    font-size: 0.875rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/* ==========================================================================
   Meet The Team Split Section (About Page)
   ========================================================================== */
.team-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 60px 0;
}

.team-text-col {
  background-color: var(--abundant-green); /* Matches the dark green */
  color: #ffffff;
  padding: 100px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.team-subtitle {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.team-text-col h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.3;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 40px 0;
  letter-spacing: -0.5px;
}

.team-grid-col {
  background-color: #F8F4E6; /* Matches the warm cream background */
  padding: 80px 10%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px; /* Creates the thin separation lines between photos */
  width: 100%;
  max-width: 520px; 
}

.team-photo-grid img {
  width: 100%;
  aspect-ratio: 1; /* Forces perfect squares for uniform sizing */
  object-fit: cover;
  object-position: top center; /* Anchors the crop to the top to preserve head space */
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.team-photo-grid img:hover {
  filter: grayscale(0%);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 900px) {
  .team-split-section {
    grid-template-columns: 1fr; /* Stacks the columns vertically */
  }
  
  .team-text-col,
  .team-grid-col {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .team-photo-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on mobile so faces stay visible */
  }
}

/* ==========================================================================
   Team & Board Overlay Cards (Replaces Flip Effect)
   ========================================================================== */

/* The Grid Container */
.flip-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* The Card Container */
.flip-card {
  background-color: transparent;
  height: 400px;
  cursor: pointer;
  outline: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative; /* Anchor for the absolute overlay */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Front Styling (Image and Title) */
.flip-card-front {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  transition: filter 0.4s ease; /* Smooth transition for the blur effect */
}

.flip-card-front img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  object-position: top center;
}

.member-info {
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background-color: #ffffff;
  border-top: 4px solid var(--island-green);
}

.member-info h3 {
  margin: 0 0 5px 0;
  color: var(--nu-blue);
  font-size: 20px;
}

.member-info p {
  margin: 0;
  color: var(--body);
  font-size: 14px;
  font-style: italic;
}

/* Back Styling (Now acts as the green hover overlay) */
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 95, 63, 0.92); /* Translucent Abundant Green */
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 10;
}

.flip-card-back h3 {
  color: var(--blazing-yellow);
  font-size: 22px;
  margin: 0 0 15px 0;
}

.flip-card-back p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  color: #ffffff;
}

/* Hover Effects: Blur the front, fade in the green overlay */
.flip-card:hover .flip-card-front,
.flip-card:focus .flip-card-front,
.flip-card:focus-within .flip-card-front {
  filter: blur(6px) grayscale(30%);
}

.flip-card:hover .flip-card-back,
.flip-card:focus .flip-card-back,
.flip-card:focus-within .flip-card-back {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Header & Unified Navigation (Desktop & Mobile)
   ========================================================================== */

/* Header Base Container */
.header-container { /* or .header-inner depending on your base styles */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Base Navigation List */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--nu-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nav-link:hover,
.has-dropdown:hover > .nav-link {
  color: var(--island-green);
}

/* Dropdown Base & Caret */
.has-dropdown {
  position: relative;
}

.caret {
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* Dropdown Menu (Hidden by default on Desktop) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 3px solid var(--island-green);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  color: var(--nu-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: var(--pale-green);
  color: var(--island-green);
  padding-left: 28px;
}

/* Hamburger Menu Icon Base */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--nu-blue);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   Desktop Specific (Hover Logic)
   ========================================================================== */
@media (min-width: 769px) {
  .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .has-dropdown:hover .caret {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   Mobile Navigation Breakpoint (Max Width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  
  /* Show hamburger menu */
  .menu-toggle {
    display: flex;
  }

  /* Hide header CTA on small screens if space is tight (Optional) */
  .header-cta {
    display: none; 
  }

  /* Convert Desktop Nav into a Mobile Dropdown */
  .main-nav {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 20px;
    box-sizing: border-box;
    z-index: 999;
  }

  /* Toggled via JavaScript */
  .main-nav.open {
    display: block;
  }

  /* Stack main nav links */
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 16px 0;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  /* Convert Dropdowns into indented mobile accordions */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--island-green);
    background-color: transparent;
    padding: 0 0 16px 16px;
    margin-left: 16px;
    display: none; /* Hidden until clicked */
  }

  /* Toggled via JavaScript */
  .has-dropdown.active .dropdown-menu {
    display: block;
  }

  .has-dropdown.active .caret {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   Impact & Partner Pages Styles (Extracted Inline Styles)
   ========================================================================== */

/* Section & Container Utilities */
.pb-40 { padding-bottom: 40px; }
.pt-20 { padding-top: 20px; }
.mt-0 { margin-top: 0; }
.mt-40 { margin-top: 40px; }

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

/* Typography Utilities */
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.intro-lead-green {
  font-size: 24px;
  font-weight: 300;
  color: var(--island-green);
  margin-bottom: 24px;
}

.intro-lead-blue {
  font-size: 20px;
  line-height: 1.6;
  color: var(--nu-blue);
  margin-bottom: 24px;
}

.text-base {
  font-size: 16px;
  color: var(--body);
}

.highlight-text-italic {
  font-weight: 700;
  color: var(--nu-blue);
  margin: 0;
  font-style: italic;
}

.disclaimer-text {
  text-align: center;
  font-size: 13px;
  color: var(--body);
  font-style: italic;
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* List Utilities */
.list-spaced {
  margin-bottom: 24px;
  padding-left: 20px;
}
.list-spaced li {
  margin-bottom: 8px;
}

.list-spaced-lg {
  margin-top: 20px;
  padding-left: 24px;
}
.list-spaced-lg li {
  margin-bottom: 12px;
}

/* Button & Action Utilities */
.btn-wrap-center {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-wrap-center.mt-48 {
  margin-top: 48px;
}
.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

/* Card Utilities (Impact & Donate) */
.donate-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card-donate {
  padding: 30px 20px;
}

.border-top-yellow { border-top: 4px solid var(--blazing-yellow); }
.border-top-green { border-top: 4px solid var(--island-green); }
.bg-pale { background: var(--pale-green); }
.bg-white-bordered {
  background: var(--white);
  border: 2px solid var(--soft-gray);
}

.card-title-sm { font-size: 20px; }
.card-text-left { text-align: left; }

.card-header-bordered-green {
  text-align: center;
  border-bottom: 2px solid var(--island-green);
  padding-bottom: 16px;
}
.card-header-bordered-yellow {
  text-align: center;
  border-bottom: 2px solid var(--blazing-yellow);
  padding-bottom: 16px;
}

/* Ensure the icon container uses flexbox to perfectly center the SVG */
.social-icons .icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* Forces the SVGs to be white */
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Base sizing for the SVG inside the circle */
.social-icons .icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* Optional hover effects */
.social-icons .icon:hover {
  background-color: var(--blazing-yellow); /* Changes circle color on hover */
  transform: translateY(-3px);
}

.social-icons .icon:hover svg {
  color: var(--nu-blue); /* Changes icon color inside the yellow circle */
}

