/* ========================================
   DESIGN TOKENS 
======================================== */
/* ─── Global ─── */
html {
  max-width: 100%;
  width: 100%;
  /* Reserve classic scrollbar space so overflow:hidden (menu/modal lock) doesn't reflow */
  scrollbar-gutter: stable;
  --scrollbar-comp: 0px;
}

body {
  max-width: 100%;
  width: 100%;
  position: relative;
}

body.no-scroll {
  overflow: hidden;
  overscroll-behavior: none;
}

html.scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
  /* Keep gutter reservation while locked so content width doesn't jump */
  scrollbar-gutter: stable;
}

/* Fallback when overflow:hidden drops the gutter — padding matches vanished scrollbar */
html.scrollbar-comp {
  padding-right: var(--scrollbar-comp);
  box-sizing: border-box;
}

html.scrollbar-comp body {
  padding-right: var(--scrollbar-comp);
}

html.scroll-locked body {
  box-sizing: border-box;
}

html.scrollbar-comp .navbar {
  padding-right: calc(1.2rem + var(--safe-right, 0px) + var(--scrollbar-comp));
}

html.scrollbar-comp .announcement-bar {
  padding-right: calc(48px + var(--safe-right, 0px) + var(--scrollbar-comp));
}

html.scrollbar-comp .construction-bar {
  padding-right: calc(48px + var(--safe-right, 0px) + var(--scrollbar-comp));
}

@media (max-width: 1024px) {
  html.native-scroll:has(body.menu-open),
  html.scroll-locked {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }
}

body.loading {
  /* Allow natural scrollbar height during loading to prevent thumb jumping */
  overscroll-behavior: none;
}

/* ─── Utilities ───────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100000;
  padding: 10px 18px;
  background: #011409;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 8px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

:root {
  /* Logo Matched Palette */
  --primary-dark: #142416;
  --bg-shadow-dark: #020503; /* signature deep dark green-black */
  /* Deep shadow green */
  --primary-mid: #254228;
  /* Core green */
  --primary-light: #346C2D;
  /* True Forest Green (from inner flame) */
  --primary-sage: #95AD63;
  /* Sage/Olive (from outer wreath) */
  --primary-ivory: #F7E7B6;
  /* Soft cream (from hands and text) */
  --primary-emerald: #0ED181;
  /* Core energetic green */

  --mint-dim: rgba(149, 173, 99, 0.12);
  /* Sage dim */

  --bg-dark: #060806;
  /* Warm deep black */
  --bg-darker: #040504;
  --bg-card: rgba(10, 13, 10, 0.85);
  /* Glassy dark green-grey */

  /* Homepage section planes — opaque, distinct, no bleed stack */
  --home-mission-bg: #030805;
  --home-pillars-bg: #000000;
  --home-impact-bg: #0a140a;

  --text-light: #EEF0E7;
  /* Off-white warm text */
  --text-muted: #9BA39B;
  --text-dim: #596058;

  --announce-height: 36px;
  --construction-height: 0px;
  --header-strip-height: calc(var(--construction-height) + var(--announce-height));
  --nav-height: 100px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Premium Multi-Layer Shadows (Tinted with sage) */
  --shadow-card: 0 4px 15px -1px rgba(0, 0, 0, 0.5), 0 2px 8px -1px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.7), 0 12px 12px -5px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(149, 173, 99, 0.25);

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);

  /* Premium Multi-Layer Easing */
  --ease-luxury: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Page reveal — one coordinated timing across all pages */
  --reveal-duration: 0.72s;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-overlay-duration: 0.68s;
  --reveal-stagger-step: 0.045s;

}

/* ========================================
   RESET & BASE
======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-sage) var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Bengali Typography Optimization ─── */
/* Aggressive fix for 'broken' characters: Force font and disable letter-spacing globally for BN */
.is-bangla *:not(i):not(.fa-solid):not(.fas):not(.fa-brands):not(.fab):not([class*="fa-"]) {
  font-family: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  letter-spacing: normal;
  text-transform: none;
  font-feature-settings: "kern", "liga", "clig", "calt";
}

[lang="bn"],
.is-bangla {
  line-height: 1.5;
  word-spacing: normal;
  font-size: 1.05rem;
}

.is-bangla p {
  line-height: 1.5;
}

.is-bangla h1,
.is-bangla h2,
.is-bangla h3,
.is-bangla h4,
.is-bangla .section-title {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Button Scaling for BN (Capital letters in EN look bigger, so we bump BN size) */
.is-bangla .btn-sage,
.is-bangla .btn-glass,
.is-bangla .btn-ivory,
.is-bangla .btn-outline {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.is-bangla .nav-links a {
  font-size: 1.05rem;
  /* Balanced navbar */
  font-weight: 700;
}

.is-bangla .dropdown-item span:first-child:not(.dropdown-item-icon-wrap):not(.dropdown-item-copy) {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 1.05rem;
  letter-spacing: normal;
  font-weight: 600;
}

.is-bangla .dropdown-item span.dropdown-subtext {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 0.85rem;
  letter-spacing: normal;
}

.is-bangla .nav-dropdown-panel .dropdown-item-copy > span:not(.dropdown-subtext) {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 0.95rem;
  letter-spacing: normal;
  line-height: 1.4;
  font-weight: 600;
}

.is-bangla .nav-dropdown-panel .dropdown-item-copy span.dropdown-subtext {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 0.8rem;
  letter-spacing: normal;
  line-height: 1.45;
}

.is-bangla .hero-stagger-line {
  line-height: 1.15;
  /* Reverting to tight rhythm */
  margin-bottom: 0.4rem;
  display: block;
}

@media (max-width: 600px) {
  .is-bangla .hero-stagger-line {
    line-height: 1.1;
  }
}

.is-bangla .hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  /* Smaller as requested */
  max-width: 1200px;
  line-height: 1.15;
}

.is-bangla .footer-brand p,
.is-bangla .footer-links a,
.is-bangla .footer-contact-item {
  font-size: 1rem;
  line-height: 1.6;
}

.is-bangla .btn-sage,
.is-bangla .btn-glass,
.is-bangla .btn-ivory {
  padding: 0.75rem 1.8rem;
}

.is-bangla .transparency-stats-flex {
  gap: 4rem;
}

.is-bangla .transparency-stats-flex .stat-label {
  letter-spacing: 0.12em;
  max-width: 12rem;
}

.is-bangla .stat-item {
  min-width: 200px;
}




/* Language switch transition */
html.lang-switching body {
  transition: opacity 0.18s ease, filter 0.18s ease;
  opacity: 0.9;
}

html.lang-switching .hero-stagger-line,
html.lang-switching [data-i18n].section-title,
html.lang-switching .navbar,
html.lang-switching .announcement-bar,
html.lang-switching .construction-bar {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

html.lang-switching .hero-stagger-line {
  transform: translateY(4px);
  opacity: 0.55;
}

html:not(.lang-switching) .hero-stagger-line {
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Public ledger records stay English even in BN mode */
.ledger-records-en,
.ledger-records-en .ledger-row td,
.ledger-records-en .ledger-row td span,
.ledger-records-en .transparency-project-badge,
.ledger-records-en .transparency-proof-link {
  font-family: 'Inter', 'Outfit', sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  word-spacing: normal !important;
}

.is-bangla .ledger-records-en,
.is-bangla .ledger-records-en .ledger-row td,
.is-bangla .ledger-records-en .ledger-row td span {
  font-family: 'Inter', 'Outfit', sans-serif !important;
  letter-spacing: normal !important;
}

/* Premium Windows Chrome Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background: var(--bg-dark);
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(149, 173, 99, 0.15);
  border-radius: 100px;
  border: 3px solid var(--bg-dark);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-sage);
}

::selection {
  background: var(--primary-sage);
  color: var(--bg-dark);
}

/* ========================================
   ACCESSIBILITY & FOCUS (For Keyboard Users)
======================================== */
:focus-visible {
  outline: 2px solid var(--primary-sage);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.counter-number {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}



body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: clip;
  padding-top: calc(var(--header-strip-height) + var(--nav-height));
  transition: padding-top 0.35s var(--reveal-ease);
  position: relative;
  /* Windows Chrome Optimizations — scrollbar-gutter lives on html only;
     on body it activates with overflow:hidden (menu lock) and shrinks content */
}

/* ─── Snap Flash Reveal ─── */
.snap-flash::after {
  content: '';
  position: fixed;
  inset: 0;
  background: white;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  animation: snapFlashAnim 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes snapFlashAnim {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 0.1;
  }

  100% {
    opacity: 0;
  }
}

/* ─── Premium Shimmer Animation ─── */
@keyframes shimmer-bg {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0) 100%);
  background-size: 200% 100%;
  animation: shimmer-bg 3s infinite linear;
}

/* ─── Impact Grid ─── */
.impact-grid,
.core-initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.impact-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s var(--ease-luxury);
}

.impact-stat-card:hover {
  background: rgba(149, 173, 99, 0.05);
  border-color: rgba(149, 173, 99, 0.3);
}

.impact-stat-val {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-sage);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ─── Operational Pipeline (Timeline) ─── */
.pipeline-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.pipeline-step {
  display: flex;
  gap: 3rem;
  padding-bottom: 4rem;
  position: relative;
}

.pipeline-step::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-sage), transparent);
  opacity: 0.3;
}

.pipeline-step:last-child::before {
  display: none;
}

.pipeline-node {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--primary-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-sage);
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 20px rgba(149, 173, 99, 0.2);
}

.pipeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.pipeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Google Form Hub (CTA Mode) ─── */
.recruitment-cta-card {
  position: relative;
  border: 1px solid rgba(149, 173, 99, 0.1);
  transition: all 0.5s var(--ease-luxury);
}

.recruitment-cta-card:hover {
  border-color: var(--primary-emerald);
  background: rgba(149, 173, 99, 0.05);
  box-shadow: 0 0 30px rgba(149, 173, 99, 0.15);
}

.dept-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.dept-badge {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.dept-badge.high-priority {
  border-color: rgba(149, 173, 99, 0.3);
  color: var(--primary-emerald);
  background: rgba(149, 173, 99, 0.02);
}

.dept-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 1024px) {
  .pipeline-step {
    gap: 1.5rem;
  }

  .pipeline-node {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .pipeline-step::before {
    left: 15px;
  }
}

/* ─── Premium Ambient Depth ─── */
body::before,
body::after {
  content: '';
  position: fixed;
  width: 60vw;
  height: 60vh;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  animation: blobFloat 25s infinite alternate ease-in-out;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  /* Hardware acceleration */
}

@media (max-width: 1024px) {

  body::before,
  body::after {
    filter: blur(40px);
    opacity: 0.04;
  }
}

body::before {
  top: -10%;
  right: -10%;
  background: radial-gradient(circle, var(--primary-sage), transparent 70%);
}

body::after {
  bottom: -15%;
  left: -10%;
  background: radial-gradient(circle, var(--primary-light), transparent 70%);
  animation-delay: -7s;
}


/* Removed for consolidation */


/* Consolidated to end of file */

@keyframes blobFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(5%, 8%, 0) scale(1.1);
  }

  100% {
    transform: translate3d(-3%, -5%, 0) scale(0.95);
  }
}

/* ─── Elite Ambient Elements ─── */
.elite-ambient-sphere {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(149, 173, 99, 0.04), transparent 70%);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  animation: ambientMove 40s infinite alternate ease-in-out;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.elite-ambient-sphere.secondary {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(149, 173, 99, 0.025), transparent 70%);
  animation: ambientMoveSecondary 60s infinite alternate-reverse ease-in-out;
  animation-delay: -20s;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@keyframes ambientMove {
  0% {
    transform: translate3d(-20%, -20%, 0) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translate3d(10%, 15%, 0) rotate(90deg);
    opacity: 0.9;
  }

  100% {
    transform: translate3d(20%, 20%, 0) rotate(180deg);
    opacity: 0.6;
  }
}

@keyframes ambientMoveSecondary {
  0% {
    transform: translate3d(30%, 30%, 0) rotate(0deg);
    opacity: 0.4;
  }

  50% {
    transform: translate3d(-10%, -5%, 0) rotate(-90deg);
    opacity: 0.8;
  }

  100% {
    transform: translate3d(-30%, -30%, 0) rotate(-180deg);
    opacity: 0.4;
  }
}

/* ─── Pipeline Pulse Ring ─── */
.pipeline-node {
  position: relative;
}

.pipeline-node::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--primary-emerald);
  opacity: 0;
  animation: pulseGlowRing 2s infinite;
}

@keyframes pulseGlowRing {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ─── Glow Trace Border ─── */
.recruitment-cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-emerald), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.recruitment-cta-card:hover::after {
  opacity: 0.6;
  background-position: 200% center;
  animation: traceBorder 3s linear infinite;
}

@keyframes traceBorder {
  from {
    background-position: 200% center;
  }

  to {
    background-position: 0% center;
  }
}

/* Glass Grain / Noise Utility */
.glass-noise {
  position: relative;
}

.glass-noise::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  /* Subtler texture */
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ─── Premium Cinematic Reveal Overlay ─── */
#reveal-overlay {
  position: fixed;
  inset: 0;
  background-color: #030805;
  z-index: 20005;
  opacity: 1;
  pointer-events: none;
  transition: opacity var(--reveal-overlay-duration) var(--reveal-ease);
  will-change: opacity;
}

body.revealed-ui #reveal-overlay {
  opacity: 0;
}

html.fast-reveal #reveal-overlay {
  transition: none !important;
  opacity: 0 !important;
}

/* Consolidated Hero & Page-Header Stagger Logic */
.stagger-text {
  overflow: hidden;
  /* Prevent lines from overlapping content below while translated */
}

.stagger-text .line,
.hero-stagger-line {
  display: block;
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 0.62s var(--reveal-ease),
    opacity 0.52s var(--reveal-ease);
  filter: none;
}

body.revealed-ui .stagger-text .line,
body.revealed-ui .hero-stagger-line {
  transform: translateY(0);
  opacity: 1;
  transition-delay: calc(0.08s + var(--reveal-stagger-step));
}

/* Smooth Hero Scaling */
.hero {}

/* Hero CTA Row — Rise Reveal */
.hero-cta-row {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--reveal-ease), transform 0.55s var(--reveal-ease);
}

body.revealed-ui .hero-cta-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}


/* Hero reveal sync — hero is ALWAYS visible (overlay hole controls visibility) */
/* Page content hidden until preloader done */
body.loading .announcement-bar,
body.loading .construction-bar,
body.loading .navbar {
  visibility: hidden;
  opacity: 1; /* keep glass compositable; hide via visibility only */
}

body.loading .page-header {
  opacity: 0;
}

/* Reveal animation — disabled; page-header uses unified opacity fade */
body.revealed .page-header {
  animation: none;
}

