/* ========================================
   DESIGN TOKENS 
======================================== */
/* ─── Global ─── */
html,
body {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

body.no-scroll {
  overflow: hidden;
  overscroll-behavior: 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;
}

:root {
  /* Logo Matched Palette */
  --primary-dark: #142416;
  --bg-shadow-dark: #030805; /* 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: #0B0E0B;
  /* Warm deep black */
  --bg-darker: #080A08;
  --bg-card: rgba(17, 22, 17, 0.82);
  /* Glassy dark green-grey */

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

  --announce-height: 36px;
  --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);

}

/* ========================================
   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(.fa-brands) {
  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: -0.02em;
  /* Tighter word spacing for a more modern look */
  font-size: 1.05rem;
  /* Slight bump for readability and visual weight */
}

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

.is-bangla h1,
.is-bangla h2,
.is-bangla h3,
.is-bangla h4,
.is-bangla .section-title,
.is-bangla .impact-ticker-track span {
  line-height: 1.15;
  /* Tighter rhythm across the board */
  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 {
  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 .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 .newsletter-section h2 {
  max-width: 1000px;
  line-height: 1.3;
}

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

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

.is-bangla .impact-ticker-track span {
  letter-spacing: 0.02em;
  /* Slight breathing room for large display text */
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.6);
}

/* 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: hidden;
  padding-top: calc(var(--announce-height) + var(--nav-height));
  transition: padding-top 0.3s ease;
  position: relative;
  /* Windows Chrome Optimizations */
  scrollbar-gutter: stable;
}

/* ─── 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(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.06;
  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.08;
  }
}

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.08), 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.05), 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");
}

/* ─── Cinematic Reveal (JS-driven clip-path) ─── */
/* ─── Bulletproof Portal Gate ─── */
#portal-gate {
  position: fixed;
  z-index: 10001;
  width: 25vmax;
  height: 25vmax;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, calc(-50% + 100dvh), 0) scale(1);
  border-radius: 48px;
  background: transparent;
  pointer-events: none;
  box-shadow: 0 0 0 300vmax #000000, inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 40px rgba(255, 255, 255, 0.05);
  transition: opacity 0.4s ease;
  visibility: hidden;
  contain: layout style paint;
  backface-visibility: hidden;
}

#portal-gate.active {
  visibility: visible;
}

/* 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(110%) scale(0.95) translateX(-5px);
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.6s ease,
    filter 0.6s ease;
  filter: blur(12px);
}

body.revealed-ui .stagger-text .line,
body.revealed-ui .hero-stagger-line {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
  transition-delay: 0.12s;
  /* Clean, unified entrance */
}

/* Smooth Hero Scaling */
.hero {}

/* Hero CTA Row — Rise Reveal */
.hero-cta-row {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

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


/* Hero reveal sync — hero is ALWAYS visible (overlay hole controls visibility) */
/* Page content hidden until preloader done */
body.loading .announcement-bar,
body.loading .navbar,
body.loading .page-header {
  opacity: 0;
}

/* Reveal animation */
@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

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

body.revealed .page-header {
  animation: pageReveal 0.7s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.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;
}

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);
}

/* ========================================
   ANNOUNCEMENT BAR (Dark Glass)
======================================== */
.announcement-bar {
  background: rgba(3, 8, 5, 0.85);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  color: var(--primary-ivory);
  text-align: center;
  padding: 0 15px;
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--announce-height);
  z-index: 1002;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease, background-color 0.3s ease;
  transform: translateY(-100%);
  opacity: 0;
  will-change: transform, opacity;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.announcement-bar:hover {
  background: rgba(8, 20, 12, 0.95);
}

.announcement-bar span {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.announcement-bar:hover span {
  color: var(--primary-sage);
  text-shadow: 0 0 10px rgba(149, 173, 99, 0.25);
}

.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: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease-out);
  line-height: 1;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.close-btn:hover {
  color: #ff4d4f;
  transform: scale(1.15);
}

