/* HECA — Human and Environmental Care Agency (forest + emerald accents) */

:root {
  --nav-scroll-offset: 5.75rem;
  /* Public theme contract (maps to existing tokens) */
  --bg-color: #ffffff;
  --text-color: #0a1f14;
  --primary: #2e7d32;

  /* Neutrals with a green tint */
  --afosi-ink: #0a1f14;
  --afosi-ink-soft: #1a3328;
  --afosi-muted: #4d6b5e;
  --afosi-surface: #ffffff;
  --afosi-surface-2: #ecfdf5;
  --afosi-white: #ffffff;
  /* Core greens */
  --afosi-accent: #22c55e;
  --afosi-accent-bright: #4ade80;
  --afosi-accent-deep: #15803d;
  --afosi-accent-dark: #166534;
  --afosi-accent-soft: #dcfce7;
  --afosi-hero-mid: #166534;
  --afosi-radius: 1.25rem;
  --afosi-radius-sm: 0.75rem;
  --afosi-shadow: 0 20px 50px -12px rgba(22, 101, 52, 0.14);
  --afosi-shadow-sm: 0 4px 20px rgba(22, 101, 52, 0.08);
  /* Legacy aliases used in templates */
  /* Official HECA logo greens (matches heca-logo.svg gradient) */
  --heca-brand: #15803d;
  --heca-brand-light: #22c55e;
  --ngo-green: var(--heca-brand);
  --ngo-green-light: var(--heca-brand-light);
  --ngo-green-soft: var(--afosi-accent-soft);
  --ngo-ink: var(--afosi-ink);
  --ngo-muted: var(--afosi-muted);
  --ngo-white: var(--afosi-white);
  --ngo-radius: var(--afosi-radius);
  --ngo-shadow: var(--afosi-shadow);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

section.anchor-section {
  scroll-margin-top: var(--nav-scroll-offset);
}

html.dark-mode {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --primary: #4caf50;

  --afosi-ink: #f1f5f9;
  --afosi-ink-soft: #e2e8f0;
  --afosi-muted: #94a3b8;
  --afosi-surface: #0f172a;
  --afosi-surface-2: #1e293b;
  --afosi-white: #1e293b;
  --afosi-accent: #4caf50;
  --afosi-accent-bright: #86efac;
  --afosi-accent-deep: #22c55e;
  --afosi-accent-dark: #16a34a;
  --afosi-accent-soft: rgba(76, 175, 80, 0.15);
  --afosi-hero-mid: #14532d;
}

html.dark-mode body {
  background: var(--afosi-surface);
  color: var(--afosi-muted);
}

html.dark-mode .navbar-ngo {
  background: rgba(15, 23, 42, 0.96) !important;
  border-bottom-color: rgba(76, 175, 80, 0.15) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25) !important;
}

html.dark-mode .navbar-ngo .navbar-brand,
html.dark-mode .navbar-ngo .nav-link {
  color: var(--afosi-ink-soft) !important;
}

html.dark-mode .navbar-ngo .nav-link:hover {
  color: var(--afosi-accent-bright) !important;
  background: rgba(76, 175, 80, 0.12) !important;
}

html.dark-mode .navbar-ngo .nav-link.active {
  color: #ecfdf5 !important;
  background: rgba(76, 175, 80, 0.18) !important;
}

html.dark-mode .section-white {
  background: var(--afosi-surface-2) !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
}

html.dark-mode .pillar-card {
  background: var(--afosi-white);
  border-color: rgba(148, 163, 184, 0.15);
}

html.dark-mode .section-title,
html.dark-mode .pillar-card h3 {
  color: var(--afosi-ink) !important;
}

html.dark-mode .page-hero.bg-white {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
}

html.dark-mode .page-hero .section-title,
html.dark-mode .page-hero h1 {
  color: var(--afosi-ink) !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--afosi-ink-soft);
  background: var(--bg-color);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.section-title,
.afosi-display {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--afosi-ink);
  letter-spacing: -0.02em;
}

.text-ink {
  color: var(--afosi-ink) !important;
}

.text-muted-2 {
  color: var(--afosi-muted) !important;
}

/* --- Hero (AFOSI-style dark immersive) --- */
.bg-hero,
.afosi-hero {
  position: relative;
  background: linear-gradient(
    155deg,
    #030806 0%,
    #052e16 28%,
    #0f2914 55%,
    var(--afosi-hero-mid) 82%,
    #14532d 100%
  );
  overflow: hidden;
}

.afosi-hero--slider {
  min-height: 36rem;
}

.bg-hero::before,
.afosi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 85% 55% at 15% 35%, rgba(34, 197, 94, 0.28), transparent 52%),
    radial-gradient(ellipse 55% 45% at 88% 15%, rgba(74, 222, 128, 0.14), transparent 48%);
  pointer-events: none;
}

.afosi-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.afosi-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  pointer-events: none;
}

.afosi-hero-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .afosi-hero-slide {
    transition: none;
  }
}

.afosi-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    125deg,
    rgba(3, 8, 6, 0.82) 0%,
    rgba(5, 46, 22, 0.68) 42%,
    rgba(6, 24, 16, 0.48) 100%
  );
  pointer-events: none;
}

.afosi-hero--slider::before {
  opacity: 0.35;
}

.afosi-hero > .container,
.afosi-ticker-wrap {
  position: relative;
  z-index: 3;
}

/* Hero sidebar card: solid light panel + dark text (overrides parent .text-white) */
.afosi-hero-sidebar-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(22, 101, 52, 0.12);
  box-shadow: 0 12px 40px rgba(5, 46, 22, 0.12);
  color: var(--afosi-ink) !important;
}

.hero-sidebar__kicker {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--afosi-accent-deep) !important;
  margin: 0;
}