/* Lenis smooth scroll compat */
html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  overscroll-behavior: none;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Native mobile momentum scroll — Lenis disabled on touch viewports */
html.native-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
}

html.native-scroll body {
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
}

html.native-scroll body.no-scroll {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.04em;
}

a {
  color: var(--primary-sage);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--text-light);
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ========================================
   CONSTRUCTION BANNER (Homepage — yellow)
======================================== */
.construction-bar {
  background: #ecf39e;
  color: #132a13;
  text-align: center;
  padding: calc(6px + var(--safe-top)) calc(48px + var(--safe-right)) 6px calc(15px + var(--safe-left));
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 36px;
  height: auto;
  box-sizing: border-box;
  z-index: 10007;
  border-bottom: 1px solid rgba(19, 42, 19, 0.12);
  transition: transform 0.45s var(--reveal-ease), visibility 0s linear;
  opacity: 1;
  visibility: hidden;
  will-change: transform;
  letter-spacing: 0.01em;
}

.construction-bar.construction-dismissing {
  transform: translateY(-100%);
  transition: transform 0.35s var(--reveal-ease);
  pointer-events: none;
}

.construction-bar__content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.construction-bar span {
  flex: 1;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
}

.construction-bar__close.close-btn {
  color: rgba(19, 42, 19, 0.55);
}

.construction-bar__close.close-btn:hover {
  color: #31572c;
}

/* ========================================
   ANNOUNCEMENT BAR (Dark Glass)
======================================== */
.announcement-bar {
  background: #000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--primary-ivory);
  text-align: center;
  padding: calc(6px + var(--safe-top)) calc(48px + var(--safe-right)) 6px calc(15px + var(--safe-left));
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: fixed;
  top: var(--construction-height);
  left: 0;
  width: 100%;
  min-height: 36px;
  height: auto;
  box-sizing: border-box;
  z-index: 10006;
  border-bottom: none;
  transition: transform 0.45s var(--reveal-ease), top 0.35s var(--reveal-ease), background-color 0.3s ease, visibility 0s linear;
  opacity: 1;
  visibility: hidden;
  will-change: transform;
  letter-spacing: 0.02em;
}

.announcement-bar.announce-dismissing {
  transform: translateY(-100%);
  transition: transform 0.35s var(--reveal-ease);
  pointer-events: none;
}

/* Navbar rides up locked to the announcement slide — no mid-stack gap */
.navbar.announce-dismiss-sync {
  transform: translateY(calc(-1 * var(--announce-dismiss-shift, 0px)));
  transition: transform 0.35s var(--reveal-ease) !important;
}

.navbar.announce-dismiss-snap {
  transition: none !important;
}

.announcement-bar__action {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  padding: 4px 0;
  margin: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-align: center;
  transform: none;
  transition: none;
}

.announcement-bar__action:not(:disabled):hover,
.announcement-bar__action:not(:disabled):focus-visible {
  transform: none;
  background: none;
}

.announcement-bar__action:disabled {
  cursor: default;
  opacity: 0.85;
}

.announcement-bar:hover .announcement-bar__action:not(:disabled) span,
.announcement-bar__action:not(:disabled):hover span,
.announcement-bar__action:not(:disabled):focus-visible span {
  color: #ffffff;
}

.announcement-bar span {
  flex: 1;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
}

.announce-badge {
  background: var(--primary-sage);
  color: var(--bg-shadow-dark);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announce-link:hover i.fa-arrow-right-long {
  transform: translateX(4px);
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: calc(0.15rem + var(--safe-right));
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--ease-out);
  line-height: 1;
  padding: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  touch-action: manipulation;
}

#close-announcement.close-btn:hover,
.close-btn:hover {
  color: #90a955;
  background: none;
  box-shadow: none;
}

/* ========================================
   COOKIE CONSENT BANNER — full-bleed bottom bar
======================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  z-index: 15000;
  background: rgba(6, 12, 8, 0.97);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: none;
  border-top: 1px solid rgba(149, 173, 99, 0.22);
  border-radius: 0;
  padding: 0;
  box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.5);
  transform: translate3d(0, 110%, 0);
  opacity: 1;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cookie-banner.active {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.15rem;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.7rem clamp(1rem, 3vw, 2rem) calc(0.7rem + var(--safe-bottom, 0px));
  box-sizing: border-box;
}

.cookie-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1.2;
}

.cookie-title i {
  font-size: 0.9rem;
}

.cookie-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  flex: 1 1 220px;
  min-width: 0;
}

.cookie-link {
  color: var(--primary-sage, #95ad63);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  cursor: pointer;
}

.cookie-link:hover,
.cookie-link:focus-visible {
  color: #b5c98a;
}

.cookie-btn {
  background: var(--primary-sage, #95ad63);
  color: #011409;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  width: auto;
  flex: 0 0 auto;
  text-align: center;
  min-height: 40px;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: #a3bb98;
  transform: translateY(-1px);
}

.cookie-btn:active {
  transform: translateY(0);
}

.is-bangla .cookie-title,
.is-bangla .cookie-desc,
.is-bangla .cookie-btn {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  letter-spacing: normal;
}

.is-bangla .cookie-btn {
  font-size: 0.74rem;
  line-height: 1.25;
  padding: 0.5rem 1rem;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.65rem 1rem calc(0.65rem + var(--safe-bottom, 0px));
  }

  .cookie-title {
    white-space: normal;
    font-size: 0.88rem;
  }

  .cookie-desc {
    flex: 1 1 auto;
    font-size: 0.74rem;
  }

  .cookie-btn {
    width: 100%;
    min-height: 44px;
  }
}

/* ========================================
   NAVBAR — Liquid Glass (Staggered Entrance)
======================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(1.2rem, 4vw, 4rem);
  height: var(--nav-height);
  /* Glass at rest (scrollY≈0) — hero/video must show through; never opaque black */
  background: rgba(3, 8, 5, 0.32);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  /* Shadow only below navbar — avoids a dark band that looks like a gap under announce */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  position: fixed;
  /* 2px overlap kills subpixel hairline gaps between fixed stacks */
  top: max(0px, calc(var(--header-strip-height) - 2px));
  width: 100%;
  z-index: 10005;
  overflow: visible;
  /* Keep opacity at 1 always — animating it makes Chromium paint solid black glass */
  opacity: 1;
  visibility: hidden;
  transition:
    background 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    top 0.35s var(--reveal-ease),
    transform 0.45s var(--reveal-ease),
    visibility 0s linear;
  will-change: auto;
}

body.revealed-ui .navbar,
body.revealed .navbar,
body.revealed-ui .announcement-bar,
body.revealed .announcement-bar,
body.revealed-ui .construction-bar,
body.revealed .construction-bar {
  opacity: 1;
  visibility: visible;
  will-change: auto;
}

body.nav-hidden .navbar {
  transform: translateY(calc(-100% - var(--header-strip-height)));
}

body.nav-hidden .announcement-bar {
  transform: translateY(calc(-100% - var(--construction-height)));
}

body.nav-hidden .construction-bar {
  transform: translateY(-100%);
}

@media (max-width: 1024px) {
  .navbar {
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    /* Match announcement strip so no tone seam shows between the two bars */
    background: rgba(3, 8, 5, 0.36);
  }

  .announcement-bar {
    background: #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navbar Initial Hidden State — Polished (Blur + Tight Slide) */
/* Navbar logo stays stable on load — no blur/slide/scale reveal */
.navbar .nav-links li,
.navbar .nav-btn {
  opacity: 0;
  transform: translateY(-4px);
  filter: none;
  transition:
    opacity 0.48s var(--reveal-ease),
    transform 0.48s var(--reveal-ease);
}

.navbar .logo-container img {
  opacity: 1;
  transform: none;
  filter: drop-shadow(0 0 20px rgba(11, 230, 110, 0.1));
  transition: filter 0.3s ease, transform 0.3s ease;
}

body.revealed-ui .navbar .logo-container img {
  opacity: 1;
  transform: none;
  filter: drop-shadow(0 0 20px rgba(11, 230, 110, 0.1));
  transition-delay: 0s;
}

body.revealed-ui .nav-links li:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.1s + var(--reveal-stagger-step));
}

body.revealed-ui .nav-links li:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.1s + var(--reveal-stagger-step) * 2);
}

body.revealed-ui .nav-links li:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.1s + var(--reveal-stagger-step) * 3);
}

body.revealed-ui .nav-links li:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.1s + var(--reveal-stagger-step) * 4);
}

body.revealed-ui .nav-links li:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.1s + var(--reveal-stagger-step) * 5);
}

body.revealed-ui .nav-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.1s + var(--reveal-stagger-step) * 6);
}

.navbar.scrolled {
  /* Slightly deeper glass after scroll — still translucent, not solid */
  background: rgba(5, 14, 9, 0.68);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: rgba(149, 173, 99, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.logo-container {
  display: flex;
  align-items: center;
  z-index: 10;
}

.logo-container img {
  height: 105px;
  /* Massive Premium Presence */
  max-width: 380px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(11, 230, 110, 0.1));
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.logo-container img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 25px rgba(11, 230, 110, 0.2));
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .logo-container {
  overflow: visible;
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-brand .logo-container img,
.footer-brand .footer-logo-fixed {
  transition: none;
  transform: none;
  margin: 0;
  object-position: center;
}

.footer-brand .logo-container img:hover,
.footer-brand .footer-logo-fixed:hover {
  filter: none;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 1.5rem;
  /* Slightly more breathable */
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  z-index: 1000;
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nav-height);
}

.nav-links a {
  color: rgba(224, 237, 229, 0.75);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14.5px 18px;
  border-radius: 50px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Remove white pill background on hover */
.nav-links a::before {
  display: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--primary-sage);
  box-shadow: none;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 20px;
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 15px); /* Eliminates hover gap by overlapping the li bottom bounds */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  background: rgba(6, 12, 9, 0.95); /* Rich sleek dark glassmorphism */
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(149, 173, 99, 0.15);
  border-radius: 24px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(149, 173, 99, 0.05);
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Make items stretch horizontally */
  gap: 4px;
  z-index: 1000;
}

.dropdown-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left align items */
  text-align: left; /* Left align text */
  padding: 10px 16px;
  border-radius: 16px !important;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
  letter-spacing: normal;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.dropdown-item::after {
  content: none !important;
  display: none !important;
}

.dropdown-item span:first-child {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: color 0.3s ease;
}

.dropdown-item span.dropdown-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 3px;
  transition: color 0.3s ease;
  letter-spacing: normal;
  text-transform: none;
}

/* ========================================================
   DESKTOP ONLY NAVIGATION DROPDOWN EFFECTS & INTERACTIONS
   ======================================================== */