/* ========================================
   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);
  background: rgba(11, 31, 21, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 40px rgba(0, 0, 0, 0.35);
  position: fixed;
  top: var(--announce-height);
  width: 100%;
  z-index: 10005;
  transform: translateY(-100%);
  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.3s ease,
    transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, background;
}

body.revealed-ui .navbar,
body.revealed .navbar,
body.revealed-ui .announcement-bar,
body.revealed .announcement-bar {
  transform: translateY(0);
  opacity: 1;
}

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

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

@media (max-width: 1024px) {
  .navbar {
    backdrop-filter: blur(12px);
    background: rgba(11, 31, 21, 0.85);
  }
}

.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-container img,
.navbar .nav-links li,
.navbar .nav-btn {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(8px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.6s ease;
}

/* Staggered Dropdown Reveal — All 5 Items */
body.revealed-ui .navbar .logo-container img {
  opacity: 1;
  transform: translateY(0) scale(1.05);
  filter: blur(0);
  transition-delay: 0.1s;
}

body.revealed-ui .nav-links li:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.2s;
}

body.revealed-ui .nav-links li:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.27s;
}

body.revealed-ui .nav-links li:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.34s;
}

body.revealed-ui .nav-links li:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.41s;
}

body.revealed-ui .nav-links li:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.48s;
}

body.revealed-ui .nav-btn {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.6s;
}

.navbar.scrolled {
  background: rgba(5, 14, 9, 0.85);
  backdrop-filter: blur(16px) saturate(200%);
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  border-bottom-color: rgba(149, 173, 99, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.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));
}

