:root {
  --color-primary: #1f6f42;
  --color-primary-deep: #164f35;
  --color-accent: #b57d34;
  --color-accent-soft: #f9e8d0;
  --color-success: #2f7f4c;
  --color-success-soft: #e7f5e7;
  --color-leaf: #3f8a5b;
  --color-leaf-soft: #e8f5ea;
  --color-earth: #ab7a45;
  --color-text: #15332f;
  --color-muted: #4f6258;
  --color-border: rgba(97, 121, 99, 0.22);
  --color-surface: #f6f8f2;
  --color-surface-2: #ebf3e9;
  --color-surface-3: #dfe9db;
  --color-dark: #102518;
  --color-dark-soft: #1b3b30;
  --color-overlay: rgba(16, 37, 24, 0.65);
  --shadow-sm: 0 0.75rem 1.875rem rgba(15, 23, 42, 0.08);
  --shadow-md: 0 1.5rem 3.75rem rgba(31, 98, 56, 0.12);
  --shadow-lg: 0 2rem 5.625rem rgba(16, 37, 24, 0.18);
  --radius-sm: 1.125rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --container: min(73.75rem, calc(100% - 2rem));
  --section-space: clamp(5.8rem, 8vw, 7.5rem);
  --transition: 220ms ease;
  --nav-height: 5.375rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(
      circle at 14% 22%,
      rgba(63, 138, 87, 0.11),
      transparent 24%
    ),
    radial-gradient(
      circle at top left,
      rgba(47, 127, 76, 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at top right,
      rgba(181, 125, 52, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #f6f8f2 0%, #eef4ea 100%);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1.125rem);
  opacity: 0.7;
}

body::before {
  top: 12vh;
  right: -6.875rem;
  width: 20rem;
  height: 20rem;
  background: rgba(47, 127, 76, 0.12);
}

body::after {
  left: -7.5rem;
  bottom: 12vh;
  width: 18.75rem;
  height: 18.75rem;
  background: rgba(171, 122, 69, 0.1);
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%234d9f5b' stroke-opacity='.18' stroke-width='1.2'%3E%3Cpath d='M24 194c22-36 54-57 93-62'/%3E%3Cpath d='M96 132c-7 17-7 33 1 49'/%3E%3Cpath d='M142 98c29 8 53 25 73 53'/%3E%3Cpath d='M177 147c-14-3-27 0-40 10'/%3E%3C/g%3E%3Cg fill='%234d9f5b' fill-opacity='.08'%3E%3Cellipse cx='92' cy='128' rx='16' ry='9' transform='rotate(-34 92 128)'/%3E%3Cellipse cx='178' cy='146' rx='14' ry='8' transform='rotate(28 178 146)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 16.25rem 16.25rem;
  background-repeat: repeat;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

main {
  display: block;
  position: relative;
}

section {
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.section:not(.hero):not(.page-hero) {
  position: relative;
  overflow: hidden;
}

.section:not(.hero):not(.page-hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 560'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23e7f3e8' /%3E%3Cstop offset='1' stop-color='%23f7f9f2' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='560' height='560' fill='url(%23g)'/%3E%3Cpath d='M112 302c-24-38-12-89 42-110 54-21 112 6 127 52 15 46-12 96-58 112-54 18-91-8-111-54Z' fill='%23427d4f' fill-opacity='0.18'/%3E%3Cpath d='M301 176c24-20 58-18 80 8 24 28 15 58-14 74-31 17-66 8-82-18-16-26-14-54 16-64Z' fill='%2395c297' fill-opacity='0.16'/%3E%3Ccircle cx='420' cy='118' r='24' fill='%23427d4f' fill-opacity='0.16'/%3E%3Ccircle cx='380' cy='356' r='28' fill='%23b57d34' fill-opacity='0.12'/%3E%3Cpath d='M472 350c-38-17-59-55-53-98 6-47 32-89 80-94 43-4 68 16 68 58 0 54-34 111-95 134Z' fill='%23427d4f' fill-opacity='0.12'/%3E%3Cpath d='M107 432c14-32 36-58 64-74 10-6 22-5 30 4 9 10 7 25-4 33-21 16-35 40-40 66-19-3-37-11-50-25Z' fill='%23b57d34' fill-opacity='0.1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 26.25rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 62.4375rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 70% 0 70% 0;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--color-success), #6bc17a);
  box-shadow: 0 0 0 0.375rem rgba(77, 159, 91, 0.12);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-family: "Poppins", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

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

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #334155;
}

.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section-header {
  max-width: 47.5rem;
  margin-bottom: 2.8rem;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-tint {
  overflow: hidden;
}

.section-tint > .container {
  position: relative;
  z-index: 1;
}

.section-tint::before,
.section-tint::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.625rem);
  opacity: 0.42;
}

.section-tint::before {
  width: 17.5rem;
  height: 17.5rem;
  top: 2rem;
  right: -5rem;
  background: rgba(37, 99, 235, 0.07);
}

.section-tint::after {
  width: 13.75rem;
  height: 13.75rem;
  left: -4.375rem;
  bottom: 1.5rem;
  background: rgba(77, 159, 91, 0.1);
}

.section-tint-blue {
  background: #edf7ee;
}

.section-tint-beige {
  background: #fbf3e7;
}

.section-tint-green {
  background: #eef8ef;
}

.section-tint-sky {
  background: linear-gradient(180deg, #f6faf5 0%, #f1f6ef 100%);
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 1.5rem;
}

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

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

.card {
  background: rgba(246, 248, 242, 0.96);
  border: 0.0625rem solid rgba(97, 121, 99, 0.18);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card.soft {
  background: linear-gradient(
    180deg,
    rgba(246, 248, 242, 0.98),
    rgba(238, 244, 234, 0.95)
  );
}

.card:hover,
.step-card:hover,
.faq-item:hover,
.partner-chip:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 62.4375rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-0.125rem);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-success),
    var(--color-primary)
  );
  color: #fff;
  box-shadow: 0 1.125rem 2.5rem rgba(33, 86, 47, 0.24);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-accent), #d9944a);
  color: #fff;
  box-shadow: 0 1.125rem 2.5rem rgba(171, 122, 69, 0.22);
}

.btn-ghost {
  background: rgba(239, 247, 238, 0.88);
  color: var(--color-primary-deep);
  border: 0.0625rem solid rgba(79, 143, 97, 0.25);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 1rem 0;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}

.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(1.125rem);
  box-shadow: 0 0.75rem 2.5rem rgba(8, 18, 36, 0.08);
  padding: 0.75rem 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-height);
  padding: 0.75rem 1rem;
  border-radius: 62.4375rem;
  background: rgba(246, 248, 242, 0.85);
  border: 0.0625rem solid rgba(79, 143, 97, 0.14);
  backdrop-filter: blur(1.25rem);
  box-shadow: 0 0.875rem 2.125rem rgba(15, 23, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.brand-mark {
  width: 7rem;
  border-radius: 1.125rem;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: #fff;
}

.brand-copy small {
  display: block;
  color: var(--color-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  position: relative;
  font-weight: 600;
  color: #1e293b;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 0.125rem;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.09);
  color: var(--color-primary);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.125rem;
  height: 0.125rem;
  margin: 0 auto;
  border-radius: 62.4375rem;
  background: currentColor;
  position: relative;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -0.375rem;
}

.nav-toggle span::after {
  top: 0.375rem;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(0.375rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-0.375rem) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 3.5rem) 0 4rem;
  background-color: #1b4931;
  background-image:
    linear-gradient(135deg, rgba(8, 27, 17, 0.2), rgba(183, 238, 164, 0.08)),
    url("../images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(235, 37, 106, 0.222),
      transparent 24%
    ),
    radial-gradient(
      circle at 78% 20%,
      rgba(249, 115, 22, 0.2),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto 8% -4%;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: rgba(77, 159, 91, 0.12);
  filter: blur(0.5rem);
  pointer-events: none;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy p,
.page-hero-copy p {
  max-width: 58ch;
}

.hero-copy h1,
.hero-copy .lead,
.hero-copy p,
.hero-copy strong,
.hero-copy span {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 11ch;
}

.hero-copy,
.page-hero-copy {
  animation: rise-in 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual,
.page-hero-visual {
  animation: rise-in 900ms cubic-bezier(0.16, 1, 0.3, 1) 90ms both;
}

.hero-art,
.spotlight-card,
.donation-panel,
.section-header,
.card,
.cta-band,
.program-card {
  animation: rise-in 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-art,
.donation-panel,
.spotlight-card {
  animation-name: rise-in, float-gentle;
  animation-duration: 800ms, 7s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
  animation-fill-mode: both, both;
  animation-iteration-count: 1, infinite;
}

.hero-art,
.spotlight-card {
  will-change: transform;
}

.hero-visual .spotlight-card {
  animation-delay: 120ms, 0ms;
}

.page-hero-visual .hero-art {
  animation-delay: 80ms, 0ms;
}

.page-hero-visual .spotlight-card {
  animation-delay: 170ms, 0ms;
}

.donation-slider-panel {
  animation-delay: 40ms;
}

.donation-qr-panel {
  animation-delay: 120ms;
}

.donation-bank-panel {
  animation-delay: 200ms;
}

.grid-3 > .card:nth-child(1),
.grid-4 > .card:nth-child(1) {
  animation-delay: 40ms;
}

.grid-3 > .card:nth-child(2),
.grid-4 > .card:nth-child(2) {
  animation-delay: 110ms;
}

.grid-3 > .card:nth-child(3),
.grid-4 > .card:nth-child(3) {
  animation-delay: 180ms;
}

.grid-4 > .card:nth-child(4) {
  animation-delay: 250ms;
}

.section-header {
  animation-delay: 40ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
    filter: blur(0.2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes float-gentle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.35rem);
  }
}

.hero-visual,
.page-hero-visual {
  position: relative;
  min-height: 35rem;
}

.hero-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
}

.page-hero-visual {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-art {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
}

.hero-art .media-caption {
  inset: auto 1.4rem 1.4rem 1.4rem;
}

.hero-art .tag {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.spotlight-card {
  position: relative;
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(10, 30, 76, 0.65), rgba(37, 99, 235, 0.58)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -10% auto;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 40%),
    radial-gradient(
      circle at 70% 20%,
      rgba(249, 115, 22, 0.28),
      transparent 26%
    );
  pointer-events: none;
}

.spotlight-card h3,
.spotlight-card p,
.spotlight-card li {
  position: relative;
  z-index: 1;
  color: inherit;
}

.spotlight-card ul {
  padding-left: 1rem;
  margin: 1.5rem 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  flex: 0 0 auto;
  margin-top: 0.35rem;
  background: linear-gradient(135deg, var(--color-success), #4ade80);
  box-shadow: 0 0 0 0.375rem rgba(22, 163, 74, 0.12);
}

.media-surface {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.media-surface::before,
.hero-art::before,
.gallery-item::before,
.program-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 82%,
      rgba(74, 222, 128, 0.16),
      transparent 22%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.2),
      transparent 26%
    );
}

.yt::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 82%,
      rgba(74, 222, 128, 0.16),
      transparent 22%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.2),
      transparent 26%
    );

  height: 5rem;
}