@media (min-width: 1025px) {
  :root {
    --nav-glass-bg: rgba(255, 255, 255, 0.06);
    --nav-glass-border: rgba(255, 255, 255, 0.08);
    --nav-glass-blur: 12px;
  }

  /* Set initial closed states and transition rules with a close delay to prevent diagonal hover loss */
  .dropdown-menu {
    transform: translateX(-50%) translateY(15px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, 
                visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  }

  /* Precise hover bridge covering vertical gap with 100% menu width (no adjacent overlap) */
  .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
  }

  /* Open states instantly on hover */
  .nav-item-dropdown:hover .dropdown-menu,
  .nav-item-dropdown:focus-within .dropdown-menu,
  .nav-item-dropdown.active-click .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: all;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Highlight parent menu item while dropdown is open */
  .nav-item-dropdown:hover > a,
  .nav-item-dropdown:focus-within > a,
  .nav-item-dropdown.active-click > a {
    color: #fff;
  }

  /* Premium interactive hover states for dropdown items */
  .dropdown-item {
    transition: background-color 0.6s ease, 
                color 0.6s ease;
  }

  .dropdown-item span:first-child,
  .dropdown-item span.dropdown-subtext {
    transition: color 0.6s ease;
  }

  .dropdown-item::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 50%;
    background: var(--primary-sage);
    border-radius: 100px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
  }

  .dropdown-item:hover {
    background: #dbe5df; /* Premium silver-sage background */
    color: #060c09;      /* Dark forest green text */
  }

  .dropdown-item:hover::before {
    transform: translateY(-50%) scaleY(1);
  }

  .dropdown-item:hover span:first-child {
    color: #060c09 !important;
  }

  .dropdown-item:hover span.dropdown-subtext {
    color: rgba(6, 12, 9, 0.65) !important;
  }

  /* Per-item menus replaced by shared dropdown on desktop */
  .nav-item-dropdown > .dropdown-menu {
    display: none !important;
  }

  .navbar {
    overflow: visible;
  }

  .nav-links {
    position: absolute;
    isolation: isolate;
    gap: 0.55rem;
  }

  /* Desktop triggers: white title-case + thin caret — site-wide */
  .nav-links > .nav-item-dropdown > a.mobile-accordion-toggle {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.96);
    z-index: 2;
    padding: 10px 12px;
    gap: 0.45rem;
  }

  .nav-links a {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.96);
    z-index: 2;
    padding: 10px 12px;
  }

  /* Hover pill is the sole desktop active indicator — no sage underline */
  .nav-links a::after {
    display: none !important;
    content: none !important;
  }

  /* Mobile FA plus must never leak onto desktop — hide harder than FA defaults */
  .nav-links .plus-icon,
  .nav-links .fa-plus {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* JS-injected .nav-chevron is legacy — CSS ::after is the sole desktop caret */
  .nav-links .nav-chevron {
    display: none !important;
  }

  .nav-links a:hover,
  .nav-item-dropdown:hover > a,
  .nav-item-dropdown.nav-dropdown-active > a {
    color: #fff;
    text-shadow: none;
    filter: none;
    box-shadow: none;
  }

  .nav-links a,
  .nav-links a:focus-visible {
    text-shadow: none;
    filter: none;
  }

  /* Thin ∨ caret via ::after — works even if main.js is late/cached/fails */
  .nav-links > .nav-item-dropdown > a.mobile-accordion-toggle::after {
    content: '' !important;
    display: inline-block !important;
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    width: 0.4em !important;
    height: 0.4em !important;
    margin: 0 0 0 0.1em !important;
    padding: 0 !important;
    flex-shrink: 0;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    border-right: 1.5px solid rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.88) !important;
    font-size: inherit;
    line-height: 0;
    opacity: 0.72;
    transform: translateY(-0.12em) rotate(45deg);
    transform-origin: center;
    transition:
      transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1),
      opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.28s ease;
  }

  .nav-item-dropdown:hover > a.mobile-accordion-toggle::after,
  .nav-item-dropdown.nav-dropdown-active > a.mobile-accordion-toggle::after {
    opacity: 0.95;
    border-color: rgba(255, 255, 255, 0.95) !important;
  }

  .nav-item-dropdown.nav-dropdown-active > a.mobile-accordion-toggle::after {
    transform: translateY(0.08em) rotate(225deg);
  }

  .nav-hover-pill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-radius: 13px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 1px 2px rgba(0, 0, 0, 0.06);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    will-change: left, top, width, height, opacity;
    transition:
      left 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-hover-pill.is-visible {
    opacity: 1;
  }

  .nav-shared-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10006;
    will-change: opacity, transform, left, top;
    transform: translate(-50%, -6px) scale(0.985);
    transform-origin: top center;
    /* Fade-out: opacity/visibility/transform (no delay). Fade-in overrides below. */
    transition:
      opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      left 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      top 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-shared-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
    transition:
      opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
      left 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      top 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Invisible bridge — prevents mouseleave gap between trigger and panel */
  .nav-shared-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 12px;
    background: transparent;
    pointer-events: auto;
  }

  .nav-shared-dropdown-inner {
    position: relative;
    width: max-content;
    min-width: 268px;
    max-width: min(560px, calc(100vw - 32px));
    /* Match site footer */
    background: #0a140a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 18px;
    padding: 8px;
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.2),
      0 16px 40px rgba(0, 0, 0, 0.45);
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-shared-dropdown-inner::before {
    display: none;
  }

  .nav-dropdown-panels {
    position: relative;
    overflow: hidden;
    padding-bottom: 2px;
    transition: height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-panel {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity, transform;
    transform: translateY(5px);
    transition:
      opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.24s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-panel.nav-dropdown-panel--cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 6px;
  }

  .nav-dropdown-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-dropdown-panel.is-entering {
    position: relative;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transform: translateY(4px);
  }

  .nav-dropdown-panel.is-entering.from-next {
    transform: translateX(6px);
  }

  .nav-dropdown-panel.is-entering.from-prev {
    transform: translateX(-6px);
  }

  .nav-dropdown-panel.is-leaving {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: translateY(0);
    transition:
      opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-panel.is-leaving:not(.active) {
    opacity: 0;
    transform: translateY(-3px);
  }

  .nav-dropdown-panel .dropdown-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    padding: 10px 13px;
    border-radius: 13px !important;
    font-weight: 500;
    white-space: normal;
    text-transform: none;
    background: transparent;
    transition:
      background-color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-panel .dropdown-item::before {
    display: none;
  }

  .nav-dropdown-panel .dropdown-item + .dropdown-item {
    box-shadow: none;
  }

  .nav-dropdown-panel.nav-dropdown-panel--cols-2 .dropdown-item:nth-child(n + 3) {
    box-shadow: none;
  }

  .nav-dropdown-panel .dropdown-item-icon-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-top: 1px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transition:
      background-color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-panel .dropdown-item-icon-wrap i {
    font-size: 0.78rem;
    line-height: 1;
    color: rgba(196, 210, 182, 0.78);
    transition: color 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-panel .dropdown-item-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-transform: none;
  }

  .nav-dropdown-panel .dropdown-item-copy > span:not(.dropdown-subtext) {
    display: block;
    width: 100%;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8625rem;
    font-weight: 600;
    letter-spacing: 0.004em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.93);
    line-height: 1.32;
    transition: color 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-panel .dropdown-item-copy span.dropdown-subtext {
    display: block;
    width: 100%;
    position: static;
    clip: auto;
    overflow: visible;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.725rem;
    font-weight: 400;
    line-height: 1.48;
    letter-spacing: 0.004em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.58);
    white-space: normal;
    transition: color 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-panel .dropdown-item:hover,
  .nav-dropdown-panel .dropdown-item:focus-visible {
    background: rgba(149, 173, 99, 0.16);
    box-shadow: inset 0 0 0 1px rgba(149, 173, 99, 0.22);
  }

  .nav-dropdown-panel .dropdown-item:hover .dropdown-item-icon-wrap,
  .nav-dropdown-panel .dropdown-item:focus-visible .dropdown-item-icon-wrap {
    background: var(--primary-sage);
    border-color: rgba(149, 173, 99, 0.55);
    box-shadow: none;
    filter: none;
  }

  .nav-dropdown-panel .dropdown-item:hover .dropdown-item-icon-wrap i,
  .nav-dropdown-panel .dropdown-item:focus-visible .dropdown-item-icon-wrap i {
    color: #050e09;
    filter: none;
    text-shadow: none;
  }

  .nav-dropdown-panel .dropdown-item:hover .dropdown-item-copy > span:not(.dropdown-subtext),
  .nav-dropdown-panel .dropdown-item:focus-visible .dropdown-item-copy > span:not(.dropdown-subtext) {
    color: #fff !important;
  }

  .nav-dropdown-panel .dropdown-item:hover .dropdown-item-copy span.dropdown-subtext,
  .nav-dropdown-panel .dropdown-item:focus-visible .dropdown-item-copy span.dropdown-subtext {
    color: rgba(232, 238, 220, 0.88) !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-hover-pill,
    .nav-shared-dropdown,
    .nav-shared-dropdown-inner,
    .nav-dropdown-panels,
    .nav-dropdown-panel,
    .nav-dropdown-panel .dropdown-item,
    .nav-dropdown-panel .dropdown-item-icon-wrap,
    .nav-links > .nav-item-dropdown > a.mobile-accordion-toggle::after {
      transition: none !important;
    }

    .nav-shared-dropdown {
      transform: translateX(-50%);
    }

    .nav-shared-dropdown.is-open {
      transform: translateX(-50%);
    }

    .nav-dropdown-panel,
    .nav-dropdown-panel.is-entering,
    .nav-dropdown-panel.is-leaving {
      transform: none !important;
    }
  }
}

@media (max-width: 1024px) {
  .nav-hover-pill,
  .nav-shared-dropdown {
    display: none !important;
  }
}

.nav-right-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex: 1;
  z-index: 10;
}

/* Language Switcher — desktop globe + EN/BN dropdown */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.lang-globe-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-globe-btn i {
  font-size: 0.95rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.lang-globe-btn:hover,
.lang-globe-btn:focus-visible,
.lang-switcher.is-open .lang-globe-btn {
  background: rgba(149, 173, 99, 0.14);
  border-color: rgba(149, 173, 99, 0.35);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(149, 173, 99, 0.12);
}

.lang-globe-btn:hover i,
.lang-globe-btn:focus-visible i,
.lang-switcher.is-open .lang-globe-btn i {
  color: var(--primary-sage);
}

.lang-globe-btn:active {
  transform: scale(0.94);
}

.lang-globe-btn:focus-visible {
  outline: 2px solid var(--primary-sage);
  outline-offset: 3px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10020;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 128px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s;
}

.lang-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 10, 0.94);
  transform: rotate(45deg);
}

/* Invisible hover bridge — keeps :hover / mouseenter while moving to the menu */
.lang-menu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.lang-switcher.is-open .lang-menu,
.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-menu-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.7rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-menu-option:hover,
.lang-menu-option:focus-visible {
  background: rgba(149, 173, 99, 0.14);
  color: #fff;
  outline: none;
}

.lang-menu-option[aria-selected="true"] {
  color: var(--primary-sage);
  background: rgba(149, 173, 99, 0.12);
}

.lang-menu-option[aria-selected="true"]::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-sage);
  flex-shrink: 0;
}

/* Legacy tooltip — hidden if any markup still has it */
.lang-globe-tooltip {
  display: none !important;
}

/* Legacy EN/BN buttons — kept inert if any page still has them */
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 100px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 0.05em;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: var(--primary-sage);
  color: #050e09;
  text-shadow: none;
  box-shadow: 0 4px 12px rgba(149, 173, 99, 0.25);
}

.lang-sep {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .lang-globe-btn,
  .lang-globe-btn i,
  .lang-menu,
  .lang-menu-option {
    transition: none;
  }
}

.desktop-only {
  /* Let elements keep their natural display on desktop */
}

.mobile-only {
  display: none;
}

.nav-links .plus-icon {
  display: none !important;
}

.nav-links-container {
  display: contents;
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }

  .navbar .nav-btn.desktop-only {
    display: inline-flex !important;
  }

  .mobile-only {
    display: flex;
  }

  .nav-chevron {
    display: none;
  }

  body.menu-open .navbar,
  body.menu-open .announcement-bar,
  body.menu-open .construction-bar {
    transform: none !important;
    /* Kill top/transform transitions so drawer can sit flush immediately */
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  /* Menu open: solid header stack so no see-through “gap” above the drawer */
  body.menu-open .navbar {
    background: rgba(8, 10, 8, 0.98) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  body.menu-open .announcement-bar {
    background: #000 !important;
  }

  body.menu-open .construction-bar {
    background: #ecf39e !important;
  }

  .nav-links-container {
    /* Mobile drawer — slides in from right, flush under navbar (1px overlap kills border/subpixel seam) */
    position: fixed;
    /* Fallback matches JS: announce + nav − 2px stack overlap */
    top: calc(var(--header-bottom, calc(var(--header-strip-height) + var(--nav-height) - 2px)) - 1px);
    right: 0;
    left: auto;
    width: min(100%, 380px);
    max-width: 100%;
    height: calc(100dvh - var(--header-bottom, calc(var(--header-strip-height) + var(--nav-height) - 2px)) + 1px);
    padding-bottom: var(--safe-bottom);
    transform: translateX(100%);
    visibility: hidden;
    z-index: 10004;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    background: rgba(8, 10, 8, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
    transition:
      transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0.55s,
      top 0s;
    overflow: hidden;
  }

  .nav-links-container.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-backdrop {
    position: fixed;
    top: calc(var(--header-bottom, calc(var(--header-strip-height) + var(--nav-height) - 2px)) - 1px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10003;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.45s ease,
      visibility 0.45s ease;
  }

  body.menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Reset Nav Links for Mobile */
  .nav-links {
    position: static;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    visibility: visible;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    width: 4px;
  }

  .nav-links::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
  }

  .nav-links li {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: none;
    transition: opacity 0.35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links-container.active .nav-links li {
    opacity: 1;
    transform: none;
  }

  .nav-links-container.active .nav-links li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links-container.active .nav-links li:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-links-container.active .nav-links li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-links-container.active .nav-links li:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-links-container.active .nav-links li:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-links-container.active .nav-links li:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav-links-container.active .nav-links li:nth-child(7) {
    transition-delay: 0.4s;
  }

  .nav-links-container.active .nav-links li:nth-child(8) {
    transition-delay: 0.45s;
  }

  .nav-links a {
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-align: left;
    width: 100%;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s ease, background-color 0.3s ease;
    line-height: 1.4;
    border-radius: 0;
  }

  .nav-links a.active {
    color: var(--primary-sage) !important;
    background: transparent !important;
  }

  .nav-links a:active {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-links a.mobile-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    min-height: 48px;
  }

  .nav-links a.mobile-accordion-toggle > span:first-of-type {
    flex: 1 1 auto;
    min-width: 0;
  }

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

  .nav-links .plus-icon {
    position: relative;
    font-size: 0.7rem;
    color: var(--primary-sage);
    opacity: 0.8;
    background: rgba(149, 173, 99, 0.05);
    width: 28px;
    height: 28px;
    min-width: 28px;
    max-width: 28px;
    min-height: 28px;
    max-height: 28px;
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border-radius: 50%;
    border: 1px solid rgba(149, 173, 99, 0.1);
    flex-shrink: 0;
    transform: none;
    contain: layout size style;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  }

  .nav-links .plus-icon::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 1em;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: center center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .nav-item-dropdown.mobile-open .plus-icon {
    transform: none;
    color: #000;
    background: var(--primary-sage);
    border-color: var(--primary-sage);
    opacity: 1;
  }

  .nav-item-dropdown.mobile-open .plus-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  /* Kill the desktop hover bridge on mobile to prevent 140% width horizontal overflow */
  .nav-item-dropdown .dropdown-menu::before {
    display: none;
  }

  .dropdown-item {
    align-items: flex-start;
    text-align: left;
    padding: 15px 45px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .dropdown-item span:first-child {
    font-size: 0.85rem;
  }
}

.mobile-menu-actions,
.mobile-menu-footer {
  display: none;
}

@media (max-width: 1024px) {

  .mobile-menu-actions,
  .mobile-menu-footer {
    display: flex;
  }
}

/* ========================================
   PREMIUM BUTTON SYSTEM (Sage, Glass, Ivory)
   ======================================== */
.nav-btn,
.btn-sage,
.btn-glass,
.btn-ivory,
.btn-tactical {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 42px; /* Fixed height for absolute consistency across tags (a, button) and devices */
  padding: 0 1.5rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1.5px solid transparent; /* Defined border width for box-sizing consistency */
  white-space: nowrap;
  line-height: 1; /* Reset line-height to center font exactly */
}

/* 1. Sage Button (Foundation Core) */
.btn-sage,
.nav-btn {
  background: var(--primary-sage);
  color: var(--bg-shadow-dark);
  border-color: var(--primary-sage);
  box-shadow: 0 4px 15px rgba(149, 173, 99, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-sage::before,
.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.btn-sage:hover::before,
.nav-btn:hover::before {
  width: 100%;
}

.btn-sage:hover,
.nav-btn:hover {
  background: var(--primary-sage);
  border-color: #fff;
  box-shadow: 0 12px 30px rgba(149, 173, 99, 0.3);
}

/* 2. Glass Button (Ethereal / Sub-CTA) */
.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22); /* Make border visible on dark backgrounds */
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: #fff;
  color: var(--bg-shadow-dark);
  border-color: #fff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* 3. Ivory Button (High Contrast Highlight) */
.btn-ivory {
  background: var(--primary-ivory);
  color: var(--bg-shadow-dark);
  border-color: var(--primary-ivory);
}

.btn-ivory:hover {
  background: #fff;
  box-shadow: 0 12px 30px rgba(255, 255, 240, 0.2);
}

/* 4. Tactical Button (Dark / Professional) */
.btn-tactical {
  background: transparent;
  color: #fff;
  border-color: rgba(149, 173, 99, 0.45);
}

.btn-tactical:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* Click Physics (Tactile Response) */
.btn-sage:active,
.btn-glass:active,
.btn-ivory:active,
.btn-tactical:active,
.nav-btn:active {
  transform: scale(0.96);
  transition: all 0.1s ease;
}



.btn-sage:hover,
.nav-btn:hover,
.btn-primary:hover,
.op-btn:hover,
.portal-cta:hover,
.save-btn:hover,
.dispatch-btn:hover,
.btn:hover,
.amount-tip:hover,
.btn-primary-light:hover,
.btn-outline:hover,
.btn-audit:hover {
  color: #000;
  box-shadow: 0 10px 30px rgba(149, 173, 99, 0.2);
}

.announce-badge {
  background: var(--primary-sage);
  color: #000;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  white-space: nowrap;
}


@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .menu-toggle:hover {
    background: rgba(149, 173, 99, 0.1);
    border-color: var(--primary-sage);
  }

  /* Hamburger Icon Styles */
  .hamburger {
    position: relative;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
  }

  .hamburger::before {
    transform: translateY(-6px);
  }

  .hamburger::after {
    transform: translateY(6px);
  }

  /* Hamburger Animation when Active */
  .menu-toggle.active .hamburger {
    background: transparent;
  }

  .menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

.menu-toggle {
  display: none;
}

/* ========================================
   HERO (Homepage)
======================================== */
/* --- PREMIUM HERO ANIMATIONS --- */
@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.04) translate(-0.5%, -0.5%);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

.hero img.hero-video,
.hero img {
  animation: kenBurns 30s ease-in-out infinite alternate;
}

.hero img.hero-video {
  visibility: visible;
  pointer-events: none;
}

.hero video.hero-video {
  animation: none;
}

/* Character Staggered Reveal classes */
.char-reveal {
  display: block;
  vertical-align: top;
}

.char-reveal .word {
  display: inline-block;
  white-space: nowrap;
  hyphens: none;
  word-break: keep-all;
  overflow: hidden;
  /* Prevent characters from overlapping content below while translated */
  vertical-align: top;
}

.char-reveal .char {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.char-reveal.revealed .char {
  transform: translateY(0);
}

/* Shimmer Progress Bar */
@keyframes shimmer-bar {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.progress-bar-inner {
  position: relative;
  overflow: hidden;
}

.progress-bar-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer-bar 2s infinite linear;
}

/* Button Pulse Glow */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(149, 173, 99, 0.15);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(149, 173, 99, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(149, 173, 99, 0);
  }
}

.nav-btn:hover,
.btn-primary:hover {
  animation: pulseGlow 1.5s infinite;
}

/* Smooth page load — opacity fade only (no blur/scale for GPU-friendly reveal) */
.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-color: var(--bg-shadow-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-top: calc(-1 * (var(--header-strip-height) + var(--nav-height)));
  padding: 0 0 10dvh;
  transform: none;
  filter: none;
  opacity: 0;
  transition: opacity var(--reveal-duration) var(--reveal-ease);
  will-change: opacity;
}

body.revealed-ui .hero {
  opacity: 1;
  will-change: auto;
}

/* Cinematic Vignette Overlay for Hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #010402 0%, transparent 35%), radial-gradient(ellipse at center, transparent 30%, #010402 100%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--primary-sage);
  opacity: 0.12;
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}

/* Add a subtle grain to the hero for extra texture */
.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Consolidated page-header into specific pages if needed, otherwise matches hero vibe */
.page-header {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 60dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: calc(-1 * (var(--header-strip-height) + var(--nav-height)));
  background-color: var(--primary-dark);
  transform: none;
  filter: none;
  opacity: 0;
  transition: opacity var(--reveal-duration) var(--reveal-ease);
  will-change: opacity;
}

body.revealed-ui .page-header {
  opacity: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.5s;
}

.hero-video.video-loaded {
  visibility: visible;
  opacity: 0.88;
  pointer-events: auto;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
  will-change: auto;
}

/* Homepage hero — fixed viewport height so media load never shifts the bottom edge.
   vh fallback first for old browsers, svh keeps the bottom edge at the small
   (URL-bar visible) viewport so the impact ticker sits right below the fold. */
.page-home .hero {
  height: 100vh;
  min-height: 100vh;
  height: 100svh;
  min-height: 100svh;
}

/* Homepage hero — box always equals hero (100svh), object-fit does the centered crop.
   Immune to intrinsic-size/metadata timing (old translate + min-width/min-height auto
   technique laid the 1920x1080 video out at intrinsic size on small phones = zoomed). */
.page-home .hero-poster,
.page-home video.hero-video {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  transform: none;
  object-fit: cover;
  object-position: center center;
}

.page-home .hero-poster {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.4s;
}

body.revealed-ui .page-home .hero-poster {
  opacity: 0.88;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.page-home .hero-poster.poster-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.5s;
}

.page-home video.hero-video {
  z-index: 1;
}

/* Cursor placeholders removed for consolidation */


.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

/* Hero container alignment synced with Navbar margins */
.hero .container {
  width: 100%;
  padding-left: clamp(1.2rem, 4vw, 4rem);
  padding-right: clamp(1.2rem, 4vw, 4rem);
  margin-left: 0;
  /* Forced left pin */
  margin-right: auto;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  /* Super tight premium line-height */
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 2.22rem;
  text-align: left;
  /* Strict left alignment */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 50px rgba(149, 173, 99, 0.25);
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #060c08;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.btn-primary-light:hover {
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #000;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--bg-shadow-dark);
  border-color: #fff;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}


/* ========================================
   PAGE HEADER (subpages)
======================================== */
.page-header {
  padding: calc(var(--header-strip-height) + var(--nav-height) + 5rem) 0 5.5rem;
  text-align: center;
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 85% 15%, rgba(149, 173, 99, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 15% 85%, rgba(149, 173, 99, 0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 10;
}

/* ========================================
   SECTIONS
======================================== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.section-subtitle {
  display: block;
  color: var(--primary-sage);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

/* ========================================
   CARDS
======================================== */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}


.card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card:hover {
  border-color: rgba(149, 173, 99, 0.4);
}

/* ─── Tactical Command Matrix (Finalized Aesthetic) ─── */
.impact-matrix-section {
  position: relative;
  background-color: #010402;
  padding: 10rem 0;
  overflow: hidden;
}

.tactical-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(149, 173, 99, 0.05) 1.5px, transparent 0);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.tactical-header {
  margin-bottom: 4rem;
  position: relative;
}

.sys-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-sage);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-sage);
}

.status-dot.pulse {
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
}

.status-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2em;
}

.tactical-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.tactical-line {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-sage), transparent);
}

