/* ==========================================================
   BEST VISION FOUNDATION (BVF) - SIGNATURE BIOPHILIC PLATFORM
   Exclusive Living Canopy Green Theme & Real-Time Action System
   NGO Reg: L-184510 | Negombo, Western Province, Sri Lanka
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* 🌿 Exclusive Living Canopy Green Theme (Unified Nature Palette) */
  --bg-deep: #f5f8f5;              /* Morning Mist Canvas */
  --bg-surface: #ffffff;           /* Radiant Clean Surface */
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-subtle-green: #eef6f1;      /* Soft Sage Wash */

  /* Deep Forest Hierarchy */
  --forest-deep: #063628;          /* Ancient Rainforest Pine - Authority & Contrast */
  --forest-dark: #0a4d3a;          /* Rich Foliage Shade */
  --emerald-vibrant: #059669;      /* Pure Chlorophyll Leaf Green */
  --emerald-neon: #10b981;         /* Ceylon Vibrant Palm Green */
  --emerald-soft: rgba(16, 185, 129, 0.09);
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --mint-bright: #34d399;          /* Young Shoot Accent */

  /* Sunlit Ceylon Earth & Marine Waterways */
  --amber-solar: #d97706;          /* Ceylon Sunlit Amber */
  --amber-warm: #f59e0b;           /* Vibrant Amber Gold */
  --amber-soft: rgba(217, 119, 6, 0.10);
  --amber-glow: rgba(245, 158, 11, 0.25);
  --cyan-neon: #0284c7;           /* Negombo Coastal Lagoon Blue */
  --cyan-glow: rgba(2, 132, 199, 0.20);
  --cyan-soft: rgba(2, 132, 199, 0.09);
  --crisis-red: #dc2626;           /* Urgent Wildlife Hazard Red */

  /* Typography Colors (High Contrast & Biophilic Elegance) */
  --text-white: #063628;           /* High-contrast headings in deep noble forest */
  --text-heading: #063628;
  --text-slate: #203a30;           /* Rich botanical slate body copy */
  --text-muted: #526f63;           /* Secondary / timestamp / metadata */
  --border-subtle: rgba(6, 54, 40, 0.09);
  --border-neon: rgba(16, 185, 129, 0.26);

  /* Typography Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Shadows & Radius */
  --glow-emerald: 0 8px 24px rgba(16, 185, 129, 0.20);
  --glow-cyan: 0 8px 24px rgba(2, 132, 199, 0.15);
  --shadow-card: 0 6px 20px -2px rgba(6, 54, 40, 0.06), 0 2px 6px -1px rgba(16, 185, 129, 0.03);
  --shadow-lg: 0 16px 36px -4px rgba(6, 54, 40, 0.10), 0 6px 14px -2px rgba(16, 185, 129, 0.05);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-slate);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Background Ambient Living Light */
body::before {
  content: '';
  position: fixed;
  top: -160px;
  left: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -150px;
  right: 10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--emerald-vibrant);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--forest-deep);
}

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

.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================
   Header & Live Radar Status Bar
   ========================================================== */
.radar-notice-bar {
  background: linear-gradient(90deg, #05291d 0%, #0d4837 50%, #05291d 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.45rem 0;
  font-size: 0.82rem;
  color: #d1fae5;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(5, 41, 29, 0.15);
  overflow: hidden;
  line-height: 1.35;
}

.radar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 1.25rem;
  width: 100%;
}

.radar-indicator {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ecfdf5;
  min-height: 24px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
}

.pulse-beacon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: radarPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes radarPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.radar-live-pill {
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  flex-shrink: 0;
}

.radar-ticker-text {
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 0;
}

.radar-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.82rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.radar-links span, .radar-links a {
  color: #d1fae5;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.radar-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.topbar-hotline {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-weight: 700;
  color: #ffffff !important;
  white-space: nowrap;
}

.topbar-hotline:hover {
  background: var(--emerald-neon);
  color: #05291d !important;
}

/* Main Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 4px 20px -2px rgba(6, 54, 40, 0.05);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  gap: 1rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
  border: 2.5px solid var(--emerald-neon);
  background: #ffffff;
  transition: var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(6deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-bold {
  font-weight: 900;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}

.brand-green {
  font-weight: 800;
  color: var(--emerald-vibrant);
  letter-spacing: 0.01em;
  margin-left: 0.35rem;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--emerald-vibrant);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Navigation Links - Zero Text Wrapping */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-slate);
  position: relative;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.22s ease-in-out;
}

.nav-link:hover {
  background: rgba(16, 185, 129, 0.09);
  color: var(--emerald-vibrant);
  transform: translateY(-1px);
}

.nav-link.active {
  background: var(--forest-deep);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(6, 54, 40, 0.25);
}

.nav-link.active .nav-urgent-pill {
  background: #ffffff;
  color: var(--forest-deep);
}

/* Urgent Nav Pill */
.nav-urgent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
  margin-left: 0.25rem;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseBeacon 1.5s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.7; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Header Donate CTA Button with Living Shimmer */
.btn-header-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-header-donate::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  animation: shimmerSweep 3.5s infinite;
}

