/* ==========================================================================
   IMPACT PATH COMMUNITY INITIATIVE (IPCI) - Official Design System & Styles
   ========================================================================== */

:root {
  /* Official Brand Colors extracted from official IPCI logo */
  /* Prestige Trust Navy (Institutional Authority, Governance, Sovereign Reliability) */
  --primary: #01254D;
  --primary-accent: #073B75;
  --primary-dark: #001226;
  --primary-light: #0D478A;
  --primary-gradient: linear-gradient(135deg, #001226 0%, #01254D 55%, #073B75 100%);

  /* Living Emerald & Forest Green (Ecosystem Restoration, Community Health, Growth) */
  --secondary: #027233;
  --secondary-dark: #014D22;
  --secondary-light: #059669;
  --secondary-tint: #ECFDF5;
  --secondary-gradient: linear-gradient(135deg, #059669 0%, #027233 100%);

  /* Solar Sunrise Orange (Clean Energy, Active Urgency, High-Converting Donor CTAs) */
  --accent-orange: #DF5400;
  --accent-orange-dark: #B84500;
  --accent-orange-light: #F06514;
  --accent-orange-tint: #FFF7ED;
  --accent-orange-gradient: linear-gradient(135deg, #F06514 0%, #DF5400 100%);
  --accent-orange-gradient-hover: linear-gradient(135deg, #F97316 0%, #DF5400 100%);

  /* Modern Neutral Canvas & High-Readability Text Tokens */
  --bg-canvas: #F8FAFC;
  --bg-light: #F1F5F9;
  --bg-white: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-dark: #001226;
  --text-dark: #0F172A;
  --text-heading: #07172C;
  --text-muted: #334155;
  --text-light: #64748B;
  --text-subtle: #94A3B8;
  --border-color: rgba(1, 37, 77, 0.09);
  --border-light: rgba(1, 37, 77, 0.05);
  --border-focus: rgba(2, 114, 51, 0.4);

  /* Modern Glassmorphism & Elevation */
  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-blur: blur(20px);
  --glass-dark-bg: rgba(1, 18, 38, 0.88);
  --glass-dark-border: rgba(255, 255, 255, 0.12);

  /* Modern High-Impact Dynamic Typography Tokens */
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Refined Elevation Radii & Multi-Layer Depth Shadows */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 20px -3px rgba(1, 37, 77, 0.08), 0 3px 6px -2px rgba(1, 37, 77, 0.04);
  --shadow-lg: 0 18px 34px -6px rgba(1, 37, 77, 0.12), 0 6px 12px -2px rgba(1, 37, 77, 0.05);
  --shadow-xl: 0 28px 56px -12px rgba(1, 37, 77, 0.18), 0 12px 24px -4px rgba(1, 37, 77, 0.08);
  --shadow-glow-orange: 0 8px 25px rgba(223, 84, 0, 0.32);
  --shadow-glow-green: 0 8px 25px rgba(2, 114, 51, 0.26);

  /* Spring Micro-Transitions */
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   01. BASE & TYPOGRAPHY
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

[id] {
  scroll-margin-top: 115px;
}

.anchor-target {
  display: block;
  position: relative;
  top: -115px;
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  font-size: 1.0625rem;
  line-height: 1.76;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 5vw, 3.85rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.16;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.78rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

h4 {
  font-size: clamp(1.22rem, 1.6vw, 1.45rem);
  letter-spacing: -0.018em;
  line-height: 1.32;
}

p {
  font-size: 1.05rem;
  line-height: 1.78;
  letter-spacing: -0.011em;
  color: var(--text-muted);
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.18rem, 1.4vw, 1.32rem);
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 500;
}

::selection {
  background: var(--secondary);
  color: #ffffff;
}

/* Smooth Modern Scrollbars */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: min(1340px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -80px;
  left: 1rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   02. HEADER & NAVIGATION SYSTEM
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #001226 0%, #01254D 100%);
  color: #CBD5E1;
  font-size: 0.84rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.01em;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.top-info a {
  color: #38BDF8;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.top-info a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.top-links a {
  color: #F1F5F9;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}
.top-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(1, 37, 77, 0.08);
  box-shadow: 0 4px 20px -2px rgba(1, 37, 77, 0.05);
  transition: var(--transition);
}

.site-header.menu-open {
  z-index: 1200 !important;
}

.nav-wrap {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: scale(1.015);
}

.brand img {
  width: auto;
  height: 76px;
  max-height: 76px;
  object-fit: contain;
  transition: var(--transition);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.95rem;
  color: var(--primary-dark);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.has-dropdown:hover > .nav-link,
.nav-link[aria-current="page"] {
  color: var(--primary);
  background: rgba(1, 37, 77, 0.06);
}

.chevron-icon {
  color: var(--secondary);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item.has-dropdown:hover .chevron-icon,
.nav-item.has-dropdown.open .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(1, 37, 77, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(1, 37, 77, 0.16), 0 8px 16px -4px rgba(1, 37, 77, 0.08);
  padding: 0.6rem;
  z-index: 1100;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-item.dropdown-right .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: var(--secondary-tint);
  color: var(--secondary-dark);
  transform: translateX(4px);
}

/* Header Actions */
.nav-actions {
  flex-shrink: 0;
}

.donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #F06514 0%, #DF5400 100%);
  color: #ffffff !important;
  padding: 0.78rem 1.65rem;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 16px rgba(223, 84, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.donate-btn:hover {
  background: linear-gradient(135deg, #F97316 0%, #DF5400 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 24px rgba(223, 84, 0, 0.45);
}

.donate-btn:active {
  transform: translateY(1px) scale(0.985);
}

/* Mobile Toggle Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   03. BUTTONS & UI BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-primary {
  background: linear-gradient(135deg, #F06514 0%, #DF5400 100%);
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--shadow-glow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F97316 0%, #DF5400 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px rgba(223, 84, 0, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, #028A3E 0%, #027233 100%);
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--shadow-glow-green);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #059669 0%, #027233 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 26px rgba(2, 114, 51, 0.38);
}

.btn-navy {
  background: linear-gradient(135deg, #073B75 0%, #01254D 100%);
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), var(--shadow-md);
}

.btn-navy:hover {
  background: linear-gradient(135deg, #0A4D99 0%, #01254D 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--shadow-lg);
}

.btn-orange {
  background: linear-gradient(135deg, #F06514 0%, #DF5400 100%);
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--shadow-glow-orange);
}

.btn-orange:hover {
  background: linear-gradient(135deg, #F97316 0%, #DF5400 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px rgba(223, 84, 0, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary) !important;
  border-color: rgba(1, 37, 77, 0.22);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  background: rgba(1, 37, 77, 0.06);
  color: var(--primary-accent);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(1, 37, 77, 0.12);
  letter-spacing: 0.03em;
}

.badge-tag-green {
  background: var(--secondary-tint);
  color: var(--secondary-dark);
  border-color: rgba(2, 114, 51, 0.22);
}

.badge-tag-orange {
  background: var(--accent-orange-tint);
  color: var(--accent-orange-dark);
  border-color: rgba(223, 84, 0, 0.22);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
}

.badge-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(13, 71, 161, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.badge-tag-green {
  background: var(--secondary-tint);
  color: var(--secondary-dark);
  border: 1px solid rgba(2, 114, 51, 0.2);
}

/* ==========================================================================
   04. HERO & EYE-CATCHING ANIMATED CAROUSEL SLIDER
   ========================================================================== */
.hero-wrapper {
  position: relative;
  background: linear-gradient(180deg, #F6F7F9 0%, #FFFFFF 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

/* Animated Hero Progress Timer Line */
.hero-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
  width: 0%;
  z-index: 100;
}

.hero-slide {
  display: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
  opacity: 0;
  padding: 5.5rem 0;
}

.hero-slide.active {
  display: block;
  opacity: 1;
}

/* Hero Content Box with High Contrast Glass Background */
.hero-content-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px rgba(6, 35, 84, 0.06);
}

/* Staggered Snappy Entrance Keyframes */
@keyframes heroTextSlide {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide.active .badge-tag {
  animation: heroTextSlide 0.3s ease forwards;
}

.hero-slide.active .hero-title {
  animation: heroTextSlide 0.35s ease 0.05s forwards;
}

.hero-slide.active .hero-lead {
  animation: heroTextSlide 0.4s ease 0.1s forwards;
}

.hero-slide.active .hero-actions {
  animation: heroTextSlide 0.45s ease 0.15s forwards;
}

.hero-slide.active .hero-media-card {
  animation: heroTextSlide 0.4s ease 0.1s forwards;
}

/* Accessibility: Strict Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 4.8vw, 4rem);
  font-weight: 850;
  margin-bottom: 1.35rem;
  color: var(--primary-dark);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-lead {
  font-family: var(--font-body);
  font-size: clamp(1.18rem, 1.45vw, 1.34rem);
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

/* Ambient Pulsing Glow behind Hero Card */
.hero-media-card::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(2, 114, 51, 0.22) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  z-index: -1;
  pointer-events: none;
}

.hero-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6.5s ease-out;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding-bottom: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CBD5E1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.dot.active {
  background: var(--secondary);
  width: 36px;
  border-radius: 6px;
}

/* ==========================================================================
   05. PAGE HEADERS & SECTIONS
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, #001226 0%, #01254D 60%, #073B75 100%);
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header h1 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.2vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1.35rem;
  font-weight: 850;
  text-wrap: balance;
}

.page-header .section-intro {
  color: #E2E8F0;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.5vw, 1.38rem);
  line-height: 1.7;
  max-width: 800px;
  text-wrap: pretty;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary-dark);
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid rgba(2, 114, 51, 0.25);
  box-shadow: 0 2px 8px rgba(2, 114, 51, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-label:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 114, 51, 0.16);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 3.8vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: var(--text-heading);
  line-height: 1.15;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

.section-intro {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.4vw, 1.32rem);
  color: var(--text-muted);
  line-height: 1.74;
  max-width: 740px;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

/* ==========================================================================
   06. STATS BANNER & CARDS GRID
   ========================================================================== */
.stats-banner {
  background: linear-gradient(135deg, #001226 0%, #01254D 55%, #033266 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 20px 40px -10px rgba(1, 23, 51, 0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 4.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.65rem;
  background: linear-gradient(180deg, #FFFFFF 40%, #A7F3D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card .stat-label {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #E2E8F0;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

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

/* Single-Line 4-Card Layout */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.cards-grid-4 .program-card {
  padding: 1.85rem 1.45rem;
}

.cards-grid-4 .program-card h3 {
  font-size: 1.32rem;
  line-height: 1.28;
}

.cards-grid-4 .program-card p {
  font-size: 1rem;
  line-height: 1.68;
  margin-bottom: 1.25rem;
}

/* 5-Pillar Programmatic Cards Layout */
.cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.cards-grid-5 .program-card {
  padding: 1.65rem 1.25rem;
}

.cards-grid-5 .program-card h3 {
  font-size: 1.24rem;
  line-height: 1.32;
  margin-bottom: 0.65rem;
}

.cards-grid-5 .program-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

@media (max-width: 1200px) {
  .cards-grid-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

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

@media (max-width: 580px) {
  .cards-grid-5 {
    grid-template-columns: 1fr;
  }
}

.program-card {
  background: var(--bg-white);
  border: 1px solid rgba(1, 37, 77, 0.08);
  border-radius: 18px;
  padding: 2.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 114, 51, 0.35);
}

.program-card img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover img {
  transform: scale(1.04);
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 1.8vw, 1.58rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-heading);
  letter-spacing: -0.025em;
  line-height: 1.28;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover h3 {
  color: var(--secondary);
}

.program-card p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.72;
  margin-bottom: 1.35rem;
}


.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--secondary-dark);
  gap: 0.65rem;
}

.card-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--secondary);
  color: #ffffff !important;
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm, 6px);
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(2, 114, 51, 0.2);
  white-space: nowrap;
  line-height: 1.2;
}

.card-donate-btn:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 114, 51, 0.32);
  color: #ffffff !important;
}

.card-donate-btn svg {
  color: #ffffff;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.card-donate-btn:hover svg {
  transform: scale(1.18);
}


/* ==========================================================================
   06B. VISION, MISSION & STRATEGIC GOALS SUITE
   ========================================================================== */
.vmg-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.vmg-header-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 960px) {
  .vmg-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.vmg-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vmg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(11, 25, 44, 0.12);
}

.vmg-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.vmg-card.vision::before {
  background: linear-gradient(90deg, #10B981, #059669);
}

.vmg-card.mission::before {
  background: linear-gradient(90deg, #E65100, #F57C00);
}

.vmg-card.goal::before {
  background: linear-gradient(90deg, #0B192C, #2563EB);
}

.vmg-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.vmg-card:hover .vmg-icon-wrap {
  transform: scale(1.08);
}

.vmg-card.vision .vmg-icon-wrap {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.vmg-card.mission .vmg-icon-wrap {
  background: rgba(230, 81, 0, 0.12);
  color: #E65100;
}

.vmg-card.goal .vmg-icon-wrap {
  background: rgba(11, 25, 44, 0.08);
  color: #0B192C;
}

.vmg-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0.35rem 0 0.85rem;
  line-height: 1.25;
}

.vmg-lead {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.vmg-card.vision .vmg-lead {
  color: #047857;
}

.vmg-card.mission .vmg-lead {
  color: #C2410C;
}

.vmg-card.goal .vmg-lead {
  color: #1E3A8A;
}

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

.vmg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.vmg-list li {
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.vmg-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.vmg-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid #F1F5F9;
}

.vmg-mini-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* Strategic Banner Below Cards */
.vmg-footer-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, #0B192C 0%, #152C4B 65%, #0B3C2A 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.75rem;
  box-shadow: 0 12px 30px -8px rgba(11, 25, 44, 0.2);
}

.vmg-footer-text h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.vmg-footer-text p {
  color: #CBD5E1;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

.vmg-pillars-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.vmg-pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
}

.vmg-pillar-badge svg {
  color: #10B981;
}

.vmg-footer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .vmg-footer-banner {
    padding: 1.75rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }
  
  .vmg-footer-actions .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* ==========================================================================
   07. ULTRA-PREMIUM INSTITUTIONAL PARTNERS SECTION
   ========================================================================== */
.partners-strip-premium {
  background: linear-gradient(180deg, #062354 0%, #0B192C 100%);
  color: #ffffff;
  padding: 5rem 0;
  border-top: 4px solid var(--secondary);
  position: relative;
  overflow: hidden;
}

.partners-strip-premium::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(2, 114, 51, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.partners-title-premium {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.partners-heading-premium {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3.5rem;
}

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

.partner-card-premium {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: var(--transition);
}

.partner-card-premium:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(2, 114, 51, 0.25);
}

.partner-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(2, 114, 51, 0.16);
  border: 1px solid rgba(2, 114, 51, 0.3);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.partner-card-premium:hover .partner-icon-wrap {
  background: var(--secondary);
  color: #ffffff;
}

.partner-info-text h4 {
  font-size: 0.98rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.partner-info-text span {
  display: block;
  font-size: 0.75rem;
  color: #9DB2D0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   07B. INSTITUTIONAL ALLIANCES & STATUTORY PARTNERSHIPS
   ========================================================================== */
.alliances-section {
  padding: 5rem 0;
  background: var(--bg-white);
  border-top: 1px solid rgba(1, 37, 77, 0.08);
}

.alliances-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.alliances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.alliance-card {
  background: #ffffff;
  border: 1px solid rgba(1, 37, 77, 0.09);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.65rem;
  box-shadow: 0 4px 18px rgba(1, 37, 77, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.alliance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.alliance-card.alliance-gov::before {
  background: var(--primary-accent);
}

.alliance-card.alliance-civic::before {
  background: var(--primary-dark);
}

.alliance-card.alliance-coop::before {
  background: var(--secondary);
}

.alliance-card.alliance-academic::before {
  background: #2563EB;
}

.alliance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(1, 37, 77, 0.08);
  border-color: rgba(1, 37, 77, 0.18);
}

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

.alliance-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.alliance-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(1, 37, 77, 0.05);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.alliance-card:hover .alliance-icon-wrap {
  background: var(--primary-dark);
  color: #ffffff;
}

.alliance-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin: 0 0 0.4rem 0;
}

.alliance-role {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

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

/* Feature Split Cards */
.about-journey-card {
  margin-top: 3.5rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .about-journey-card {
    grid-template-columns: 1fr;
  }
}

.community-gratitude-card {
  max-width: 680px;
  margin: 2rem auto 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
}

@media (max-width: 640px) {
  .community-gratitude-card {
    grid-template-columns: 1fr;
  }
}

.community-gratitude-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.community-gratitude-body {
  padding: 1.25rem 1.5rem;
}

/* ==========================================================================
   08. REGIONAL OPERATIONS & FOOTPRINT
   ========================================================================== */
.footprint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.location-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

.location-card.hub {
  border-top-color: var(--secondary);
}

.location-card.site {
  border-top-color: var(--accent-orange);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.location-type {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary-dark);
  margin-bottom: 0.35rem;
}

.location-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.location-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   09. FINANCIAL STEWARDSHIP & TRANSPARENCY
   ========================================================================== */
.stewardship-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.stewardship-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.progress-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.progress-bar-bg {
  width: 100%;
  height: 12px;
  background: #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--secondary);
  border-radius: 6px;
  transition: width 1s ease-in-out;
}

/* ==========================================================================
   10. NEWS & NEWSLETTER
   ========================================================================== */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.news-card-home {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.news-card-home:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.news-card-home .news-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.news-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.newsletter-box h2 {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.newsletter-box p {
  color: #D1DCEE;
  font-size: 1.02rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.newsletter-input-group {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.newsletter-input-group input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 16px;
  min-height: 48px;
  background: #ffffff;
  color: var(--text-dark);
  transition: var(--transition);
}

.newsletter-input-group input:focus {
  outline: 2px solid var(--secondary-light);
  border-color: var(--secondary-light);
}

.newsletter-input-group button {
  background: var(--secondary);
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.newsletter-input-group button:hover {
  background: var(--secondary-dark);
}

.newsletter-consent {
  margin: 0.25rem 0 0 0;
}

.newsletter-consent .consent-text {
  color: #E2E8F0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.newsletter-consent a {
  color: #38BDF8 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   11. GOOGLE REVIEWS & RECOMMENDATIONS MODULE
   ========================================================================== */
.google-reviews-banner {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}

.google-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.google-score-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.google-icon-badge {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-weight: 800;
  font-size: 1.6rem;
  color: #4285F4;
}

.rating-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.star-rating {
  color: #FBBC04;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

/* ==========================================================================
   11B. INTERACTIVE IMPACT CALCULATOR WIDGET
   ========================================================================== */
.calc-widget-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0B192C 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.calc-widget-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(2, 114, 51, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.calc-header h3 {
  color: #ffffff;
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.calc-header p {
  color: #D1DCEE;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.calc-tiers {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.calc-tier-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.calc-tier-btn:hover,
.calc-tier-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 114, 51, 0.35);
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.calc-result-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.calc-result-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.calc-result-desc {
  color: #B0C4DE;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   11C. STICKY MOBILE ACTION BAR
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: rgba(6, 35, 84, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.mobile-sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
  .calc-widget-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  body {
    padding-bottom: 60px;
  }
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-info h4 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.reviewer-tag {
  font-size: 0.78rem;
  color: var(--text-light);
}

.review-quote {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
}

/* ==========================================================================
   12. IMPACT & ECO-TOURISM SECTION
   ========================================================================== */
.tourism-banner {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tourism-banner h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.tourism-banner p {
  color: #E8F6F1;
  font-size: 1.08rem;
  margin-bottom: 1.75rem;
}

.tourism-features {
  list-style: none;
  margin-bottom: 2rem;
}

.tourism-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  color: #FFFFFF;
  font-weight: 500;
}

/* ==========================================================================
   13. TIMELINE & TABS & PUBLICATIONS
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 3rem auto 0;
  padding-left: 2rem;
  border-left: 2px solid var(--secondary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 6px);
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-date {
  font-weight: 800;
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.timeline-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tabs-nav {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  padding: 0.4rem;
  background: #F1F5F9;
  border-radius: 9999px;
  border: 1px solid rgba(1, 37, 77, 0.08);
  width: fit-content;
  max-width: 100%;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.65);
}

.tab-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(1, 37, 77, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.publication-card {
  background: var(--bg-white);
  border: 1px solid rgba(1, 37, 77, 0.08);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.publication-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 114, 51, 0.35);
}

.pub-info h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-heading);
}

.pub-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 3rem;
}

.story-media {
  height: 100%;
  min-height: 380px;
}

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

.story-content {
  padding: 3.5rem 3rem;
}

.story-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Home Page Dual Stories & Updates Showcase */
.stories-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

.story-card-home {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(1, 37, 77, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card-home:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(1, 37, 77, 0.12);
}

.story-card-media {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #0B192C;
}

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

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

.story-pill-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.story-pill-badge.story-pill-water {
  background: rgba(1, 37, 77, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.story-pill-badge.story-pill-climate {
  background: rgba(2, 114, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.story-pill-badge.story-pill-education {
  background: rgba(224, 76, 5, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.story-card-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.48rem, 2vw, 1.68rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card-home:hover h3 {
  color: var(--secondary);
}

.story-card-content p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.74;
  margin-bottom: 1rem;
}

.story-card-content p:last-of-type {
  margin-bottom: 1.5rem;
}

.story-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(1, 37, 77, 0.08);
}

@media (max-width: 992px) {
  .stories-dual-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-card-media {
    height: 240px;
  }

  .story-card-content {
    padding: 1.75rem 1.5rem;
  }
}

/* ==========================================================================
   14. FORMS & INPUT CONTROLS (HIGH PRECISION & ACCESSIBLE)
   ========================================================================== */
.form-card,
.demo-form {
  background: #ffffff;
  padding: 2.75rem 2.5rem;
  border-radius: 18px;
  border: 1px solid rgba(1, 37, 77, 0.08);
  box-shadow: 0 12px 36px -4px rgba(1, 37, 77, 0.08), 0 4px 12px -2px rgba(1, 37, 77, 0.04);
}

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

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.form-control {
  width: 100%;
  padding: 0.88rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control::placeholder {
  color: #94A3B8;
  font-size: 0.92rem;
}

.form-control:focus {
  outline: none;
  border-color: #028A3E;
  box-shadow: 0 0 0 4px rgba(2, 138, 62, 0.16);
  background-color: #ffffff;
}

select.form-control {
  appearance: auto;
  cursor: pointer;
  background-color: #ffffff;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0.95rem 1.15rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}

.form-consent-group input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 0.15rem;
  accent-color: var(--secondary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-consent-group label {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}

.form-consent-group label a {
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration: underline;
}

.form-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

.form-trust-note svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.form-response {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #E8F6F1;
  border: 1px solid #18A473;
  color: #107350;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  animation: fadeIn 0.3s ease;
}

/* Contact Page Location Cards */
.contact-location-card {
  background: var(--bg-white);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(1, 37, 77, 0.1);
  box-shadow: 0 4px 20px rgba(1, 37, 77, 0.04);
  margin-bottom: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-location-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(1, 37, 77, 0.08);
}

.contact-location-card h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-location-card .location-address {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact-location-card .location-details {
  border-top: 1px solid rgba(1, 37, 77, 0.08);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-location-card .location-details strong {
  color: var(--primary-dark);
}

.contact-location-card .location-details a {
  color: var(--primary-accent);
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-location-card .location-details a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.location-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
}

/* ==========================================================================
   15. FOOTER SYSTEM (4-COLUMN RESPONSIVE & WELL-ORGANIZED)
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #B0C4DE;
  padding: 4.5rem 0 2rem;
  font-size: 0.92rem;
  border-top: 3px solid var(--secondary);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-brand img {
  height: 64px;
  width: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.footer-brand:hover img {
  opacity: 0.85;
}

.footer-text {
  color: #9DB2D0;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  color: #E2E8F0;
  width: fit-content;
  margin-top: auto;
}

.footer-reg-badge svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.footer-col h4,
.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after,
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links,
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links li a,
.footer-col ul li a {
  color: #B0C4DE;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links li a:hover,
.footer-col ul li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-block {
  font-style: normal;
  line-height: 1.55;
}

.footer-hub-label {
  color: #9DB2D0;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.footer-hub-label strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.footer-direct-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #38BDF8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #67E8F9;
  text-decoration: underline;
}

.footer-contact-link svg {
  flex-shrink: 0;
  color: var(--secondary);
}

.footer-hours {
  color: #8198B8;
  font-size: 0.82rem;
  margin: 0;
}

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

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links li a {
  color: #8198B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links li a:hover {
  color: #ffffff;
}



/* ==========================================================================
   14. BREADCRUMB NAVIGATION
   ========================================================================== */
.breadcrumb-nav {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--primary-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--text-light);
}

.breadcrumb-item[aria-current="page"] {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   15. AUTHENTIC CASE STUDY & COMMUNITY MILESTONES
   ========================================================================== */
.case-study-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-top: 2rem;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.case-study-body {
  padding: 2.75rem 2.25rem;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
  padding: 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.metric-box h4 {
  font-size: 1.55rem;
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.metric-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.case-study-media {
  position: relative;
  height: 100%;
  min-height: 380px;
}

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

/* ==========================================================================
   16. EXPANDABLE 5-QUESTION FAQ ACCORDION (INSTITUTIONAL TRANSPARENCY)
   ========================================================================== */
.faq-wrap {
  max-width: 880px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  border: 1px solid rgba(1, 37, 77, 0.09);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(1, 37, 77, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(223, 84, 0, 0.35);
  box-shadow: 0 8px 24px rgba(1, 37, 77, 0.08);
  transform: translateY(-2px);
}

.faq-item.active,
.faq-item:has(.faq-btn[aria-expanded="true"]) {
  border-color: rgba(1, 37, 77, 0.22);
  box-shadow: 0 10px 30px rgba(1, 37, 77, 0.08);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  gap: 1.25rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.faq-btn:hover {
  background: rgba(1, 37, 77, 0.015);
  color: var(--primary-accent);
}

.faq-btn:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(1, 37, 77, 0.05);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
}

.faq-btn:hover .faq-icon {
  background: rgba(223, 84, 0, 0.12);
  color: var(--primary-accent);
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-accent);
  color: #ffffff;
}

.faq-btn[aria-expanded="true"] {
  color: var(--primary-accent);
  background: rgba(223, 84, 0, 0.02);
}

.faq-content {
  padding: 1.15rem 1.75rem 1.65rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.75;
  border-top: 1px solid rgba(1, 37, 77, 0.06);
  background: #ffffff;
  animation: faqContentFade 0.25s ease forwards;
}

@keyframes faqContentFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-content p {
  margin: 0;
}

.faq-content[hidden] {
  display: none;
}

/* Institutional Transparency Pill Row */
.transparency-badges-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 auto 2rem;
  max-width: 820px;
}

.transparency-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-white);
  border: 1px solid rgba(1, 37, 77, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(1, 37, 77, 0.03);
}

.transparency-pill svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* Institutional Due Diligence Callout */
.transparency-callout {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(1, 37, 77, 0.03) 0%, rgba(2, 114, 51, 0.04) 100%);
  border: 1px solid rgba(1, 37, 77, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.transparency-callout-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.35rem 0;
}

.transparency-callout-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.transparency-callout-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   17. COMMUNITY RESPONSE PROMISE BANNER
   ========================================================================== */
.promise-banner {
  background: var(--secondary-tint);
  border: 1px solid #B8E5D3;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem 0;
}

.promise-icon {
  color: var(--secondary);
  flex-shrink: 0;
}

.promise-title {
  font-weight: 800;
  color: var(--secondary-dark);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.promise-desc {
  color: #1A5336;
  font-size: 0.9rem;
}

/* ==========================================================================
   18. LEADERSHIP & VERIFIED TEAM SECTION
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.team-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.team-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.team-role {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.team-credential {
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid #F1F5F9;
  padding-top: 0.75rem;
  font-weight: 500;
}

/* ==========================================================================
   19. FORM CONSENT CHECKBOXES
   ========================================================================== */
.form-consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-consent-group input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-consent-group a {
  color: var(--primary-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   20. WCAG COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #001733;
  color: #ffffff;
  padding: 1.25rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  border-top: 2px solid var(--secondary);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.92rem;
  color: #E2E8F0;
  max-width: 820px;
  line-height: 1.55;
}

.cookie-text a {
  color: #38BDF8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
}

/* ==========================================================================
   21. DEDICATED LEGAL & COMPLIANCE HUB LAYOUT
   ========================================================================== */
.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.legal-sidebar {
  position: sticky;
  top: 130px;
  background: var(--bg-light);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.legal-sidebar h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.legal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.legal-nav-list a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 500;
}

.legal-nav-list a.active,
.legal-nav-list a:hover {
  background: #FFFFFF;
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.legal-body {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1.02rem;
}

.legal-body h2 {
  font-size: 1.65rem;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--primary-dark);
}

.legal-body h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--primary);
}

.legal-body p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.legal-body ul, .legal-body ol {
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.legal-body li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   22. POST-CONVERSION & UTILITY STATUS CARDS (THANK YOU & 404)
   ========================================================================== */
.status-card {
  max-width: 680px;
  margin: 2rem auto;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.status-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon-wrap.success {
  background: var(--secondary-tint);
  color: var(--secondary);
}

.status-icon-wrap.error {
  background: #FEE2E2;
  color: #DC2626;
}

.status-title {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.status-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.status-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.status-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   23. COMPREHENSIVE MOBILE OPTIMIZATION & RESPONSIVE ARCHITECTURE
   ========================================================================== */

/* Mobile Touch & Scroll Locks */
body.nav-locked {
  overflow: hidden !important;
}

/* Eliminate Mobile Tap Delays */
a, button, input, select, textarea, .nav-toggle, .dot, .tab-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Mobile Sticky Action Bar Default (Hidden on Desktop) */
.mobile-sticky-cta {
  display: none;
}

/* Mobile Drawer Backdrop Overlay (Clean Dark Tint, No Blur Interference) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 46, 0.55);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Drawer Footer CTA Container - Hidden on Desktop */
.mobile-nav-footer {
  display: none;
}

/* Mobile Sticky Action Bar - Hidden on Desktop */
.mobile-sticky-cta {
  display: none;
}

/* Responsive 2-Column Grids */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

/* ==========================================
   BREAKPOINT 1: Large Tablets & Laptops (<= 1200px)
   ========================================== */
@media (max-width: 1200px) {
  .brand img {
    height: 64px;
    max-height: 64px;
  }
  .nav-link {
    font-size: 0.86rem;
    padding: 0.5rem 0.55rem;
  }
  .tourism-banner, .stewardship-card, .newsletter-box {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   BREAKPOINT 2: Standard Tablets & Mobile Drawer (<= 1024px)
   ========================================== */
@media (max-width: 1024px) {
  .nav-wrap {
    min-height: 72px;
    padding: 0.45rem 0;
  }

  .brand img {
    height: 52px;
    max-height: 52px;
  }

  .nav-actions {
    display: none;
  }

  /* Hamburger Toggle Button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    z-index: 1200;
    gap: 5px;
    transition: background-color 0.2s ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: rgba(1, 37, 77, 0.06);
    outline: 2px solid var(--primary);
  }

  .hamburger-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
  }

  .nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background: var(--primary-accent);
  }

  .nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background: var(--primary-accent);
  }

  /* App-Grade Slide-In Mobile Navigation Drawer (100% Crisp, Opaque, High Contrast) */
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    box-shadow: -12px 0 35px rgba(1, 37, 77, 0.25);
    z-index: 1300 !important;
    padding: 4.75rem 1.25rem 2.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-nav.open {
    right: 0;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #F1F5F9;
    min-height: 48px;
    border-radius: var(--radius-sm);
    opacity: 1 !important;
  }

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    background: var(--bg-light);
    color: var(--primary-accent) !important;
  }

  /* Disable hover trigger for dropdowns on mobile to prevent jumpiness */
  .nav-item.has-dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--secondary);
    background: var(--bg-light);
    margin: 0.35rem 0 0.65rem 0.75rem;
    padding: 0.35rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    min-width: auto;
  }

  .nav-item.has-dropdown.open .dropdown-menu {
    display: block !important;
    animation: fadeIn 0.2s ease;
  }

  .dropdown-menu li a {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--text-dark) !important;
    white-space: normal;
    opacity: 1 !important;
  }

  .dropdown-menu li a:hover {
    color: var(--secondary-dark) !important;
    background: #FFFFFF;
  }

  /* Mobile Drawer Footer */
  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
  }

  .mobile-nav-footer .donate-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    min-height: 48px;
  }

  .mobile-nav-contact {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
  }

  /* Grid Reductions */
  .cards-grid-4, .footprint-grid, .news-grid-3, .partners-grid-premium {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   BREAKPOINT 3: Tablets & Narrow Laptops (<= 920px)
   ========================================== */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 5.5vw, 2.75rem);
  }

  .hero-lead {
    font-size: 1.05rem;
    max-width: 100%;
  }

  .hero-slide {
    padding: 3.5rem 0 2rem;
  }

  .hero-content-box {
    padding: 1.75rem 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-media-card {
    aspect-ratio: 16 / 10;
    max-height: 320px;
    width: 100%;
  }

  .two-col-grid,
  .volunteer-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-media {
    min-height: 260px;
    max-height: 300px;
  }

  .story-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-media {
    min-height: 260px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }

  .newsletter-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.75rem 2rem;
    margin-top: 2.5rem;
  }
}

/* ==========================================
   BREAKPOINT 4: Handheld Mobile Devices (<= 768px)
   ========================================== */
@media (max-width: 768px) {
  /* Prevent content overlap with Mobile Sticky CTA */
  body {
    padding-bottom: 74px;
  }

  /* Responsive Sticky Action Bar */
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 18px rgba(1, 37, 77, 0.12);
    gap: 0.75rem;
  }

  .mobile-sticky-cta .btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    min-height: 44px;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius-sm);
  }

  .mobile-sticky-cta .btn-secondary {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #ffffff !important;
  }

  .mobile-sticky-cta .btn-secondary:hover {
    background: var(--accent-orange-dark);
  }

  /* Mobile Cookie Banner Docked above CTA */
  .cookie-banner {
    bottom: 68px;
    padding: 1rem 0;
  }

  .cookie-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-text {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .cookie-actions .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* Top Bar Streamlined */
  .top-bar {
    padding: 0.35rem 0;
    font-size: 0.76rem;
  }

  .top-bar .container {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }

  .top-info {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.75rem;
  }

  .top-links {
    display: none;
  }

  /* Containers & Section Spacing */
  .container {
    width: calc(100% - 1.75rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .page-header {
    padding: 3.5rem 0 2.5rem;
  }

  .page-header h1 {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
  }

  .section-heading,
  .partners-heading-premium {
    font-size: clamp(1.65rem, 5vw, 2.1rem);
  }

  .section-intro {
    font-size: 1rem;
    line-height: 1.65;
  }

  /* Single Column Grids */
  .cards-grid,
  .cards-grid-4,
  .footprint-grid,
  .news-grid-3,
  .partners-grid-premium,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
  }

  .program-card {
    padding: 1.75rem 1.35rem;
  }

  .team-card {
    padding: 1.5rem 1.25rem;
  }

  /* Stats Section */
  .stats-banner {
    padding: 3rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .stat-card .stat-number {
    font-size: 2.8rem;
  }

  .stat-card .stat-label {
    font-size: 0.88rem;
  }

  /* Case Study Card */
  .case-study-body {
    padding: 1.75rem 1.25rem;
  }

  .case-study-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .metric-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
  }

  .metric-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Story Feature */
  .story-content {
    padding: 2rem 1.5rem;
  }

  .story-quote {
    font-size: 1.18rem;
    line-height: 1.5;
  }

  /* Filter Tabs with Momentum Horizontal Scroll */
  .tabs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.6rem;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.65rem 1.15rem;
    font-size: 0.88rem;
    min-height: 44px;
  }

  /* Publications */
  .publication-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }

  .publication-card .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* Promise Banner */
  .promise-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem;
  }

  /* Legal Sidebar */
  .legal-nav-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* Newsletter Box Mobile Optimization */
  .newsletter-box {
    padding: 2.25rem 1.25rem;
    gap: 1.5rem;
    margin-top: 2rem;
    border-radius: var(--radius-md);
  }

  .newsletter-input-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .newsletter-input-group input,
  .newsletter-input-group button {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .newsletter-consent {
    margin-top: 0.5rem;
  }

  .footer-bottom div {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Status Cards */
  .status-card {
    padding: 2.25rem 1.25rem;
    margin: 1.5rem auto;
  }

  .status-title {
    font-size: 1.75rem;
  }

  .status-actions {
    flex-direction: column;
    width: 100%;
  }

  .status-actions .btn {
    width: 100%;
  }

  /* Touch Inputs & iOS Safari Auto-Zoom Prevention */
  .form-control,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 48px;
    padding: 0.75rem 1rem;
  }

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

  .form-consent-group {
    font-size: 0.88rem;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .form-consent-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-top: 2px;
    cursor: pointer;
  }

  .demo-form .btn,
  form .btn[type="submit"] {
    width: 100%;
    min-height: 48px;
  }

  /* Impact Calculator */
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calc-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .calc-tier-btn {
    min-height: 48px;
    padding: 0.75rem 0.5rem;
    font-size: 0.92rem;
  }

  .calc-result-box {
    padding: 1.5rem 1.25rem;
  }

  .calc-result-box .btn {
    width: 100%;
    min-height: 48px;
  }

  /* FAQ Accordion Buttons */
  .faq-btn {
    padding: 1.15rem 1.25rem;
    font-size: 0.98rem;
    gap: 0.75rem;
  }

  .faq-content {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.92rem;
  }

  /* Breadcrumbs */
  .breadcrumb-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    white-space: nowrap;
  }
}

/* ==========================================
   BREAKPOINT 5: Ultra-Narrow Phones (<= 480px)
   ========================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-content-box {
    padding: 1.35rem 1rem;
  }

  .hero-slide {
    padding: 2.25rem 0 1.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-card .stat-number {
    font-size: 2.4rem;
  }

  .calc-tiers {
    grid-template-columns: 1fr;
  }

  .slider-dots {
    padding-bottom: 1.25rem;
  }

  .dot {
    padding: 8px;
  }

  .newsletter-box {
    padding: 1.75rem 1rem;
    gap: 1.25rem;
  }

  .newsletter-box h2 {
    font-size: 1.45rem;
  }

  .newsletter-box p {
    font-size: 0.95rem;
  }

  /* Currency Switcher Mobile Optimization */
  .currency-switcher-container {
    gap: 0.5rem;
    margin: 1.25rem auto 2rem;
  }

  .currency-label {
    width: 100%;
    text-align: center;
    margin-bottom: 0.25rem;
  }

  .currency-toggle {
    width: 100%;
    max-width: 320px;
    display: flex;
  }

  .currency-btn {
    flex: 1;
    text-align: center;
    padding: 0.55rem 0.5rem;
    font-size: 0.86rem;
  }

  /* Payment Rails Section Mobile Optimization */
  .payment-rails-section {
    padding: 1.5rem 1rem;
    margin-top: 2.5rem;
    border-radius: var(--radius-md);
  }

  .payment-rails-heading {
    font-size: 1.25rem;
  }

  .payment-rails-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .payment-copy-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .payment-copy-code {
    font-size: 0.95rem;
    text-align: center;
    word-break: break-all;
  }

  .copy-btn {
    width: 100%;
    padding: 0.55rem;
    font-size: 0.84rem;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Search & Category Filter Mobile Optimization */
  .search-filter-section {
    padding: 1.25rem 1rem;
    margin-bottom: 1.75rem;
  }

  .search-field {
    font-size: 15px !important;
    padding: 0.75rem 2.5rem 0.75rem 2.4rem;
    min-height: 44px;
  }

  .filter-pills-wrap {
    gap: 0.35rem;
  }

  .filter-pill {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
    min-height: 38px;
  }

  /* Web Share Dispatch Button Mobile Optimization */
  .share-dispatch-btn {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }
}

/* ==========================================
   BREAKPOINT 6: Ultra-Compact & Micro Screens (<= 360px)
   ========================================== */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .badge-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
  }

  .btn {
    font-size: 0.84rem;
    padding: 0.6rem 0.85rem;
  }

  .filter-pill {
    flex: 1 1 calc(50% - 0.35rem);
    text-align: center;
  }

  .payment-rails-heading {
    font-size: 1.15rem;
  }
}


/* ==========================================================================
   21. ENTERPRISE UPGRADE COMPONENTS & POLISH
   ========================================================================== */

/* Honeypot Spam Protection (Completely hidden from human visitors and screen readers) */
.hp-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

/* Dual-Currency Switcher */
.currency-switcher-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin: 1.5rem auto 2.5rem;
  flex-wrap: wrap;
}

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

.currency-toggle {
  display: inline-flex;
  background: #E2E8F0;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.currency-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 40px;
}

.currency-btn:hover {
  color: var(--primary-dark);
}

.currency-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(1, 37, 77, 0.2);
}

.currency-btn:focus-visible {
  outline: 2px solid var(--primary-accent);
}

/* Local East Africa Payment Rails */
.payment-rails-section {
  margin-top: 3.5rem;
  padding: 2.75rem 2.25rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.payment-rails-heading {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.payment-rails-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

.payment-method-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.payment-method-card:hover {
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-md);
}

.payment-method-card.momo {
  border-left: 4px solid #E5A100;
}

.payment-method-card.airtel {
  border-left: 4px solid #E11900;
}

.payment-method-card.bank {
  border-left: 4px solid var(--primary);
}

.payment-method-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.payment-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.momo .payment-badge {
  background: #FFF8E1;
  color: #8D6B00;
}

.airtel .payment-badge {
  background: #FFEBEE;
  color: #C62828;
}

.bank .payment-badge {
  background: #E8EEF8;
  color: var(--primary);
}

.payment-method-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.payment-instructions {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.payment-copy-box {
  background: #FFFFFF;
  border: 1px dashed var(--border-color);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.payment-copy-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.copy-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Instant Search & Category Filter System */
.search-filter-section {
  margin-bottom: 2.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.search-box-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 1.25rem;
}

.search-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-field {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 2.75rem;
  font-size: 16px !important;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--text-dark);
  min-height: 48px;
  transition: var(--transition);
}

.search-field:focus {
  outline: 2px solid var(--primary-accent);
  background: #FFFFFF;
  border-color: var(--primary-accent);
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 50%;
  display: none;
}

.search-clear-btn.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear-btn:hover {
  color: var(--primary-dark);
}

.filter-pills-wrap {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-pill {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
}

.filter-pill:hover {
  background: #E2E8F0;
  color: var(--primary-dark);
}

.filter-pill.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.search-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.no-results-box {
  display: none;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  margin-top: 1.5rem;
}

.no-results-box h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.no-results-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* Native Web Share Button */
.share-dispatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.75rem;
  min-height: 38px;
}

.share-dispatch-btn:hover {
  background: var(--bg-light);
  color: var(--secondary);
  border-color: var(--secondary);
}

.share-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
}

.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* ==========================================================================
   21. REIMAGINED DONOR-FIRST EXPERIENCE & GIVING ENGINE
   ========================================================================== */
/* ==========================================================================
   21. FULL-PAGE CINEMATIC HERO SLIDER & BRAND GRADIENT OVERLAY
   ========================================================================== */
.hero-cinematic {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  background-color: var(--primary-dark);
}

/* Background Photo Slides */
.hero-slider-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-slide-item.active {
  opacity: 1;
  transform: scale(1);
}

/* Brand Colors Gradient Overlay from Bottom to Top */
.hero-brand-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(1, 37, 77, 0.78) 0%,           /* Trust Navy bottom grounding */
    rgba(1, 37, 77, 0.52) 35%,          /* Light Navy transition */
    rgba(2, 114, 51, 0.26) 70%,         /* Subtle Emerald Green tint */
    rgba(1, 37, 77, 0.10) 100%          /* Clear transparent top so photos are vibrant & clear */
  );
}

.hero-brand-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 90%,
    rgba(223, 84, 0, 0.12) 0%,
    transparent 55%
  );
  pointer-events: none;
}

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

.hero-cinematic .hero-narrative {
  position: relative;
  z-index: 3;
}

.hero-cinematic .hero-stat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-cinematic .pill-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.hero-cinematic .pill-stat.pill-green {
  background: rgba(1, 37, 77, 0.7);
  color: #86EFAC;
  border: 1px solid rgba(134, 239, 172, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-cinematic .pill-stat.pill-glass {
  background: rgba(1, 37, 77, 0.65);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.18);
  }
}

.hero-cinematic .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4);
  animation: pulseDot 2.4s infinite ease-in-out;
}

.hero-cinematic .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 4.8vw, 4.2rem);
  font-weight: 850;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.hero-focus-text,
.hero-cinematic .hero-title .hero-focus-text,
.hero-cinematic .hero-title .highlight-green,
.hero-cinematic .hero-title .highlight-orange {
  color: #34D399 !important;
  font-weight: 850;
  text-shadow: none;
}

.hero-cinematic .hero-lead {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.45vw, 1.34rem);
  line-height: 1.68;
  color: #F8FAFC;
  margin-bottom: 2.25rem;
  max-width: 580px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-cinematic .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-cinematic .hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: #CBD5E1;
  font-weight: 500;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-cinematic .hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-cinematic .hero-trust-item svg {
  color: #4ADE80;
  flex-shrink: 0;
}

/* Giving Card On Top of Cinematic Hero */
.hero-cinematic .hero-giving-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Hero Slide Navigation Controls */
.hero-slide-controls {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 4;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.slide-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.slide-dot.active {
  background: var(--accent-orange);
  width: 36px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(223, 84, 0, 0.6);
}

/* Embedded Interactive Giving Engine Card */
.hero-giving-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 30px 60px -12px rgba(0, 18, 41, 0.38), 0 10px 24px -6px rgba(0, 18, 41, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 2.25rem;
  position: relative;
  z-index: 3;
}

.giving-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(1, 37, 77, 0.08);
}

.giving-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0;
  letter-spacing: -0.02em;
}

.giving-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--secondary-dark);
  background: var(--secondary-tint);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(2, 114, 51, 0.22);
  letter-spacing: 0.02em;
}

.giving-freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F1F5F9;
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid #E2E8F0;
}

.freq-btn {
  border: none;
  background: transparent;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.freq-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.amount-btn {
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  padding: 0.8rem 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  font-family: var(--font-display);
}

.amount-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.amount-btn.active {
  background: linear-gradient(135deg, #F06514, #DF5400);
  color: #ffffff;
  border-color: #DF5400;
  box-shadow: 0 6px 18px rgba(223, 84, 0, 0.38);
  transform: translateY(-2px);
}

.giving-custom-input-wrap {
  margin-bottom: 1.25rem;
  display: none;
}

.giving-custom-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-family: var(--font-body);
  color: var(--primary-dark);
  outline: none;
  background: #ffffff;
  transition: all 0.2s ease;
}

.giving-custom-input:focus {
  border-color: #028A3E;
  box-shadow: 0 0 0 4px rgba(2, 138, 62, 0.16);
}

.giving-impact-box {
  background: linear-gradient(135deg, #ECFDF5 0%, #E6F7ED 100%);
  border: 1.5px solid #A7F3D0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(2, 114, 51, 0.05);
}

.giving-impact-icon {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.giving-impact-text {
  font-size: 0.9rem;
  color: #014D22;
  font-weight: 600;
  line-height: 1.5;
}

.giving-submit-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: 12px;
  background: linear-gradient(135deg, #F06514 0%, #DF5400 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 25px rgba(223, 84, 0, 0.38);
}

.giving-submit-btn:hover {
  background: linear-gradient(135deg, #F97316 0%, #DF5400 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 30px rgba(223, 84, 0, 0.5);
}

.giving-submit-btn:active {
  transform: translateY(1px) scale(0.99);
}

.giving-card-footer {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.45;
}

/* Proof Ticker Bar */
.proof-ticker-bar {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 2.25rem 0;
  border-top: 3px solid var(--secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.ticker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.5rem;
}

.ticker-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.4vw, 3.25rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.45rem;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFFFF 40%, #A7F3D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ticker-label {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: #E2E8F0;
  font-weight: 600;
  line-height: 1.45;
}

/* ==========================================================================
   06B. VISION, MISSION & GOAL (Clean 3-Card Layout)
   ========================================================================== */
.vmg-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 4.5rem 0;
  position: relative;
  border-bottom: 1px solid rgba(1, 37, 77, 0.08);
}

.vmg-header-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.vmg-header-wrap .section-heading {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.vmg-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(1, 37, 77, 0.08);
  box-shadow: 0 4px 16px -2px rgba(1, 37, 77, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.vmg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.vmg-card.vision::before {
  background: linear-gradient(90deg, #027233, #028A3E);
}

.vmg-card.mission::before {
  background: linear-gradient(90deg, #DF5400, #F06514);
}

.vmg-card.goal::before {
  background: linear-gradient(90deg, #01254D, #10437E);
}

.vmg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -10px rgba(1, 37, 77, 0.14), 0 8px 16px -4px rgba(1, 37, 77, 0.06);
  border-color: rgba(1, 37, 77, 0.2);
}

.vmg-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vmg-card.vision .vmg-icon-wrap {
  background: rgba(2, 114, 51, 0.1);
  color: var(--secondary);
}

.vmg-card.mission .vmg-icon-wrap {
  background: rgba(223, 84, 0, 0.1);
  color: var(--accent-orange);
}

.vmg-card.goal .vmg-icon-wrap {
  background: rgba(1, 37, 77, 0.08);
  color: var(--primary);
}

.vmg-card:hover .vmg-icon-wrap {
  transform: scale(1.12) rotate(3deg);
}

.vmg-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.58rem, 2vw, 1.75rem);
  font-weight: 850;
  color: var(--text-heading);
  margin-bottom: 0.85rem;
  line-height: 1.24;
  letter-spacing: -0.025em;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vmg-card:hover h3 {
  color: var(--secondary);
}

.vmg-body {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.76;
  margin: 0;
  flex-grow: 1;
}

/* Responsive Breakpoints for VMG */
@media (max-width: 992px) {
  .vmg-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .vmg-section {
    padding: 3.5rem 0;
  }

  .vmg-header-wrap {
    margin-bottom: 2rem;
  }

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

/* Interactive Where-We-Work Regional Explorer */
.regional-explorer {
  margin-top: 2.5rem;
}

.regional-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  justify-content: center;
}

.regional-tab {
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--primary-dark);
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.regional-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.regional-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.regional-panel {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.regional-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.regional-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.regional-body h3 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.regional-body p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.regional-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.regional-stat-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--secondary);
  font-family: var(--font-display);
}

.regional-stat-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.regional-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

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

/* Radical Transparency Stewardship Card */
.stewardship-dashboard {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-md);
}

.stewardship-bar-wrap {
  height: 22px;
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
  margin: 1.75rem 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.stewardship-seg-programs {
  width: 84%;
  background: var(--secondary);
}

.stewardship-seg-monitoring {
  width: 11%;
  background: var(--primary);
}

.stewardship-seg-governance {
  width: 5%;
  background: var(--accent-orange);
}

.stewardship-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.legend-card {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-canvas);
}

.legend-pct {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.legend-card.card-green .legend-pct { color: var(--secondary); }
.legend-card.card-navy .legend-pct { color: var(--primary); }
.legend-card.card-orange .legend-pct { color: var(--accent-orange); }

.legend-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.legend-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   21B. MULTI-DEVICE RESPONSIVE ENGINE (Every Screen Size & Mobile Fluidity)
   ========================================================================== */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Tablet & Smaller Devices (<= 1024px) */
@media (max-width: 1024px) {
  .hero-cinematic {
    min-height: auto;
    padding: 4.5rem 0 4rem;
  }

  .hero-cinematic .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .ticker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .regional-panel.active {
    grid-template-columns: 1fr;
  }

  .regional-media {
    min-height: 240px;
    max-height: 280px;
    order: -1;
  }

  .stewardship-legend {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Mobile & Phablet Devices (<= 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px; /* Prevent sticky CTA from obscuring content */
  }

  .top-bar {
    display: none; /* Streamline mobile viewport */
  }

  .hero-cinematic {
    padding: 3.75rem 0 3.25rem;
  }

  .hero-cinematic .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.85rem);
  }

  .hero-cinematic .hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .regional-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    scrollbar-width: none;
  }

  .regional-nav::-webkit-scrollbar {
    display: none;
  }

  .regional-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.55rem 1.15rem;
    font-size: 0.86rem;
  }

  .regional-body {
    padding: 1.75rem 1.25rem;
  }

  .stewardship-dashboard {
    padding: 1.75rem 1.25rem;
  }

  .mobile-sticky-cta {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(1, 37, 77, 0.12);
  }

  .mobile-sticky-cta .btn {
    flex: 1;
    min-height: 46px;
    padding: 0.65rem 0.5rem;
    font-size: 0.92rem;
    text-align: center;
  }
}

/* Compact Smartphones (<= 480px) */
@media (max-width: 480px) {
  .hero-cinematic .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .hero-cinematic .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cinematic .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-cinematic .hero-giving-card {
    padding: 1.5rem 1rem;
  }

  .giving-amount-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .amount-btn {
    min-height: 48px;
    padding: 0.65rem 0.25rem;
    font-size: 0.95rem;
  }

  .giving-freq-toggle {
    font-size: 0.8rem;
  }

  .freq-btn {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
  }

  .giving-submit-btn {
    min-height: 52px;
    font-size: 0.98rem;
  }

  .ticker-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ticker-number {
    font-size: 2.2rem;
  }

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

  .regional-stat-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
}

/* Ultra-Compact Screens (<= 360px - iPhone SE 1st gen, small foldables) */
@media (max-width: 360px) {
  .brand img {
    height: 42px;
    max-height: 42px;
  }

  .hero-cinematic .hero-title {
    font-size: 1.65rem;
  }

  .container {
    width: calc(100% - 1.5rem);
  }
}

/* ==========================================================================
   21C. DIRECT IMPACT GIVING & PESAPAL CHECKOUT GATEWAY SUITE
   ========================================================================== */
.checkout-card-wrap {
  max-width: 960px;
  margin: 3rem auto 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Dynamic Active Gift Summary Banner */
.active-gift-summary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--accent-orange);
}

.gift-summary-left {
  flex: 1 1 300px;
}

.gift-summary-badge {
  display: inline-block;
  background: rgba(223, 84, 0, 0.25);
  color: #FFB380;
  border: 1px solid rgba(223, 84, 0, 0.45);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gift-summary-amount {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.25rem 0;
  line-height: 1.1;
}

.gift-summary-amount small {
  font-size: 1.05rem;
  font-weight: 500;
  color: #CBD5E1;
}

.gift-summary-impact {
  font-size: 0.92rem;
  color: #E2E8F0;
  margin: 0;
  line-height: 1.45;
}

.gift-summary-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  text-align: right;
}

.stewardship-tag {
  background: var(--secondary-tint);
  color: var(--secondary-dark);
  border: 1px solid rgba(2, 114, 51, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.gift-summary-right small {
  font-size: 0.76rem;
  color: #94A3B8;
}

/* 2-Column Checkout Form Layout */
.checkout-form {
  padding: 2.25rem;
}

.checkout-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.checkout-col-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-color);
}

.gateway-badge-box {
  background: var(--bg-canvas);
  border: 1.5px solid rgba(2, 114, 51, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.gateway-badge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.gateway-title {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gateway-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.gateway-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pay-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary);
}

/* Pesapal Modal Gateway Overlay */
.pesapal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 23, 51, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pesapal-modal-backdrop.active {
  display: flex;
}

.pesapal-modal-box {
  background: #ffffff;
  width: min(520px, 94vw);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(1, 37, 77, 0.15);
  overflow: hidden;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.pesapal-modal-header {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pesapal-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pesapal-logo-badge {
  background: #FF6600;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.pesapal-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.pesapal-close-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.pesapal-close-btn:hover {
  color: #ffffff;
}

.pesapal-modal-body {
  padding: 1.75rem 1.5rem;
}

.pesapal-order-summary {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-color);
}

.pesapal-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 0.25rem 0;
  color: var(--text-muted);
}

.pesapal-summary-row strong {
  color: var(--primary-dark);
}

.pesapal-summary-row.total {
  border-top: 1px solid var(--border-color);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary-dark);
}

.pesapal-pay-methods-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.pesapal-tab {
  border: 1px solid var(--border-color);
  background: #ffffff;
  padding: 0.55rem 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.pesapal-tab.active {
  border-color: #FF6600;
  background: #FFF7F0;
  color: #FF6600;
}

.pesapal-pay-panel {
  display: none;
  margin-bottom: 1.25rem;
}

.pesapal-pay-panel.active {
  display: block;
}

.pesapal-authorize-btn {
  width: 100%;
  background: #FF6600;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.35);
  transition: var(--transition);
}

.pesapal-authorize-btn:hover {
  background: #E65C00;
  transform: translateY(-1px);
}

.pesapal-security-note {
  margin-top: 0.85rem;
  font-size: 0.74rem;
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .checkout-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .checkout-form {
    padding: 1.5rem 1.15rem;
  }
  .active-gift-summary {
    padding: 1.25rem;
  }
  .pesapal-pay-methods-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   21C. DIRECT FIELD IMPACT GIVING & PESAPAL CHECKOUT GATEWAY SUITE
   ========================================================================== */
.checkout-card-wrap {
  max-width: 960px;
  margin: 2.5rem auto 0;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 35px -8px rgba(11, 25, 44, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.checkout-card-wrap:hover {
  box-shadow: 0 16px 42px -6px rgba(11, 25, 44, 0.12), 0 6px 16px rgba(0, 0, 0, 0.05);
}

/* Dynamic Active Gift Summary Header */
.active-gift-summary {
  background: linear-gradient(135deg, #0B192C 0%, #152C4B 65%, #0B3C2A 100%);
  color: #ffffff;
  padding: 1.85rem 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.active-gift-summary::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0) 70%);
  pointer-events: none;
}

.gift-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.gift-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
}

.gift-summary-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.gift-summary-tax-tag {
  font-size: 0.82rem;
  color: #A3BFDB;
  font-weight: 500;
}

.gift-summary-amount-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.gift-summary-amount {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.gift-summary-currency-sub {
  font-size: 1.05rem;
  color: #38BDF8;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.gift-summary-impact {
  font-size: 1.02rem;
  color: #E2E8F0;
  line-height: 1.55;
  margin: 0 0 0.85rem;
  font-weight: 450;
  max-width: 780px;
}

.gift-summary-trust-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #9DB2CE;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gift-summary-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Main Checkout Form Body */
.checkout-form-body {
  padding: 2.25rem;
}

/* 2-Column Responsive Form Layout (Collapses on Tablet/Mobile) */
.checkout-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (max-width: 768px) {
  .checkout-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .active-gift-summary {
    padding: 1.5rem 1.25rem;
  }

  .checkout-form-body {
    padding: 1.5rem 1.25rem;
  }
}

.checkout-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checkout-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-section-title svg {
  color: var(--primary-accent);
}

/* Frequency & Amount Selectors in Checkout */
.checkout-freq-wrap {
  display: flex;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.checkout-freq-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-freq-btn.active {
  background: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(11, 25, 44, 0.18);
}

.checkout-amount-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

@media (max-width: 540px) {
  .checkout-amount-pills {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 360px) {
  .checkout-amount-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checkout-amount-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 0.65rem 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-amount-btn:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

.checkout-amount-btn.active {
  background: rgba(230, 81, 0, 0.08);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  box-shadow: 0 0 0 1px var(--primary-accent);
}

/* Currency Picker Row */
.checkout-currency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -0.25rem;
}

.checkout-currency-row .curr-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.currency-mini-toggle {
  display: inline-flex;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2px;
}

.currency-mini-btn {
  border: none;
  background: transparent;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  min-height: 36px;
}

.currency-mini-btn.active {
  background: var(--primary-dark);
  color: #ffffff;
}

/* Pesapal Payment Rail Box in Form */
.pesapal-gateway-card {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pesapal-gateway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pesapal-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #0A2540;
}

.pesapal-brand-tag .pesa-logo {
  background: #00A859;
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.pesapal-ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0F766E;
  background: #CCFBF1;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.pay-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pay-chip.momo {
  border-color: #FBBF24;
  background: #FFFBEB;
  color: #B45309;
}

.pay-chip.airtel {
  border-color: #F87171;
  background: #FEF2F2;
  color: #B91C1C;
}

.pesapal-checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-size: 1.08rem;
  font-weight: 700;
  min-height: 52px;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, #E65100 0%, #D84315 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.28);
  transition: all 0.25s ease;
}

.pesapal-checkout-btn:hover {
  background: linear-gradient(135deg, #F57C00 0%, #E65100 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 81, 0, 0.38);
}

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

/* ==========================================================================
   PESAPAL PAYMENT GATEWAY MODAL & SIMULATOR DIALOG
   ========================================================================== */
.pesapal-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 25, 44, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  animation: fadeInModal 0.25s ease forwards;
}

.pesapal-modal-backdrop.active {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pesapal-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes slideUpModal {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.pesapal-modal-header {
  background: #0A2540;
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #00A859;
}

.pesapal-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pesapal-header-badge {
  background: #00A859;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.pesapal-header-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.pesapal-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  min-height: 36px;
}

.pesapal-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Order Summary Box inside Modal */
.pesapal-order-summary {
  background: #F8FAFC;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #E2E8F0;
}

.pesapal-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: #475569;
}

.pesapal-order-row.total {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #CBD5E1;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0A2540;
}

.pesapal-order-row.total .highlight-amt {
  color: #00A859;
}

/* Payment Method Navigation Tabs */
.pesapal-methods-tabs {
  display: flex;
  background: #EDF2F7;
  border-bottom: 1px solid #CBD5E1;
  padding: 0.35rem 0.5rem 0;
  gap: 0.35rem;
  overflow-x: auto;
}

.pesapal-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748B;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  min-height: 44px;
  transition: all 0.2s ease;
}

.pesapal-tab-btn.active {
  background: #ffffff;
  color: #0A2540;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.04);
  border-top: 3px solid #00A859;
}

/* Payment Panes */
.pesapal-tab-content {
  padding: 1.75rem;
}

.pesapal-pane {
  display: none;
  flex-direction: column;
  gap: 1.15rem;
}

.pesapal-pane.active {
  display: flex;
}

.network-pill-group {
  display: flex;
  gap: 0.75rem;
}

.network-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1.5px solid #CBD5E1;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 48px;
  transition: all 0.2s ease;
}

.network-pill.active.mtn {
  border-color: #EAB308;
  background: #FEF9C3;
  color: #854D0E;
}

.network-pill.active.airtel {
  border-color: #EF4444;
  background: #FEE2E2;
  color: #991B1B;
}

.pesapal-auth-btn {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  background: #00A859;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  box-shadow: 0 4px 12px rgba(0, 168, 89, 0.25);
  transition: all 0.2s ease;
}

.pesapal-auth-btn:hover {
  background: #00934E;
}

.pesapal-auth-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.pesapal-auth-btn .spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinAuth 0.7s linear infinite;
  display: none;
}

.pesapal-auth-btn.loading .spinner {
  display: inline-block;
}

.pesapal-auth-btn.loading .btn-text {
  display: none;
}

@keyframes spinAuth {
  to { transform: rotate(360deg); }
}

.pesapal-security-footer {
  padding: 0.85rem 1.75rem;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #64748B;
}

/* ==========================================================================
   OFFICIAL DONOR CONFIRMATION RECEIPT (thank-you.html)
   ========================================================================== */
.donation-receipt-card {
  max-width: 640px;
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 2.25rem;
  text-align: left;
}

.receipt-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #F1F5F9;
}

.receipt-ref-badge {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A2540;
  background: #F1F5F9;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
}

.receipt-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.receipt-details-table tr td {
  padding: 0.65rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #F1F5F9;
}

.receipt-details-table tr td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 45%;
}

.receipt-details-table tr td:last-child {
  color: var(--text-dark);
  font-weight: 700;
  text-align: right;
}

.receipt-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.receipt-actions .btn {
  flex: 1;
  min-height: 48px;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   22. PRINT STYLESHEET (High-Quality Physical & PDF Export)
   ========================================================================== */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.4;
    padding: 0 !important;
    margin: 0 !important;
  }

  .top-bar,
  .site-header,
  .nav-toggle,
  .site-nav,
  .nav-backdrop,
  .mobile-sticky-cta,
  .cookie-banner,
  .skip-link,
  .demo-form,
  .newsletter-box,
  .slider-dots,
  .filter-pills-wrap,
  .search-box-wrap,
  .share-dispatch-btn {
    display: none !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .section {
    padding: 1.5cm 0 !important;
  }

  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555555 !important;
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  img {
    page-break-inside: avoid;
    max-width: 100% !important;
  }

  .program-card,
  .partner-card-premium,
  .case-study-card {
    page-break-inside: avoid;
    border: 1px solid #CCCCCC !important;
    margin-bottom: 1cm !important;
  }

  .site-footer {
    border-top: 1pt solid #000000 !important;
    margin-top: 2cm !important;
    padding-top: 1cm !important;
  }
}

/* ==========================================================================
   23. FLOATING WHATSAPP WIDGET (+256 772 070684)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1150;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.42), 0 2px 6px rgba(0, 0, 0, 0.18);
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.55), 0 4px 10px rgba(0, 0, 0, 0.22);
  filter: brightness(1.05);
  color: #ffffff !important;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}

@media print {
  .whatsapp-float {
    display: none !important;
  }
}

/* ==========================================================================
   24. COMPREHENSIVE MOBILE RESPONSIVENESS & ZERO HORIZONTAL OVERFLOW SUITE
   ========================================================================== */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  position: relative;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip !important;
  }
}

/* Prevent content sections (excluding .site-header so mobile drawer isn't clipped) from overflowing 100vw */
.section,
.site-footer,
.page-header,
.hero-cinematic,
.hero-section,
main {
  max-width: 100vw;
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  .section,
  .site-footer,
  .page-header,
  .hero-cinematic,
  .hero-section,
  main {
    overflow-x: clip;
  }
}

.hero-cinematic .hero-split-grid > *,
.hero-grid > *,
.two-col-grid > *,
.spotlight-grid > *,
.contact-grid > *,
.volunteer-grid > *,
.checkout-grid-2 > *,
.regional-panel > *,
.footer-grid > *,
.cards-grid > *,
.cards-grid-4 > *,
.cards-grid-5 > *,
.vmg-grid > *,
.legal-grid > *,
.case-study-grid > *,
.story-feature > *,
.stewardship-card > *,
.calc-widget-card > *,
.newsletter-box > *,
.about-journey-card > *,
.community-gratitude-card > *,
.tourism-banner > * {
  min-width: 0;
  max-width: 100%;
}

img,
svg,
video,
canvas,
iframe,
table {
  max-width: 100%;
}

/* Wrap flex rows that previously overflowed on narrow screens */
.hero-cinematic .hero-trust-bar,
.giving-card-header,
.alliance-card-top,
.progress-label-row,
.payment-method-header,
.payment-copy-box,
.search-status-bar,
.gateway-badge-header,
.checkout-currency-row,
.receipt-header-row,
.pesapal-order-row,
.pesapal-summary-row,
.pesapal-modal-header,
.network-pill-group {
  flex-wrap: wrap;
}

/* Responsive Mobile & Tablet Navigation Bar + Clean Slide-Out Drawer (<= 1024px) */
@media (max-width: 1024px) {
  .site-header,
  .site-header.menu-open {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    overflow: visible !important;
    z-index: 1350 !important;
  }

  .site-header .container,
  .nav-wrap {
    overflow: visible !important;
    min-height: 68px !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }

  .brand img {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
  }

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

  .nav-toggle,
  .nav-toggle.active {
    display: flex !important;
    position: relative !important;
    z-index: 1450 !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  /* Ensure backdrop stays BELOW .site-header (1350) so it never blocks taps inside .site-nav */
  .nav-backdrop,
  .nav-backdrop.active {
    z-index: 1050 !important;
  }

  .site-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(310px, 84vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #FFFFFF !important;
    z-index: 1400 !important;
    padding: 4.5rem 1.25rem 2rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    transform: translateX(105%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease !important;
  }

  .site-nav.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: -12px 0 35px rgba(1, 37, 77, 0.22) !important;
  }

  .site-nav.open * {
    pointer-events: auto !important;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.15rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-item {
    width: 100% !important;
  }

  .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0.75rem 0.85rem !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
    border-radius: 8px !important;
    border-bottom: none !important;
    min-height: 46px !important;
    cursor: pointer !important;
  }

  .nav-link:hover,
  .nav-link:active,
  .nav-link[aria-current="page"] {
    background: #F1F5F9 !important;
    color: var(--secondary-dark) !important;
  }

  .nav-link .chevron-icon {
    display: none !important;
  }

  /* Show key sub-pages cleanly indented and directly tappable */
  .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 2px solid #E2E8F0 !important;
    background: transparent !important;
    margin: 0.1rem 0 0.4rem 0.85rem !important;
    padding: 0 0 0 0.65rem !important;
    min-width: 0 !important;
    width: auto !important;
    animation: none !important;
  }

  .dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    padding: 0.5rem 0.65rem !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    border-radius: 6px !important;
    min-height: 40px !important;
    white-space: normal !important;
    cursor: pointer !important;
  }

  .dropdown-menu li a:hover,
  .dropdown-menu li a:active {
    background: #F8FAFC !important;
    color: var(--primary-dark) !important;
    transform: none !important;
  }
}

/* Full Mobile Responsiveness Normalization (<= 768px) */
@media (max-width: 768px) {
  .mobile-sticky-cta,
  .mobile-sticky-bar {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  .cookie-banner {
    bottom: 0 !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Force all multi-column grids to single column on mobile */
  .hero-cinematic .hero-split-grid,
  .hero-grid,
  .two-col-grid,
  .spotlight-grid,
  .contact-grid,
  .volunteer-grid,
  .checkout-grid-2,
  .regional-panel.active,
  .footer-grid,
  .cards-grid,
  .cards-grid-4,
  .cards-grid-5,
  .vmg-grid,
  .legal-grid,
  .case-study-grid,
  .story-feature,
  .stories-dual-grid,
  .stewardship-card,
  .stewardship-legend,
  .calc-widget-card,
  .newsletter-box,
  .about-journey-card,
  .community-gratitude-card,
  .tourism-banner,
  .alliances-grid,
  .partners-grid-premium,
  .footprint-grid,
  .news-grid-3,
  .team-grid,
  .payment-rails-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 2-column compact grids on mobile */
  .stats-grid,
  .ticker-grid,
  .calc-tiers,
  .pesapal-pay-methods-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .giving-amount-grid,
  .checkout-amount-pills {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }

  .regional-stat-row,
  .case-study-metrics {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Hero section mobile polish */
  .hero-cinematic {
    min-height: auto !important;
    padding: 2.5rem 0 3rem !important;
  }

  .hero-cinematic .hero-title,
  .page-header h1,
  h1 {
    font-size: clamp(1.75rem, 7vw, 2.35rem) !important;
    line-height: 1.18 !important;
    word-break: break-word;
  }

  h2,
  .section-heading {
    font-size: clamp(1.45rem, 5.8vw, 1.95rem) !important;
    line-height: 1.22 !important;
  }

  .hero-cinematic .hero-lead {
    font-size: 1rem !important;
    line-height: 1.58 !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-cinematic .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .hero-cinematic .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-cinematic .hero-trust-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  .hero-cinematic .hero-giving-card,
  .program-card,
  .vmg-card,
  .stewardship-dashboard,
  .checkout-form,
  .checkout-form-body,
  .active-gift-summary,
  .donation-receipt-card {
    padding: 1.35rem 1.1rem !important;
  }

  /* Make tables scroll horizontally inside their wrapper without stretching page */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent long URLs, emails, and phone links from overflowing */
  p, li, a, span, td, th, div {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* Hide horizontal scrollbars on pill/tab bars while keeping touch scroll */
  .tabs-nav,
  .regional-nav,
  .filter-pills-wrap,
  .pesapal-methods-tabs {
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tabs-nav::-webkit-scrollbar,
  .regional-nav::-webkit-scrollbar,
  .filter-pills-wrap::-webkit-scrollbar,
  .pesapal-methods-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 480px) {
  .giving-amount-grid,
  .checkout-amount-pills,
  .stats-grid,
  .ticker-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
}

/* ==========================================================================
   25. Urgent Donor Appeals & Quick-Catch Story Cards
   ========================================================================== */
.story-pill-badge.story-pill-urgent {
  background: rgba(190, 18, 60, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.story-pill-badge.story-pill-nutrition {
  background: rgba(2, 114, 51, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.story-pill-badge.story-pill-poverty {
  background: rgba(180, 83, 9, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-tag-urgent {
  background: rgba(190, 18, 60, 0.1) !important;
  color: #BE123C !important;
  border: 1px solid rgba(190, 18, 60, 0.22);
}

.story-impact-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #F0FDF4;
  border: 1px solid rgba(2, 114, 51, 0.22);
  border-left: 4px solid var(--secondary);
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
  margin-bottom: 1.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #064E3B;
  line-height: 1.4;
}

.story-impact-strip svg {
  flex-shrink: 0;
  color: var(--secondary);
}

/* ==========================================================================
   26. Practical Charity Causes, Impact Gallery, Donor Testimonials & Trust
   ========================================================================== */

/* Causes Grid & Cards (Inspired by practical grassroots charity layout) */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

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

.cause-card {
  background: #ffffff;
  border: 1px solid rgba(1, 37, 77, 0.1);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(1, 37, 77, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.cause-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(1, 37, 77, 0.12);
  border-color: rgba(2, 114, 51, 0.45);
}

.cause-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(2, 114, 51, 0.1);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.cause-icon-badge.urgent {
  background: rgba(224, 76, 5, 0.12);
  color: #DF5400;
}

.cause-icon-badge.water {
  background: rgba(1, 37, 77, 0.09);
  color: var(--primary);
}

.cause-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.cause-so-far {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 0.25rem;
}

.cause-full-cost {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.cause-progress-box {
  background: #F8FAFC;
  border: 1px solid rgba(1, 37, 77, 0.08);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.cause-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.45rem;
}

.cause-progress-pct {
  color: var(--secondary);
}

.cause-progress-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.cause-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, #10B981 100%);
  border-radius: 999px;
}

.cause-help-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1.35rem;
  flex-grow: 1;
}

.cause-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1.2rem;
  background-color: #DF5400 !important;
  background: linear-gradient(135deg, #E04C05 0%, #C54103 100%) !important;
  color: #ffffff !important;
  border: 2px solid #C54103;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(224, 76, 5, 0.32);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cause-donate-btn:hover,
.cause-donate-btn:focus-visible {
  background-color: #027233 !important;
  background: linear-gradient(135deg, #027233 0%, #015826 100%) !important;
  border-color: #015826;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 114, 51, 0.35);
}

/* Filterable Field Impact Photo Gallery */
.impact-gallery-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.75rem 0 2.25rem;
}

.gallery-pill-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(1, 37, 77, 0.15);
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-pill-btn:hover,
.gallery-pill-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 114, 51, 0.25);
}

.impact-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

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

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

.gallery-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0A2540;
  box-shadow: 0 6px 20px rgba(1, 37, 77, 0.1);
}

.gallery-card[hidden] {
  display: none !important;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

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

.gallery-caption-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(1, 25, 54, 0.92) 0%, rgba(1, 25, 54, 0.55) 65%, transparent 100%);
  padding: 2.2rem 1.15rem 1rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.gallery-caption-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(2, 114, 51, 0.9);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

/* Donor Testimonials Section ("What Our Donors Say") */
.donor-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .donor-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(1, 37, 77, 0.09);
  border-radius: 16px;
  padding: 1.85rem;
  box-shadow: 0 6px 20px rgba(1, 37, 77, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.68;
  font-style: italic;
  margin: 0 0 1.35rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid rgba(1, 37, 77, 0.08);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.testimonial-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer Payment Acceptance & Pesapal Trust Strip */
.footer-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
}

.footer-payment-badges li {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #F8FAFC;
}

.pesapal-trust-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  margin-top: 0.55rem;
}



/* === Accessible $1+ Cause Card Pills & Frequency Toggle Enhancements === */
.cause-price-highlight {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #14532D;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  margin-bottom: 0.85rem;
}
.cause-price-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #15803D;
  line-height: 1.1;
}
.cause-price-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: #166534;
  background: #DCFCE7;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.cause-quick-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}
.cause-amount-pill {
  appearance: none;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.42rem 0.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.cause-amount-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #FFF7ED;
}
.cause-amount-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(13, 39, 68, 0.18);
}
.checkout-freq-toggle {
  background: #F1F5F9 !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  padding: 0.28rem !important;
  gap: 0.3rem !important;
}
.checkout-freq-toggle .freq-btn {
  border: none;
  border-radius: 7px;
  padding: 0.62rem 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #475569;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.checkout-freq-toggle .freq-btn:hover {
  color: var(--primary);
}
.checkout-freq-toggle .freq-btn.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(13, 39, 68, 0.2);
}
.hero-giving-card .giving-freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.25rem;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}
.hero-giving-card .giving-freq-toggle .freq-btn {
  border: none;
  border-radius: 7px;
  padding: 0.5rem 0.65rem;
  font-weight: 700;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hero-giving-card .giving-freq-toggle .freq-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(223, 84, 0, 0.35);
}


/* === Unified & Highly Readable Vision, Mission, Goal & Core Values === */
.vmg-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%) !important;
  padding: 4.5rem 0 !important;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}
.vmg-header-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem !important;
}
.vmg-header-wrap .section-intro {
  color: #334155 !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}
.vmg-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 16px !important;
  padding: 2.25rem 2rem !important;
  box-shadow: 0 10px 25px -5px rgba(11, 25, 44, 0.07) !important;
}
.vmg-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.vmg-card-top .vmg-icon-wrap {
  margin-bottom: 0 !important;
}
.vmg-pill {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.vision-pill {
  background: #DCFCE7;
  color: #166534;
}
.mission-pill {
  background: #FFEDD5;
  color: #9A3412;
}
.goal-pill {
  background: #DBEAFE;
  color: #1E40AF;
}
.vmg-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #0B192C !important;
  margin-bottom: 0.85rem !important;
  line-height: 1.25 !important;
}
.vmg-body {
  color: #1E293B !important;
  font-size: 1.04rem !important;
  line-height: 1.75 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* Core Values 5-Card Grid */
.core-values-wrap {
  margin-top: 3.25rem;
  padding-top: 2.75rem;
  border-top: 1.5px solid #E2E8F0;
}
.core-values-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.core-values-header h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #0B192C;
  margin: 0.5rem 0 0.5rem;
}
.core-values-header p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}
.core-value-card {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}
.core-value-card:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(11, 25, 44, 0.1);
}
.core-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #E0F2FE;
  color: #0369A1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.95rem;
}
.core-value-card:nth-child(1) .core-value-icon { background: #DCFCE7; color: #15803D; }
.core-value-card:nth-child(2) .core-value-icon { background: #DBEAFE; color: #1D4ED8; }
.core-value-card:nth-child(3) .core-value-icon { background: #FFEDD5; color: #C2410C; }
.core-value-card:nth-child(4) .core-value-icon { background: #FCE7F3; color: #BE185D; }
.core-value-card:nth-child(5) .core-value-icon { background: #EDE9FE; color: #6D28D9; }
.core-value-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0B192C;
  margin: 0 0 0.5rem;
}
.core-value-card p {
  color: #1E293B;
  font-size: 0.93rem;
  line-height: 1.62;
  margin: 0;
  font-weight: 500;
}
@media (max-width: 1100px) {
  .core-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .core-values-grid {
    grid-template-columns: 1fr;
  }
}


/* === Fix Homepage Hero Giving Card Text Contrast & Layout === */
.hero-giving-card,
.hero-cinematic .hero-giving-card {
  background: #FFFFFF !important;
  color: #0B192C !important;
  border-radius: 20px !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 18, 41, 0.45) !important;
  padding: 2rem !important;
}

.hero-giving-card .giving-card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.85rem !important;
  border-bottom: 1.5px solid #E2E8F0 !important;
}

.hero-giving-card .giving-card-title,
.hero-cinematic .hero-giving-card .giving-card-title {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0B192C !important;
  margin: 0 !important;
}

.hero-giving-card .giving-badge,
.hero-cinematic .hero-giving-card .giving-badge {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #166534 !important;
  background: #DCFCE7 !important;
  padding: 0.32rem 0.75rem !important;
  border-radius: 999px !important;
  border: 1px solid #86EFAC !important;
}

.hero-giving-card .giving-freq-toggle {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  background: #F1F5F9 !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 0.28rem !important;
  gap: 0.3rem !important;
  margin-bottom: 1rem !important;
}

.hero-giving-card .giving-freq-toggle .freq-btn {
  border: none !important;
  border-radius: 7px !important;
  padding: 0.58rem 0.65rem !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  color: #475569 !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.hero-giving-card .giving-freq-toggle .freq-btn:hover {
  color: #0B192C !important;
}

.hero-giving-card .giving-freq-toggle .freq-btn.active {
  background: #01254D !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(1, 37, 77, 0.22) !important;
}

.hero-giving-card .giving-amount-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.55rem !important;
  margin-bottom: 0.95rem !important;
}

.hero-giving-card .amount-btn {
  border: 1.5px solid #CBD5E1 !important;
  background: #F8FAFC !important;
  color: #0B192C !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  padding: 0.68rem 0.4rem !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}

.hero-giving-card .amount-btn:hover {
  border-color: #DF5400 !important;
  color: #DF5400 !important;
  background: #FFF7ED !important;
}

.hero-giving-card .amount-btn.active {
  background: #DF5400 !important;
  border-color: #DF5400 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(223, 84, 0, 0.3) !important;
}

.hero-giving-card .giving-custom-input {
  width: 100% !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0B192C !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.7rem 0.9rem !important;
  border-radius: 10px !important;
}

.hero-giving-card .giving-custom-input::placeholder {
  color: #64748B !important;
  font-weight: 500 !important;
}

.hero-giving-card .giving-impact-box {
  background: #F0FDF4 !important;
  border: 1px solid #BBF7D0 !important;
  border-radius: 10px !important;
  padding: 0.8rem 0.95rem !important;
  margin-bottom: 1rem !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
}

.hero-giving-card .giving-impact-icon {
  color: #15803D !important;
  flex-shrink: 0 !important;
  margin-top: 0.1rem !important;
}

.hero-giving-card .giving-impact-text {
  color: #14532D !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}


@media (max-width: 820px) {
  .cause-card[data-cause-tier="general"] {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
}

/* ==========================================================================
   IPCI UNIQUE IN-SITE STORY & BLOG READER MODAL + FILTER PILLS (v27)
   ========================================================================== */
.ipci-story-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 0 auto 2.5rem;
}
.ipci-story-filter-btn {
  appearance: none;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0B192C;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ipci-story-filter-btn:hover {
  border-color: #166534;
  color: #166534;
  background: #f0fdf4;
}
.ipci-story-filter-btn.active {
  background: #0B192C;
  color: #ffffff;
  border-color: #0B192C;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.18);
}

.ipci-story-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 25, 44, 0.78);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ipci-story-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.ipci-story-modal {
  background: #ffffff;
  color: #0f172a;
  width: 100%;
  max-width: 840px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  margin: auto 0;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.ipci-story-modal-backdrop.is-open .ipci-story-modal {
  transform: translateY(0);
}
.ipci-story-modal-close {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1rem 1rem -3.25rem 0;
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 25, 44, 0.85);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.ipci-story-modal-close:hover {
  background: #dc2626;
  transform: scale(1.06);
}
.ipci-story-reader-hero {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background: #0B192C;
}
.ipci-story-reader-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.ipci-story-reader-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.ipci-story-type-pill {
  background: #dcfce7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.ipci-story-cause-pill {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.ipci-story-reader-body {
  padding: 2.25rem 2.5rem;
}
@media (max-width: 640px) {
  .ipci-story-reader-body {
    padding: 1.5rem 1.25rem;
  }
  .ipci-story-reader-hero img {
    height: 240px;
  }
}
.ipci-story-reader-title {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
  color: #0B192C;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
.ipci-story-reader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #475569;
  font-weight: 600;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.ipci-story-reader-quote {
  background: #f8fafc;
  border-left: 4px solid #166534;
  padding: 1.1rem 1.35rem;
  margin: 0 0 1.5rem;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: #1e293b;
  font-weight: 600;
}
.ipci-story-reader-content {
  font-size: 1.04rem;
  line-height: 1.75;
  color: #1e293b;
}
.ipci-story-reader-content p {
  margin: 0 0 1.15rem;
}
.ipci-story-reader-content h3,
.ipci-story-reader-content h4 {
  color: #0B192C;
  font-weight: 800;
  margin: 1.5rem 0 0.65rem;
}
.ipci-story-reader-content ul,
.ipci-story-reader-content ol {
  margin: 0 0 1.25rem 1.25rem;
}
.ipci-story-reader-content li {
  margin-bottom: 0.5rem;
}
.ipci-story-reader-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
}
.ipci-story-donate-box {
  margin-top: 2rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 1.5rem;
}
.ipci-story-donate-box h4 {
  margin: 0 0 0.4rem;
  color: #0B192C;
  font-size: 1.15rem;
  font-weight: 800;
}
.ipci-story-donate-box p {
  margin: 0 0 1rem;
  font-size: 0.93rem;
  color: #166534;
  font-weight: 600;
}
.ipci-story-donate-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.ipci-story-donate-pills a {
  text-decoration: none;
  background: #ffffff;
  color: #0B192C;
  border: 1.5px solid #166534;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  transition: all 0.18s ease;
}
.ipci-story-donate-pills a:hover {
  background: #166534;
  color: #ffffff;
}
.ipci-story-reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ==========================================================================
   IPCI HORIZONTAL STORIES CAROUSEL ON HOMEPAGE (v32)
   ========================================================================== */
.stories-carousel-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.stories-carousel-title-wrap {
  max-width: 700px;
}
.stories-carousel-controls {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.stories-carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0B192C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.08);
  transition: all 0.2s ease;
}
.stories-carousel-btn:hover {
  background: #0B192C;
  color: #ffffff;
  border-color: #0B192C;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 25, 44, 0.18);
}
.stories-carousel-btn:active {
  transform: translateY(0);
}
.stories-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.stories-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stories-carousel-track::-webkit-scrollbar {
  display: none;
}
.stories-carousel-track .story-card-home {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 300px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  height: auto;
}
@media (max-width: 1080px) {
  .stories-carousel-track .story-card-home {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}
@media (max-width: 680px) {
  .stories-carousel-track .story-card-home {
    flex: 0 0 88%;
    min-width: 270px;
  }
}
.stories-carousel-track .story-card-media {
  height: 215px;
  flex-shrink: 0;
}
.stories-carousel-track .story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stories-carousel-track .story-card-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.35rem 1.4rem 1.5rem;
}
.stories-carousel-track .story-card-content h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 0.45rem 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stories-carousel-track .story-card-content p {
  font-size: 0.94rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.15rem;
}
.stories-carousel-track .story-actions {
  margin-top: auto;
  padding-top: 0.5rem;
}
.stories-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.stories-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
  transition: all 0.22s ease;
}
.stories-carousel-dot.active {
  width: 26px;
  background: #166534;
}

/* ==========================================================================
   IPCI V33: LEFT-TO-RIGHT PARTNERS MARQUEE, STEWARDSHIP & SITE-WIDE HOVER POLISH
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

/* 1. Left-to-Right Moving Partner Row */
.partners-showcase-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  padding-bottom: 4.5rem;
}
.partners-marquee-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #166534;
  margin-bottom: 1rem;
}
.partners-marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.partners-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  width: max-content;
  animation: ipciMarqueeLeftToRight 42s linear infinite;
}
.partners-marquee-viewport:hover .partners-marquee-track {
  animation-play-state: paused;
}
@keyframes ipciMarqueeLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .partners-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}
.partner-marquee-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.95rem 1.35rem;
  min-width: 285px;
  max-width: 340px;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.05);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.partner-marquee-card:hover {
  transform: translateY(-4px);
  border-color: #166534;
  box-shadow: 0 12px 26px rgba(22, 101, 52, 0.12);
}
.partner-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.partner-marquee-card:hover .partner-icon-box {
  background: #166534;
  color: #ffffff;
  transform: scale(1.06);
}
.partner-logo-box {
  width: 68px;
  height: 50px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  flex-shrink: 0;
}
.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partner-marquee-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.partner-marquee-text strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0B192C;
  line-height: 1.25;
}
.partner-marquee-text span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.3;
}
.partners-cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* 2. 4-Step Grassroots Stewardship & Donor Trust Grid (Conflict-Free .ipci-path-*) */
.ipci-path-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.ipci-path-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2.75rem;
}
.ipci-path-header .section-intro {
  margin: 0 auto;
}
.ipci-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .ipci-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .ipci-path-grid {
    grid-template-columns: 1fr;
  }
}
.ipci-path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  margin: 0;
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}
.ipci-path-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #166534, #f59e0b);
}
.ipci-path-card:hover {
  transform: translateY(-6px);
  border-color: #166534;
  box-shadow: 0 18px 34px rgba(11, 25, 44, 0.1);
}
.ipci-path-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.ipci-path-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.ipci-path-card:hover .ipci-path-icon {
  background: #166534;
  color: #ffffff;
  transform: scale(1.06);
}
.ipci-path-step {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}
.ipci-path-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0B192C;
  line-height: 1.3;
  margin: 0 0 0.65rem;
}
.ipci-path-card p {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* 3. Refined Site-Wide Card, Image, Link & Button Hover Micro-Interactions */
.program-card,
.story-card-home,
.gallery-card,
.vmg-card,
.about-journey-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease !important;
}
.program-card:hover,
.story-card-home:hover,
.gallery-card:hover,
.vmg-card:hover,
.about-journey-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(11, 25, 44, 0.11) !important;
  border-color: rgba(22, 101, 52, 0.38) !important;
}
.program-card img,
.story-card-media img,
.gallery-media img,
.story-media img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.program-card:hover img,
.story-card-home:hover .story-card-media img,
.gallery-card:hover .gallery-media img,
.story-feature:hover .story-media img {
  transform: scale(1.045);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  transition: color 0.2s ease, gap 0.2s ease;
}
.card-link svg {
  transition: transform 0.22s ease;
}
.card-link:hover svg {
  transform: translateX(4px);
}
.btn {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   IPCI V35: ROCK-SOLID DROPDOWN HOVER FIX (ZERO GAP + HOVER BRIDGE)
   ========================================================================== */
@media (min-width: 1025px) {
  .nav-item.has-dropdown {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: -6px;
  }
  .nav-item.has-dropdown > .dropdown-menu {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    animation: none !important;
  }
  .nav-item.has-dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -18px;
    left: -14px;
    right: -14px;
    height: 22px;
    background: transparent;
  }
  .nav-item.has-dropdown:hover > .dropdown-menu,
  .nav-item.has-dropdown:focus-within > .dropdown-menu,
  .nav-item.has-dropdown.open > .dropdown-menu,
  .nav-item.has-dropdown > .dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* ==========================================================================
   IPCI V36: DYNAMIC MODERN UI DEPTH, SCROLL-REVEAL, BENTO GALLERY & LIGHTBOX
   ========================================================================== */

/* 1. Top Reading / Scroll Progress Hairline */
.ipci-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 60%, #166534 100%);
  z-index: 99999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* 2. Frosted Glass Sticky Header Depth on Scroll */
.site-header {
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px -10px rgba(1, 37, 77, 0.14);
}

/* 3. Atmospheric Radial-Glow Page Headers (Eliminates Flat Static Paper Look) */
.page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(16, 185, 129, 0.26) 0%, transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(245, 158, 11, 0.20) 0%, transparent 45%),
    linear-gradient(135deg, #011c3a 0%, #012d5e 55%, #07443a 100%) !important;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.page-header > .container {
  position: relative;
  z-index: 2;
}