.tactical-node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.tactical-node {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2.2rem;
  transition: all 0.6s var(--ease-luxury);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tactical-node:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 30px var(--glow-color, rgba(149, 173, 99, 0.1));
}

/* Corner Brackets */
.t-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: all 0.5s ease;
  opacity: 0.6;
}

.t-corner.tl {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.t-corner.tr {
  top: -1px;
  right: -1px;
  border-left: 0;
  border-bottom: 0;
}

.t-corner.bl {
  bottom: -1px;
  left: -1px;
  border-right: 0;
  border-top: 0;
}

.t-corner.br {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.tactical-node:hover .t-corner {
  width: 20px;
  height: 20px;
  border-color: var(--glow-color, var(--primary-sage));
  opacity: 1;
}

.node-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.n-icon {
  font-size: 2rem;
  color: var(--glow-color, var(--primary-sage));
  transition: transform 0.6s ease;
}

.tactical-node:hover .n-icon {
  transform: scale(1.2) rotate(-5deg);
}

.n-coord {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
}

.n-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.n-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
  transition: color 0.4s ease;
}

.tactical-node:hover .n-desc {
  color: rgba(255, 255, 255, 0.7);
}

.n-footer {
  margin-top: auto;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
}

/* Glow Variants */
.tactical-node[data-glow="sage"] {
  --glow-color: var(--primary-sage);
}

.tactical-node[data-glow="emerald"] {
  --glow-color: var(--primary-emerald);
}

.tactical-node[data-glow="ivory"] {
  --glow-color: var(--primary-ivory);
}

.tactical-node[data-glow="gold"] {
  --glow-color: #ffd700;
}

.text-sage {
  color: var(--primary-sage);
}

.text-emerald {
  color: var(--primary-emerald);
}

.text-ivory {
  color: var(--primary-ivory);
}

.text-gold {
  color: #ffd700;
}

/* Tactical Unit Cards */
.tactical-unit-card {
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
}

.tactical-unit-card:hover {
  border-color: rgba(149, 173, 99, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.tactical-unit-card:hover img {
  transform: scale(1.08);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .tactical-node-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tactical-node-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .tactical-node {
    padding: 2rem 1.5rem;
  }

  .n-title {
    font-size: 1.1rem;
  }

  .n-desc {
    font-size: 0.85rem;
  }
}

.card>*,
.event-row>* {
  position: relative;
  z-index: 2;
}

.card-img-wrapper {
  height: 200px;
  overflow: hidden;
}

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

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Icon cards (Goals & Impact) */
.icon-card {
  padding: 2.5rem 2rem;
}

.icon-card .card-icon {
  font-size: 2rem;
  color: var(--primary-sage);
  margin-bottom: 1.25rem;
  display: block;
}

/* ========================================
   BUTTONS
======================================== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border: 1.5px solid var(--primary-sage);
  color: var(--primary-sage);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  background: var(--primary-sage);
  color: #fff;
  box-shadow: 0 10px 20px rgba(149, 173, 99, 0.2);
}

/* --- NEW: Professional Glass Outline Button --- */
.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: all 0.4s var(--ease-out);
  text-decoration: none;
}

.btn-outline-glass:hover {
  background: #fff;
  color: var(--bg-shadow-dark);
  border-color: #fff;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
}

/* ========================================
   STATS / COUNTERS
======================================== */
.counter-box {
  text-align: center;
}

.counter-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--primary-sage);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.counter-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ========================================
   EVENT ROW CARDS (Events page)
======================================== */
.event-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.event-row:hover {
  box-shadow: 0 8px 24px rgba(149, 173, 99, 0.15);
  border-color: rgba(149, 173, 99, 0.3);
}

.event-date-block {
  flex: 0 0 160px;
  padding: 2rem 1.5rem;
  background: color-mix(in srgb, var(--primary-sage) 8%, var(--bg-darker));
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.event-date-block .date-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-sage);
  line-height: 1;
}

.event-date-block .date-year {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.event-body {
  padding: 2rem;
  flex: 1;
  min-width: 0;
}

.event-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.event-body .event-loc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.event-body .event-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.event-action {
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
}

/* ========================================
   DEPARTMENT / RULES LIST
======================================== */
.dept-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.5rem 0;
}

.dept-row:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dept-label {
  flex: 1;
  min-width: 220px;
}

.dept-label h4 {
  color: var(--primary-sage);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.dept-body {
  flex: 2;
  min-width: 280px;
}

.dept-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.dept-body strong {
  color: var(--text-light);
  display: block;
  margin-bottom: 0.4rem;
}

/* ========================================
   FORMS
======================================== */
.form-input {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-input:focus {
  border-color: var(--primary-sage);
  background: rgba(149, 173, 99, 0.04);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Donate / Volunteer grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.action-card {
  background: var(--bg-card);
  border: 1px solid rgba(149, 173, 99, 0.15);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
}

.action-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.action-card .form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ========================================
   LIGHT SECTIONS
======================================== */
.section-light {
  background-color: #F6FAF8;
  color: var(--bg-dark);
}

.section-light .section-subtitle {
  color: #085437;
}

.section-light .section-title {
  color: #06110b;
}

.section-light p {
  color: var(--text-dim);
}

.section-light .card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.section-light .card-title,
.section-light h3,
.section-light h4 {
  color: #06110b;
}

.section-light .card-text {
  color: var(--text-dim);
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: #0a140a;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem 1.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #b4bcb4;
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
  margin-top: 0.75rem;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
  width: fit-content;
}

.footer-grid > div:last-child .footer-heading {
  margin-bottom: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

a.social-icon[href="#"] {
  display: none;
}

.social-icon:hover {
  background: var(--primary-sage);
  color: var(--bg-shadow-dark);
  border-color: var(--primary-sage);
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.2rem;
}

.footer-links a {
  color: #b4bcb4;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.footer-links a:hover {
  color: var(--primary-sage);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #b4bcb4;
  font-size: 0.9rem;
  margin-bottom: 0;
  min-height: 44px;
}

.footer-contact-item i {
  color: var(--primary-sage);
  width: 16px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #b4bcb4;
}

.footer-contact-item a:hover {
  color: var(--primary-sage);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #b4bcb4;
  font-size: 0.83rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #b4bcb4;
  font-size: 0.83rem;
}

.footer-bottom-links a:hover {
  color: var(--text-light);
}

/* ========================================
   SCROLL-IN ANIMATIONS (set by JS)
======================================== */
/* initial state is set via JS */

/* ========================================
   SUBTLE GRAIN OVERLAY (premium texture)
======================================== */
html::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.015;
  /* Even more subtle for premium look */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 150px;
  /* animation: noise-shift 8s steps(10) infinite; */
}

@keyframes noise-shift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-1%, -1%);
  }

  20% {
    transform: translate(1%, 1%);
  }

  30% {
    transform: translate(-2%, 0%);
  }

  40% {
    transform: translate(0%, 2%);
  }

  50% {
    transform: translate(-1%, -2%);
  }

  60% {
    transform: translate(2%, 1%);
  }

  70% {
    transform: translate(1%, -1%);
  }

  80% {
    transform: translate(-2%, 2%);
  }

  90% {
    transform: translate(0%, -1%);
  }
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    letter-spacing: -0.02em;
  }

  .event-date-block {
    flex: 0 0 120px;
  }
}

