/* ==========================================================================
   WOMENVISION.IN - CINEMATIC LIGHT THEME (BANTHARA, LUCKNOW)
   Master Stylesheet & Design System - 100% Fully Responsive
   ========================================================================== */

:root {
  /* Signature Brand Palette (from Logo) on Pristine Light Canvas */
  --color-magenta: #002c8c;
  --color-magenta-hover: #001f66;
  --color-magenta-light: #eff6ff;
  --color-magenta-border: rgba(0, 44, 140, 0.18);
  --color-magenta-glow: rgba(0, 44, 140, 0.22);
  
  --color-plum: #0b192c;
  --color-plum-light: #f0f4fc;
  --color-plum-dark: #050c18;

  /* Accents & Neutrals */
  --color-gold: #d97706;
  --color-gold-light: #fef3c7;
  --color-teal: #0d9488;

  /* Light Theme Canvas & Surfaces */
  --color-bg: #f8fafc;
  --color-bg-alt: #f1f5f9;
  --color-surface: #ffffff;
  --color-surface-translucent: rgba(255, 255, 255, 0.88);

  /* High Contrast Typography */
  --color-text-main: #0f172a;
  --color-text-muted: #334155;
  --color-text-dim: #64748b;

  /* Glassmorphism for Light Mode */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-bg-hover: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(0, 44, 140, 0.14);
  --glass-border-light: rgba(11, 25, 44, 0.08);
  --glass-border-glow: rgba(0, 44, 140, 0.35);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-cinematic: 0 12px 35px rgba(11, 25, 44, 0.07), 0 2px 8px rgba(0, 44, 140, 0.04);
  --shadow-hover: 0 20px 45px rgba(11, 25, 44, 0.12), 0 6px 16px rgba(0, 44, 140, 0.1);
  --shadow-glow: 0 0 25px rgba(0, 44, 140, 0.2);

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-snappy: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Strict Viewport & Reset - Zero Horizontal Overflow */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text-main);
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-magenta), var(--color-plum));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-magenta-hover);
}

/* Selection */
::selection {
  background: #fce7f3;
  color: var(--color-magenta);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-main);
  word-wrap: break-word;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-plum) 10%, var(--color-magenta) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #b45309 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-snappy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.container-narrow {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* Atmospheric Radiant Background */
.atmospheric-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 10% 15%, rgba(0, 44, 140, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 75%, rgba(11, 25, 44, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.03) 0%, transparent 60%);
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(11, 25, 44, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 25, 44, 0.018) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.8;
}

/* Section Common Styles */
section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-magenta-light);
  border: 1px solid var(--color-magenta-border);
  color: var(--color-magenta);
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 44, 140, 0.06);
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--color-plum);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 660px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.65rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-smooth);
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-plum) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--color-magenta-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-magenta-hover) 0%, #001a52 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 44, 140, 0.32);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid rgba(11, 25, 44, 0.16);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
  background: #eff6ff;
  border-color: var(--color-magenta);
  color: var(--color-magenta);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, var(--color-gold) 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.22);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.32);
}

/* ==========================================================================
   REDESIGNED MODERN HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.85rem 0;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 25, 44, 0.08);
}

.site-header.scrolled {
  padding: 0.6rem 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 44, 140, 0.16);
  box-shadow: 0 6px 25px rgba(11, 25, 44, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2.25rem; /* Generous breathing room between logo and menu */
}

.brand-logo img {
  height: 40px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 0.55rem;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #002c8c;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.60rem;
  font-weight: 700;
  color: #d97706;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem; /* Compact, balanced spacing so menu sits in the center */
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.78rem; /* Small, refined font to fit neatly in header */
  font-weight: 600;
  color: var(--color-plum);
  position: relative;
  padding: 0.35rem 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  text-decoration: none;
  white-space: nowrap; /* CRITICAL: Never break menu text onto multiple lines! */
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-magenta);
}

.dropdown-chevron {
  width: 11px;
  height: 11px;
  transition: transform 0.25s ease;
  color: var(--color-text-dim);
  flex-shrink: 0;
}

.nav-item:hover .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--color-magenta);
}

/* Dropdown Menu Popup */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: -0.75rem;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(11, 25, 44, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11, 25, 44, 0.12);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  pointer-events: none;
}

/* Invisible hover bridge */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-plum);
  text-decoration: none;
  transition: all 0.15s ease;
}