.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: 0 0 15px rgba(149, 173, 99, 0.6);
  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.1em;
  text-transform: uppercase;
  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) {
  /* 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;
  }

  .nav-item-dropdown:hover > a::after,
  .nav-item-dropdown:focus-within > a::after,
  .nav-item-dropdown.active-click > a::after {
    width: 20px;
  }

  /* 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;
  }
}

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

/* Language Switcher Styles */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.lang-switcher:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(149, 173, 99, 0.3);
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.lang-btn.active {
  color: var(--primary-sage);
  text-shadow: 0 0 15px rgba(149, 173, 99, 0.4);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 300;
}

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

.mobile-only {
  display: none;
}

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

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

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

  .mobile-only {
    display: flex;
  }

  .nav-links .plus-icon {
    display: inline-block;
  }

  .nav-chevron {
    display: none;
  }

  .nav-links-container {
    /* Mobile full-screen overlay — slides in from right */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    transform: translateX(100%);
    visibility: hidden;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    background: rgba(8, 10, 8, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.6s, top 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), padding-top 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Adjusted to prevent overflowing when announcement bar is present */
    top: calc(-1 * var(--announce-height));
    padding-top: var(--announce-height);
    overflow: hidden;
  }

  .nav-links-container.active {
    transform: translateX(0);
    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;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    visibility: visible;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links li {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s var(--ease-out);
    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: translateX(0);
  }

  .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: all 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;
  }

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

  .nav-links .plus-icon {
    font-size: 0.7rem;
    color: var(--primary-sage);
    transition: transform 0.3s ease, all 0.5s var(--ease-luxury);
    opacity: 0.8;
    background: rgba(149, 173, 99, 0.05);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(149, 173, 99, 0.1);
    flex-shrink: 0;
  }

  .nav-item-dropdown.mobile-open .plus-icon {
    transform: rotate(135deg);
    /* More dynamic rotation */
    color: #000;
    background: var(--primary-sage);
    border-color: var(--primary-sage);
    opacity: 1;
  }

  /* 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-header,
.mobile-menu-actions,
.mobile-menu-footer {
  display: none;
}

@media (max-width: 1024px) {

  .mobile-menu-header,
  .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: var(--primary-sage);
  color: var(--bg-shadow-dark);
  border-color: var(--primary-sage);
  box-shadow: 0 8px 25px rgba(149, 173, 99, 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 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;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  /* Grounded at bottom */
  justify-content: flex-start;
  background-color: var(--bg-shadow-dark);
  overflow: hidden;
  margin-top: calc(-1 * (var(--announce-height) + var(--nav-height)));
  padding: 0 0 10dvh;
  /* Professional bottom-grounding */
  transition: margin-top 0.3s ease, padding-top 0.3s ease, transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

/* 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.18;
  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;
  min-height: 60dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: calc(-1 * (var(--announce-height) + var(--nav-height)));
  background-color: var(--primary-dark);
  will-change: transform, opacity;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
}

/* 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(--announce-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;
  }
}


.cta-section {
  position: relative;
  text-align: center;
  padding: 4rem 0;
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.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);
}

.newsletter-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-row .form-input {
  min-width: 280px;
  max-width: 400px;
  flex: 1;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.4rem;
}

/* Donate / Volunteer grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-darker);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(149, 173, 99, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 10;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: #020604;
  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: var(--text-muted);
  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.5rem;
}

.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;
}

.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: var(--text-muted);
  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-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  min-height: 44px;
}

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

.footer-contact-item a {
  color: var(--text-muted);
}

.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: var(--text-muted);
  font-size: 0.83rem;
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  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) {
  .navbar {
    padding: 0 1.2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* overflow: hidden removed — was hiding hamburger button */
  }

  .logo-container {
    max-width: 200px;
    display: flex;
    align-items: center;
  }

  .logo-container img {
    height: 62px;
    /* More prominent logo */
    width: auto;
    filter: drop-shadow(0 0 10px rgba(149, 173, 99, 0.1));
  }

  .nav-right-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    /* desktop-only items hidden via .desktop-only class */
  }

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

  .menu-toggle:hover,
  .menu-toggle:active {
    background: transparent;
    border-color: transparent;
    transform: scale(0.92);
  }

  .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-right-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

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

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

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: #080a08;
  }

  .mobile-menu-logo {
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(149, 173, 99, 0.2));
  }

  .menu-close {
    background: rgba(149, 173, 99, 0.1);
    border: 1px solid rgba(149, 173, 99, 0.2);
    color: var(--primary-sage);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .menu-close:hover {
    background: rgba(149, 173, 99, 0.2);
    transform: rotate(90deg);
  }

  .menu-close:active {
    transform: scale(0.9) rotate(90deg);
  }

  .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #111411;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: auto;
    width: 100%;
    position: relative;
    z-index: 1000;
  }

  .mobile-action-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-action-item i {
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.3s ease;
  }

  .mobile-action-item:hover i {
    color: var(--primary-sage);
  }

  .lang-selector-mobile {
    display: contents;
  }

  .lang-current {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    width: 100%;
    cursor: pointer;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
  }

  .lang-current i.lang-chevron {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
  }

  .lang-selector-mobile.active .lang-chevron {
    transform: rotate(180deg);
  }

  .lang-dropdown-mobile {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    z-index: 2000;
    box-shadow: none;
    border-bottom: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .lang-selector-mobile.active .lang-dropdown-mobile {
    max-height: 150px;
    opacity: 1;
    visibility: visible;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .lang-dropdown-mobile button {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
  }

  .lang-dropdown-mobile button:hover,
  .lang-dropdown-mobile button.active {
    background: rgba(149, 173, 99, 0.1);
    color: var(--primary-sage);
  }

  .lang-dropdown-mobile button:last-child {
    border-bottom: none;
  }

  .mobile-donate-btn {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    border-radius: 0;
    background: var(--primary-sage);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    height: 56px;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
  }

  .mobile-donate-btn::before,
  .mobile-donate-btn::after {
    display: none;
  }

  .mobile-donate-btn:hover,
  .mobile-donate-btn:active {
    background: var(--primary-sage);
    color: #000;
    transform: none;
    box-shadow: 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;
    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.2s ease-out,
      opacity 0.2s ease-out,
      visibility 0.2s ease-out;
  }

  .nav-item-dropdown.mobile-open .dropdown-menu {
    max-height: 400px;
    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;
    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;
  }

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

  .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: 4vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    min-height: 100svh;
  }

  .hero .container {
    margin-bottom: 3rem;
    margin-left: 0;
  }

  .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: 140px;
    height: 42px;
    /* Fixed height for perfect matching */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    /* Align with ghost button border */
  }

  .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);
}