@keyframes shimmerSweep {
  0% { left: -60%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

.btn-header-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.mobile-toggle {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  color: var(--forest-deep);
  cursor: pointer;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 2px 6px rgba(6, 54, 40, 0.05);
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--emerald-neon);
  color: #ffffff;
}

/* General Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-neon-glow, .btn-emerald-glow {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-neon-glow:hover, .btn-emerald-glow:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-cyan-glow {
  background: linear-gradient(135deg, var(--cyan-neon) 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.28);
}

.btn-cyan-glow:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.38);
}

.btn-glass {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--forest-deep);
  box-shadow: 0 2px 8px rgba(6, 54, 40, 0.05);
}

.btn-glass:hover {
  background: #eef6f1;
  border-color: var(--emerald-neon);
  color: var(--emerald-vibrant);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.15);
}

.btn-emerald-outline {
  background: transparent;
  border: 2px solid var(--emerald-vibrant);
  color: var(--forest-deep);
}

.btn-emerald-outline:hover {
  background: var(--emerald-vibrant);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.25);
}

/* ==========================================================
   Hero Living Atmosphere & Organic Ambience
   ========================================================== */
.hero-section {
  position: relative;
  padding: 5.5rem 0 5.5rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f6f2 0%, #f7faf7 60%, #ffffff 100%);
}

.hero-botanical-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 12% 25%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(217, 119, 6, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(2, 132, 199, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating Natural Foliage Particles */
.floating-foliage-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.foliage-leaf {
  position: absolute;
  opacity: 0.18;
  color: var(--emerald-vibrant);
  font-size: 1.8rem;
  filter: blur(0.5px);
}

.leaf-1 {
  top: 15%;
  left: 6%;
  animation: floatLeaf1 14s infinite ease-in-out;
}

.leaf-2 {
  top: 65%;
  left: 12%;
  animation: floatLeaf2 18s infinite ease-in-out;
  font-size: 1.3rem;
  opacity: 0.14;
}

.leaf-3 {
  top: 25%;
  right: 8%;
  animation: floatLeaf1 16s infinite ease-in-out reverse;
  font-size: 2.2rem;
  opacity: 0.15;
}

.leaf-4 {
  bottom: 12%;
  right: 18%;
  animation: floatLeaf2 20s infinite ease-in-out;
  font-size: 1.6rem;
  opacity: 0.16;
}

@keyframes floatLeaf1 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) translateX(15px) rotate(22deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes floatLeaf2 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) translateX(-20px) rotate(-26deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Live Wildlife Crisis Banner */
.live-crisis-banner {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%);
  border: 1px solid #fde68a;
  border-left: 5px solid #d97706;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
}

.crisis-beacon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: #92400e;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crisis-beacon .pulse-beacon {
  background-color: #d97706;
  box-shadow: 0 0 8px #d97706;
}

.crisis-text {
  font-size: 0.92rem;
  color: #78350f;
  flex-grow: 1;
}

.crisis-text strong {
  color: #451a03;
}

.crisis-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #92400e;
  background: rgba(217, 119, 6, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.crisis-action-link:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateX(3px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.telemetry-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-neon);
  color: var(--forest-deep);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--forest-deep);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-headline .gradient-text {
  background: linear-gradient(135deg, var(--emerald-vibrant) 0%, #0d9488 50%, var(--amber-solar) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-slate);
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-tele-num {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
}

.stat-tele-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Holographic Showcase Card */
.holo-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-emerald);
  position: relative;
}

.holo-media {
  position: relative;
  height: 290px;
  background: var(--bg-subtle-green);
}

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

.holo-status-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--emerald-neon);
  color: var(--forest-deep);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(6, 54, 40, 0.12);
  backdrop-filter: blur(8px);
}

.holo-body {
  padding: 1.75rem;
}

.holo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.holo-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-neon), var(--cyan-neon));
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ==========================================================
   Live Impact Heads-Up Display (HUD)
   ========================================================== */
.hud-section {
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.hud-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald-neon), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.hud-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-neon);
  box-shadow: var(--shadow-lg), var(--glow-emerald);
}

.hud-card:hover::before {
  opacity: 1;
}

.hud-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.hud-icon-emerald { background: var(--emerald-soft); color: var(--emerald-neon); }
.hud-icon-cyan { background: var(--cyan-soft); color: var(--cyan-neon); }
.hud-icon-amber { background: var(--amber-soft); color: var(--amber-solar); }
.hud-icon-purple { background: rgba(147, 51, 234, 0.08); color: #9333ea; }

.hud-number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hud-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================
   Interactive Bento Grid: What We Do
   ========================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--emerald-soft);
  color: var(--emerald-neon);
  border: 1px solid var(--border-neon);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-neon);
  box-shadow: var(--shadow-lg), var(--glow-emerald);
}

.bento-col-7 { grid-column: span 7; }
.bento-col-5 { grid-column: span 5; }
.bento-col-6 { grid-column: span 6; }
.bento-col-4 { grid-column: span 4; }
.bento-col-8 { grid-column: span 8; }

.bento-media {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--bg-subtle-green);
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bento-card:hover .bento-media img {
  transform: scale(1.06);
}

.bento-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.bento-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bento-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-neon);
  margin-bottom: 0.5rem;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.bento-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.bento-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.bento-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-slate);
  margin-bottom: 0.45rem;
}

.bento-features li i {
  color: var(--emerald-neon);
  margin-top: 0.25rem;
}

/* ==========================================================
   Interactive Donation Engine ("Fuel The Mission")
   ========================================================== */
.donation-engine-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg), var(--glow-emerald);
  position: relative;
  overflow: hidden;
}

.currency-toggle {
  display: inline-flex;
  background: #e2e8f0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 2rem;
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.currency-btn.active {
  background: var(--emerald-neon);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--emerald-glow);
}

.donation-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.tier-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.tier-card:hover, .tier-card.selected {
  border-color: var(--emerald-neon);
  background: var(--emerald-soft);
  box-shadow: 0 4px 18px var(--emerald-glow);
  transform: translateY(-3px);
}