.dropdown-item .item-bullet {
  width: 12px;
  height: 12px;
  color: var(--color-magenta);
  opacity: 0.4;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.dropdown-item:hover {
  background: var(--color-magenta-light);
  color: var(--color-magenta);
  transform: translateX(4px);
}

.dropdown-item:hover .item-bullet {
  opacity: 1;
  transform: translateX(2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: 2.25rem; /* Generous breathing room so menu never touches button */
}

#header-donate-btn {
  padding: 0.44rem 0.95rem;
  font-size: 0.80rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
}

.donate-text-mobile {
  display: none;
}

/* Language Switcher Button Group */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  border: 1px solid rgba(0, 44, 140, 0.25);
  border-radius: 9999px;
  padding: 3px 5px;
  gap: 3px;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-plum);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--color-magenta);
}

.lang-btn.active {
  background: var(--color-magenta);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 44, 140, 0.25);
}

.lang-divider {
  font-size: 0.72rem;
  color: rgba(11, 25, 44, 0.35);
  user-select: none;
}

.helpline-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  background: #eff6ff;
  border: 1px solid rgba(0, 44, 140, 0.2);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-magenta);
  white-space: nowrap;
}

.helpline-badge svg {
  width: 14px;
  height: 14px;
  color: var(--color-magenta);
}

.mobile-quick-call {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid var(--color-magenta-border);
  color: var(--color-magenta);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 44, 140, 0.1);
}

.mobile-quick-call svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(11, 25, 44, 0.12);
  color: var(--color-plum);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-snappy);
}

.menu-toggle:hover {
  background: #eff6ff;
  color: var(--color-magenta);
  border-color: var(--color-magenta);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 310px;
  max-width: 86vw;
  height: 100vh;
  background: #ffffff;
  z-index: 105;
  padding: 1.85rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(0, 44, 140, 0.15);
  box-shadow: -15px 0 40px rgba(11, 25, 44, 0.15);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32, 10, 28, 0.45);
  backdrop-filter: blur(4px);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(11, 25, 44, 0.08);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid rgba(11, 25, 44, 0.12);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-close svg {
  width: 20px;
  height: 20px;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
}

.drawer-link:hover {
  color: var(--color-magenta);
}

.drawer-link svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-dim);
}

/* Mobile Drawer Submenu Accordion */
.drawer-item.has-submenu .drawer-link-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.drawer-link-main {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-plum);
  text-decoration: none;
}

.drawer-sub-toggle {
  background: #eff6ff;
  border: 1px solid rgba(0, 44, 140, 0.18);
  color: var(--color-magenta);
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.2s ease;
}

.drawer-sub-toggle svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.drawer-item.has-submenu.open .drawer-sub-toggle svg {
  transform: rotate(180deg);
}

.drawer-submenu {
  list-style: none;
  padding-left: 0.85rem;
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
  border-left: 2px solid rgba(0, 44, 140, 0.3);
  display: none;
  flex-direction: column;
  gap: 0.45rem;
}

.drawer-item.has-submenu.open .drawer-submenu {
  display: flex;
}

.drawer-sub-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.15s ease;
}

.drawer-sub-link:hover {
  color: var(--color-magenta);
}

/* ==========================================================================
   HERO SECTION & 3D CANVAS
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: 7.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
  width: 100%;
}

#three-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 610px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  pointer-events: auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  text-align: left;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--color-magenta-border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-magenta);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 44, 140, 0.08);
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-magenta);
  box-shadow: 0 0 8px var(--color-magenta);
  animation: blinkDot 1.6s infinite ease-in-out;
}

.hero-title {
  text-align: left;
  font-size: clamp(2.2rem, 4.3vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--color-plum);
}

.hero-title span {
  display: block;
}

.hero-lead {
  text-align: left;
  font-size: clamp(0.98rem, 1.4vw, 1.14rem);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

/* Hero Stats Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.35rem 1.6rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  border: 1px solid var(--color-magenta-border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-cinematic);
  width: 100%;
  max-width: 610px;
  box-sizing: border-box;
}

.stat-item {
  position: relative;
  min-width: 0;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -0.65rem;
  height: 70%;
  width: 1px;
  background: rgba(11, 25, 44, 0.08);
}

.stat-number {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-plum);
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-heading);
}

.stat-number span.plus {
  color: var(--color-magenta);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   RESPONSIVE LAYOUT GRIDS (Replaces fragile inline styles)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.about-feature-box {
  background: #ffffff;
  border: 1px solid rgba(11, 25, 44, 0.12);
  padding: 1.25rem;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  min-width: 0;
  box-sizing: border-box;
}

.about-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 35px rgba(11, 25, 44,0.12);
  width: 100%;
  height: 380px;
  box-sizing: border-box;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.form-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-row-2 > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #ffffff;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(11, 25, 44, 0.1);
  padding: 4.5rem 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-about p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-top: 1.15rem;
  max-width: 340px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.reg-badge {
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--color-magenta-light);
  border: 1px solid var(--color-magenta-border);
  font-size: 0.72rem;
  color: var(--color-magenta);
  font-weight: 700;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--color-plum);
  letter-spacing: 0.02em;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu a {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-menu a:hover {
  color: var(--color-magenta);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(11, 25, 44, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-dim);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   ROBUST RESPONSIVE MEDIA QUERIES (MOBILE, TABLET, DESKTOP)
   ========================================================================== */