.hero-sidebar__list {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-sidebar__item {
  margin: 0 0 0.9rem;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  list-style: none;
}

.hero-sidebar__item:last-child {
  margin-bottom: 0;
}

.hero-sidebar__text {
  color: var(--afosi-ink) !important;
  font-weight: 500;
  background: transparent !important;
}

.hero-sidebar__check {
  color: var(--afosi-accent-deep) !important;
  font-size: 1rem;
  line-height: 1;
}

html.dark-mode .afosi-hero-sidebar-card {
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  color: #e2e8f0 !important;
}

html.dark-mode .hero-sidebar__kicker {
  color: var(--afosi-accent-bright) !important;
}

html.dark-mode .hero-sidebar__text {
  color: #e2e8f0 !important;
}

html.dark-mode .hero-sidebar__check {
  color: var(--afosi-accent-bright) !important;
}

.afosi-check-ic {
  color: var(--afosi-accent-bright);
}


.afosi-kicker {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.afosi-display {
  font-size: clamp(2.15rem, 4.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  max-width: 16ch;
}

.afosi-display .text-gradient {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
}

.afosi-hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.82);
  max-width: 38rem;
}

.afosi-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.afosi-stat-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.afosi-stat-num small {
  font-size: 0.45em;
  font-weight: 700;
  opacity: 0.9;
}

.afosi-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.35rem;
}

.afosi-scroll-hint {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2.5rem;
}

/* Ticker strip (project names marquee) */
.afosi-ticker-wrap {
  background: rgba(0, 20, 10, 0.35);
  border-top: 1px solid rgba(74, 222, 128, 0.12);
  border-bottom: 1px solid rgba(74, 222, 128, 0.08);
  overflow: hidden;
  padding: 0.65rem 0;
}

.afosi-ticker {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: afosi-marquee 40s linear infinite;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(220, 252, 231, 0.55);
  white-space: nowrap;
}

.afosi-ticker span {
  opacity: 0.85;
}

@keyframes afosi-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .afosi-ticker {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    width: auto;
    row-gap: 0.5rem;
  }
}

/* Section headings (small caps label + big title) */
.afosi-section-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--afosi-accent-deep);
  margin-bottom: 0.5rem;
}

.section-title {
  font-weight: 800;
}

/* CTA band — GET INVOLVED style */
.band-cta {
  background: linear-gradient(90deg, #052e16 0%, #0a1f14 50%, #052e16 100%);
  color: #fff;
  padding: 1rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(74, 222, 128, 0.12);
}

.band-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.band-cta a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 0.35rem;
  transition: color 0.15s, background 0.15s;
}

.band-cta a:hover {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

.band-cta .dot {
  opacity: 0.25;
  user-select: none;
}

/* Buttons */
.btn-ngo-primary {
  background: var(--afosi-accent);
  border: none;
  color: #fff;
  padding: 0.75rem 1.65rem;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
}

.btn-ngo-primary:hover {
  background: var(--afosi-accent-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.45);
}

.btn-donate-gradient {
  border: none;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--afosi-accent-deep) 0%, var(--afosi-accent) 45%, var(--afosi-accent-bright) 100%);
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-donate-gradient:hover {
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45);
}

.theme-toggle-btn {
  color: var(--afosi-ink-soft) !important;
  text-decoration: none !important;
  border-radius: 0.5rem;
  line-height: 1;
}

.theme-toggle-btn:hover {
  color: var(--afosi-accent-dark) !important;
  background: rgba(34, 197, 94, 0.1);
}

html.dark-mode .theme-toggle-btn {
  color: var(--afosi-ink-soft) !important;
}

html.dark-mode .theme-toggle-btn:hover {
  color: var(--afosi-accent-bright) !important;
}

.btn-ngo-outline {
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}

.btn-ngo-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

/* Navbar */
.navbar-ngo {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(22, 101, 52, 0.1);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(22, 101, 52, 0.06);
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

.navbar-ngo.navbar-ngo--scrolled {
  box-shadow: 0 12px 40px -14px rgba(22, 101, 52, 0.22);
}

html.dark-mode .navbar-ngo.navbar-ngo--scrolled {
  box-shadow: 0 14px 44px -10px rgba(0, 0, 0, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .navbar-ngo {
    transition: none;
  }
}

.navbar-ngo .navbar-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--afosi-ink) !important;
  letter-spacing: -0.03em;
}

.navbar-ngo .navbar-brand-logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}