.tier-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.tier-brief {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.impact-outcome-banner {
  background: var(--cyan-soft);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.outcome-icon {
  font-size: 1.8rem;
  color: var(--cyan-neon);
  flex-shrink: 0;
}

.outcome-text h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.outcome-text p {
  font-size: 0.92rem;
  color: var(--text-slate);
}

/* ==========================================================
   Interactive Volunteer Matcher Widget
   ========================================================== */
.matcher-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-card);
}

.matcher-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.matcher-select {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-fast);
}

.matcher-select:focus {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.matcher-result-card {
  background: var(--emerald-soft);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ==========================================================
   Modals & Forms
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 26, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(6, 54, 40, 0.15), var(--glow-emerald);
  padding: 2.5rem;
  position: relative;
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-white);
  border-color: var(--emerald-neon);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px eliminates mobile zoom */
  color: var(--text-white);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  background: var(--bg-surface);
  border-color: var(--emerald-neon);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================
   Mobile Floating Action Dock
   ========================================================== */
.mobile-floating-dock {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-neon);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), var(--glow-emerald);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 440px;
  justify-content: space-between;
  align-items: center;
}

.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  flex: 1;
  text-align: center;
}

.dock-btn-primary {
  background: var(--emerald-neon);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--emerald-glow);
}

.dock-btn-secondary {
  background: var(--bg-surface);
  color: var(--forest-deep);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================
   Footer - Deep Ceylon Rainforest Canopy
   ========================================================== */
.site-footer {
  background: linear-gradient(180deg, #05291d 0%, #031b13 100%);
  border-top: 2px solid rgba(16, 185, 129, 0.25);
  padding: 5rem 0 2.5rem 0;
  color: #a7f3d0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #10b981;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #94a3b8;
}

.footer-contact-item i {
  color: #10b981;
  margin-top: 0.25rem;
}

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

/* ==========================================================
   Dual Payment Gateway & Donation Tabs
   ========================================================== */
.payment-tabs {
  display: flex;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.payment-tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius-md) - 4px);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.payment-tab-btn:hover {
  color: var(--text-white);
}

.payment-tab-btn.active {
  background: #ffffff;
  color: var(--forest-deep);
  border: 1px solid var(--emerald-neon);
  box-shadow: 0 4px 14px rgba(6, 54, 40, 0.08);
}

.payment-tab-content {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.payment-tab-content.active {
  display: block;
}

/* PayPal Button */
.btn-paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: #ffc439;
  color: #003087;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 9999px;
  border: 1px solid #e0aa2b;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 196, 57, 0.35);
  text-decoration: none;
}

.btn-paypal:hover {
  background: #f4b41a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 196, 57, 0.45);
  color: #002266;
}

.paypal-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Direct PayPal Recipient Account Box */
.paypal-direct-account-box {
  background: rgba(0, 112, 186, 0.06);
  border: 1px dashed rgba(0, 112, 186, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

[data-theme="dark"] .paypal-direct-account-box {
  background: rgba(0, 112, 186, 0.15);
  border-color: rgba(0, 112, 186, 0.5);
}

.paypal-direct-info {
  font-size: 0.82rem;
  color: var(--text-slate);
  line-height: 1.4;
  text-align: left;
}

.paypal-direct-email {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #0070ba;
  display: inline-block;
  margin-left: 0.25rem;
  word-break: break-all;
}

[data-theme="dark"] .paypal-direct-email {
  color: #38bdf8;
}

.paypal-direct-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}


/* Digital Bank Card / Passbook Widget (Ultra-compact & futuristic) */
.digital-bank-card {
  background: linear-gradient(135deg, #05291d 0%, #083c2b 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(5, 41, 29, 0.25), 0 0 20px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
}

.digital-bank-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  padding-bottom: 0.85rem;
}

.bank-brand-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bank-brand-icon {
  font-size: 1.5rem;
  color: var(--emerald-neon);
}

.bank-title-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.bank-sub-text {
  font-size: 0.78rem;
  color: #a7f3d0;
  font-family: var(--font-mono);
}

.bank-chip-tag {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-neon);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bank-account-spotlight {
  background: rgba(3, 27, 19, 0.65);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.account-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6ee7b7;
  font-family: var(--font-mono);
  margin-bottom: 0.2rem;
}

.account-digits {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.btn-copy-account {
  background: var(--emerald-neon);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-copy-account:hover {
  background: #059669;
  transform: translateY(-2px);
}

.bank-meta-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.meta-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
}

.meta-label {
  display: block;
  font-size: 0.68rem;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.meta-val {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

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

.bank-action-row .btn {
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
}

/* Community Gateway Card */
.community-gateway-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

.leader-avatar-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
  border: 2px solid var(--emerald-neon);
  overflow: hidden;
  background: #ffffff;
}

/* Executive Leadership & Board Grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.leader-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.leader-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neon);
  box-shadow: 0 16px 36px rgba(5, 41, 29, 0.12), var(--glow-emerald);
}

.leader-card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.15rem;
}

.leader-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--emerald-soft);
  border: 1.5px solid var(--border-neon);
  color: var(--emerald-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px var(--emerald-glow);
}

.leader-card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.leader-card-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-neon);
  font-family: var(--font-mono);
}

.leader-card-bio {
  font-size: 0.92rem;
  color: var(--text-slate);
  line-height: 1.65;
  flex-grow: 1;
}

.leader-card-bio p {
  margin-bottom: 0.75rem;
}

.leader-card-bio p:last-child {
  margin-bottom: 0;
}

/* Bank Account Wire Box (Legacy fallback) */
.bank-wire-box {
  background: var(--bg-deep);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.bank-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.bank-detail-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  position: relative;
}

.bank-detail-item .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.bank-detail-item .value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
  font-family: var(--font-mono);
}

.bank-copy-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  color: var(--emerald-neon);
  cursor: pointer;
  font-size: 0.85rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.bank-copy-icon:hover {
  opacity: 1;
}

/* Bank Transfer & QR Layout */
.bank-transfer-qr-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: stretch;
}

.bank-qr-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
  width: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .bank-transfer-qr-layout {
    grid-template-columns: 1fr !important;
  }
  .bank-qr-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Pending Projects Presentation */
.project-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-slate);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--emerald-neon);
  color: var(--text-white);
}