.media-surface::after,
.hero-art::after,
.gallery-item::after,
.program-visual::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  height: 5.75rem;
  border-radius: 1.375rem;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 36, 0.55));
}
.yt ::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  height: 5.75rem;
  border-radius: 1.375rem;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 36, 0.55));
}

.media-caption {
  position: absolute;
  inset: auto 1.4rem 1.4rem 1.4rem;
  z-index: 1;
  color: #fff;
}

.theme-education {
  background-color: #2563eb;
  background-image: url("../images/education-scene.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.theme-healthcare {
  background-color: #0f766e;
  background-image: url("../images/healthcare-scene.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.theme-education::before,
.theme-healthcare::before,
.theme-women::before,
.theme-skills::before,
.theme-environment::before,
.theme-events::before{

    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.65),
            rgba(0,0,0,.25),
            transparent
        );
}

.theme-women {
  background-color: #a855f7;
  background-image: url("../images/women-scene.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.theme-skills {
  background-color: #1d4ed8;
  background-image: url("../images/skill.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.theme-environment {
  background-color: #15803d;
  background-image: url("../images/green.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.theme-rural {
  background-color: #b45309;
  background-image: url("../images/community-scene.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.theme-story {
  background-color: #0f172a;
  background-image: url("../images/kids-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.program-grid,
.feature-grid,
.opportunity-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.program-card,
.feature-card,
.testimonial-card,
.benefit-card,
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-details {
  display: none;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  padding-top: 0.5rem;
}

.program-card.expanded .program-details {
  display: block;
}

.program-expand-toggle {
  align-self: flex-start;
}

.program-visual {
  position: relative;
  min-height: 13.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.yt {
  position: relative;
  width: 100%;

  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #0f172a;
}

.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 62.4375rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.tag.success {
  background: rgba(22, 163, 74, 0.11);
  color: #166534;
}

.tag.accent {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
}

.icon-badge {
  width: 3.625rem;
  height: 3.625rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1.125rem;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.14),
    rgba(77, 159, 91, 0.18),
    rgba(249, 115, 22, 0.12)
  );
  color: var(--color-primary-deep);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.icon-badge svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  bottom: 1rem;
  width: 0.125rem;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.45),
    rgba(22, 163, 74, 0.35)
  );
}

.timeline-item {
  position: relative;
  margin-left: 2.7rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(238, 244, 234, 0.96);
  box-shadow: var(--shadow-sm);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.35rem;
  top: 1.55rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #f6f8f2;
  border: 0.3125rem solid var(--color-primary);
  box-shadow: 0 0 0 0.5rem rgba(47, 127, 76, 0.12);
}

.timeline-item strong {
  color: var(--color-primary-deep);
}

.story-quote {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(77, 159, 91, 0.1),
    rgba(249, 115, 22, 0.1)
  );
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
}

.masonry {
  columns: 3 17.5rem;
  column-gap: 1.2rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 15rem;
  margin-bottom: 1.2rem;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}

.gallery-item.tall {
  min-height: 22.5rem;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.gallery-item.hidden {
  display: none;
}

.gallery-caption {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  z-index: 1;
  color: #fff;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.75rem 1rem;
  border-radius: 62.4375rem;
  border: 0.0625rem solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  color: #334155;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  background: linear-gradient(
    135deg,
    rgba(47, 127, 76, 0.95),
    rgba(63, 138, 87, 0.95)
  );
  color: #fff;
  border-color: transparent;
}

.slider {
  position: relative;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(18.75rem, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.4rem;
}

.slider-track::-webkit-scrollbar {
  height: 0.5rem;
}

.slider-track::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 62.4375rem;
}

.slider-track > * {
  scroll-snap-align: start;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slider-controls button {
  width: 2.875rem;
  height: 2.875rem;
  border: 0;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-size: 1.2rem;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1.05rem;
  color: #1e293b;
}

.testimonial-card footer {
  margin-top: auto;
  font-weight: 700;
  color: var(--color-primary-deep);
}

.team-grid,
.certificate-grid,
.impact-grid,
.donation-grid,
.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.partner-track {
  display: flex;
  gap: 1rem;
  min-width: max-content;
  animation: marquee 24s linear infinite;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(246, 248, 242, 0.96);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.5rem;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.faq-question span:last-child {
  font-size: 1.4rem;
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.4rem;
}

.faq-item.open .faq-answer {
  max-height: 26.25rem;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

.form-shell {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(246, 248, 242, 0.98);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  color: #1e293b;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1.125rem;
  border: 0.0625rem solid rgba(97, 121, 99, 0.22);
  background: #f7f9f2;
  color: var(--color-text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(47, 127, 76, 0.6);
  box-shadow: 0 0 0 0.25rem rgba(47, 127, 76, 0.12);
}

.form-status {
  margin-top: 1rem;
  color: #166534;
  font-weight: 600;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 5rem) 0 4rem;
}

body:not(.page-home) .page-hero {
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(255, 255, 255, 0.08),
      transparent 24%
    ),
    radial-gradient(
      circle at 82% 22%,
      rgba(255, 255, 255, 0.06),
      transparent 20%
    ),
    linear-gradient(135deg, #163827 0%, #1f6f42 56%, #123023 100%);
}

body:not(.page-home) .page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.0625rem;
  height: 5.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,96L60,101.3C120,107,240,117,360,112C480,107,600,85,720,69.3C840,53,960,43,1080,48C1200,53,1320,75,1380,85.3L1440,96L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z'/%3E%3C/svg%3E")
    center bottom / cover no-repeat;
  pointer-events: none;
}

.page-hero-copy {
  max-width: 40rem;
}

body:not(.page-home) .page-hero-copy h1 {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 52%, #bfdbfe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body:not(.page-home) .page-hero-copy .lead,
body:not(.page-home) .page-hero-copy p {
  color: rgba(226, 232, 240, 0.88);
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border-radius: 62.4375rem;
  background: rgba(238, 244, 234, 0.94);
  box-shadow: var(--shadow-sm);
}

.page-badge strong {
  color: var(--color-primary-deep);
}

body:not(.page-home) .page-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #eff6ff;
  backdrop-filter: blur(1.125rem);
}

body:not(.page-home) .page-badge strong {
  color: #ffffff;
}

body:not(.page-home) main > .section:not(.page-hero) {
  position: relative;
  isolation: isolate;
}

body:not(.page-home) main > .section:not(.page-hero) > .container {
  position: relative;
  z-index: 1;
}

body:not(.page-home) main > .section:not(.page-hero):nth-of-type(even) {
  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.08),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(77, 159, 91, 0.08),
      transparent 20%
    ),
    linear-gradient(180deg, #f8fbff 0%, #f5faff 100%);
}

body:not(.page-home) main > .section:not(.page-hero):nth-of-type(odd) {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(214, 166, 119, 0.08),
      transparent 18%
    ),
    radial-gradient(
      circle at 84% 72%,
      rgba(77, 159, 91, 0.05),
      transparent 18%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.97),
      rgba(255, 255, 255, 0.92)
    );
}

body:not(.page-home) main > .section:not(.page-hero):nth-of-type(even)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.375rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 54' preserveAspectRatio='none'%3E%3Cpath d='M0 22C99 36 198 50 330 50C482 50 599 20 742 11C882 2 1014 14 1128 24C1250 35 1344 43 1440 36V0H0Z' fill='%23ffffff' fill-opacity='.55'/%3E%3C/svg%3E")
    center top / cover no-repeat;
  pointer-events: none;
  opacity: 0.9;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.step-card strong {
  display: inline-grid;
  place-items: center;
  width: 2.625rem;
  height: 2.625rem;
  margin-bottom: 0.9rem;
  border-radius: 0.875rem;
  background: linear-gradient(145deg, var(--color-primary), #5ba6ff);
  color: #fff;
}

.qr-shell {
  display: grid;
  place-items: center;
  min-height: 17.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent), #fff;
  border: 0.0625rem solid rgba(148, 163, 184, 0.24);
  box-shadow: var(--shadow-sm);
}

.qr-code {
  display: grid;
  place-items: center;
  width: min(100%, 16.75rem);
  min-height: 16.75rem;
  padding: 0.85rem;
  border-radius: 1.375rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.qr-code canvas,
.qr-code img,
.qr-code table {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  border-radius: 1rem;
}

.qr-code table {
  border-collapse: collapse;
}

.qr-code td {
  padding: 0;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.125rem;
  padding: 0.9rem 1rem;
  border-radius: 1.125rem;
  background: rgba(255, 255, 255, 0.92);
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
  font-weight: 700;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 18% 82%,
      rgba(110, 231, 183, 0.14),
      transparent 22%
    ),
    linear-gradient(145deg, rgba(8, 18, 36, 0.96), rgba(37, 99, 235, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #fff;
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  background:
    radial-gradient(
      circle at bottom left,
      rgba(77, 159, 91, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.18),
      transparent 26%
    ),
    linear-gradient(180deg, #091223 0%, #050b16 100%);
  color: #dbeafe;
  padding: 3.5rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.25rem;
}

.footer-grid h3,
.footer-grid h4 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-links,
.footer-programs,
.footer-contact {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 0.0625rem solid rgba(148, 163, 184, 0.16);
}

.footer-bottom p {
  color: rgba(219, 234, 254, 0.74);
  margin: 0;
}

.back-to-top {
  color: #fff;
  font-weight: 700;
}

.mobile-donate {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  display: none;
  transition:
    left 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    right 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    bottom 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-donate .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 1.125rem 2.25rem rgba(249, 115, 22, 0.3);
  transition:
    width 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    height 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    padding 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-radius 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    font-size 260ms ease,
    box-shadow 380ms ease;
}

.mobile-donate .btn::before {
  content: "";
  width: 0;
  height: 1.4rem;
  opacity: 0;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-6.5-3.9-6.5-9.2A3.8 3.8 0 0 1 12 8.3a3.8 3.8 0 0 1 6.5 2.5C18.5 16.1 12 20 12 20Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition:
    width 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 220ms ease 140ms;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 18, 36, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-panel {
  width: min(60rem, 100%);
  border-radius: 1.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.lightbox-media {
  min-height: 27.5rem;
}

.lightbox-copy {
  padding: 1.4rem 1.5rem 1.6rem;
}

.lightbox-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.5rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition-delay: var(--reveal-delay, 0ms);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift-glow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -0.5rem, 0) scale(1.03);
  }
}

body::before,
body::after {
  animation: drift-glow 12s ease-in-out infinite;
}

body::after {
  animation-duration: 14s;
  animation-direction: alternate-reverse;
}

@media (max-width: 67.5rem) {
  .hero-grid,
  .page-hero-grid,
  .split-section,
  .grid-3,
  .grid-4,
  .program-grid,
  .feature-grid,
  .opportunity-grid,
  .contact-grid,
  .team-grid,
  .certificate-grid,
  .impact-grid,
  .donation-grid,
  .hours-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-visual,
  .page-hero-visual {
    min-height: 28.75rem;
  }

  .page-hero-visual {
    min-height: auto;
  }
}

@media (max-width: 55rem) {
  .hero {
    background-size: cover;
    background-position: center center;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 2.5rem);
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .nav-shell {
    border-radius: 1.75rem;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.15rem;
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    border: 0.0625rem solid rgba(79, 143, 97, 0.14);
    animation: nav-drop 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .nav-links.open a {
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    transition: background var(--transition);
  }

  .nav-links.open a:hover,
  .nav-links.open a:focus-visible,
  .nav-links.open a.active {
    background: rgba(47, 127, 76, 0.08);
  }

  .nav-links.open a::after {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero-grid,
  .page-hero-grid,
  .split-section,
  .grid-3,
  .grid-4,
  .program-grid,
  .feature-grid,
  .opportunity-grid,
  .contact-grid,
  .team-grid,
  .certificate-grid,
  .impact-grid,
  .donation-grid,
  .hours-grid,
  .stat-grid,
  .process-steps,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-visual,
  .page-hero-visual {
    min-height: 25rem;
  }

  .page-hero-visual {
    min-height: auto;
  }
}

@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 40rem) {
  :root {
    --container: min(100% - 0.9rem, 100%);
    --section-space: 3.25rem;
  }

  body::before,
  body::after {
    opacity: 0.22;
    filter: blur(1.65rem);
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
  }

  h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    line-height: 1.16;
    letter-spacing: -0.025em;
    font-weight: 700;
  }

  h3 {
    font-size: clamp(1.08rem, 4.5vw, 1.25rem);
    line-height: 1.22;
    font-weight: 650;
  }

  p,
  .lead {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .eyebrow,
  .tag {
    padding: 0.4rem 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .hero {
    background-size: cover;
    background-position: center 18%;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.4rem);
    padding-bottom: 2rem;
    align-items: flex-start;
  }

  .section {
    padding: 2.75rem 0;
  }

  .hero,
  .page-hero {
    padding-top: calc(var(--nav-height) + 1.9rem);
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .hero-visual,
  .page-hero-visual {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    min-height: auto;
  }

  .hero-art {
    display: none;
  }

  .spotlight-card {
    order: 1;
    padding: 1.15rem 1.25rem;
    border-radius: 1.25rem;
  }

  .spotlight-card ul {
    margin-top: 0.9rem;
    padding-left: 0.9rem;
  }

  .spotlight-card ul li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
  }

  .hero-badge-grid {
    order: 2;
  }

  .site-header {
    padding: 0.55rem 0;
  }

  .nav-shell {
    padding: 0.65rem 0.75rem;
    border-radius: 1.35rem;
    box-shadow: 0 0.875rem 1.75rem rgba(15, 23, 42, 0.08);
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 5rem;
  }

  .brand-copy span {
    display: block;
    max-width: 7.5rem;
    line-height: 1.2;
    font-size: 0.95rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .nav-toggle {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.9rem;
  }

  /* ---------- Buttons ---------- */
  .btn-row {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.3rem;
  }

  .btn-row .btn {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  /* ---------- Cards / panels: one consistent rhythm ---------- */
  .card,
  .form-shell,
  .cta-band,
  .stat-card,
  .program-card,
  .feature-card,
  .testimonial-card,
  .benefit-card,
  .contact-card,
  .step-card,
  .faq-item,
  .partner-chip,
  .page-about .founder-card,
  .page-about .founder-portrait,
  .page-home .hero-copy,
  .hero-badge,
  .page-badge,
  .donation-panel,
  .impact-story {
    padding: 1.1rem;
    border-radius: 1.15rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-header p {
    max-width: none;
  }

  .page-badge {
    padding: 0.5rem 0.75rem;
    gap: 0.45rem;
  }

  .page-badge,
  .page-badge strong {
    font-size: 0.78rem;
  }

  /* ---------- Page hero (inner pages) ---------- */
  .page-hero {
    padding-top: calc(var(--nav-height) + 1.7rem);
    padding-bottom: 2.5rem;
  }

  body:not(.page-home) .page-hero {
    background:
      radial-gradient(
        circle at 14% 18%,
        rgba(255, 255, 255, 0.05),
        transparent 24%
      ),
      radial-gradient(
        circle at 82% 22%,
        rgba(255, 255, 255, 0.04),
        transparent 20%
      ),
      linear-gradient(135deg, #173324 0%, #1f6f42 58%, #132c1e 100%);
  }

  body:not(.page-home) .page-hero::after {
    height: 3.2rem;
    opacity: 0.86;
  }

  body:not(.page-home) .page-hero-copy h1 {
    font-size: clamp(2rem, 8.4vw, 2.5rem);
    line-height: 1.08;
    max-width: none;
  }

  body:not(.page-home) .page-hero-copy .lead,
  body:not(.page-home) .page-hero-copy p {
    font-size: 0.96rem;
    line-height: 1.58;
    max-width: none;
  }

  /* ---------- Gallery ---------- */
  .masonry {
    columns: 1;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
    min-height: 0;
    margin-bottom: 0.85rem;
    border-radius: 1rem;
    max-height: 10rem;
  }

  .gallery-item.tall {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }

  .gallery-caption {
    inset: auto 0.9rem 0.9rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .gallery-caption strong {
    font-size: 0.92rem;
    display: block;
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
  }

  .filter-btn {
    flex: 0 0 auto;
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* ---------- Testimonial slider ---------- */
  .slider-track {
    grid-auto-columns: 86%;
  }

  /* ---------- Footer ---------- */
  .site-footer {
    padding: 2rem 0 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid > div:first-child p {
    max-width: 30rem;
    margin-bottom: 0.75rem;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .footer-links,
  .footer-programs,
  .footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.75rem;
  }

  .footer-grid h3,
  .footer-grid h4 {
    margin-bottom: 0.6rem;
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }

  /* ---------- Sticky mobile donate bar ---------- */
  .mobile-donate {
    display: block;
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .mobile-donate .btn {
    min-height: 3.1rem;
    font-size: 0.98rem;
  }

  .mobile-donate.is-compact {
    left: auto;
    right: max(1.1rem, env(safe-area-inset-right));
  }

  .mobile-donate.is-compact .btn {
    width: 3.75rem;
    height: 3.75rem;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
  }

  .mobile-donate.is-compact .btn::before {
    width: 1.5rem;
    opacity: 1;
  }
  /* ---------- Lightbox ---------- */
  .lightbox-media {
    min-height: 16rem;
  }

  .lightbox-copy {
    padding: 1.2rem 1.25rem 1.4rem;
  }
}

@media (max-width: 30rem) {
  :root {
    --container: min(100% - 0.75rem, 100%);
    --nav-height: 4.7rem;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 1.1rem);
    padding-bottom: 1.75rem;
  }

  .hero-copy h1,
  body:not(.page-home) .page-hero-copy h1 {
    max-width: none;
    font-size: clamp(1.75rem, 9vw, 2.1rem);
  }

  .hero-copy .lead,
  .page-hero-copy .lead {
    font-size: 0.9rem;
  }

  .site-header {
    padding: 0.4rem 0;
  }

  .brand-mark {
    width: 4.5rem;
  }

  .brand-copy span {
    max-width: 6rem;
    font-size: 0.88rem;
  }

  .brand-copy small {
    font-size: 0.6rem;
  }

  .nav-toggle {
    width: 2.6rem;
    height: 2.6rem;
  }

  .spotlight-card,
  .card,
  .form-shell,
  .cta-band {
    padding: 0.95rem;
  }

  .btn {
    min-height: 2.85rem;
    font-size: 0.92rem;
  }

  .footer-bottom,
  .footer-grid {
    gap: 0.85rem;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-links,
  .footer-programs,
  .footer-contact {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