.newsletter-row {
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.newsletter-row .form-input {
  width: 100%;
  max-width: 100%;
  padding: 0.8rem 1.2rem;
}

.newsletter-row .btn-sage {
  width: fit-content;
  padding: 0.6rem 2rem;
  justify-content: center;
}

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

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

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

.footer {
  padding: 3.5rem 0 2.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 .logo-container {
  justify-content: flex-start;
}

.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-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1.5rem;
  }

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

  .footer-grid>div:nth-child(1) {
    /* Brand Logo */
    order: 1;
    flex: 1 1 100%;
    margin-bottom: 1rem;
  }

  .footer-grid>div:nth-child(2) {
    /* About Us (Moved to Top) */
    order: 2;
    flex: 1 1 100%;
    border-top: none;
    padding-top: 0;
    margin-top: 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 (Moved to Bottom) */
    order: 5;
    flex: 1 1 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }

  .footer-heading {
    font-size: 0.78rem;
    margin-bottom: 1rem;
  }

  .footer-links a,
  .footer-contact-item {
    min-height: auto;
    padding: 0.35rem 0;
  }
}

/* ========================================
   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: 90px;
  object-fit: contain;
  transform: none;
  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) */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 10dvh;
}

.hero .container {
  margin-left: 0;
  padding-left: clamp(1.2rem, 4vw, 4rem);
}

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

.impact-slider-wrapper::before,
.impact-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15vw;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.impact-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #010804 15%, transparent 100%);
}

.impact-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #010804 15%, transparent 100%);
}

.impact-slider-track {
  display: flex;
  gap: 2.5rem;
  padding: 0 4vw;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.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;
  }

  /* Remove overlay text on mobile as well */
  .impact-slide .slide-overlay {
    opacity: 0;
    display: none;
  }

  .slide-info h3 {
    font-size: 1.3rem;
  }

  .slide-info p {
    font-size: 0.85rem;
  }
}

.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);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 10, 5, 0.95) 0%, rgba(1, 10, 5, 0.4) 40%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.impact-slide:hover .slide-overlay,
.impact-slide:focus-within .slide-overlay,
.impact-slide.active-tap .slide-overlay {
  opacity: 0;
  display: none;
  transform: translateY(0);
}

.slide-info h3 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.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: var(--primary-sage);
  border-color: var(--primary-sage);
  color: #000;
  box-shadow: 0 0 20px rgba(149, 173, 99, 0.4);
  transform: translateY(-3px);
}

/* ==========================================================================
   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), border-color 0.5s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
}

.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;
}




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

.pillar-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 50%;
  height: 300%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent);
  transform: rotate(45deg);
  transition: none;
  pointer-events: none;
  z-index: 5;
}

.pillar-card:hover::before {
  top: 100%;
  left: 100%;
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}


/* scanline removed as requested */

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

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

/* --- Infinite Impact Ticker (Living UI Upgrade) --- */
.impact-ticker-wrapper {
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  padding: 3.5rem 0;
  display: flex;
  user-select: none;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(149, 173, 99, 0.02);
  opacity: 0;
  filter: blur(10px);
  transform: translateY(10px) scale(0.98);
  transition: opacity 2s var(--ease-luxury), transform 2s var(--ease-luxury), filter 2s var(--ease-luxury);
  transition-delay: 0.5s;
}

body.revealed-ui .impact-ticker-wrapper {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.impact-ticker-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(149, 173, 99, 0.02), transparent);
  pointer-events: none;
  z-index: 1;
}

.impact-ticker-track {
  display: flex;
  animation: tickerScroll 90s linear infinite;
  gap: 0;
}

.impact-ticker-track span {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  padding: 0 50px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  letter-spacing: 0.12em;
  transition: color 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
  position: relative;
}

.impact-ticker-track span i {
  color: var(--primary-sage);
  filter: drop-shadow(0 0 8px rgba(149, 173, 99, 0.4));
}

body.revealed-ui .impact-ticker-track span {
  letter-spacing: 0.12em;
}