.navbar-ngo .navbar-brand-line1,
.navbar-ngo .navbar-brand-line2 {
  color: #000 !important;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

html.dark-mode .navbar-ngo .navbar-brand-line1,
html.dark-mode .navbar-ngo .navbar-brand-line2 {
  color: #f1f5f9 !important;
}

.navbar-ngo .navbar-brand:hover .navbar-brand-line1,
.navbar-ngo .navbar-brand:hover .navbar-brand-line2 {
  color: #000 !important;
}

html.dark-mode .navbar-ngo .navbar-brand:hover .navbar-brand-line1,
html.dark-mode .navbar-ngo .navbar-brand:hover .navbar-brand-line2 {
  color: #ecfdf5 !important;
}

.footer-brand-line1,
.footer-brand-line2 {
  color: #fff !important;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

html.dark-mode .footer-brand-line1,
html.dark-mode .footer-brand-line2 {
  color: #fff !important;
}

.legal-body p {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .navbar-ngo .navbar-brand-line1,
  .navbar-ngo .navbar-brand-line2 {
    font-size: 0.85rem;
  }
}

.navbar-ngo .nav-link {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--afosi-ink-soft) !important;
  padding: 0.5rem 0.65rem !important;
  border-radius: 0.5rem;
  transition: color 0.15s, background 0.15s;
}

.navbar-ngo .nav-link:hover {
  color: var(--afosi-accent-dark) !important;
  background: rgba(34, 197, 94, 0.08);
}

.navbar-ngo .nav-link.active {
  color: var(--afosi-accent-dark) !important;
  background: rgba(34, 197, 94, 0.14);
}

/* Cards */
.card-ngo {
  border: 1px solid rgba(22, 101, 52, 0.1);
  border-radius: var(--afosi-radius);
  box-shadow: var(--afosi-shadow-sm);
  overflow: hidden;
  background: var(--afosi-white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-ngo:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--afosi-shadow);
}

.card-ngo .card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-ngo .card-body {
  padding: 1.35rem;
}

.pill-soft {
  display: inline-block;
  background: var(--afosi-accent-soft);
  color: var(--afosi-accent-deep);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Footer */
.footer-ngo {
  background: linear-gradient(180deg, #030806 0%, #052e16 45%, #0a1f14 100%);
  color: #a7c4b4;
}

.footer-ngo h2,
.footer-ngo h3 {
  color: #f1f5f9 !important;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.footer-ngo h2.footer-brand-line1,
.footer-ngo h3.footer-brand-line2 {
  color: #fff !important;
  font-size: 1rem;
  line-height: 1.3;
}

.footer-ngo a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-ngo a:hover {
  color: var(--afosi-accent-bright);
  text-decoration: none;
}

.footer-ngo .btn-ngo-primary {
  box-shadow: none;
}

.footer-social-label {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0 !important;
  font-size: 1.1rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.footer-social__link:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.45);
  color: var(--afosi-accent-bright) !important;
  transform: translateY(-2px);
}

/* Gallery grid (public page uses .gallery-tile) */
.gallery-grid .gallery-item,
.gallery-grid .gallery-tile {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--afosi-shadow-sm);
  background: #ecfdf5;
}

html.dark-mode .gallery-grid .gallery-item,
html.dark-mode .gallery-grid .gallery-tile {
  background: #0f172a;
}

.gallery-grid img,
.gallery-grid iframe {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  border: 0;
  display: block;
}

.gallery-tile__video-fallback {
  aspect-ratio: 1;
  min-height: 180px;
  background: #ecfdf5;
  color: var(--afosi-accent-deep);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

html.dark-mode .gallery-tile__video-fallback {
  background: rgba(15, 23, 42, 0.9);
  color: var(--afosi-accent-bright);
}

/* Inner page heroes (light) */
.page-hero {
  padding: 4.25rem 0 2.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fdf9 100%);
  border-bottom: 1px solid rgba(22, 101, 52, 0.08);
}

/* Beat Bootstrap `.bg-white { background: #fff !important }` on inner pages */
.page-hero.bg-white {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%) !important;
  border-bottom-color: rgba(22, 101, 52, 0.08) !important;
}

.page-hero .section-title,
.page-hero h1 {
  max-width: 18ch;
}

/* Inner page with dark hero (e.g. Donate) */
.page-hero.bg-hero {
  background: linear-gradient(
    155deg,
    #030806 0%,
    #052e16 28%,
    #0f2914 55%,
    var(--afosi-hero-mid) 82%,
    #14532d 100%
  );
  border-bottom: none;
  color: rgba(248, 250, 252, 0.92);
  position: relative;
  overflow: hidden;
}

.page-hero.bg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 55% at 15% 35%, rgba(34, 197, 94, 0.26), transparent 52%),
    radial-gradient(ellipse 55% 45% at 88% 15%, rgba(74, 222, 128, 0.12), transparent 48%);
  pointer-events: none;
}

.page-hero.bg-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero.bg-hero .section-title,
.page-hero.bg-hero h1 {
  color: #fff;
  max-width: 20ch;
}

.page-hero.bg-hero .pill-soft {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #bbf7d0 !important;
  border: 1px solid rgba(187, 247, 208, 0.35);
}

@media (max-width: 767.98px) {
  .page-hero {
    padding: 3rem 0 2rem;
  }

  .afosi-hero-stats {
    gap: 1.25rem 1.75rem;
  }
}

/* Light content sections */
.section-surface {
  background: var(--afosi-surface-2);
}

html.dark-mode .section-surface {
  background: rgba(30, 41, 59, 0.65);
}

.section-white {
  background: var(--afosi-white);
}

/* --- Home: "Our projects" band — dark in html.dark-mode, light otherwise --- */
html.dark-mode .home-projects-dark {
  position: relative;
  background: #0a0a0a;
  color: #e4e4e7;
  overflow: hidden;
}

html.dark-mode .home-projects-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 0%, rgba(34, 197, 94, 0.08), transparent 55%);
  pointer-events: none;
}

.home-projects-dark {
  position: relative;
  overflow: hidden;
}

html:not(.dark-mode) .home-projects-dark {
  background: var(--afosi-surface-2, #ecfdf5);
  color: var(--afosi-ink-soft, #1a3328);
}

html:not(.dark-mode) .home-projects-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 0%, rgba(34, 197, 94, 0.12), transparent 55%);
  pointer-events: none;
}

.home-projects-dark > .container {
  position: relative;
  z-index: 1;
}

html.dark-mode .home-projects-dark .hp-section-head__our {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.92);
}

html:not(.dark-mode) .home-projects-dark .hp-section-head__our {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(22, 101, 52, 0.55);
}

.hp-section-head__projects {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--afosi-accent-bright);
  line-height: 1.05;
  margin-top: 0.2rem;
}

html:not(.dark-mode) .home-projects-dark .hp-section-head__projects {
  color: var(--afosi-accent-deep);
}

.hp-section-lead {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 36rem;
}

html.dark-mode .home-projects-dark .hp-section-lead {
  color: rgba(161, 161, 170, 0.95) !important;
}

html:not(.dark-mode) .home-projects-dark .hp-section-lead {
  color: var(--afosi-muted) !important;
}

.hp-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--afosi-accent-deep) !important;
  text-decoration: none;
  transition: color 0.15s, gap 0.15s;
}

html.dark-mode .home-projects-dark .hp-view-all {
  color: var(--afosi-accent-bright) !important;
}

.hp-view-all:hover {
  color: var(--afosi-accent) !important;
  gap: 0.65rem;
}

html.dark-mode .home-projects-dark .hp-view-all:hover {
  color: #86efac !important;
}

html.dark-mode .home-projects-dark .hp-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1a1a1a;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html:not(.dark-mode) .home-projects-dark .hp-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--afosi-white, #ffffff);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(22, 101, 52, 0.12);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--afosi-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html.dark-mode .home-projects-dark .hp-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.12);
}