.filter-btn.active {
  background: var(--emerald-neon);
  color: #04080c;
  border-color: var(--emerald-neon);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.pending-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pending-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--emerald-neon), var(--cyan-neon));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pending-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-neon);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(16, 185, 129, 0.15);
}

.pending-card:hover::before {
  opacity: 1;
}

.pending-card-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-neon);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pending-card-badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-urgent {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-proposed {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.pending-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.pending-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.pending-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  gap: 0.5rem;
}

/* Nav Item Pulse Tag */
.nav-urgent-tag {
  background: #ef4444;
  color: #ffffff !important;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-left: 0.25rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Reusable Cross-Page Responsive Components */
.content-grid-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.project-showcase-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}

.project-showcase-card.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.project-showcase-media {
  min-height: 280px;
  position: relative;
}

.project-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-showcase-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.leader-dispatch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.leader-dispatch-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.pending-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.payment-dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.donation-presets-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.ways-to-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.split-stat-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cta-btn-group,
.mobile-stack-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================
   Responsive Breakpoints (Mobile First Overrides)
   ========================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hud-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-col-7, .bento-col-5, .bento-col-6, .bento-col-4, .bento-col-8 {
    grid-column: span 12;
  }
  .donation-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .matcher-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1120px) and (min-width: 881px) {
  .nav-menu {
    gap: 0.25rem;
  }
  .nav-link {
    font-size: 0.85rem;
    padding: 0.45rem 0.65rem;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .brand-tagline {
    font-size: 0.62rem;
  }
  .btn-header-donate {
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 880px) {
  /* Eliminate any background overflow */
  body::before,
  body::after {
    display: none !important;
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .main-header {
    padding: 0;
  }

  .navbar {
    padding: 0.65rem 0;
    min-height: 56px;
  }

  .brand-logo {
    gap: 0.65rem;
    max-width: calc(100% - 55px);
  }

  .brand-logo-img {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 1.1rem;
    line-height: 1.15;
  }

  .brand-bold, .brand-green {
    font-size: 1.05rem;
  }

  /* Hide verbose tagline and secretariat in header on mobile to prevent overflow */
  .brand-tagline, .brand-sub {
    display: none !important;
  }

  /* Hide header donate button on mobile since mobile dock is pinned at bottom */
  .btn-header-donate {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    flex-shrink: 0;
  }

  .nav-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    padding: 1.25rem 1.15rem calc(85px + env(safe-area-inset-bottom, 0px)) 1.15rem;
    gap: 0.65rem;
    box-shadow: 0 25px 60px rgba(5, 41, 29, 0.25);
    border-bottom: 4px solid var(--emerald-neon);
    transform: translateY(-160%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #f7faf8;
    border: 1px solid rgba(16, 185, 129, 0.14);
    border-radius: var(--radius-md);
    color: var(--forest-deep);
  }

  .nav-link:hover, .nav-link.active {
    background: var(--forest-deep);
    color: #ffffff !important;
    border-color: var(--forest-deep);
  }

  .mobile-floating-dock {
    display: flex;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    max-width: 480px;
    margin: 0 auto;
    z-index: 9990;
  }

  body {
    padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px));
  }

  .hero-section {
    padding: 1.75rem 0 2rem 0 !important;
  }

  .hero-headline {
    font-size: clamp(1.65rem, 5.8vw, 2.1rem) !important;
    line-height: 1.18;
    margin-bottom: 0.85rem !important;
  }

  .hero-subtext {
    font-size: 0.88rem !important;
    line-height: 1.55;
    margin-bottom: 1.25rem !important;
  }

  .hero-cta-group,
  .cta-btn-group,
  .mobile-stack-btns {
    flex-direction: column !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }

  .hero-cta-group .btn,
  .cta-btn-group .btn,
  .mobile-stack-btns .btn {
    width: 100% !important;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-stats-strip {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem !important;
    padding-top: 1rem !important;
    width: 100% !important;
  }

  .stat-tele-item {
    padding: 0.45rem 0.25rem !important;
    text-align: center !important;
  }

  .stat-tele-num {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
  }

  .stat-tele-label {
    font-size: 0.62rem !important;
    line-height: 1.15 !important;
  }

  .holo-card {
    border-radius: var(--radius-md) !important;
  }

  .holo-media {
    height: 170px !important;
  }

  .holo-body {
    padding: 1rem !important;
  }

  .holo-title {
    font-size: 1.1rem !important;
  }

  .holo-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem !important;
  }

  .live-crisis-banner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0.6rem 0.85rem !important;
    margin-bottom: 1.25rem !important;
    gap: 0.45rem !important;
  }

  .crisis-beacon {
    font-size: 0.72rem !important;
  }

  .crisis-text {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  .crisis-action-link {
    width: 100% !important;
    font-size: 0.75rem !important;
    padding: 0.4rem 0.85rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Compact 2x2 HUD Grid on all mobile devices */
  .hud-section {
    margin-top: 0 !important;
    padding: 0.5rem 0 1.5rem 0 !important;
  }

  .hud-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .hud-card {
    padding: 0.75rem 0.5rem !important;
    text-align: center !important;
    border-radius: 10px !important;
  }

  .hud-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.82rem !important;
    margin: 0 auto 0.35rem auto !important;
  }

  .hud-number {
    font-size: 1.35rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.15rem !important;
  }

  .hud-label {
    font-size: 0.66rem !important;
    line-height: 1.2 !important;
  }

  /* Compact Bento Grid */
  .bento-grid {
    gap: 0.85rem !important;
  }

  .bento-media {
    height: 160px !important;
  }

  .bento-content {
    padding: 1.15rem 1rem !important;
  }

  .bento-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.4rem !important;
  }

  .bento-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.85rem !important;
  }

  .bento-features li {
    font-size: 0.8rem !important;
    margin-bottom: 0.3rem !important;
  }

  /* Ultra-Compact Donation Engine */
  .donation-engine-wrap {
    padding: 1.25rem 0.95rem !important;
    border-radius: var(--radius-md) !important;
  }

  .currency-toggle {
    margin-bottom: 1.25rem !important;
    padding: 3px !important;
  }

  .currency-btn {
    font-size: 0.78rem !important;
    padding: 0.4rem 0.95rem !important;
  }

  .donation-tiers-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 1.25rem !important;
  }

  .tier-card {
    padding: 0.65rem 0.45rem !important;
    border-radius: 8px !important;
  }

  .tier-amount {
    font-size: 1.15rem !important;
    margin-bottom: 0.15rem !important;
  }

  .tier-brief {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
  }

  .impact-outcome-banner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0.65rem 0.85rem !important;
    gap: 0.65rem !important;
    margin-bottom: 1.25rem !important;
  }

  .outcome-icon {
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
  }

  .outcome-text h4 {
    font-size: 0.92rem !important;
    margin-bottom: 0.15rem !important;
  }

  .outcome-text p {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }

  /* Compact Digital Bank Card */
  .digital-bank-card {
    padding: 1.15rem 1rem !important;
    margin-bottom: 1.25rem !important;
  }

  .bank-card-header {
    margin-bottom: 0.85rem !important;
    padding-bottom: 0.65rem !important;
  }

  .bank-brand-icon {
    font-size: 1.2rem !important;
  }

  .bank-title-text {
    font-size: 1rem !important;
  }

  .bank-sub-text {
    font-size: 0.7rem !important;
  }

  .bank-account-spotlight {
    padding: 0.75rem 0.85rem !important;
    margin-bottom: 0.85rem !important;
  }

  .account-digits {
    font-size: 1.15rem !important;
    letter-spacing: 0.04em !important;
  }

  .btn-copy-account {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.75rem !important;
  }

  .bank-meta-mini-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 0.85rem !important;
  }

  .meta-item {
    padding: 0.45rem 0.6rem !important;
  }

  .meta-label {
    font-size: 0.62rem !important;
    margin-bottom: 0.1rem !important;
  }

  .meta-val {
    font-size: 0.78rem !important;
  }

  .bank-action-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
  }

  .bank-action-row .btn {
    width: 100% !important;
    padding: 0.55rem 0.65rem !important;
    font-size: 0.75rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .bank-action-row .btn-open-donation {
    grid-column: span 2 !important;
  }

  .matcher-box {
    padding: 1.25rem 1rem !important;
  }

  .matcher-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .matcher-result-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.15rem 0.95rem !important;
    gap: 0.85rem !important;
  }

  /* Grids & Cards full width on mobile */
  .content-grid-split {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .project-showcase-card,
  .project-showcase-card.reverse {
    grid-template-columns: 1fr !important;
  }

  .project-showcase-media {
    min-height: 180px !important;
    max-height: 220px !important;
    order: -1 !important;
  }

  .project-showcase-body {
    padding: 1.25rem 1rem !important;
  }

  .project-showcase-body .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Single-column Leader Dispatch */
  .leader-dispatch-card {
    padding: 1.35rem 1rem !important;
  }

  .leader-dispatch-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    text-align: center !important;
  }

  .leader-avatar-wrap {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 0.75rem auto !important;
  }

  .leader-dispatch-grid p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .leadership-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .leader-card {
    padding: 1.25rem 1rem !important;
  }

  .leader-card-header {
    margin-bottom: 0.85rem !important;
    padding-bottom: 0.75rem !important;
    gap: 0.85rem !important;
  }

  .leader-card-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.15rem !important;
  }

  .leader-card-info h4 {
    font-size: 1.05rem !important;
  }

  .leader-card-bio {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
  }

  .community-gateway-card {
    padding: 1.35rem 1rem !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.15rem !important;
  }

  .pending-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .pillars-grid,
  .ways-to-help-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .pending-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .pending-card {
    padding: 1.15rem 1rem !important;
  }

  .bank-detail-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .bank-wire-box {
    padding: 1.15rem 1rem !important;
  }

  .payment-dual-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .payment-tabs {
    flex-direction: column !important;
    gap: 6px !important;
  }

  .payment-tab-btn {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
  }

  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .radar-content {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .radar-links span, .radar-links a:not(.topbar-hotline) {
    display: none !important;
  }

  .modal-dialog {
    padding: 1.25rem 1rem !important;
    max-height: 90vh !important;
    width: calc(100% - 20px) !important;
    margin: 10px !important;
  }

  .modal-overlay {
    padding: 0.5rem !important;
  }

  /* Global Compact Section Padding */
  .section {
    padding: 2.25rem 0 !important;
  }

  .section-title {
    font-size: 1.45rem !important;
    margin-bottom: 0.35rem !important;
  }

  .section-desc {
    font-size: 0.88rem !important;
    margin-bottom: 1.35rem !important;
  }

  .section-badge {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.65rem !important;
    margin-bottom: 0.45rem !important;
  }

  /* Prevent iOS Safari automatic zoom on inputs */
  input.form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important;
  }
}