@media (max-width: 1024px) {
  :root {
    --nav-height: 82px;
  }

  .navbar {
    padding: 0 1rem;
    min-height: var(--nav-height);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .navbar .logo-container {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    display: flex;
    align-items: center;
  }

  .navbar .logo-container img,
  .navbar .logo-container .logo {
    height: clamp(56px, 15vw, 72px);
    max-width: min(42vw, 200px);
    width: auto;
    filter: drop-shadow(0 0 12px rgba(149, 173, 99, 0.14));
    opacity: 1;
    transform: none;
  }

  .nav-right-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .lang-switcher.desktop-only {
    display: none !important;
  }

  .navbar .nav-btn.desktop-only {
    display: inline-flex !important;
    height: 44px;
    min-height: 44px;
    padding: 0 0.95rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    flex-shrink: 0;
  }

  .is-bangla .navbar .nav-btn.desktop-only {
    font-size: 0.72rem;
    padding: 0 0.8rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
  }

  .menu-toggle:hover,
  .menu-toggle:active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    transform: scale(0.96);
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--primary-sage);
    outline-offset: 2px;
    background: rgba(149, 173, 99, 0.1);
  }

  .menu-toggle.active {
    background: rgba(149, 173, 99, 0.12);
    border-color: rgba(149, 173, 99, 0.22);
  }

  .hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease-in-out;
  }

  .hamburger::before {
    top: -5px;
  }

  .hamburger::after {
    top: 5px;
    width: 16px;
  }

  .menu-toggle.active .hamburger::after {
    width: 24px;
  }

  .nav-mobile-only {
    display: block;
  }

  /* nav-links-container handled in early @media block above */

  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    background: #111411;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: auto;
    width: 100%;
    position: relative;
    z-index: 1000;
    flex-shrink: 0;
    padding: 0.85rem 1.1rem 1rem;
    gap: 0.65rem;
  }

  .mobile-action-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    color: #fff;
    width: 100%;
  }

  .lang-selector-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
  }

  .lang-mobile-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0 0.15rem;
  }

  .lang-mobile-head i {
    color: var(--primary-sage);
    font-size: 0.9rem;
  }

  .lang-mobile-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
  }

  .lang-mobile-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    font-family: 'Outfit', sans-serif;
    font-size: 0.84rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
      background 0.25s ease,
      color 0.25s ease,
      box-shadow 0.25s ease;
  }

  .lang-mobile-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
  }

  .lang-mobile-pill.active,
  .lang-mobile-pill[aria-pressed="true"] {
    background: var(--primary-sage);
    color: #050e09;
    box-shadow: 0 4px 14px rgba(149, 173, 99, 0.28);
  }

  .lang-mobile-pill:focus-visible {
    outline: 2px solid var(--primary-sage);
    outline-offset: 2px;
  }

  /* Legacy mobile dropdown (if any page still has it) */
  .lang-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    width: 100%;
    cursor: pointer;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
  }

  .lang-dropdown-mobile {
    display: none;
  }



  /* === MOBILE ACCORDION DROPDOWN === */
  .nav-item-dropdown .dropdown-menu {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .nav-item-dropdown.mobile-open .dropdown-menu {
    max-height: min(400px, 60dvh);
    opacity: 1;
    visibility: visible;
    padding: 0;
    pointer-events: auto;
  }

  .dropdown-item {
    padding: 0.65rem 2rem;
    padding: 8px 20px;
    text-align: left;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }

  .dropdown-item span:first-child {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
  }



  .dropdown-item span.dropdown-subtext {
    font-size: 0.72rem;
    margin-top: 1px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
  }

  .mobile-menu-footer {
    position: relative;
    width: 100%;
    padding: 1.2rem 1.5rem calc(1.2rem + var(--safe-bottom));
    background: #080a08;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 100;
    flex-shrink: 0;
  }

  .share-label {
    color: var(--primary-sage);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 0;
  }

  .mobile-social-row {
    display: flex;
    gap: 0.8rem;
  }

  .mobile-social-row .social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.1rem;
    color: #fff;
    transition: all 0.3s ease;
  }

  .mobile-social-row .social-icon:active {
    background: var(--primary-sage);
    color: #000;
    border-color: var(--primary-sage);
  }

  /* Hide desktop dropdown subtext on mobile */

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

  .event-action {
    padding: 1.5rem;
    width: 100%;
  }

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

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

  .tactical-node-grid {
    grid-template-columns: 1fr;
  }

  .dept-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .pipeline-row {
    grid-template-columns: 1fr;
  }

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

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3rem 0;
  }

  /* Reduce huge section paddings on mobile & tablet */
  .hero {
    padding-top: 0;
    padding-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    min-height: 100svh;
  }

  .hero .container {
    margin-bottom: 0;
    margin-left: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    word-break: break-word;
    /* Allow breaking on small screens */
  }

  .is-bangla .hero h1 {
    line-height: 1.3;
  }

  .char-reveal .word {
    white-space: normal;
    word-break: break-word;
  }

  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-cta-row .btn-sage,
  .hero-cta-row .btn-glass,
  .hero-cta-row .btn-ivory {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
  }

  .hero-cta-row .btn-glass {
    border-color: rgba(255, 255, 255, 0.2);
  }

.btn-primary-light,
.btn-ghost-light {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
}

.dept-row {
  gap: 1rem;
  padding: 1.5rem;
}

.event-row {
  flex-direction: column;
}

.event-date-block {
  flex: auto;
  padding: 1.5rem;
  border-right: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.action-card {
  padding: 2rem 1.5rem;
}

.recruitment-block {
  padding: 2.5rem 1.5rem;
}

.impact-gradient-box {
  padding: 4rem 0;
}

.footer {
  padding: 2rem 0 1.5rem;
}


.footer-contact-item {
  align-items: flex-start;
  word-break: break-word;
}

.footer-contact-item a {
  word-break: break-word;
}

.footer-contact-item i {
  margin-top: 4px;
}

.footer-brand p {
  margin: 1rem 0 0;
}

.social-row,
.footer-contact-item {
  justify-content: flex-start;
}

.footer-bottom {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-bottom-links {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-logo-fixed {
  height: 60px;
}
}

/* ========================================
   PREMIUM FOOTER RESPONSIVE SYSTEM
======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1.25rem;
  }

  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 0.75rem;
    margin-bottom: 1rem;
  }

  .footer-grid>div {
    flex: 1 1 40%;
  }

  .footer-grid>div:nth-child(1) {
    /* Brand — logo above desc, left-aligned */
    order: 1;
    flex: 1 1 100%;
    margin-bottom: 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand .logo-container {
    flex: 0 0 auto;
    width: auto;
    margin-bottom: 0.35rem;
  }

  .footer-brand p,
  .footer-desc {
    flex: 1 1 auto;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0;
    max-width: none;
  }

  .footer-logo-fixed {
    height: 56px;
  }

  .social-row {
    margin-top: 1rem;
    margin-bottom: 0;
    gap: 0.45rem;
    width: fit-content;
  }

  .social-icon {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }

  .footer-grid>div:nth-child(2) {
    /* About Us */
    order: 2;
    flex: 1 1 100%;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

  .footer-grid>div:nth-child(3),
  .footer-grid>div:nth-child(4) {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
  }

  .footer-grid>div:nth-child(3) {
    /* Impact & Proof */
    order: 3;
  }

  .footer-grid>div:nth-child(4) {
    /* Our Missions */
    order: 4;
  }

  .footer-grid>div:nth-child(5) {
    /* Contact */
    order: 5;
    flex: 1 1 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.85rem;
    margin-top: 0.5rem;
  }

  .footer-heading {
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
  }

  .footer-links li {
    margin-bottom: 0;
  }

  .footer-links a {
    min-height: 32px;
    padding: 0.15rem 0;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
  }

  .footer-contact-list {
    gap: 0.65rem;
  }

  .footer-contact-list .footer-contact-item {
    min-height: 32px;
    padding: 0.15rem 0;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .footer-contact-list .footer-contact-item i {
    margin-top: 2px;
    font-size: 0.75rem;
  }

  .footer-bottom {
    padding-top: 0.85rem;
    gap: 0.5rem;
    font-size: 0.78rem;
  }

  .footer-bottom-links {
    gap: 0.75rem;
  }
}

/* ========================================
   MISSION PAGE — dept rows as cards
======================================== */
.dept-row.card {
  border-radius: var(--radius-md);
  overflow: visible;
  padding: 2rem 2.5rem;
  border-top: none;
  border-bottom: none;
  margin-bottom: 1rem;
}

.dept-row.card:last-of-type {
  margin-bottom: 0;
}

/* ========================================
   ANIMATION SAFETY — ensure visible if JS slow
======================================== */
.dept-row,
.action-card,
.event-row {
  /* Will be set to 0 by JS, but only after DOM ready */
}

/* Events past-work cards in section-light */
.section-light .card {
  color: var(--bg-dark);
}

.section-light .card .card-content .card-icon,
.section-light .card>div>.fa-solid,
.section-light .card>div:first-child [class^="fa-"] {
  color: var(--primary-light);
}

/* --- MANUAL SEMANTIC CLASSES (Cleanup) --- */
.section-header-left {
  text-align: left;
  max-width: none;
  margin-bottom: 3rem;
}

.footer-logo-fixed {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin: 0;
}

.admin-terminal-link {
  font-size: 0.8rem;
  margin-right: 5px;
  color: var(--primary-sage);
}

.text-sage {
  color: var(--primary-sage);
}

.text-ivory {
  color: var(--primary-ivory);
}

.counter-box-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 3rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bg-deep-dark {
  background: rgba(0, 0, 0, 0.3);
}

.border-top-sage {
  border-top: 2px solid var(--primary-sage);
}

.border-top-ivory {
  border-top: 2px solid var(--primary-ivory);
}

.border-top-gold {
  border-top: 2px solid gold;
}

.icon-gap-right {
  margin-right: 8px;
}

.form-input-full {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Unified Feedback Messaging */
.form-message {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(149, 173, 99, 0.05);
  border: 1px solid rgba(149, 173, 99, 0.2);
  color: var(--primary-sage);
  animation: fadeIn 0.4s ease;
}

.form-message.error {
  background: rgba(255, 77, 77, 0.05);
  border: 1px solid rgba(255, 77, 77, 0.2);
  color: #ff4d4d;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mobile-only {
  display: none;
}

/* Consolidated to end of file */

/* ========================================
   MISSION & IMPACT PREMIUM UI
   "Shundor" Redesign - High-Density Cinematic
=========================================== */
.impact-gradient-box {
  /* Box hotao - make it a boundless field */
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 8rem 0;
  position: relative;
  overflow: visible;
  backdrop-filter: none;
}

/* --- Operational Integrity - Optimized Minimalist --- */
#transparency-section {
  position: relative;
  overflow: hidden;
}

.boundless-metric::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.boundless-metric:hover::before {
  opacity: 1;
}



/* --- Integrity Audit HUD Upgrades --- */
.integrity-seal {
  position: absolute;
  top: 3rem;
  right: 3rem;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px dashed rgba(149, 173, 99, 0.3);
  animation: rotateSeal 20s linear infinite;
  z-index: 5;
}

.integrity-seal i {
  font-size: 2.5rem;
  color: var(--primary-sage);
  animation: pulseSeal 3s ease-in-out infinite;
}

.audit-scanner {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(149, 173, 99, 0.03), transparent);
  skew: -20deg;
  pointer-events: none;
  animation: auditScan 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 1;
}

@keyframes rotateSeal {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseSeal {

  0%,
  100% {
    opacity: 0.5;
    filter: drop-shadow(0 0 5px var(--primary-sage));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 20px var(--primary-sage));
  }
}

@keyframes auditScan {
  0% {
    left: -100%;
  }

  40%,
  100% {
    left: 200%;
  }
}

.btn-audit {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(149, 173, 99, 0.05);
  border: 1px solid rgba(149, 173, 99, 0.2);
  color: var(--primary-sage);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.4s var(--ease-luxury);
  position: relative;
  overflow: hidden;
}

.btn-audit:hover {
  background: var(--primary-sage);
  color: #000;
  box-shadow: 0 0 30px rgba(149, 173, 99, 0.3);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-sage);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 10px var(--primary-sage);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 5rem;
}

.metric-item {
  flex: 1;
  min-width: 220px;
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(149, 173, 99, 0.2);
}

.metric-item .counter-number {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 800;
  color: var(--primary-ivory);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.metric-item .counter-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Cinematic Progress Pills - Volumetric Glass Tube Redesign */
.progress-container {
  margin-top: 2rem;
  position: relative;
}

.progress-pill-bg {
  height: 18px;
  /* Slightly thicker for volumetric feel */
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
}

.progress-pill-fill {
  height: 100%;
  border-radius: 9px;
  position: relative;
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  /* Multi-layer specularity for "Glass Tube" look */
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.1) 15%,
      transparent 50%,
      rgba(0, 0, 0, 0.2) 100%),
    currentColor;
}

.progress-pill-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shimmer 4s infinite linear;
}

.progress-glow-layer {
  position: absolute;
  top: 50%;
  left: 0;
  height: 60px;
  width: 100%;
  transform: translateY(-50%);
  filter: blur(35px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at center, currentColor, transparent 80%);
}

@keyframes shimmer {
  0% {
    transform: translateX(-150%);
  }

  100% {
    transform: translateX(150%);
  }
}

/* Audit Grid Pattern Utility */
.pattern-audit {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

/* Ensure Hero is always Bottom-Left (Sub-pages) - redundant rules removed to allow mobile media queries to take effect */

/* ==========================================================================
   PREMIUM IMPACT SLIDER (HORIZONTAL)
   ========================================================================== */
.impact-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0;
  touch-action: pan-y pinch-zoom;
}

.impact-slider-track {
  display: flex;
  gap: 2.5rem;
  padding: 0 4vw;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  /* pan-y only: JS owns horizontal drag so native momentum can't fight the loop */
  touch-action: pan-y pinch-zoom;
  will-change: transform;
}

.impact-slide {
  flex: 0 0 clamp(220px, 50vw, 280px);
  height: clamp(280px, 35dvh, 340px);
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
  .impact-slide {
    flex: 0 0 240px;
    height: 300px;
    /* Reduced for better mobile fit */
  }

  .impact-slider-track {
    gap: 1.2rem;
  }

  /* Slide overlays removed — clean photos only */
}

.impact-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
  filter: saturate(0.8) brightness(0.9);
  opacity: 0;
  animation: slideImgFade 0.8s ease forwards;
}

@keyframes slideImgFade {
  to {
    opacity: 1;
  }
}

.impact-slide:hover img {
  transform: scale(1.08);
  filter: saturate(1) brightness(1);
}

.impact-slide[role="button"]:focus-visible {
  outline: 3px solid var(--primary-sage);
  outline-offset: 4px;
}

.impact-slide[role="button"]:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}


.slider-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 3.5rem;
  z-index: 20;
}

@media (max-width: 600px) {
  .slider-nav {
    gap: 15px;
    margin-top: 2rem;
  }

  .slider-btn {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

.slider-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: none;
}

/* ==========================================================================
   MISSION / TACTICAL CARDS (UNIFIED)
   ========================================================================== */

.pillar-card {
  background: rgba(8, 14, 8, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  cursor: default;
}

a.pillar-card,
.pillar-card a {
  cursor: pointer;
}

.mission-card {
  background: rgba(8, 14, 8, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.mission-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mission-card-footer {
  padding: 0 2rem 2rem;
  margin-top: auto;
}

.op-status-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(3, 8, 5, 0.8);
}

.op-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1px;
}

.op-code {
  font-family: 'Outfit', monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

/* Tactical Badges & Buttons */
.op-badge.active-pulse {
  border-color: rgba(149, 173, 99, 0.4);
  color: rgba(149, 173, 99, 1);
  background: rgba(149, 173, 99, 0.05);
}

.op-badge.status-planning {
  border-color: rgba(255, 171, 0, 0.4);
  color: rgba(255, 171, 0, 1);
  background: rgba(255, 171, 0, 0.05);
}

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(149, 173, 99, 1);
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(149, 173, 99, 0.7);
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(149, 173, 99, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(149, 173, 99, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(149, 173, 99, 0);
  }
}

.op-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}




/* scanline removed as requested */

@keyframes scanline {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 100%;
  }
}

/* --- ELITE LIVING UI ENHANCEMENTS --- */
.luxury-corners {
  position: relative;
}

.luxury-corners::before,
/* Brackets removed for clean minimalist look */



/* glass-sweep removed for minimalism */

/* Mouse-follow navbar glow removed — keep the noise ::before above intact */

@media (max-width: 1024px) {
  .luxury-corners::before,
  .luxury-corners::after {
    display: none;
  }
}



.tactical-op,
.pillar-card,
.history-card,
.card,
.action-card,
.event-row {
  position: relative;
  overflow: hidden;
}

.tactical-op::before,
.history-card::before,
.card::before,
.action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, -100%) var(--mouse-y, -100%), rgba(149, 173, 99, 0.06), transparent 40%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.tactical-op:hover::before,
.history-card:hover::before,
.card:hover::before,
.action-card:hover::before {
  opacity: 1;
}