.impact-ticker-track span i {
  font-size: 0.6em;
  color: var(--primary-sage);
  opacity: 0;
  transition: opacity 1.5s var(--ease-luxury), color 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
  transition-delay: 1.2s;
}

body.revealed-ui .impact-ticker-track span i {
  opacity: 0.65;
}

.impact-ticker-track span:hover {
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.impact-ticker-track span:hover i {
  color: var(--primary-sage);
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(149, 173, 99, 0.5));
}


.ticker-sep {
  color: rgba(255, 255, 255, 0.05);
  font-weight: 200;
  margin: 0 15px;
  transform: translateY(-2px);
}

@keyframes tickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

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

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



/* glass-sweep removed for minimalism */

.navbar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: var(--nav-glow-x, 50%);
  width: 120px;
  height: 100%;
  background: radial-gradient(circle, rgba(149, 173, 99, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navbar:hover::before {
  opacity: 1;
}

@media (max-width: 1024px) {
  .impact-ticker-wrapper {
    padding: 2rem 0;
  }

  .impact-ticker-track span {
    font-size: 2.2rem;
    padding: 0 30px;
    letter-spacing: 0.1em;
  }

  .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,
.pillar-card::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,
.pillar-card: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 240px;
    height: 300px;
  }

  .impact-slider-wrapper::before,
  .impact-slider-wrapper::after {
    width: 25vw;
    background: linear-gradient(to right, #010804 20%, transparent 100%);
  }

  .impact-slider-wrapper::after {
    background: linear-gradient(to left, #010804 20%, transparent 100%);
  }
}

/* PREMIUM LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 8, 4, 0.98);
  z-index: 9999;
  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;
}

.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 {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  filter: brightness(1.05);
}

/* 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 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: 10000;
  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);
}

.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;
}

.modal-close:hover {
  background: rgba(149, 173, 99, 0.3);
  transform: rotate(90deg);
}

.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: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 10px 20px rgba(149, 173, 99, 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 #announcement-bar {
  display: none;
}

html.announce-closed body {
  padding-top: var(--nav-height);
}


/* 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(320px, 1fr));
  gap: 2.5rem;
}

.transparency-stats-flex {
  display: flex;
  justify-content: center;
  gap: 6rem;
  flex-wrap: wrap;
  margin-top: 4rem;
}

/* 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;
  }

  .transparency-stats-flex {
    gap: 3rem;
    flex-direction: column;
    align-items: center;
  }

  .core-initiatives-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .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: 10000;
  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;
}

.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 td:last-child {
    border-bottom: none;
  }

  .ledger-row:hover {
    transform: none;
    /* Disable hover shift on mobile */
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS (MOBILE/TABLET)
======================================== */
@media (max-width: 1024px) {

  /* 1. Disable heavy Backdrop Filters (Blur) */
  .navbar,
  .announcement-bar,
  .glass-card,
  .pillar-card,
  .mission-card,
  .modal-overlay,
  .lightbox-overlay,
  .dropdown-menu,
  .lang-dropdown-mobile,
  .impact-ticker-wrapper,
  .btn-ghost-light,
  .btn-outline-glass,
  .glass-modal,
  .lang-switcher,
  .impact-slider-wrapper {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Solid fallbacks for removed glass effect */
  .navbar {
    background: rgba(5, 14, 9, 0.98);
  }

  .announcement-bar {
    background: rgba(3, 8, 5, 0.98);
  }

  .modal-overlay,
  .lightbox-overlay {
    background: rgba(0, 0, 0, 0.95);
  }

  .glass-modal {
    background: rgba(15, 20, 18, 0.98);
  }

  .impact-ticker-wrapper {
    background: rgba(0, 0, 0, 0.9);
  }

  .dropdown-menu,
  .lang-dropdown-mobile {
    background: rgba(8, 20, 14, 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,
  .cta-section::before {
    display: none;
    animation: none;
    background-image: none;
  }
}

/* --- Page Reveal Animations --- */
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;
    transform: translateY(10px);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@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;
}