@media (max-width: 600px) {
  .split-stat-2col {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* HUD grid remains compact 2x2 dashboard on small screens */
  .hud-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
  }

  .hud-card {
    padding: 0.65rem 0.45rem !important;
  }

  .hud-number {
    font-size: 1.25rem !important;
  }

  .hud-label {
    font-size: 0.62rem !important;
  }

  .donation-presets-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.4rem !important;
  }

  .radar-links {
    display: none !important;
  }

  .section {
    padding: 2.25rem 0 !important;
  }

  .section-title {
    font-size: 1.4rem !important;
  }

  .filter-btn {
    padding: 0.45rem 0.95rem !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 0.95rem !important;
  }
  .brand-bold, .brand-green {
    font-size: 0.92rem !important;
  }
  .mobile-toggle {
    width: 38px !important;
    height: 38px !important;
  }
  .tier-amount {
    font-size: 1.1rem !important;
  }
  .account-digits {
    font-size: 1.05rem !important;
  }
}

/* ==========================================================
   TOP PRIORITY PROJECT: ELEPHANT HOSPITAL & RESCUE CENTER
   Habarana / Minneriya / Anuradhapura • North Central Province
   ========================================================== */

.hospital-priority-section {
  position: relative;
  background: linear-gradient(180deg, rgba(6, 54, 40, 0.04) 0%, rgba(16, 185, 129, 0.07) 50%, rgba(6, 54, 40, 0.03) 100%);
  border-top: 2px solid var(--border-neon);
  border-bottom: 2px solid var(--border-neon);
  padding: 3.5rem 0;
  overflow: hidden;
}