html:not(.dark-mode) .home-projects-dark .hp-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: var(--afosi-shadow);
}

.hp-project-card:focus-visible {
  outline: 2px solid var(--afosi-accent-bright);
  outline-offset: 3px;
}

html.dark-mode .home-projects-dark .hp-project-card__media:not(.hp-project-card__media--empty)::after,
html:not(.dark-mode) .home-projects-dark .hp-project-card__media:not(.hp-project-card__media--empty)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.home-projects-dark .hp-project-card:hover .hp-project-card__media:not(.hp-project-card__media--empty)::after {
  background: rgba(0, 0, 0, 0.12);
}

html.dark-mode .home-projects-dark .hp-project-card:hover .hp-project-card__media:not(.hp-project-card__media--empty)::after {
  background: rgba(0, 0, 0, 0.26);
}

html.dark-mode .home-projects-dark .hp-project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d0d0d;
  overflow: hidden;
}

html:not(.dark-mode) .home-projects-dark .hp-project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f1f5f4;
  overflow: hidden;
}

.hp-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hp-project-card:hover .hp-project-card__media img {
  transform: scale(1.06);
}

html.dark-mode .home-projects-dark .hp-project-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(74, 222, 128, 0.2);
  font-size: 2.5rem;
}

html:not(.dark-mode) .home-projects-dark .hp-project-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(22, 101, 52, 0.2);
  font-size: 2.5rem;
}

.hp-project-card__body {
  padding: 1.35rem 1.35rem 0.75rem;
  flex: 1;
}

html.dark-mode .home-projects-dark .hp-project-card__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff !important;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

html:not(.dark-mode) .home-projects-dark .hp-project-card__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--afosi-ink) !important;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

html.dark-mode .home-projects-dark .hp-project-card__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #b0b0b0 !important;
  margin: 0;
}

html:not(.dark-mode) .home-projects-dark .hp-project-card__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--afosi-muted) !important;
  margin: 0;
}

.hp-project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  margin-top: auto;
}

.hp-project-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hp-project-card__badge {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border-radius: 0.35rem;
  background: var(--afosi-accent-deep);
  color: #fff;
  line-height: 1;
}

html.dark-mode .home-projects-dark .hp-project-card__arrow {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0a !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

html:not(.dark-mode) .home-projects-dark .hp-project-card__arrow {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: #ffffff;
  color: var(--afosi-accent-deep) !important;
  border: 1px solid rgba(22, 101, 52, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s;
}

html.dark-mode .home-projects-dark .hp-project-card:hover .hp-project-card__arrow {
  background: var(--afosi-accent-bright);
  color: #052e16 !important;
  transform: scale(1.05);
}

html:not(.dark-mode) .home-projects-dark .hp-project-card:hover .hp-project-card__arrow {
  background: var(--afosi-accent-soft);
  color: var(--afosi-accent-dark) !important;
  border-color: rgba(34, 197, 94, 0.45);
  transform: scale(1.05);
}

html.dark-mode .home-projects-dark .hp-project-card__empty-note {
  color: rgba(161, 161, 170, 0.95);
  font-size: 0.95rem;
  margin: 0;
}

html:not(.dark-mode) .home-projects-dark .hp-project-card__empty-note {
  color: var(--afosi-muted);
  font-size: 0.95rem;
  margin: 0;
}

html.dark-mode .home-projects-dark .hp-skeleton-card {
  height: 100%;
  min-height: 22rem;
  border-radius: 1.1rem;
  background: linear-gradient(90deg, #141414 0%, #1f2a22 50%, #141414 100%);
  background-size: 200% 100%;
  animation: hp-shimmer 1.15s infinite;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

html:not(.dark-mode) .home-projects-dark .hp-skeleton-card {
  height: 100%;
  min-height: 22rem;
  border-radius: 1.1rem;
  background: linear-gradient(90deg, #ecfdf5 0%, #d1fae5 50%, #ecfdf5 100%);
  background-size: 200% 100%;
  animation: hp-shimmer 1.15s infinite;
  border: 1px solid rgba(22, 101, 52, 0.08);
}

@keyframes hp-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-project-card,
  .hp-project-card__media img,
  .hp-project-card__arrow {
    transition: none;
  }

  .hp-project-card:hover .hp-project-card__media img {
    transform: none;
  }

  .home-projects-dark .hp-project-card__media:not(.hp-project-card__media--empty)::after {
    transition: none !important;
  }

  .home-projects-dark .hp-project-card:hover .hp-project-card__media:not(.hp-project-card__media--empty)::after {
    background: transparent !important;
  }

  .hp-project-card:hover {
    transform: none;
  }

  html.dark-mode .home-projects-dark .hp-skeleton-card,
  html:not(.dark-mode) .home-projects-dark .hp-skeleton-card {
    animation: none;
  }

  html.dark-mode .home-projects-dark .hp-skeleton-card {
    background: #1a1a1a;
  }

  html:not(.dark-mode) .home-projects-dark .hp-skeleton-card {
    background: #ecfdf5;
  }
}

/* Pillar numbered cards */
.pillar-card {
  border: 1px solid rgba(22, 101, 52, 0.1);
  border-radius: var(--afosi-radius);
  padding: 1.75rem;
  height: 100%;
  background: var(--afosi-white);
  box-shadow: var(--afosi-shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: var(--afosi-shadow);
}

.pillar-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--afosi-accent);
  margin-bottom: 0.75rem;
}

.pillar-card .pillar-card-icon {
  color: var(--afosi-accent);
}

/* --- Home: Vision / Mission — 50/50 split (green + white; dark mode slate pair) --- */
.home-vm {
  overflow: hidden;
}

.home-vm__col {
  min-height: 18rem;
}

@media (min-width: 992px) {
  .home-vm__col {
    min-height: 22rem;
  }
}

.home-vm__col--left {
  background: #ffffff;
}

.home-vm__col--right {
  background: #ecfdf5;
}

html.dark-mode .home-vm__col--left {
  background: #0f172a;
}

html.dark-mode .home-vm__col--right {
  background: #111c2e;
}

.home-vm__panel {
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-vm__label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--afosi-accent-deep);
  margin: 0 0 1.25rem;
}

html.dark-mode .home-vm__label {
  color: var(--afosi-accent-bright);
}

.home-vm__head {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.18;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1.35rem;
  color: var(--afosi-ink);
}

html.dark-mode .home-vm__head {
  color: #f8fafc;
}

.home-vm__head-accent {
  display: block;
  margin-top: 0.35rem;
  color: var(--afosi-accent-deep);
  letter-spacing: 0.05em;
}

html.dark-mode .home-vm__head-accent {
  color: var(--afosi-accent-bright);
}

.home-vm__text {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  max-width: 38rem;
  color: var(--afosi-muted);
}

html.dark-mode .home-vm__text {
  color: #94a3b8;
}

/* --- Home: "Who we are" split band (light = white + green; dark = slate panel) --- */
.home-who-we {
  --hww-copy-bg: #ffffff;
  --hww-ink: var(--afosi-ink);
  --hww-muted: var(--afosi-muted);
  --hww-feather: #ffffff;
  background: var(--hww-copy-bg);
  color: var(--hww-ink);
}

html.dark-mode .home-who-we {
  --hww-copy-bg: #0f172a;
  --hww-ink: #f1f5f9;
  --hww-muted: #94a3b8;
  --hww-feather: #0f172a;
}

.home-who-we__row {
  min-height: 22rem;
}

@media (min-width: 992px) {
  .home-who-we__row {
    min-height: 28rem;
  }
}

.home-who-we__visual {
  position: relative;
  min-height: 18rem;
}

.home-who-we__img-wrap {
  position: relative;
  height: 100%;
  min-height: 20rem;
  overflow: hidden;
  background: linear-gradient(135deg, #14532d 0%, #052e16 50%, #0a1f14 100%);
}

@media (min-width: 992px) {
  .home-who-we__img-wrap {
    min-height: 100%;
  }
}

.home-who-we__img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .home-who-we__img {
    min-height: 28rem;
  }
}

.home-who-we__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 46, 22, 0.05) 0%,
    rgba(5, 46, 22, 0.12) 35%,
    transparent 55%
  );
}