/* 4. Subtle Atmospheric Section Depth & Soft Ambient Surfaces */
.section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}
.section-heading {
  letter-spacing: -0.02em;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(22, 101, 52, 0.08);
  color: #166534;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

/* 5. Smooth Scroll-Reveal Entrance Motion */
.ipci-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.ipci-reveal.ipci-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .ipci-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 6. Independent Stylish Bento Gallery Page */
.gallery-page-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f8fafc 100%);
  padding-top: 3rem;
}
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.05);
}
.gallery-count-pill {
  font-size: 0.84rem;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.gallery-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 310px;
  gap: 1.35rem;
}
.gallery-bento-card {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0B192C;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(11, 25, 44, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.gallery-bento-card.gallery-bento-wide {
  grid-column: span 2;
}
@media (max-width: 980px) {
  .gallery-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }
  .gallery-bento-card.gallery-bento-wide {
    grid-column: span 2;
  }
}
@media (max-width: 620px) {
  .gallery-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }
  .gallery-bento-card.gallery-bento-wide {
    grid-column: span 1;
  }
}
.gallery-bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}
.gallery-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(11, 25, 44, 0.22);
}
.gallery-bento-card:hover img {
  transform: scale(1.07);
}
.gallery-bento-overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(1, 28, 58, 0.08) 0%, rgba(1, 28, 58, 0.42) 50%, rgba(1, 22, 46, 0.92) 100%);
  color: #ffffff;
  transition: background 0.3s ease;
}
.gallery-bento-card:hover .gallery-bento-overlay {
  background: linear-gradient(180deg, rgba(1, 28, 58, 0.14) 0%, rgba(1, 28, 58, 0.56) 45%, rgba(1, 22, 46, 0.96) 100%);
}
.gallery-bento-pill {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.gallery-bento-overlay h3 {
  color: #ffffff !important;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  line-height: 1.3;
}
.gallery-bento-overlay p {
  color: rgba(241, 245, 249, 0.9);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-zoom-hint {
  font-size: 0.8rem;
  font-weight: 700;
  color: #86efac;
  opacity: 0.9;
  transition: transform 0.25s ease;
}
.gallery-bento-card:hover .gallery-zoom-hint {
  transform: translateX(4px);
}
.gallery-bottom-panel {
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(11, 25, 44, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* 7. Full-Screen Interactive Gallery Lightbox */
.ipci-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 13, 26, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ipci-lightbox-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.ipci-lightbox-shell {
  position: relative;
  width: 100%;
  max-width: 1020px;
  background: #0B192C;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.ipci-lightbox-backdrop.is-open .ipci-lightbox-shell {
  transform: scale(1);
}
.ipci-lightbox-stage {
  position: relative;
  background: #050d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 68vh;
  overflow: hidden;
}
.ipci-lightbox-stage img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}
.ipci-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 25, 44, 0.78);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ipci-lightbox-nav:hover {
  background: #166534;
  transform: translateY(-50%) scale(1.08);
}
.ipci-lightbox-prev { left: 1rem; }
.ipci-lightbox-next { right: 1rem; }
.ipci-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 25, 44, 0.85);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.ipci-lightbox-close:hover {
  background: #dc2626;
}
.ipci-lightbox-caption {
  padding: 1.4rem 1.75rem;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.ipci-lightbox-caption h3 {
  color: #ffffff !important;
  font-size: 1.2rem;
  margin: 0.35rem 0 0.25rem;
}
.ipci-lightbox-caption p {
  color: #cbd5e1;
  font-size: 0.94rem;
  margin: 0;
  max-width: 680px;
}
.ipci-lightbox-counter {
  font-size: 0.82rem;
  font-weight: 800;
  color: #86efac;
  background: rgba(22, 101, 52, 0.35);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

/* 8. Floating Back-to-Top Button */
.ipci-back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 5.5rem;
  z-index: 950;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 25, 44, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #0B192C;
  box-shadow: 0 8px 22px rgba(11, 25, 44, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
}
.ipci-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ipci-back-to-top:hover {
  background: #0B192C;
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==========================================================================
   IPCI V37: HOMEPAGE 3-CARD GALLERY SHOWCASE (1 BIGGER + 2 EQUAL)
   ========================================================================== */
.home-gallery-trio {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1.35rem;
}
.home-gallery-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  background: #0B192C;
  box-shadow: 0 12px 28px rgba(11, 25, 44, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.home-gallery-card--featured {
  grid-row: span 2;
}
.home-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(11, 25, 44, 0.2);
}
.home-gallery-card:hover img {
  transform: scale(1.06);
}
.home-gallery-overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(1, 28, 58, 0.05) 0%, rgba(1, 28, 58, 0.42) 55%, rgba(1, 22, 46, 0.92) 100%);
  color: #ffffff;
}
.home-gallery-card--featured .home-gallery-overlay {
  padding: 2rem;
}
.home-gallery-overlay h3 {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0.45rem 0 0.25rem;
  line-height: 1.3;
}
.home-gallery-card--featured .home-gallery-overlay h3 {
  font-size: 1.45rem;
}
.home-gallery-overlay p {
  color: rgba(241, 245, 249, 0.9);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 860px) {
  .home-gallery-trio {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 230px;
  }
  .home-gallery-card--featured {
    grid-row: span 1;
    grid-column: span 2;
  }
}
@media (max-width: 580px) {
  .home-gallery-trio {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 220px 220px;
  }
  .home-gallery-card--featured {
    grid-column: span 1;
  }
}

/* ==========================================================================
   IPCI V38: BALANCED 4-CARD KEY PILLARS / STATISTICS SECTION
   ========================================================================== */
.ipci-stats-band {
  background:
    radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 50%, rgba(245, 158, 11, 0.14) 0%, transparent 45%),
    linear-gradient(135deg, #011c3a 0%, #01254d 100%) !important;
  padding: 2.5rem 0 !important;
  border-top: 3px solid #10b981;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ipci-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.ipci-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.5rem 1.15rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.ipci-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #10b981, #f59e0b);
  opacity: 0.75;
  transition: left 0.28s ease, right 0.28s ease, opacity 0.28s ease;
}
.ipci-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}
.ipci-stat-card:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}
.ipci-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.ipci-stat-card:hover .ipci-stat-icon {
  background: #10b981;
  color: #011c3a;
  transform: scale(1.08);
}
.ipci-stat-value {
  display: block;
  font-size: clamp(1.18rem, 1.65vw, 1.48rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  white-space: nowrap;
}
.ipci-stat-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.4;
}
@media (max-width: 980px) {
  .ipci-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .ipci-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .ipci-stat-card {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   IPCI V39: ACCESSIBILITY, CONTRAST, TOUCH TARGET & CLS PERFECTION POLISH
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 1. Footer Copyright High Contrast (WCAG AAA on #001226) */
.site-footer .footer-bottom p,
.footer-bottom p {
  color: #CBD5E1 !important;
}
.footer-legal-links a {
  color: #CBD5E1 !important;
}
.footer-legal-links a:hover {
  color: #FFFFFF !important;
}

/* 2. Hero Giving Card Active Amount Pill Contrast (>= 5.5:1 AA+) */
.hero-giving-card .amount-btn.active,
.hero-giving-card .amount-pill.active,
.checkout-card .amount-btn.active {
  background: #B84500 !important;
  border-color: #9A3700 !important;
  color: #FFFFFF !important;
}

/* 3. Carousel Dots: 28x28px WCAG Tap Target with Crisp Visual Pill Inside */
.stories-carousel-dots {
  gap: 0.25rem;
}
.stories-carousel-dot {
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  background: transparent !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stories-carousel-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #94a3b8;
  transition: all 0.22s ease;
}
.stories-carousel-dot.active {
  width: 36px !important;
  background: transparent !important;
}
.stories-carousel-dot.active::after {
  width: 26px;
  background: #166534;
}

/* 4. Zero-CLS Explicit Aspect Ratios on Programme Images & Footer Logo */
.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-logo img,
.footer-brand img {
  width: 200px;
  height: auto;
  aspect-ratio: 220 / 71;
}

/* ==========================================================================
   IPCI V40: FIELD STORIES NEWSLETTER SIGNUP CARD
   ========================================================================== */
.ipci-newsletter-section {
  padding: 3.25rem 0;
  background: #f8fafc;
}
.ipci-newsletter-card {
  background:
    radial-gradient(circle at 12% 20%, rgba(16, 185, 129, 0.24) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
    linear-gradient(135deg, #011c3a 0%, #012d5e 100%);
  border-radius: 22px;
  padding: 2.5rem 2.75rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: center;
  box-shadow: 0 22px 46px rgba(1, 28, 58, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ipci-newsletter-copy h2 {
  color: #ffffff !important;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.25;
  margin: 0.7rem 0 0.65rem;
}
.ipci-newsletter-copy p {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}
.ipci-newsletter-form {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 16px;
  padding: 1.35rem !important;
  box-shadow: none !important;
}
.ipci-nl-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.ipci-nl-inputs input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
  color: #0B192C;
  font-family: inherit;
  font-size: 0.95rem;
}
.ipci-nl-inputs input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.ipci-nl-submit {
  width: 100%;
  padding: 0.85rem 1.25rem !important;
  font-weight: 800;
}
.ipci-nl-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 1.2em;
}
.ipci-nl-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.ipci-nl-note a {
  color: #86efac;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .ipci-newsletter-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}