.hospital-hero-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(16, 185, 129, 0.12);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.hospital-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.hospital-visual-pane {
  position: relative;
  background: #021a12;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hospital-visual-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hospital-visual-pane:hover img {
  transform: scale(1.03);
}

.hospital-render-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 54, 40, 0.88);
  backdrop-filter: blur(10px);
  color: var(--mint-bright);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hospital-feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 26, 18, 0.95) 90%);
  padding: 1.25rem 1.25rem 1rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hospital-content-pane {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.crisis-badge-urgent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #dc2626;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.crisis-beacon-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 10px #dc2626;
  animation: pulseCrisis 1.5s infinite;
}

@keyframes pulseCrisis {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hospital-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  font-weight: 800;
}

.hospital-meta-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hospital-crisis-callout {
  background: rgba(220, 38, 38, 0.06);
  border-left: 3px solid #dc2626;
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
}

.hospital-crisis-callout p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-slate);
  margin-bottom: 0;
}

.hospital-stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.h-stat-card {
  background: var(--bg-subtle-green);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}

.h-stat-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-deep);
  display: block;
  line-height: 1.2;
}

.h-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* 2 Help Options Layout */
.help-options-section-title {
  text-align: center;
  margin-bottom: 1.75rem;
}

.help-options-section-title h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-heading);
  font-weight: 800;
}

.help-options-section-title p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 620px;
  margin: 0.35rem auto 0;
}

.help-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.option-box {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.option-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.option-box.opt-tourist {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, rgba(245, 158, 11, 0.03) 100%);
}

.option-box.opt-tourist:hover {
  border-color: var(--amber-warm);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(245, 158, 11, 0.18);
}

.option-box.opt-direct {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, rgba(16, 185, 129, 0.03) 100%);
}

.option-box.opt-direct:hover {
  border-color: var(--emerald-neon);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(16, 185, 129, 0.18);
}

.opt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.opt-badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.opt-badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--forest-dark);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.opt-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.65rem;
}

.opt-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-slate);
  margin-bottom: 1.25rem;
}

/* Poster Preview & QR within Option 1 */
.poster-preview-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  background: var(--bg-subtle-green);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.poster-thumb-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.poster-thumb-wrap img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.poster-thumb-wrap:hover img {
  transform: scale(1.05);
}

.poster-zoom-hint {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 54, 40, 0.90);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
  pointer-events: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
  opacity: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.poster-thumb-wrap:hover .poster-zoom-hint {
  transform: translateX(-50%) scale(1.05);
  background: var(--forest-dark);
}

.poster-info-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.poster-title-micro {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--forest-deep);
}

.poster-desc-micro {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Itemized Sponsor Chips within Option 2 */
.sponsor-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.sponsor-chip-item {
  background: var(--bg-subtle-green);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.sponsor-chip-item:hover {
  background: #ffffff;
  border-color: var(--emerald-neon);
  transform: translateY(-1px);
}

.sponsor-chip-item i {
  color: var(--emerald-vibrant);
  font-size: 0.85rem;
}

.audit-guarantee-pill {
  background: rgba(2, 132, 199, 0.08);
  border: 1px dashed rgba(2, 132, 199, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-slate);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.audit-guarantee-pill strong {
  color: var(--cyan-neon);
}

.treasurer-contact-card {
  background: #ffffff;
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.treasurer-info h5 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--forest-deep);
  margin-bottom: 0.15rem;
}

.treasurer-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Mobile adjustments for Elephant Hospital */
@media (max-width: 900px) {
  .hospital-grid {
    grid-template-columns: 1fr;
  }
  .hospital-visual-pane {
    min-height: 260px;
  }
  .help-options-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hospital-content-pane {
    padding: 1.5rem;
  }
}

@media (max-width: 540px) {
  .poster-preview-card {
    grid-template-columns: 90px 1fr;
    gap: 0.75rem;
  }
  .poster-thumb-wrap img {
    height: 120px;
  }
  .sponsor-chips-grid {
    grid-template-columns: 1fr;
  }
  .treasurer-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .h-stat-num {
    font-size: 1.1rem;
  }
}

/* ==========================================================
   URGENT APPEAL: STRAY DOG RESCUE PROJECT IN SRI LANKA
   ========================================================== */

.dog-rescue-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, rgba(16, 185, 129, 0.06) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.dog-rescue-banner {
  background: var(--bg-card);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.12);
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
}

.dog-poster-pane {
  background: #08110e;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  cursor: pointer;
  text-decoration: none;
}

.dog-poster-pane img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}