/* Medium desktop / compact laptop screen adaptation */
@media (max-width: 1260px) {
  .nav-links {
    gap: 0.55rem;
  }
  .nav-link {
    font-size: 0.72rem;
    padding: 0.3rem 0.15rem;
  }
  .brand-logo {
    margin-right: 1.25rem;
  }
  .nav-actions {
    margin-left: 1.25rem;
  }
  .brand-logo img {
    height: 36px;
    max-width: 150px;
  }
  .brand-name {
    font-size: 0.98rem;
  }
  #header-donate-btn {
    padding: 0.38rem 0.85rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 1120px) {
  .desktop-nav, .nav-links, .nav-actions .helpline-badge {
    display: none !important;
  }
  .brand-logo {
    margin-right: 0 !important;
  }
  .nav-actions {
    margin-left: auto !important;
    gap: 0.5rem;
  }
  .nav-container {
    gap: 0.5rem;
    justify-content: space-between;
  }
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .mobile-quick-call {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2.5rem;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .donate-text-desktop {
    display: none !important;
  }
  .donate-text-mobile {
    display: inline !important;
  }
  section {
    padding: 3.5rem 0;
  }
  .container, .container-narrow {
    padding: 0 0.85rem;
  }
  .site-header {
    padding: 0.5rem 0;
  }
  .brand-logo {
    margin-right: 0 !important;
    max-width: calc(100% - 150px);
  }
  .brand-logo img {
    height: 32px;
    max-width: 95px;
  }
  .brand-text {
    margin-left: 0.4rem;
  }
  .brand-name {
    font-size: 0.88rem;
    line-height: 1.15;
  }
  .brand-sub {
    font-size: 0.52rem;
  }
  .nav-actions {
    margin-left: auto !important;
    gap: 0.4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  #header-donate-btn {
    padding: 0.36rem 0.65rem;
    font-size: 0.74rem;
    gap: 0.25rem;
    border-radius: 9999px;
    height: 36px;
    min-width: auto;
    box-sizing: border-box;
  }
  #header-donate-btn svg {
    width: 14px;
    height: 14px;
  }
  .menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .menu-toggle svg {
    width: 20px;
    height: 20px;
  }
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.7rem);
  }
  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    margin-bottom: 2.25rem;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.15rem 0.85rem;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .stat-number {
    font-size: 1.35rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  
  /* About section mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .about-img-frame {
    height: 260px;
  }

  /* Pillars & Contact mobile */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  .contact-grid > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-row-2 {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    width: 100%;
    max-width: 100%;
  }
  .form-row-2 > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  #contact-form, #volunteer-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  #contact-form .form-group, #volunteer-form .form-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  #contact-form .form-control, #volunteer-form .form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .container, .container-narrow {
    padding: 0 0.65rem;
  }
  .brand-logo {
    max-width: calc(100% - 132px);
  }
  .brand-logo img {
    height: 28px;
    max-width: 80px;
  }
  .brand-text {
    margin-left: 0.35rem;
  }
  .brand-name {
    font-size: 0.82rem;
  }
  .brand-sub {
    font-size: 0.46rem;
  }
  .nav-actions {
    gap: 0.32rem;
  }
  #header-donate-btn {
    padding: 0.32rem 0.52rem;
    font-size: 0.70rem;
    height: 34px;
  }
  #header-donate-btn svg {
    width: 12px;
    height: 12px;
  }
  .menu-toggle {
    width: 34px;
    height: 34px;
  }
  .menu-toggle svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 340px) {
  .brand-sub {
    display: none;
  }
  #header-donate-btn span {
    display: none !important;
  }
  #header-donate-btn {
    width: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 8px;
  }
}