.tactical-op:hover::after,
.history-card:hover::after,
.action-card:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(149, 173, 99, 0.02) 50%, transparent 50%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.3;
  animation: scanlineDash 2s linear infinite;
}

.event-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, -100%) var(--mouse-y, -100%), rgba(149, 173, 99, 0.04), transparent 40%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.event-row:hover::before {
  opacity: 1;
}

/* Gallery Mobile Optimization */
@media (max-width: 600px) {
  .impact-slide {
    flex: 0 0 clamp(240px, 78vw, 300px);
    height: clamp(260px, 42vw, 320px);
  }

  .slider-nav {
    display: none !important;
  }
}

/* PREMIUM LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 8, 4, 0.98);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  backdrop-filter: blur(15px);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85dvh;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* ==========================================================================
   VOLUNTEER & RECRUITMENT PORTAL
   ========================================================================== */

.action-portal-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  margin-top: 5rem;
}

@media (max-width: 992px) {
  .action-portal-layout {
    grid-template-columns: 1fr;
  }
}

.recruitment-block {
  padding: 4rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.recruitment-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-sage);
}

.block-subtitle {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary-sage);
  font-weight: 700;
  margin-bottom: 1rem;
}

.block-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.block-desc {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 500px;
}

.mission-requirements {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-light);
  font-weight: 500;
}

.req-item i {
  color: var(--primary-sage);
  font-size: 1.1rem;
}

.dept-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4rem;
}

.dept-pill {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s var(--ease-luxury);
}

.dept-pill:hover {
  background: rgba(149, 173, 99, 0.1);
  border-color: var(--primary-sage);
  color: #fff;
}

.portal-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 1.2rem 2.5rem;
  background: var(--primary-sage);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  transition: all 0.5s var(--ease-luxury);
  box-shadow: 0 10px 30px rgba(149, 173, 99, 0.2);
}

.portal-cta:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: none;
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
  filter: none;
}

/* Funding Block */
.funding-block .glass-card {
  height: 100%;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-sage);
  font-weight: 700;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1.5rem;
}

.amount-tip {
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.amount-tip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-wrapper .currency {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-sage);
  font-weight: 700;
}

.input-wrapper input {
  width: 100%;
  padding: 1.2rem 1.2rem 1.2rem 40px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.dispatch-btn {
  width: 100%;
  padding: 1.2rem;
  background: transparent;
  border: 1px solid var(--primary-sage);
  color: var(--primary-sage);
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s var(--ease-luxury);
}

.dispatch-btn:hover {
  background: var(--primary-sage);
  color: #000;
  box-shadow: 0 0 20px rgba(149, 173, 99, 0.3);
}

/* Pipeline Cards */
.pipeline-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.pipeline-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.5s var(--ease-luxury);
}

.pipeline-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-10px);
  border-color: rgba(149, 173, 99, 0.2);
}

.pipeline-card .num {
  display: block;
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary-sage);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.pipeline-card h3,
.pipeline-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.pipeline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Impact Grid on Volunteer Page */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

.impact-stat-card {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.impact-stat-val {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-sage);
  margin-bottom: 0.5rem;
}

.impact-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
}


/* ==========================================================================
   PREMIUM DONATION MODAL (Re-Restored)
========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 5, 0.85);
  backdrop-filter: blur(15px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(15, 25, 18, 0.95);
  border: 1px solid rgba(149, 173, 99, 0.2);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

/* —— Policy / Terms modal (privacy + ToS share #policy-modal) —— */
#policy-modal.policy-modal {
  padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 21000;
}

#policy-modal .policy-modal__panel {
  position: relative;
  width: min(100%, 440px);
  max-height: min(86dvh, 640px);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 1.6rem 1.45rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(149, 173, 99, 0.22);
  background:
    linear-gradient(165deg, rgba(22, 36, 26, 0.98) 0%, rgba(8, 14, 10, 0.98) 55%, rgba(6, 10, 8, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 28px 80px rgba(0, 0, 0, 0.65);
  transform: translateY(18px) scale(0.97);
  opacity: 0.98;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  overflow: hidden;
}

#policy-modal.active .policy-modal__panel {
  transform: translateY(0) scale(1);
}

#policy-modal .policy-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

#policy-modal .policy-modal__close:hover,
#policy-modal .policy-modal__close:focus-visible {
  background: rgba(149, 173, 99, 0.22);
  color: #fff;
  transform: rotate(90deg);
  outline: none;
}

#policy-modal .policy-modal__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.15rem 0 0.85rem;
  background: rgba(149, 173, 99, 0.12);
  border: 1px solid rgba(149, 173, 99, 0.28);
  color: var(--primary-sage);
  font-size: 1.15rem;
}

#policy-modal .policy-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(149, 173, 99, 0.9);
}

#policy-modal .policy-modal__title {
  margin: 0 2.5rem 0.85rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: left;
}

#policy-modal .policy-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.15rem;
  margin-bottom: 1.1rem;
}

#policy-modal .policy-modal__p {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

#policy-modal .policy-modal__p:last-child {
  margin-bottom: 0;
}

#policy-modal .policy-modal__footer {
  flex-shrink: 0;
  padding-top: 0.15rem;
}

#policy-modal .policy-modal__cta {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: #0a120c;
  background: var(--primary-sage);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(149, 173, 99, 0.25);
}

#policy-modal .policy-modal__cta:hover,
#policy-modal .policy-modal__cta:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  outline: none;
}

#policy-modal .policy-modal__cta:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  #policy-modal .policy-modal__panel {
    width: min(100%, 420px);
    max-height: min(88dvh, calc(100dvh - 1.5rem));
    padding: 1.4rem 1.2rem 1.1rem;
    border-radius: 18px;
  }

  #policy-modal .policy-modal__title {
    margin-right: 2.75rem;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.modal-close:hover {
  background: rgba(149, 173, 99, 0.3);
  transform: rotate(90deg);
}

#donation-modal button.modal-close {
  transition: none;
}

#donation-modal button.modal-close:hover {
  background: rgba(149, 173, 99, 0.3);
  transform: none;
  transition: none;
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.bkash-logo-container {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 15px;
}

.modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: #fff;
}

.modal-body p {
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 25px;
}

.number-card {
  background: rgba(149, 173, 99, 0.08);
  border: 1px solid rgba(149, 173, 99, 0.15);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
}

.number-card .label {
  display: block;
  font-size: 0.75rem;
  color: var(--primary-sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 600;
}

.number-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.number-box span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.copy-btn {
  background: var(--primary-sage);
  color: var(--bg-shadow-dark);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

.copy-btn:hover {
  background: #fff;
  color: #000;
  transform: none;
  filter: none;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.copy-btn.is-copied {
  background-color: #fff;
  color: #000;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.steps li i {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary-sage);
}

.modal-footer {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.modal-footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

.modal-footer a {
  color: var(--primary-sage);
  text-decoration: none;
}

html.announce-closed {
  --announce-height: 0px;
}

html.construction-closed {
  --construction-height: 0px;
}

html.construction-closed #construction-bar:not(.construction-dismissing) {
  display: none;
}

html.announce-closed #announcement-bar:not(.announce-dismissing) {
  display: none;
}

html.announce-closed body {
  padding-top: calc(var(--header-strip-height) + var(--nav-height));
}


/* Winter Relief homepage spotlight — remove class to re-enable */
.winter-campaign-hidden {
  display: none !important;
}

/* Homepage Responsive Overrides */
.campaign-spotlight-section {
  padding: 10rem 0;
}

.campaign-spotlight-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  align-items: center;
}

.campaign-spotlight-text {
  flex: 1;
  min-width: 320px;
}

.campaign-spotlight-image-wrapper {
  flex: 1.2;
  min-width: 320px;
  position: relative;
}

.core-initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2.5rem;
}

.transparency-stats-flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6rem;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.transparency-stats-flex .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 auto;
}

.transparency-stats-flex .stat-value {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.transparency-stats-flex .counter-number {
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 0;
}

.transparency-stats-flex .stat-audited-icon {
  font-size: 3.5rem;
  display: block;
  line-height: 1;
  margin-bottom: 0;
  opacity: 0.95;
}

.transparency-stats-flex .stat-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0;
  text-align: center;
  max-width: 11rem;
  line-height: 1.35;
  min-height: calc(0.75rem * 1.35 * 2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Mobile Media Queries */
@media (max-width: 1024px) {
  .campaign-spotlight-section {
    padding: 5rem 0;
  }

  .campaign-spotlight-flex {
    gap: 3rem;
  }

  .campaign-spotlight-text,
  .campaign-spotlight-image-wrapper {
    min-width: 45%;
    flex: 1;
  }
}

@media (max-width: 768px) {

  .campaign-spotlight-text,
  .campaign-spotlight-image-wrapper {
    min-width: 100%;
    flex: 100%;
  }

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

  .transparency-stats-flex {
    gap: 3rem;
    flex-direction: column;
    align-items: center;
  }

  .transparency-stats-flex .stat-label {
    letter-spacing: 0.14em;
    max-width: 10rem;
  }

  .metric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }
}

/* ========================================
   MODAL & FORMS (Premium Application)
======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.glass-modal {
  background: rgba(15, 20, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 24px;
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-overlay.active .glass-modal {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  opacity: 1;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--primary-sage);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.modal-form .form-group {
  margin-bottom: 1.5rem;
}

.modal-form label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.modal-form input,
.modal-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s;
}

/* PREMIUM CAMPAIGN MODAL STYLES */
.camp-modal-image-container {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.camp-modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease-out;
}

.modal-overlay.active .camp-modal-image-container img {
  transform: scale(1.1);
}

.camp-modal-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 8, 4, 1) 0%, rgba(1, 8, 4, 0.4) 50%, rgba(1, 8, 4, 0) 100%);
}

.camp-badge {
  background: var(--primary-sage);
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1rem;
}

.camp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.camp-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  border-radius: 16px;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}

.camp-stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
}

.camp-stat-card i {
  color: var(--primary-sage);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.camp-stat-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}

.camp-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.modal-overlay.active .modal-stagger {
  opacity: 1;
  transform: translateY(0);
}