.dog-poster-pane:hover img {
  transform: scale(1.02);
}

.dog-poster-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 54, 40, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.dog-content-pane {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dog-appeal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #b45309;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.dog-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.dog-subtitle {
  color: var(--emerald-neon);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

/* Before & After Comparison Strip */
.before-after-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ba-card {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.ba-card.ba-before {
  background: rgba(220, 38, 38, 0.06);
  border-left: 3px solid #dc2626;
}

.ba-card.ba-after {
  background: rgba(16, 185, 129, 0.07);
  border-left: 3px solid var(--emerald-neon);
}

.ba-heading {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ba-before .ba-heading { color: #dc2626; }
.ba-after .ba-heading { color: var(--emerald-vibrant); }

.ba-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.ba-tag {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.ba-before .ba-tag { color: #991b1b; }
.ba-after .ba-tag { color: var(--forest-dark); }

/* 3 Pillars of Dog Rescue */
.dog-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.dog-pillar-card {
  background: var(--bg-subtle-green);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
}

.dog-pillar-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pillar-icon-medical { background: rgba(220, 38, 38, 0.12); color: #dc2626; }
.pillar-icon-vaccine { background: rgba(2, 132, 199, 0.12); color: var(--cyan-neon); }
.pillar-icon-shelter { background: rgba(16, 185, 129, 0.15); color: var(--emerald-vibrant); }

.dog-pillar-card h5 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--forest-deep);
  margin-bottom: 0.25rem;
}

.dog-pillar-card p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .dog-rescue-banner {
    grid-template-columns: 1fr;
  }
  .dog-poster-pane {
    max-height: 380px;
    padding: 1rem;
  }
  .dog-content-pane {
    padding: 1.5rem;
  }
  .dog-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .before-after-strip {
    grid-template-columns: 1fr;
  }
}




/* ==========================================================
   Prominent QR Code Showcases & Badges
   ========================================================== */
.prominent-qr-showcase {
  background: linear-gradient(135deg, rgba(3, 27, 19, 0.92) 0%, rgba(5, 41, 29, 0.98) 100%);
  border: 2px solid var(--amber-solar);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(245, 158, 11, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prominent-qr-showcase:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), 0 0 35px rgba(245, 158, 11, 0.35);
}

.prominent-qr-box {
  flex-shrink: 0;
  text-align: center;
  cursor: pointer;
}

.prominent-qr-img-wrap {
  background: #ffffff;
  padding: 8px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  line-height: 0;
  transition: transform 0.2s ease;
}

.prominent-qr-img-wrap:hover {
  transform: scale(1.05);
}

.prominent-qr-img-wrap img {
  width: 125px;
  height: 125px;
  display: block;
}

.poster-qr-strip {
  background: rgba(3, 27, 19, 0.88);
  border: 1.5px solid var(--amber-solar);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: left;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.qr-nav-pill {
  border: 1.5px solid var(--amber-solar) !important;
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.12) !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 0.45rem 0.95rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2) !important;
  text-decoration: none !important;
}

.qr-nav-pill:hover {
  background: var(--amber-solar) !important;
  color: #000000 !important;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .prominent-qr-showcase {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.25rem 1rem !important;
    gap: 1rem !important;
  }
  .prominent-qr-showcase .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .poster-qr-strip {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.85rem !important;
  }
  .poster-qr-strip .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* Quick Donation Amount Tiers Selector */
.quick-amount-selector-wrap {
  margin-bottom: 1.25rem;
}

.quick-amount-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-neon);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.quick-amount-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.quick-amount-btn {
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-subtle, rgba(0, 0, 0, 0.12));
  border-radius: var(--radius-sm, 8px);
  padding: 0.65rem 0.35rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-family: var(--font-heading, inherit);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.quick-amount-btn:hover {
  border-color: var(--emerald-neon, #10b981);
  background: rgba(16, 185, 129, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.quick-amount-btn.active {
  border-color: var(--emerald-neon, #10b981);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.quick-amount-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading, #ffffff);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.quick-amount-btn.active .quick-amount-val {
  color: var(--emerald-vibrant, #10b981);
}

.quick-amount-tag {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-mono, monospace);
  line-height: 1.1;
}

.quick-amount-btn.active .quick-amount-tag {
  color: var(--emerald-neon, #10b981);
}

.quick-amount-summary {
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed var(--border-neon, rgba(16, 185, 129, 0.3));
  border-radius: var(--radius-sm, 6px);
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-slate, #cbd5e1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.quick-amount-summary strong {
  color: var(--emerald-neon, #10b981);
}

@media (max-width: 540px) {
  .quick-amount-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0.35rem !important;
  }
  .quick-amount-btn {
    padding: 0.5rem 0.2rem !important;
  }
  .quick-amount-val {
    font-size: 0.92rem !important;
  }
  .quick-amount-tag {
    font-size: 0.58rem !important;
  }
}

/* ==========================================
   Modern Clean Donation Modal & Custom Amount Engine
   ========================================== */
.donation-modal-dialog {
  max-width: 680px;
  width: 100%;
  padding: 2rem 2.25rem !important;
  border-radius: 20px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-neon) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.25) !important;
}

@media (max-width: 640px) {
  .donation-modal-dialog {
    padding: 1.5rem 1rem !important;
  }
}

.donation-modal-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.donation-modal-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--text-white);
  margin-top: 0.4rem;
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.donation-modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

.donation-step-box {
  background: rgba(13, 23, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.donation-step-box:focus-within {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.12);
}

.donation-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.donation-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-neon);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.donation-step-badge .step-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-neon);
  color: #06281e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.donation-step-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.donation-project-ref-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-slate);
}

.donation-project-ref-strip strong {
  color: var(--cyan-neon);
}

.btn-copy-ref {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--cyan-neon);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.btn-copy-ref:hover {
  background: var(--cyan-neon);
  color: #0d1720;
}

/* Custom / Other Amount Input */
.custom-amount-row {
  margin-top: 0.65rem;
}

.custom-amount-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.custom-currency-symbol {
  position: absolute;
  left: 0.95rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--emerald-neon);
  pointer-events: none;
  font-family: var(--font-mono);
}

.custom-amount-field {
  width: 100%;
  padding: 0.65rem 3.5rem 0.65rem 2.2rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.custom-amount-field:focus {
  border-color: var(--emerald-neon);
  outline: none;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.05);
}

.custom-amount-field::placeholder {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.custom-currency-badge {
  position: absolute;
  right: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  pointer-events: none;
}

/* Bank Box Clean */
.bank-box-clean {
  background: rgba(6, 40, 30, 0.35) !important;
  border-color: var(--border-neon) !important;
}

.bank-detail-highlight {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

.bank-detail-ref {
  border-color: rgba(6, 182, 212, 0.4) !important;
  background: rgba(6, 182, 212, 0.08) !important;
}

.qr-card-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--amber-solar);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}

.qr-img-frame {
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  line-height: 0;
  transition: transform 0.2s ease;
}

.qr-img-frame:hover {
  transform: scale(1.03);
}

.qr-img-frame img {
  width: 105px;
  height: 105px;
  display: block;
}

.qr-card-hint {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.25;
  display: block;
}

.qr-save-btn {
  margin-top: 0.35rem;
  padding: 0.25rem 0.55rem !important;
  font-size: 0.7rem !important;
  width: 100%;
  justify-content: center;
}

.bank-note-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0 0;
  line-height: 1.4;
}