@media (min-width: 992px) {
  .home-who-we__img-wrap::after {
    background: linear-gradient(
      90deg,
      transparent 0%,
      transparent 38%,
      var(--hww-feather) 72%,
      var(--hww-feather) 100%
    );
  }
}

.home-who-we__badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: var(--afosi-accent-bright);
  border: 1px solid rgba(74, 222, 128, 0.35);
  max-width: calc(100% - 2.5rem);
}

html:not(.dark-mode) .home-who-we__badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--afosi-accent-deep);
  border-color: rgba(22, 101, 52, 0.2);
}

.home-who-we__copy {
  display: flex;
  align-items: center;
  background: var(--hww-copy-bg);
}

.home-who-we__inner {
  padding: 2.5rem 1.5rem 2.75rem;
  max-width: 40rem;
}

@media (min-width: 992px) {
  .home-who-we__inner {
    padding: 3rem 3.25rem 3rem 2rem;
  }
}

@media (min-width: 1200px) {
  .home-who-we__inner {
    padding: 3.5rem 4rem 3.5rem 2.5rem;
  }
}

.home-who-we__kicker {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--afosi-accent-deep);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html.dark-mode .home-who-we__kicker {
  color: var(--afosi-accent-bright);
}

.home-who-we__kicker::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.9;
}

.home-who-we__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: var(--hww-ink);
}

.home-who-we__title-line {
  display: block;
}

.home-who-we__title-em {
  color: var(--afosi-accent-deep);
}

html.dark-mode .home-who-we__title-em {
  color: var(--afosi-accent-bright);
}

.home-who-we__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--hww-muted);
}

.home-who-we__body p {
  margin-bottom: 1rem;
}

.home-who-we__body p:last-child {
  margin-bottom: 0;
}

.home-who-we__link {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--afosi-accent-deep) !important;
  text-decoration: none;
  border-bottom: 2px solid rgba(34, 197, 94, 0.45);
  padding-bottom: 0.1rem;
  transition: color 0.15s, border-color 0.15s;
}

.home-who-we__link:hover {
  color: var(--afosi-accent) !important;
  border-bottom-color: var(--afosi-accent);
}

html.dark-mode .home-who-we__link {
  color: var(--afosi-accent-bright) !important;
}

/* --- Home: "Our pillars" showcase (stats + icon cards) --- */
.home-pillars-showcase {
  background: #ffffff;
  color: var(--afosi-ink);
}

html.dark-mode .home-pillars-showcase {
  background: var(--afosi-surface-2);
  color: var(--afosi-ink-soft);
  border-color: rgba(148, 163, 184, 0.12) !important;
}

.home-pillars-showcase__deco {
  position: absolute;
  right: 6%;
  top: 10%;
  width: 12rem;
  height: 12rem;
  pointer-events: none;
  z-index: 0;
}

.home-pillars-showcase__deco::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--afosi-accent);
  opacity: 0.85;
}

.home-pillars-showcase__deco::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: 1px solid rgba(22, 101, 52, 0.14);
}

html.dark-mode .home-pillars-showcase__deco::after {
  border-color: rgba(148, 163, 184, 0.2);
}

.home-pillars-showcase .container {
  z-index: 1;
}

.home-pillars-showcase__kicker {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--afosi-accent-deep);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html.dark-mode .home-pillars-showcase__kicker {
  color: var(--afosi-accent-bright);
}

.home-pillars-showcase__kicker::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.home-pillars-showcase__headline {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

.home-pillars-showcase__our {
  display: block;
  color: var(--afosi-ink);
}

html.dark-mode .home-pillars-showcase__our {
  color: #f8fafc;
}

.home-pillars-showcase__pillars-word {
  display: block;
  margin-top: 0.15rem;
  color: var(--afosi-accent-deep);
}

html.dark-mode .home-pillars-showcase__pillars-word {
  color: var(--afosi-accent-bright);
}

.home-pillars-showcase__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--afosi-muted);
  max-width: 38rem;
}