/* COMPLETED PROJECTS PREMIUM POLISH */
.mission-card.tactical-op {
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.mission-card.tactical-op:hover {
  transform: translateY(-10px);
  border-color: rgba(149, 173, 99, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(149, 173, 99, 0.1);
}

.mission-card.tactical-op img {
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.mission-card.tactical-op:hover img {
  transform: scale(1.1);
}

.mission-card-body {
  position: relative;
  z-index: 2;
}

.logistics-board div {
  transition: transform 0.3s;
}

.mission-card.tactical-op:hover .logistics-board div {
  transform: translateY(-2px);
}

.modal-stagger:nth-child(2) {
  transition-delay: 0.2s;
}

.modal-stagger:nth-child(3) {
  transition-delay: 0.3s;
}

.modal-stagger:nth-child(4) {
  transition-delay: 0.4s;
}

@media (max-width: 600px) {
  .camp-stats-row {
    grid-template-columns: 1fr;
  }

  .glass-modal,
  .modal-content {
    padding: 1.5rem;
  }

  .camp-modal-image-container {
    height: 250px;
  }
}

/* ========================================
   GLOBAL MOBILE TYPOGRAPHY (Under 768px)
======================================== */
@media (max-width: 1024px) {
  html {
    font-size: 92.5%;
    /* Subtle scale down for small screens */
  }

  body {
    line-height: 1.55;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.15;
  }

  h2 {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  h3 {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  h4 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  h5 {
    font-size: 1.15rem;
  }

  h6 {
    font-size: 1rem;
  }

  /* Section Title scaling */
  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}


/* TABLET & SQUARE DEVICE OPTIMIZATION (e.g. iPad, Galaxy Z Fold) */
@media (min-width: 601px) and (max-width: 1024px) {
  .side-split-row {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .side-split-row>div {
    min-width: 45%;
    flex: 1;
  }

  .core-initiatives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* UTILITY CLASSES */
.side-split-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  align-items: center;
}

.side-split-row>div {
  flex: 1;
  min-width: 300px;
}

@media (max-width: 600px) {
  .side-split-row {
    gap: 2rem;
  }

  .side-split-row>div {
    min-width: 100%;
  }
}

/* PREMIUM RESPONSIVE TABLE SYSTEM */
.premium-table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  /* Smooth scroll for iOS */
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
  /* Force table look even on mobile */
}

.premium-table th {
  padding: 1.2rem 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ledger-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {

  .premium-table {
    min-width: 0;
  }

  .premium-table td:last-child {
    border-bottom: none;
  }

  .ledger-row:hover {
    transform: none;
    /* Disable hover shift on mobile */
  }
}

/* Transparency page — card-style ledger on small screens */
@media (max-width: 768px) {
  .transparency-ledger-section .ledger-records-shell,
  .transparency-ledger-card .premium-table-container {
    overflow-x: visible;
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS (MOBILE/TABLET)
======================================== */
@media (max-width: 1024px) {
  /* 1. Disable heavy Backdrop Filters (Blur) — keep navbar/announce glass
     so hero shows through at scrollY=0 (do not force solid black). */
  .glass-card,
  .pillar-card,
  .mission-card,
  .modal-overlay,
  .lightbox-overlay,
  .dropdown-menu,
  .lang-dropdown-mobile,
  .btn-ghost-light,
  .btn-outline-glass,
  .glass-modal,
  .lang-switcher,
  .impact-slider-wrapper,
  .nav-links-container {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .modal-overlay,
  .lightbox-overlay {
    background: rgba(0, 0, 0, 0.95);
  }

  .glass-modal {
    background: rgba(10, 13, 11, 0.98);
  }


  .dropdown-menu,
  .lang-dropdown-mobile {
    background: rgba(5, 11, 8, 0.98);
  }

  /* 2. Disable heavy global shadows & animations */
  body::before,
  body::after,
  .elite-ambient-sphere {
    display: none;
    animation: none;
  }

  /* 3. Disable inline Base64 SVG Noise & its animations */
  html::after,
  .glass-noise::before,
  .hero-overlay::before,
  .navbar::before {
    display: none;
    animation: none;
    background-image: none;
  }
}

/* --- Page Reveal Animations --- */
html.fast-reveal .hero,
html.fast-reveal .page-header,
html.fast-reveal .hero-cta-row,
html.fast-reveal .hero-stagger-line,
html.fast-reveal .nav-links li,
html.fast-reveal .nav-btn {
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

html.fast-reveal .navbar,
html.fast-reveal .announcement-bar,
html.fast-reveal .construction-bar {
  transition: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

body.instant-reveal {
  visibility: visible;
  opacity: 1;
  animation: premiumFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes premiumFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}


/* Auto-generated Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 5rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.ml-3 { margin-left: 12px; }
.ml-2 { margin-left: 8px; }
.mr-3 { margin-right: 12px; }
.mr-1 { margin-right: 5px; }
.text-white { color: #fff; }
.text-sage { color: var(--primary-sage); }
.text-muted { color: var(--text-muted); }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.fs-1 { font-size: 1rem; }
.fs-095 { font-size: 0.95rem; }
.fs-09 { font-size: 0.9rem; }
.fs-085 { font-size: 0.85rem; }
.fs-08 { font-size: 0.8rem; }
.fs-14 { font-size: 1.4rem; }
.fs-15 { font-size: 1.5rem; }
.fs-16 { font-size: 1.6rem; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.lh-17 { line-height: 1.7; }
.lh-18 { line-height: 1.8; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Initial hidden animation state for scroll-in elements to avoid JS thrashing on load */
.card, .section-header, .event-row, .dept-row, .action-card, .pillar-card, .impact-gradient-box, .animate-in {
  opacity: 0;
  transform: translateY(28px) scale(0.985) translateZ(0);
  will-change: transform, opacity;
}

/* Security Hardening: Safe styles for transparency proof links without inline hover handlers */
.transparency-proof-link {
  margin-left: 8px;
  color: var(--primary-sage);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  text-decoration: none;
  background: rgba(149,173,99,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(149,173,99,0.2);
  transition: all 0.3s;
}
.transparency-proof-link:hover {
  background: var(--primary-sage) !important;
  color: #000 !important;
}

/* Custom Subpage Hero Banner Override */
.hero-banner {
  min-height: 48dvh !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 140px 0 60px 0 !important;
}

.hero-banner .hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-banner .hero-cta-row {
  margin-top: 2rem !important;
  justify-content: center !important;
}

.hero-banner .hero-stagger-line {
  justify-content: center !important;
  display: flex !important;
}

/* Redesigned Volunteer Grid Layout (Premium Dashboard Style) */
.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

.mission-requirements-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.req-item-new {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  cursor: default;
}

.req-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(149, 173, 99, 0.08);
  color: var(--primary-sage);
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid rgba(149, 173, 99, 0.15);
}

.req-text-box h3,
.req-text-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.req-text-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Specialized Department Cards Styling */
.dept-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.dept-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease-luxury);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dept-card:hover {
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.dept-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(149, 173, 99, 0.08);
  border: 1px solid rgba(149, 173, 99, 0.15);
  color: var(--primary-sage);
  font-size: 1.35rem;
  transition: all 0.4s var(--ease-luxury);
}

.dept-card:hover .dept-icon-wrapper {
  background: var(--primary-sage);
  color: #000;
  border-color: var(--primary-sage);
  box-shadow: none;
}

.dept-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.45rem;
}

.dept-info p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Specialized Department Explore Card & Button styling */
.dept-link-card {
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease-luxury);
  display: flex;
  flex-direction: column;
}

.dept-link-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.dept-link-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(149, 173, 99, 0.08);
  border: 1px solid rgba(149, 173, 99, 0.15);
  color: var(--primary-sage);
  font-size: 1.35rem;
}

.dept-link-icon-box:hover,
.dept-link-card:hover .dept-link-icon-box {
  background: rgba(149, 173, 99, 0.08);
  border-color: rgba(149, 173, 99, 0.15);
  color: var(--primary-sage);
  box-shadow: none;
  filter: none;
  transform: none;
}

.btn-dept-explore {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  align-self: flex-start;
  transition: all 0.4s var(--ease-luxury);
}

.btn-dept-explore:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

@media (max-width: 992px) {
  .volunteer-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 576px) {
  .req-item-new {
    padding: 1.25rem;
  }
  .dept-card {
    padding: 1.5rem;
  }
  .dept-link-card {
    padding: 1.5rem;
  }
}

/* Hero Banner Clean (Premium visual accents) */
.hero-banner-clean {
  padding: 160px 0 60px;
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(1, 4, 2, 0.8) 0%, #010402 100%), url('assets/hero_connection.png') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-banner-clean::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
}

.hero-banner-clean .hero-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary-sage);
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: rgba(149, 173, 99, 0.08);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(149, 173, 99, 0.15);
  display: inline-block;
}

.hero-banner-clean h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-banner-clean p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 600px;
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .hero-banner-clean {
    padding: 130px 0 50px;
  }
  .hero-banner-clean h1 {
    font-size: 2.8rem;
  }
  .hero-banner-clean p {
    font-size: 1.05rem;
  }
}

/* Impact Roadmap — brand timeline (#132a13 → #ecf39e) */
.roadmap-section {
  --road-deep: #132a13;
  --road-forest: #4f772d;
  --road-sage: #90a955;
  --road-accent: #ecf39e;
  --road-ink: #000;
  --road-line: linear-gradient(
    180deg,
    var(--road-forest) 0%,
    var(--road-sage) 100%
  );
  --road-line-h: linear-gradient(
    90deg,
    transparent 0%,
    var(--road-forest) 8%,
    var(--road-sage) 50%,
    var(--road-forest) 92%,
    transparent 100%
  );
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 3rem;
  margin-bottom: 2.75rem;
}

.roadmap-section .roadmap-lead {
  font-size: 1.02rem;
  margin-top: 0.65rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.pipeline-row {
  list-style: none !important;
  margin: 0 auto;
  padding: 0 !important;
  padding-inline-start: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 32rem;
  width: 100%;
}

.pipeline-row > .pipeline-card {
  list-style: none !important;
}

.pipeline-row > .pipeline-card::marker {
  content: none;
  display: none;
  font-size: 0;
}

/* Vertical connector rail (mobile / tablet) */
.pipeline-row::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  bottom: 1.1rem;
  left: 1.2rem;
  width: 2px;
  background: var(--road-line);
  opacity: 0.85;
  z-index: 0;
  border-radius: 2px;
}

.pipeline-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 1.1rem;
  align-items: start;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 0 1.35rem !important;
  margin: 0;
  box-shadow: none !important;
  transform: none !important;
  transition: none;
}

.pipeline-card:last-child {
  padding-bottom: 0 !important;
}

.pipeline-card .num {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--road-ink) !important;
  border: 1.5px solid var(--road-sage);
  color: var(--road-sage);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 !important;
  opacity: 1 !important;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  transition:
    background 0.35s var(--ease-luxury),
    border-color 0.35s var(--ease-luxury),
    color 0.35s var(--ease-luxury);
}

.pipeline-card-body {
  min-width: 0;
  padding-top: 0.25rem;
}

.pipeline-card h3,
.pipeline-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 0.3rem;
  letter-spacing: 0.01em;
  transition: color 0.35s var(--ease-luxury);
}

.pipeline-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  transition: color 0.35s var(--ease-luxury);
}

/* Intentional presence: number fill + title tint */
.pipeline-card:hover .num,
.pipeline-card:focus-within .num {
  background: var(--road-sage) !important;
  border-color: var(--road-sage);
  color: var(--road-deep);
}

.pipeline-card:hover h3,
.pipeline-card:focus-within h3 {
  color: var(--road-accent);
}

.pipeline-card:hover {
  background: transparent !important;
  transform: none !important;
  border-color: transparent !important;
}

/* Tablet: slightly roomier vertical rail */
@media (max-width: 992px) and (min-width: 641px) {
  .pipeline-row {
    max-width: 36rem;
  }

  .pipeline-card {
    column-gap: 1.3rem;
    padding-bottom: 1.5rem !important;
  }

  .pipeline-card h3,
  .pipeline-card h4 {
    font-size: 1.15rem;
  }

  .pipeline-card p {
    font-size: 0.93rem;
  }
}

/* Desktop: full-width horizontal track, centered nodes */
@media (min-width: 993px) {
  .roadmap-section {
    margin-top: 3.5rem;
    margin-bottom: 3.25rem;
  }

  .pipeline-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    max-width: none;
    padding-top: 0.1rem;
  }

  .pipeline-row::before {
    top: 1.2rem;
    bottom: auto;
    left: 12.5%;
    right: 12.5%;
    width: auto;
    height: 2px;
    background: var(--road-line-h);
    opacity: 0.85;
  }

  .pipeline-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-template-columns: none;
    column-gap: 0;
    padding: 0 !important;
  }

  .pipeline-card .num {
    margin-bottom: 1rem !important;
  }

  .pipeline-card-body {
    padding-top: 0;
    width: 100%;
  }

  .pipeline-card h3,
  .pipeline-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
  }

  .pipeline-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 15.5rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Quote container */
.quote-container {
  margin-top: 7rem;
  margin-bottom: 5rem;
  padding: 4.5rem 2rem;
  position: relative;
  background: #0a140a;
  border-radius: var(--radius-lg);
  text-align: center;
}

.quote-icon-large {
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(149, 173, 99, 0.1);
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.quote-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--primary-ivory);
  font-style: italic;
  max-width: 750px;
  margin: 1.5rem auto 1.5rem;
  line-height: 1.65;
}

.quote-author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.quote-line {
  width: 30px;
  height: 1px;
  background: rgba(149, 173, 99, 0.3);
}

.quote-author {
  font-size: 0.8rem;
  color: var(--primary-sage);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

/* Regulations Grid (3-column layout) */
.regulations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.reg-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease-luxury);
}

.reg-card:hover {
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.reg-icon {
  font-size: 1.75rem;
  color: var(--primary-sage);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: all 0.4s var(--ease-luxury);
}

.reg-card:hover .reg-icon {
  transform: scale(1.1);
  color: #fff;
  text-shadow: none;
}

.reg-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.reg-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .regulations-grid {
    gap: 1.5rem;
  }
}

/* Premium CTA Button & Live Counter styles */
.hero-banner-clean .hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  width: 100%;
}

.hero-banner-clean .hero-cta-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.btn-premium-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  padding: 0.95rem 2.5rem;
  border-radius: 100px;
  background: var(--primary-sage);
  color: #000;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: all 0.4s var(--ease-luxury);
  border: 1px solid var(--primary-sage);
}

.btn-premium-cta:hover {
  background: #fff;
  color: #000;
  transform: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  border-color: #fff;
}

.join-counter-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#signup-count {
  display: inline-block;
  min-width: 2.5ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #fff;
  font-weight: 700;
}

.join-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(149, 173, 99, 0.05);
  border: 1px solid rgba(149, 173, 99, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  transition: all 0.4s var(--ease-luxury);
}

.join-counter-badge:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: none;
}

/* ==========================================================================
   VOLUNTEER RESPONSIVE ADJUSTMENTS
   ========================================================================== */
.section-enrollment {
  padding: 5rem 0 3rem;
}

.section-enrollment .section-header,
.section-regulations .section-header {
  max-width: 750px;
  margin: 0 auto 4.5rem;
  width: 100%;
}

.roadmap-section .section-header {
  max-width: 750px;
  margin: 0 auto 1.85rem;
  width: 100%;
}

.section-enrollment .section-title,
.roadmap-section .section-title,
.section-regulations .section-title {
  font-size: 2.8rem;
}

.section-regulations {
  background-color: #050d0a;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section-enrollment {
    padding: 3.5rem 0 2rem;
  }
  .section-enrollment .section-header,
  .section-regulations .section-header {
    margin: 0 auto 2.5rem;
  }
  .roadmap-section .section-header {
    margin: 0 auto 1.4rem;
  }
  .section-enrollment .section-title,
  .roadmap-section .section-title,
  .section-regulations .section-title {
    font-size: 2rem;
  }
  .roadmap-section {
    margin-top: 2.25rem;
    margin-bottom: 2.1rem;
  }
  .section-regulations {
    padding: 3.5rem 0;
  }
}

/* ========================================
   MOBILE & TABLET POLISH (2026)
======================================== */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button,
a,
.menu-toggle,
.close-btn,
.slider-btn,
.lang-btn,
.lang-globe-btn,
.lang-mobile-pill {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.campaign-spotlight-title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.1;
}

@media (max-width: 1024px) {
  /* Text-fit CTA pills — button width follows label, not forced full-width */
  .hero-cta-row,
  .hero-home-cta,
  .mission-cta-row,
  .campaign-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
  }

  .mission-cta-row.justify-content-center,
  .page-home .mission-cta-row {
    justify-content: center;
  }

  .hero-cta-row .btn-sage,
  .hero-cta-row .btn-glass,
  .hero-cta-row .btn-ivory,
  .hero-home-cta .btn-sage,
  .hero-home-cta .btn-glass,
  .mission-cta-row .btn-sage,
  .mission-cta-row .btn-glass,
  .campaign-cta-row .btn-sage,
  .campaign-cta-row .btn-glass {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    height: 42px;
    min-height: 44px;
    padding: 0 1.25rem;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
    justify-content: center;
  }

  .is-bangla .hero-cta-row .btn-sage,
  .is-bangla .hero-cta-row .btn-glass,
  .is-bangla .hero-home-cta .btn-sage,
  .is-bangla .hero-home-cta .btn-glass,
  .is-bangla .mission-cta-row .btn-sage,
  .is-bangla .mission-cta-row .btn-glass,
  .is-bangla .campaign-cta-row .btn-sage,
  .is-bangla .campaign-cta-row .btn-glass {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    padding: 0 1rem;
  }
}

.navbar {
  padding-left: calc(1.2rem + var(--safe-left));
  padding-right: calc(1.2rem + var(--safe-right));
}