.bank-note-text i {
  color: var(--cyan-neon);
  margin-right: 0.25rem;
}

/* Modal Action Footer */
.donation-modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn-modal-action {
  flex: 1;
  min-width: 180px;
  font-size: 0.88rem;
  justify-content: center;
  padding: 0.75rem 1rem;
}

.btn-modal-whatsapp {
  flex: 1.2;
  min-width: 200px;
  font-size: 0.88rem;
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
  justify-content: center;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-modal-whatsapp:hover {
  background: #20bd5a !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

/* ==========================================
   Featured News & Field Dispatches Section
   ========================================== */
.featured-news-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .featured-news-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-neon);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.news-card-featured {
  border-color: rgba(239, 68, 68, 0.4);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, var(--bg-card) 100%);
}

.news-card-featured:hover {
  border-color: #ef4444;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.2);
}

.news-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #000000;
}

.news-card-featured .news-media {
  height: 240px;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-media img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(13, 23, 32, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-neon);
  color: var(--emerald-neon);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.news-badge-urgent {
  background: rgba(220, 38, 38, 0.85);
  border-color: #ef4444;
  color: #ffffff;
}

.news-badge-gold {
  background: rgba(245, 158, 11, 0.85);
  border-color: #f59e0b;
  color: #0d1720;
}

.news-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 0.6rem;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.news-card-featured .news-title {
  font-size: 1.3rem;
}

.news-title a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.2s;
}

.news-title a:hover {
  color: var(--emerald-neon);
}

.news-excerpt {
  font-size: 0.86rem;
  color: var(--text-slate);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.news-link {
  color: var(--emerald-neon);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}

.news-link:hover {
  gap: 0.6rem;
}

/* ==========================================
   Ultra-Simple Donor Bank Copy Interface (No QR)
   ========================================== */
.bank-copy-list-box {
  background: rgba(13, 23, 32, 0.75) !important;
  border: 1px solid var(--border-neon) !important;
  border-radius: 12px;
  padding: 1.1rem !important;
}

.bank-copy-rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bank-copy-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.bank-copy-row:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.04);
}

.bank-copy-row.highlight-row {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.1);
}

.bank-copy-row.highlight-ref {
  border-color: rgba(6, 182, 212, 0.6);
  background: rgba(6, 182, 212, 0.08);
}

.bank-copy-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 520px) {
  .bank-copy-row-grid {
    grid-template-columns: 1fr;
  }
}

.bank-copy-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.bank-copy-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.bank-copy-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bank-copy-val.num-large {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--emerald-neon);
}

.btn-copy-field {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-slate);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-family: var(--font-heading, inherit);
}

.btn-copy-field:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-neon);
  color: var(--emerald-neon);
  transform: translateY(-1px);
}

.btn-copy-field.btn-copy-primary {
  background: var(--emerald-neon);
  border-color: var(--emerald-neon);
  color: #06281e;
  font-weight: 800;
}

.btn-copy-field.btn-copy-primary:hover {
  background: #34d399;
  color: #06281e;
}

.btn-copy-field.btn-copy-cyan {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
}

.btn-copy-field.btn-copy-cyan:hover {
  background: var(--cyan-neon);
  color: #0d1720;
}