html.dark-mode .home-pillars-showcase__lead {
  color: var(--afosi-muted);
}

.hps-stat__num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.1;
  color: var(--afosi-accent-deep);
  letter-spacing: -0.02em;
}

.hps-counter__value {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 2ch;
}

html.dark-mode .hps-stat__num {
  color: var(--afosi-accent-bright);
}

.hps-stat__num small {
  font-size: 0.55em;
  font-weight: 800;
  margin-left: 0.05em;
}

.hps-stat__label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--afosi-muted);
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* Home pillars: horizontal carousel + white cards / green accents */
.hps-carousel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.hps-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  touch-action: pan-x pinch-zoom;
}

.hps-carousel__track {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  padding: 0.35rem 0.15rem 1rem;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hps-carousel__track {
    transition: none;
  }
}

.hps-slide {
  flex: 0 0 auto;
  max-width: 100%;
  scroll-snap-align: unset;
}

.hps-carousel__nav {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid rgba(22, 101, 52, 0.22);
  background: #ffffff;
  color: var(--afosi-accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s, transform 0.15s;
}

.hps-carousel__nav:hover:not(:disabled):not(.is-disabled) {
  background: var(--afosi-accent-soft);
  border-color: rgba(34, 197, 94, 0.45);
  color: var(--afosi-accent-dark);
}

.hps-carousel__nav:disabled,
.hps-carousel__nav.is-disabled {
  opacity: 0.38;
  cursor: default;
}

html.dark-mode .hps-carousel__nav {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(74, 222, 128, 0.28);
  color: var(--afosi-accent-bright);
}

html.dark-mode .hps-carousel__nav:hover:not(:disabled):not(.is-disabled) {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(74, 222, 128, 0.45);
  color: #ecfdf5;
}

@media (max-width: 575.98px) {
  .hps-carousel__nav {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.15rem;
  }
}

.hps-pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 17.5rem;
  height: 100%;
  border-radius: 1.15rem;
  padding: 1.6rem 1.5rem 1.35rem;
  background: #ffffff;
  border: 1px solid rgba(22, 101, 52, 0.12);
  box-shadow: 0 4px 24px rgba(22, 101, 52, 0.07);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

html.dark-mode .hps-pillar-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hps-pillar-card:hover {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 12px 36px rgba(22, 101, 52, 0.12);
  transform: translateY(-3px);
}

.hps-pillar-card:focus-visible {
  outline: 2px solid var(--afosi-accent-bright);
  outline-offset: 3px;
}

.hps-pillar-card__num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--afosi-accent-deep);
  margin: 0 0 0.85rem;
  opacity: 0.95;
}

html.dark-mode .hps-pillar-card__num {
  color: var(--afosi-accent-bright);
}

.hps-pillar-card__icon {
  font-size: 1.75rem;
  color: var(--afosi-accent-deep);
  margin: 0 0 1rem;
  line-height: 1;
}

html.dark-mode .hps-pillar-card__icon {
  color: var(--afosi-accent-bright);
}

.hps-pillar-card__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--afosi-ink);
}

html.dark-mode .hps-pillar-card__title {
  color: #f1f5f9;
}

.hps-pillar-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  color: var(--afosi-muted);
  flex: 1;
}

html.dark-mode .hps-pillar-card__desc {
  color: #94a3b8;
}

.hps-pillar-card__arrow {
  margin-top: auto;
  padding-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: transparent;
  color: var(--afosi-accent-deep);
  font-size: 1.1rem;
  border: 1px solid rgba(22, 101, 52, 0.2);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.hps-pillar-card:hover .hps-pillar-card__arrow {
  background: var(--afosi-accent-deep);
  color: #ffffff;
  border-color: var(--afosi-accent-deep);
  transform: translateX(3px);
}

html.dark-mode .hps-pillar-card__arrow {
  color: var(--afosi-accent-bright);
  border-color: rgba(74, 222, 128, 0.35);
}

html.dark-mode .hps-pillar-card:hover .hps-pillar-card__arrow {
  background: var(--afosi-accent-bright);
  color: #052e16;
  border-color: var(--afosi-accent-bright);
}

@media (prefers-reduced-motion: reduce) {
  .hps-pillar-card:hover {
    transform: none;
  }

  .hps-pillar-card:hover .hps-pillar-card__arrow {
    transform: none;
  }
}

/* --- Home: Vision / Mission split (green + white) --- */
.vm-split {
  overflow: hidden;
}

.vm-split__panel {
  height: 100%;
  min-height: clamp(16rem, 42vw, 22rem);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.35rem, 4vw, 3.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vm-split__panel--vision {
  background: linear-gradient(155deg, #0f2918 0%, #14532d 38%, #166534 72%, #15803d 100%);
  color: #ffffff;
}

.vm-split__panel--mission {
  background: #ffffff;
  color: var(--afosi-ink);
  border-top: 1px solid rgba(22, 101, 52, 0.12);
}

@media (min-width: 768px) {
  .vm-split__panel--mission {
    border-top: 0;
    border-left: 1px solid rgba(22, 101, 52, 0.14);
  }
}

.vm-split__label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.vm-split__panel--vision .vm-split__label {
  color: rgba(255, 255, 255, 0.88);
}

.vm-split__panel--mission .vm-split__label {
  color: var(--afosi-accent-deep);
}

.vm-split__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 3.2vw, 2.05rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  max-width: 26rem;
}

.vm-split__panel--vision .vm-split__title {
  color: #ffffff;
}

.vm-split__panel--mission .vm-split__title {
  color: var(--afosi-accent-dark);
}

.vm-split__title--statement {
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.65rem);
  line-height: 1.45;
  max-width: 34rem;
  margin-bottom: 0;
}

.vm-split__body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(0.95rem, 1.9vw, 1.08rem);
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
  max-width: 36rem;
}