@media (max-width: 1024px) {
  .construction-bar {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .construction-bar span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .announcement-bar {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .announcement-bar__action {
    min-height: 44px;
  }

  .announcement-bar span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .close-btn {
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }

  .navbar .logo-container img,
  .navbar .logo-container .logo {
    height: clamp(70px, 18vw, 80px);
    max-width: min(54vw, 250px);
  }

  .mobile-accordion-toggle,
  .dropdown-item {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .modal-overlay {
    align-items: center;
    justify-content: center;
    padding: max(0.85rem, env(safe-area-inset-top, 0px)) 0.85rem max(0.85rem, env(safe-area-inset-bottom, 0px));
  }

  .modal-content {
    width: min(100%, 480px);
    max-width: 100%;
    max-height: min(90dvh, calc(100dvh - 1.7rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    margin: 0 auto;
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Campaign detail modal stays a bottom sheet */
  #camp-modal.modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  #camp-modal .glass-modal {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - var(--safe-top, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px 20px 0 0;
    margin: 0;
    padding-bottom: calc(1.5rem + var(--safe-bottom, 0px));
  }

  .modal-overlay.active .glass-modal,
  .modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
  }

  #camp-modal .glass-modal {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  #camp-modal .camp-modal-body,
  #camp-modal .glass-modal > div:last-child {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.25rem calc(1.25rem + var(--safe-bottom));
  }

  .camp-modal-image-container {
    height: clamp(180px, 32vw, 260px);
    flex-shrink: 0;
  }

  #modal-camp-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }

  .counter-number {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .site-mission-desc,
  #site-mission-desc,
  #camp-desc {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .campaign-spotlight-section {
    padding: 4rem 0;
  }

  .campaign-spotlight-text,
  .campaign-spotlight-image-wrapper,
  .side-split-row > div {
    min-width: 100%;
    flex: 1 1 100%;
  }

  .side-split-row {
    flex-direction: column;
    gap: 2.5rem;
  }

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

  .hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  }

  .impact-slide {
    flex: 0 0 clamp(260px, 42vw, 320px);
    height: clamp(280px, 36vw, 340px);
  }
}

@media (max-width: 600px) {
  .campaign-spotlight-section {
    padding: 3rem 0;
  }

  .footer-grid > div:nth-child(1),
  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(5) {
    flex: 1 1 100%;
  }

  .footer-grid > div:nth-child(3),
  .footer-grid > div:nth-child(4) {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .transparency-stats-flex {
    gap: 2rem;
  }

  .impact-slider-track {
    padding: 0 1rem;
  }

  .slider-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

.camp-modal-body {
  padding: 2rem 2.5rem 2.5rem;
}

.camp-modal-progress-card {
  padding: 1.25rem 1.5rem;
}

.mission-cta-row {
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .page-gallery .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3rem) !important;
    line-height: 0.95 !important;
  }

  .campaign-spotlight-section #camp-title {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere;
  }

  #camp-modal .modal-stagger .d-flex {
    flex-direction: column;
  }

  #camp-modal .modal-stagger .d-flex .btn-sage,
  #camp-modal .modal-stagger .d-flex .btn-glass {
    width: 100%;
    flex: 1 1 auto !important;
    min-height: 48px;
  }
}

@media (max-width: 1024px) {
  :root {
    --reveal-duration: 0.58s;
    --reveal-overlay-duration: 0.55s;
    --reveal-stagger-step: 0.03s;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --reveal-duration: 0.2s;
    --reveal-overlay-duration: 0.15s;
    --reveal-stagger-step: 0s;
  }


  .hero,
  .page-header {
    transition: opacity 0.2s ease !important;
  }

  .impact-slide img {
    animation: none;
    opacity: 1;
  }

  .hero img {
    animation: none !important;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.4rem);
  }

  .campaign-spotlight-title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .hero-cta-row .btn-sage,
  .hero-cta-row .btn-glass,
  .hero-home-cta .btn-sage,
  .hero-home-cta .btn-glass,
  .mission-cta-row .btn-sage,
  .mission-cta-row .btn-glass,
  .campaign-cta-row .btn-sage,
  .campaign-cta-row .btn-glass {
    padding: 0 1rem;
    font-size: 0.82rem;
    min-height: 44px;
  }
}

/* ========================================
   HOMEPAGE — MOBILE & TABLET ONLY
   Desktop (1025px+) uses original styles unchanged
======================================== */
@media (max-width: 1024px) {
  .page-home .hero {
    padding-bottom: calc(2rem + var(--safe-bottom));
  }

  .page-home .hero .container {
    padding-left: calc(1.15rem + var(--safe-left));
    padding-right: calc(1.15rem + var(--safe-right));
  }

  .page-home .hero h1 {
    font-size: clamp(2rem, 8.5vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
  }

  .page-home .section {
    padding-top: clamp(2.75rem, 6vw, 4.5rem) !important;
    padding-bottom: clamp(2.75rem, 6vw, 4.5rem) !important;
  }

  .page-home .section-header .section-title,
  .page-home #site-mission-title {
    font-size: clamp(1.7rem, 5.2vw, 2.35rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 1rem !important;
  }

  .page-home #site-mission-desc,
  .page-home #camp-desc,
  .page-home .section-desc {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .page-home .mission-cta-row {
    margin-top: 1.75rem !important;
  }

  .page-home .campaign-spotlight-section {
    padding-top: clamp(2.5rem, 5vw, 4rem) !important;
    padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
  }

  .page-home .campaign-spotlight-title {
    font-size: clamp(1.85rem, 6vw, 2.75rem);
    margin-bottom: 0.75rem;
  }

  .page-home .pillar-card {
    padding: 1.5rem 1.25rem;
  }

  .page-home .pillar-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .page-home .pillar-card p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .page-home .core-initiatives-grid {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .page-home .transparency-stats-flex {
    gap: 2rem;
    margin-top: 2rem;
  }

  .page-home .counter-number {
    font-size: clamp(1.85rem, 7vw, 2.5rem) !important;
  }

  .page-home .transparency-stats-flex .stat-value {
    min-height: clamp(1.85rem, 7vw, 2.5rem);
  }

  .page-home .transparency-stats-flex .stat-audited-icon {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .page-home #transparency-section .section-title {
    font-size: clamp(1.65rem, 5vw, 2.25rem) !important;
  }

  .page-home #transparency-section .btn-glass {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .page-home .impact-slider-wrapper {
    margin-top: 0.5rem;
  }

  .page-home .slider-nav {
    margin-top: 2rem;
  }

  .page-home .core-initiatives-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .page-home .transparency-stats-flex {
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
  }

  .page-home .transparency-stats-flex .stat-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 7.5rem;
  }

  .page-home .campaign-spotlight-image-wrapper .card {
    max-height: 420px;
  }
}

@media (max-width: 600px) {
  .page-home .hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .page-home .core-initiatives-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .page-home .campaign-spotlight-image-wrapper .card {
    aspect-ratio: 16 / 10;
  }

  .page-home .campaign-spotlight-image-wrapper .w-100 {
    padding: 1.15rem !important;
  }

  .page-home #transparency-section .btn-glass {
    width: auto;
    max-width: 100%;
    min-height: 44px;
  }

  .page-home .btn-tactical {
    width: auto;
    max-width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 1024px) {
  .hero[style*="background-attachment"] {
    background-attachment: scroll !important;
  }

  .modal-close,
  .close-modal,
  .lightbox-close,
  .copy-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ─── Transparency Page Layout Guards ─── */
.page-transparency .glass-card,
.page-transparency .core-initiatives-grid > * {
  min-width: 0;
}

/* Desktop: centered constrained content (restore pre-mobile-polish layout) */
@media (min-width: 1025px) {
  .page-transparency .section > .container,
  .page-transparency .hero.transparency-hero > .container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-transparency .section > .container {
    max-width: 100%;
    min-width: 0;
  }

  .page-transparency .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-transparency .glass-card.mb-6[style*="padding"]:not(.transparency-range-bar):not(.transparency-timeline-card) {
    padding: 1.15rem !important;
  }

  .page-transparency .transparency-range-bar {
    padding: 0.55rem 0.75rem !important;
  }
}

/* ─── Homepage section planes (opaque, no bleed stack) ─── */
.page-home .home-mission-section,
.page-home .home-pillars-section,
.page-home .home-impact-section,
.page-home #transparency-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--home-mission-bg);
}

.page-home .home-mission-section {
  background-color: var(--home-mission-bg);
}

.page-home .home-mission-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: radial-gradient(circle, rgba(149, 173, 99, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.page-home .home-pillars-section {
  background-color: var(--home-pillars-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-home .home-pillars-section .pillar-card {
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  filter: none;
}

.page-home .home-pillars-section .pillar-card:hover {
  box-shadow: none;
  filter: none;
}

.page-home .home-pillars-section .pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(149, 173, 99, 0.08);
  border: 1px solid rgba(149, 173, 99, 0.16);
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

.page-home .home-pillars-section .pillar-icon i,
.page-home .home-pillars-section .pillar-icon .fa-solid {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

.page-home .home-impact-section {
  background: var(--home-impact-bg);
  background-image: none;
  border-top: 1px solid rgba(149, 173, 99, 0.12);
  padding: 3.25rem 0;
}

.page-home .home-impact-section > .container.mb-20,
.page-home .home-impact-section > .container.home-impact-intro {
  margin-bottom: 1.25rem !important;
}

.page-home .home-impact-section .section-header {
  margin-bottom: 0 !important;
}

.page-home .home-impact-section .section-title {
  margin-bottom: 0.65rem !important;
}

.page-home .home-impact-section .impact-slider-wrapper {
  padding: 0.35rem 0 0.15rem;
}

.page-home .home-impact-section .impact-slider-track {
  gap: 1.5rem;
}

.page-home .home-impact-section .slider-nav {
  margin-top: 1.35rem;
}

.page-home .home-impact-section > .container.home-impact-cta,
.page-home .home-impact-section > .container.text-center {
  margin-top: 1.35rem !important;
}

/* Homepage transparency preview — black card inside green impact section */
.page-home .home-transparency-wrap {
  margin-top: 2.5rem !important;
  margin-bottom: 0 !important;
}

.page-home .home-transparency-card {
  position: relative;
  background: #050805;
  border: 1px solid rgba(149, 173, 99, 0.16);
  border-radius: 22px;
  padding: 1.65rem 1.75rem 1.45rem;
  box-shadow:
    0 1px 0 rgba(149, 173, 99, 0.08) inset,
    0 22px 56px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.page-home .home-transparency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(149, 173, 99, 0.55) 35%,
    rgba(233, 196, 106, 0.45) 65%,
    transparent 100%
  );
  pointer-events: none;
}

.page-home .home-transparency-header {
  margin-bottom: 0.85rem;
}

.page-home .home-transparency-copy {
  text-align: left;
  max-width: 40rem;
}

.page-home .home-transparency-title {
  margin: 0 0 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.page-home .home-transparency-blurb {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.56);
}

.is-bangla .page-home .home-transparency-title,
.is-bangla .page-home .home-transparency-blurb,
.is-bangla .page-home .home-transparency-cta .btn-glass {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

.page-home .home-transparency-chart-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  margin-top: 0.25rem;
  padding: 0.65rem 0.35rem 0.25rem;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
  touch-action: none;
  contain: layout style;
  box-sizing: border-box;
}

.page-home .home-transparency-chart-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  cursor: crosshair;
  touch-action: none;
}

.page-home .home-transparency-hint,
.page-home .chart-touch-hint {
  margin: 0.7rem 0 0;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
}

.is-bangla .page-home .home-transparency-hint,
.is-bangla .page-home .chart-touch-hint {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  letter-spacing: 0;
  font-size: 0.82rem;
}

/* Shared floating chart tooltip (homepage) */
.page-home .chartjs-tooltip,
.page-home .chart-cursor-tooltip {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  max-width: min(280px, calc(100vw - 24px));
  white-space: normal;
  overflow-wrap: anywhere;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.35s ease;
}

.page-home .chart-cursor-tooltip.is-fading {
  opacity: 0 !important;
}

.page-home .chart-cursor-tooltip__swatch {
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 8px;
  margin-top: 3px;
  vertical-align: middle;
}

.page-home .chart-cursor-tooltip__row {
  display: flex;
  align-items: flex-start;
  line-height: 1.45;
}

.page-home .home-transparency-chart-wrap.chart-container-timeline--empty {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.06);
  min-height: 220px;
}

.page-home .home-transparency-chart-wrap.chart-container-timeline--empty::after {
  content: attr(data-empty-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  pointer-events: none;
  padding: 1rem;
  text-align: center;
}

.page-home .home-transparency-chart-wrap.chart-container-timeline--empty canvas {
  opacity: 0 !important;
  pointer-events: none;
}

.page-home .home-transparency-status {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.page-home .home-transparency-status.is-error {
  color: rgba(224, 122, 95, 0.9);
}

.page-home .home-transparency-cta {
  margin-top: 1.25rem;
  text-align: center;
}

.page-home .home-transparency-cta .btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-home .home-transparency-cta .btn-glass:hover {
  border-color: rgba(149, 173, 99, 0.45);
  color: #ecf39e;
}

@media (max-width: 1024px) {
  .page-home .home-impact-section {
    padding: 2.5rem 0 !important;
  }

  .page-home .home-impact-section > .container.mb-20,
  .page-home .home-impact-section > .container.home-impact-intro {
    margin-bottom: 1rem !important;
  }

  .page-home .home-impact-section .impact-slider-track {
    gap: 1.1rem;
  }

  .page-home .home-impact-section .slider-nav {
    margin-top: 1.1rem;
  }

  .page-home .home-impact-section > .container.home-impact-cta,
  .page-home .home-impact-section > .container.text-center {
    margin-top: 1.1rem !important;
  }

  .page-home .home-transparency-wrap {
    margin-top: 2rem !important;
  }

  .page-home .home-transparency-card {
    padding: 1.35rem 1.25rem 1.2rem;
    border-radius: 18px;
  }

  .page-home .home-transparency-chart-wrap {
    height: 310px;
  }
}

@media (max-width: 768px) {
  .page-home .home-transparency-chart-wrap {
    height: 290px;
    padding: 0.45rem 0.15rem 0.15rem;
  }

  .page-home .home-transparency-hint,
  .page-home .chart-touch-hint {
    font-size: 0.74rem;
  }
}

@media (max-width: 600px) {
  .page-home .home-impact-section {
    padding: 2.15rem 0 !important;
  }

  .page-home .home-impact-section > .container.mb-20,
  .page-home .home-impact-section > .container.home-impact-intro {
    margin-bottom: 0.85rem !important;
  }

  .page-home .home-impact-section .section-title {
    margin-bottom: 0.5rem !important;
  }

  .page-home .home-impact-section .impact-slider-wrapper {
    padding: 0.15rem 0 0;
    margin-top: 0 !important;
  }

  .page-home .home-impact-section > .container.home-impact-cta,
  .page-home .home-impact-section > .container.text-center {
    margin-top: 1rem !important;
  }

  .page-home .home-transparency-wrap {
    margin-top: 1.65rem !important;
  }

  .page-home .home-transparency-card {
    padding: 1.2rem 1rem 1.1rem;
    border-radius: 16px;
  }

  .page-home .home-transparency-title {
    font-size: 1.18rem;
  }

  .page-home .home-transparency-blurb {
    font-size: 0.9rem;
  }

  .page-home .home-transparency-chart-wrap {
    height: 270px;
  }

  .page-home .home-transparency-cta {
    margin-top: 1.1rem;
  }
}

.page-home #transparency-section {
  background-color: var(--bg-darker);
}