.vm-split__panel--vision .vm-split__body {
  color: rgba(255, 255, 255, 0.9);
}

.vm-split__panel--mission .vm-split__body {
  color: var(--afosi-muted);
}

html.dark-mode .vm-split__panel--mission {
  background: var(--afosi-surface-2);
  color: var(--afosi-ink-soft);
  border-color: rgba(148, 163, 184, 0.18);
}

html.dark-mode .vm-split__panel--mission .vm-split__title {
  color: #ecfdf5;
}

html.dark-mode .vm-split__panel--mission .vm-split__label {
  color: var(--afosi-accent-bright);
}

html.dark-mode .vm-split__panel--mission .vm-split__body {
  color: var(--afosi-muted);
}

/* --- Team page (Meet the Team + board grid, green on white) --- */
.team-hero {
  background: #ffffff;
  color: var(--afosi-ink);
}

html.dark-mode .team-hero {
  background: var(--afosi-surface-2);
  color: var(--afosi-ink-soft);
}

@media (min-width: 992px) {
  .team-hero .container {
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
  }
}

.team-hero__accent {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.team-hero__accent::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--afosi-accent-deep);
  flex-shrink: 0;
}

.team-hero__accent::after {
  content: "";
  height: 2px;
  width: 2.75rem;
  background: var(--afosi-accent-deep);
  border-radius: 2px;
  opacity: 0.88;
}

html.dark-mode .team-hero__accent::before {
  background: var(--afosi-accent-bright);
}

html.dark-mode .team-hero__accent::after {
  background: var(--afosi-accent-bright);
}

.team-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  position: relative;
  z-index: 1;
}

.team-hero__title-meet {
  display: block;
  font-size: clamp(2.2rem, 5.2vw, 3.65rem);
  font-style: italic;
  color: var(--afosi-ink);
  font-weight: 600;
}

html.dark-mode .team-hero__title-meet {
  color: #f8fafc;
}

.team-hero__title-team {
  display: block;
  margin-top: 0.15rem;
  font-size: clamp(2.45rem, 5.8vw, 4.1rem);
  font-style: italic;
  color: var(--afosi-accent-deep);
  font-weight: 700;
}

html.dark-mode .team-hero__title-team {
  color: var(--afosi-accent-bright);
}

.team-hero__lead {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--afosi-muted);
  position: relative;
  z-index: 1;
}

html.dark-mode .team-hero__lead {
  color: #94a3b8;
}

.team-hero__watermark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-48%);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(5.5rem, 20vw, 12rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
  color: rgba(22, 101, 52, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

html.dark-mode .team-hero__watermark {
  color: rgba(255, 255, 255, 0.045);
}

.team-board {
  background: #fafdfb;
}

html.dark-mode .team-board {
  background: var(--afosi-surface);
  border-color: rgba(148, 163, 184, 0.12) !important;
}

.team-board__kicker {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--afosi-accent-deep);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html.dark-mode .team-board__kicker {
  color: var(--afosi-accent-bright);
}

.team-board__kicker::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.team-board__heading {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.team-board__heading-board {
  display: inline;
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--afosi-ink);
  font-style: normal;
  margin-right: 0.35rem;
}

html.dark-mode .team-board__heading-board {
  color: #f8fafc;
}

.team-board__heading-members {
  display: inline;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-style: italic;
  color: var(--afosi-accent-deep);
  font-weight: 600;
}

html.dark-mode .team-board__heading-members {
  color: var(--afosi-accent-bright);
}

.team-card {
  border-radius: 1.1rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(22, 101, 52, 0.1);
  box-shadow: 0 8px 28px rgba(22, 101, 52, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

html.dark-mode .team-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(22, 101, 52, 0.12);
}

html.dark-mode .team-card:hover {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.team-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #ecfdf5;
  overflow: hidden;
}

html.dark-mode .team-card__media {
  background: #0f172a;
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(22, 101, 52, 0.25);
  font-size: 3rem;
}

html.dark-mode .team-card__img--empty {
  color: rgba(148, 163, 184, 0.35);
}

.team-card__body {
  padding: 1.15rem 1.2rem 1.25rem;
  background: #ecfdf5;
  border-top: 1px solid rgba(22, 101, 52, 0.08);
  flex: 1;
}

html.dark-mode .team-card__body {
  background: rgba(15, 23, 42, 0.92);
  border-top-color: rgba(74, 222, 128, 0.12);
}

.team-card__name {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: var(--afosi-ink);
}

html.dark-mode .team-card__name {
  color: #f1f5f9;
}

.team-card__role {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: var(--afosi-accent-deep);
  line-height: 1.4;
}

html.dark-mode .team-card__role {
  color: var(--afosi-accent-bright);
}

@media (prefers-reduced-motion: reduce) {
  .team-card:hover {
    transform: none;
  }
}

/* --- Gallery page (hero + filters + moments grid, green on white) --- */
.gallery-hero {
  background: #ffffff;
  color: var(--afosi-ink);
}

html.dark-mode .gallery-hero {
  background: var(--afosi-surface-2);
  color: var(--afosi-ink-soft);
}

.gallery-hero__mark {
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(22, 101, 52, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.gallery-hero__mark::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--afosi-accent-deep);
}

html.dark-mode .gallery-hero__mark {
  border-color: rgba(74, 222, 128, 0.35);
}

html.dark-mode .gallery-hero__mark::after {
  background: var(--afosi-accent-bright);
}

.gallery-hero__kicker {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--afosi-accent-deep);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html.dark-mode .gallery-hero__kicker {
  color: var(--afosi-accent-bright);
}

.gallery-hero__kicker::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.gallery-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  position: relative;
  z-index: 1;
}

.gallery-hero__title-our,
.gallery-hero__title-story {
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-style: normal;
  color: var(--afosi-ink);
}

html.dark-mode .gallery-hero__title-our,
html.dark-mode .gallery-hero__title-story {
  color: #f8fafc;
}

.gallery-hero__title-visual {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-style: italic;
  color: var(--afosi-accent-deep);
  font-weight: 700;
  margin-left: 0.35rem;
  margin-right: 0.35rem;
}

html.dark-mode .gallery-hero__title-visual {
  color: var(--afosi-accent-bright);
}

.gallery-hero__lead {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--afosi-muted);
  position: relative;
  z-index: 1;
}

html.dark-mode .gallery-hero__lead {
  color: #94a3b8;
}

.gallery-hero__watermark {
  position: absolute;
  right: 0;
  top: 42%;
  transform: translateY(-50%);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(4.5rem, 18vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: rgba(22, 101, 52, 0.065);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

html.dark-mode .gallery-hero__watermark {
  color: rgba(255, 255, 255, 0.04);
}

.gallery-hero__filter-wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 0.5rem;
}

.gallery-hero__filters {
  padding-top: 0.25rem;
}

.gallery-filter-pill {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 101, 52, 0.22);
  background: #ffffff;
  color: var(--afosi-ink-soft);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.gallery-filter-pill:hover {
  border-color: rgba(34, 197, 94, 0.45);
  color: var(--afosi-accent-deep);
}

.gallery-filter-pill.is-active {
  background: var(--afosi-accent-deep);
  color: #ffffff !important;
  border-color: var(--afosi-accent-deep);
  box-shadow: 0 6px 20px rgba(22, 101, 52, 0.25);
}

html.dark-mode .gallery-filter-pill {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

html.dark-mode .gallery-filter-pill:hover {
  border-color: rgba(74, 222, 128, 0.45);
  color: var(--afosi-accent-bright);
}

html.dark-mode .gallery-filter-pill.is-active {
  background: var(--afosi-accent-deep);
  color: #ecfdf5 !important;
  border-color: var(--afosi-accent-bright);
}

.gallery-hero__deco-sun {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7.5rem;
  height: 3.75rem;
  border-radius: 7.5rem 7.5rem 0 0;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.14) 0%, rgba(34, 197, 94, 0.02) 100%);
  pointer-events: none;
}

.gallery-moments {
  background: #fafdfb;
}

html.dark-mode .gallery-moments {
  background: var(--afosi-surface);
  border-color: rgba(148, 163, 184, 0.12) !important;
}

.gallery-moments__kicker-line {
  width: 2rem;
  height: 2px;
  background: var(--afosi-accent-deep);
  border-radius: 2px;
  flex-shrink: 0;
}

html.dark-mode .gallery-moments__kicker-line {
  background: var(--afosi-accent-bright);
}

.gallery-moments__kicker {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--afosi-accent-deep);
}

html.dark-mode .gallery-moments__kicker {
  color: var(--afosi-accent-bright);
}

.gallery-moments__kicker-ring {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(22, 101, 52, 0.35);
  border-radius: 50%;
  flex-shrink: 0;
}

html.dark-mode .gallery-moments__kicker-ring {
  border-color: rgba(74, 222, 128, 0.45);
}

.gallery-moments__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
}

.gallery-moments__title-a {
  display: inline;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-style: italic;
  color: var(--afosi-ink);
  margin-right: 0.35rem;
}

html.dark-mode .gallery-moments__title-a {
  color: #f8fafc;
}

.gallery-moments__title-b {
  display: inline;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-style: italic;
  color: var(--afosi-accent-deep);
  font-weight: 700;
}

html.dark-mode .gallery-moments__title-b {
  color: var(--afosi-accent-bright);
}

/* Scroll reveal (site-wide): scroll-reveal.js toggles .is-visible */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1100;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--afosi-accent-deep), var(--afosi-accent-bright));
  pointer-events: none;
  transition: transform 0.12s ease-out;
}

.reveal-on-scroll {
  --reveal-delay: 0;
  --reveal-distance: 2.25rem;
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0) scale(0.985);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay) * 90ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.reveal-on-scroll.reveal-fade-only {
  transform: scale(0.99);
}

.reveal-on-scroll.reveal-fade-only.is-visible {
  transform: scale(1);
}

.reveal-on-scroll.reveal-from-down {
  transform: translate3d(0, calc(var(--reveal-distance) * -1), 0) scale(0.985);
}

.reveal-on-scroll.reveal-from-left {
  transform: translate3d(calc(var(--reveal-distance) * -1), 0, 0) scale(0.985);
}

.reveal-on-scroll.reveal-from-right {
  transform: translate3d(var(--reveal-distance), 0, 0) scale(0.985);
}

.reveal-on-scroll.reveal-zoom-in {
  transform: translate3d(0, 1.25rem, 0) scale(0.92);
}

.reveal-on-scroll.reveal-from-left.is-visible,
.reveal-on-scroll.reveal-from-right.is-visible,
.reveal-on-scroll.reveal-from-down.is-visible,
.reveal-on-scroll.reveal-zoom-in.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-stagger > .reveal-on-scroll,
.reveal-stagger > *:not(.reveal-on-scroll) {
  /* children animated by JS adding .reveal-on-scroll */
}

.navbar-ngo {
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease,
    backdrop-filter 0.35s ease;
}

.navbar-ngo .navbar-brand-logo {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-ngo.navbar-ngo--scrolled .navbar-brand-logo {
  transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .reveal-on-scroll {
    --reveal-delay: 0 !important;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .navbar-ngo,
  .navbar-ngo .navbar-brand-logo {
    transition: none;
  }
}

/* Skeleton */
.skeleton {
  min-height: 140px;
  border-radius: var(--afosi-radius);
  background: linear-gradient(90deg, var(--afosi-surface-2) 0%, #d1fae5 50%, var(--afosi-surface-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Links accent */
a.text-success,
.fw-semibold.text-success {
  color: var(--afosi-accent-deep) !important;
}

a.text-success:hover {
  color: var(--afosi-accent) !important;
}

.form-control,
.form-select {
  border-radius: var(--afosi-radius-sm);
  border-color: rgba(22, 101, 52, 0.15);
}

.form-control:focus {
  border-color: var(--afosi-accent-deep);
  box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.2);
}

html.dark-mode .navbar-toggler-icon {
  filter: invert(1);
}
