/* ==========================================================================
   SIDDHI VINAYAK JAN KALYAN TRUST - LUXURY REGAL & SACRED DESIGN SYSTEM
   Color Palette: Royal Navy, Sacred Temple Gold, Divine Vermilion, Pearl Silk
   Enhanced with Golden Light Particles, Glassmorphism, and Fluid Animations
   ========================================================================== */

:root {
  /* Primary & Royal Tones */
  --navy-deep: #040D1B;
  --navy-dark: #0A1B3A;
  --navy-royal: #0E2954;
  --navy-accent: #19386D;
  --navy-light: #254F91;

  /* Gold & Metallic Accents */
  --gold-primary: #D4AF37;
  --gold-light: #F7E7A9;
  --gold-vibrant: #FFD700;
  --gold-glow: rgba(212, 175, 55, 0.45);
  --gold-glow-strong: rgba(212, 175, 55, 0.75);
  --gold-dark: #997316;
  --gold-gradient: linear-gradient(135deg, #FFF7D6 0%, #E6C667 30%, #D4AF37 70%, #997A1E 100%);
  --gold-gradient-shine: linear-gradient(90deg, #D4AF37 0%, #FFFDF2 50%, #D4AF37 100%);
  --gold-metallic-border: linear-gradient(135deg, #FDF3C8, #D4AF37, #8B6B17, #FDF3C8);

  /* Sacred Accents */
  --vermilion: #C83E29;
  --vermilion-hover: #E04B33;
  --vermilion-gradient: linear-gradient(135deg, #E64A33 0%, #B22814 100%);
  --emerald: #108552;
  --emerald-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);

  /* Neutrals & Surfaces */
  --bg-cream: #FCFAF6;
  --bg-sand: #F7F3EA;
  --bg-card: #FFFFFF;
  --text-main: #182230;
  --text-muted: #536275;
  --text-light: #8395A7;
  --text-on-dark: #F3F5F9;
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-strong: rgba(212, 175, 55, 0.7);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(10, 27, 58, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 27, 58, 0.09);
  --shadow-lg: 0 20px 50px rgba(10, 27, 58, 0.14);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.35);
  --shadow-gold-lg: 0 14px 45px rgba(212, 175, 55, 0.5);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Typography Enhancements */
h1, h2, h3, h4, .font-serif {
  font-family: 'Cinzel', 'Marcellus', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-dark);
}

.font-devanagari {
  font-family: 'Rozha One', 'Noto Sans Devanagari', 'Cinzel', serif;
}

/* Auspicious Sacred Mandala Watermark Background */
.bg-mandala-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 50% 50%, var(--gold-primary) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
}

/* Canvas for Interactive Floating Sacred Gold Dust */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   TOP BAR (ANNOUNCEMENT & LANGUAGE SWITCHER)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #030A16 0%, #0A1B3A 50%, #030A16 100%);
  color: #E2E8F0;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  position: relative;
  z-index: 102;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-announcement {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-badge {
  background: linear-gradient(135deg, #F05A28 0%, #C83E29 100%);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: var(--radius-full);
  letter-spacing: 0.6px;
  box-shadow: 0 2px 10px rgba(200, 62, 41, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulse-badge 2.4s infinite ease-in-out;
}

.top-alert-text {
  color: #F8FAFC;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 0.84rem;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(0.96); }
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact-link {
  color: #CBD5E1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition-fast);
  font-size: 0.84rem;
  font-weight: 500;
}

.top-contact-link:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.top-contact-link svg {
  color: var(--gold-primary);
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.4));
}

/* Language Toggle Switcher */
.lang-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-full);
  padding: 2.5px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 12px rgba(212, 175, 55, 0.15);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  padding: 4px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: linear-gradient(135deg, #FFE599 0%, #D4AF37 60%, #B38600 100%);
  color: #040D1B;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   MAIN NAVBAR & BRANDING
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 24px -2px rgba(10, 27, 58, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 10px 32px rgba(10, 27, 58, 0.12), 0 2px 0 var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}

.navbar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s ease;
}

.main-header.scrolled .navbar {
  padding: 8px 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-logo-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #FFE599 0%, #D4AF37 55%, #997316 100%);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}

.brand-glow-halo {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.5) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
  animation: halo-pulse 3s infinite ease-in-out;
}

@keyframes halo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.brand-link:hover .brand-logo-wrap {
  transform: rotate(4deg) scale(1.05);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.65);
}

.main-header.scrolled .brand-logo-wrap {
  width: 48px;
  height: 48px;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #FFF;
}

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

.brand-title-hi {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 1.16rem;
  color: var(--navy-royal);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: font-size var(--transition-fast);
}

.brand-title-en {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0A1B3A;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: font-size var(--transition-fast);
}

.main-header.scrolled .brand-title-hi {
  font-size: 1.04rem;
}

.main-header.scrolled .brand-title-en {
  font-size: 0.96rem;
}

.brand-tagline {
  font-size: 0.66rem;
  color: #8A6508;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Nav Drawer (Desktop defaults) */
.nav-backdrop {
  display: none;
}

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

.nav-drawer-header, .nav-drawer-footer {
  display: none;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.90rem;
  color: #1E293B;
  position: relative;
  padding: 8px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-icon, .nav-arrow {
  display: none;
}

.nav-link:hover {
  color: var(--navy-royal);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--navy-royal);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(14, 41, 84, 0.07) 100%);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.55);
  font-weight: 700;
}

/* Elegant gold bottom beam indicator */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #D4AF37, #F3E5AB, #D4AF37);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Donate Now Button in Navigation - Royal Crown Styling */
.btn-donate-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFDE6A 0%, #E6C667 35%, #D4AF37 75%, #B38600 100%);
  color: #040D1B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-left: 8px;
}

.btn-donate-nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer-sweep 3.5s infinite;
}

@keyframes shimmer-sweep {
  0% { left: -100%; }
  35%, 100% { left: 100%; }
}

.heart-pulse-icon {
  color: #C83E29;
  filter: drop-shadow(0 1px 2px rgba(200, 62, 41, 0.35));
  animation: heart-pulse 2.2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes heart-pulse {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.24); }
  28% { transform: scale(1); }
  42% { transform: scale(1.18); }
  70% { transform: scale(1); }
}

.btn-donate-nav:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.65), 0 0 0 3px rgba(212, 175, 55, 0.25);
  background: linear-gradient(135deg, #FFF0B3 0%, #FFDF73 40%, #D4AF37 80%, #B38600 100%);
}

/* Designer Mobile Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 8px;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(10, 27, 58, 0.08);
  z-index: 1002;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle:focus-visible {
  background: var(--bg-sand);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  outline: none;
}

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

.mobile-menu-toggle.active {
  background: var(--navy-royal);
  border-color: var(--gold-primary);
}

.mobile-menu-toggle.active .hamburger-bar {
  background: var(--gold-light);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO BANNER (ROYAL & SACRED PRESENTATION)
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #15386C 0%, #0B1C3B 55%, var(--navy-deep) 100%);
  color: #FFF;
  padding: 80px 20px 95px;
  text-align: center;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-primary);
}

.hero-mandala-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  animation: rotate-mandala 75s infinite linear;
}

@keyframes rotate-mandala {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-container {
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Sacred Radiant Aura Around Lord Ganesha Seal */
.hero-seal-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 25px;
}

.hero-seal-wrapper::before, .hero-seal-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-seal-wrapper::before {
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, transparent 70%);
  animation: auraPulse 3.5s infinite ease-in-out;
}

.hero-seal-wrapper::after {
  width: 165px;
  height: 165px;
  border: 1px dashed rgba(212, 175, 55, 0.6);
  animation: rotate-mandala 20s infinite linear reverse;
}

@keyframes auraPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.22); opacity: 1; }
}

.hero-seal-img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.75), 0 0 15px rgba(255, 255, 255, 0.4);
  border: 3.5px solid var(--gold-primary);
  background: #FFF;
  position: relative;
  z-index: 2;
  animation: float-seal 4.5s ease-in-out infinite;
}

@keyframes float-seal {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-devanagari-title {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 2.5rem;
  color: var(--gold-light);
  text-shadow: 0 3px 15px rgba(0,0,0,0.6);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hero-english-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: var(--gold-gradient-shine);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-tagline-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-full);
  font-size: 0.96rem;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.hero-tagline-bar span.bullet {
  color: var(--gold-primary);
  font-size: 1.3rem;
}

.hero-description {
  max-width: 780px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: #D6E0EA;
  line-height: 1.75;
}

/* Trust Badges Strip */
.trust-badges-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(10, 27, 58, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  color: #F8FAFC;
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all var(--transition-fast);
}

.trust-badge-pill:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.trust-badge-pill svg {
  color: var(--gold-primary);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 1.08rem;
  padding: 15px 36px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
  border: 2px solid #FFF8DC;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.7);
  background: var(--gold-gradient-shine);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   LIVE IMPACT COUNTERS STRIP
   ========================================================================== */
.impact-counters-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  margin-top: -36px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 24px;
  border: 2px solid var(--border-gold);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.impact-item {
  padding: 0 16px;
  position: relative;
  transition: transform var(--transition-fast);
}

.impact-item:hover {
  transform: translateY(-3px);
}

.impact-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(212, 175, 55, 0.25);
}

.impact-number {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy-royal);
  line-height: 1.2;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-royal) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* ==========================================================================
   SHARED SECTION STYLES
   ========================================================================== */
.section {
  padding: 90px 20px;
  position: relative;
  z-index: 1;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px;
}

.section-subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--bg-sand);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.12);
}

.section-title {
  font-size: 2.5rem;
  color: var(--navy-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

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

.gold-divider {
  width: 90px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 18px auto 0;
  border-radius: var(--radius-full);
  position: relative;
}

.gold-divider::before {
  content: '✦ ॐ ✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold-primary);
  font-size: 13px;
  background: var(--bg-cream);
  padding: 0 10px;
  font-weight: 800;
}

/* ==========================================================================
   INTERACTIVE DONATION & FUNDRAISING HUB
   ========================================================================== */
.fund-hub-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-gold-strong);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  margin-bottom: 60px;
}

.fund-form-side {
  padding: 44px;
}

.fund-summary-side {
  background: radial-gradient(circle at top right, #173B72 0%, var(--navy-dark) 60%, var(--navy-deep) 100%);
  color: #FFF;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 2px solid var(--border-gold);
  position: relative;
}

.form-group-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-royal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group-title svg {
  color: var(--gold-primary);
}

/* Cause Pill Selector */
.cause-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.cause-pill-btn {
  background: var(--bg-sand);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cause-pill-btn:hover {
  border-color: var(--gold-primary);
  background: #FFF;
  transform: translateY(-1px);
}

.cause-pill-btn.active {
  background: var(--navy-royal);
  color: #FFF;
  border-color: var(--navy-royal);
  box-shadow: 0 4px 14px rgba(14, 41, 84, 0.3);
}

/* Amount Buttons Grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.amount-btn {
  background: #FFF;
  border: 2px solid rgba(0,0,0,0.12);
  padding: 15px 10px;
  border-radius: var(--radius-md);
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  position: relative;
}

.amount-btn:hover {
  border-color: var(--gold-primary);
  background: var(--bg-sand);
  transform: translateY(-2px);
}

.amount-btn.active {
  border-color: var(--gold-primary);
  background: var(--bg-sand);
  color: var(--navy-deep);
  box-shadow: 0 0 0 2px var(--gold-primary), 0 4px 15px rgba(212, 175, 55, 0.3);
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 28px;
}

.custom-amount-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-royal);
}

.custom-amount-input {
  width: 100%;
  padding: 14px 16px 14px 40px;
  border: 2px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  transition: border-color var(--transition-fast);
}

.custom-amount-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.28);
}

/* Dynamic Impact Callout Box */
.impact-preview-box {
  background: var(--bg-sand);
  border-left: 4.5px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.impact-preview-title {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.impact-preview-text {
  font-size: 0.98rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.55;
}

/* Donor Inputs */
.donor-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.input-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
}

.text-input {
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}

.text-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.btn-proceed-donation {
  width: 100%;
  padding: 16px;
  background: var(--vermilion-gradient);
  color: #FFF;
  font-size: 1.12rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(200, 62, 41, 0.4);
  transition: all var(--transition-fast);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.btn-proceed-donation:hover {
  background: var(--vermilion-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 62, 41, 0.55);
}

/* Right Side: QR & Bank Summary */
.summary-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.summary-title {
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.summary-desc {
  font-size: 0.88rem;
  color: #CBD5E1;
}

/* QR Card Simulation with Animated Scan Line */
.qr-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: var(--navy-deep);
  margin-bottom: 22px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border: 2.5px solid var(--gold-primary);
  position: relative;
  overflow: hidden;
}

.qr-code-box {
  width: 180px;
  height: 180px;
  margin: 0 auto 14px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.qr-code-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #22C55E, transparent);
  box-shadow: 0 0 10px #22C55E;
  animation: laserScan 2.5s infinite ease-in-out;
}

@keyframes laserScan {
  0% { top: 0; opacity: 0.8; }
  50% { top: 96%; opacity: 1; }
  100% { top: 0; opacity: 0.8; }
}

.qr-code-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-upi-id {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-royal);
  margin-bottom: 8px;
  cursor: pointer;
  background: var(--bg-sand);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  border: 1px dashed var(--gold-primary);
  transition: all var(--transition-fast);
}

.qr-upi-id:hover {
  background: var(--gold-light);
  transform: scale(1.02);
}

.qr-apps-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* Bank Transfer Box */
.bank-details-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.86rem;
  color: #E2E8F0;
  backdrop-filter: blur(8px);
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-label {
  color: #94A3B8;
}

.bank-value {
  font-weight: 800;
  color: var(--gold-light);
}

/* ==========================================================================
   CAUSES PORTFOLIO CARDS
   ========================================================================== */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cause-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.cause-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.cause-image-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

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

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

.cause-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 27, 58, 0.88);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-primary);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cause-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cause-title {
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.cause-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
  line-height: 1.6;
}

.cause-progress-section {
  margin-bottom: 20px;
}

.cause-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cause-progress-bar-bg {
  width: 100%;
  height: 10px;
  background: var(--bg-sand);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.cause-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

.cause-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmerBar 2.5s infinite linear;
}

@keyframes shimmerBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cause-stats-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-bottom: 18px;
}

.cause-btn-donate {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--navy-royal);
  color: #FFF;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid var(--navy-royal);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.cause-btn-donate:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border-color: var(--gold-primary);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

/* ==========================================================================
   ABOUT THE TRUST & PILLARS
   ========================================================================== */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 50px;
}

.about-story-title {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  margin-bottom: 16px;
  color: var(--navy-dark);
  line-height: 1.3;
}

.about-story-p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 0.98rem;
}

.about-badges-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about-badge-card {
  background: #FFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1 1 200px;
  transition: transform var(--transition-fast);
}

.about-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about-badge-card.gold-border {
  border-left: 3.5px solid var(--gold-primary);
}

.about-badge-card.vermilion-border {
  border-left: 3.5px solid var(--vermilion);
}

.about-badge-title {
  font-weight: 700;
  color: var(--navy-royal);
  font-size: 0.95rem;
}

.about-badge-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-charter-side {
  position: relative;
  text-align: center;
}

.about-charter-card {
  border: 3px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 12px;
  background: #FFF;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  margin: 0 auto;
}

.about-charter-img {
  width: 100%;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast);
  display: block;
}

.about-charter-img:hover {
  transform: scale(1.02);
}

.about-charter-caption {
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-royal);
}

/* ==========================================================================
   OFFICIAL LEADERSHIP SECTION (ORDER: 1-अध्यक्ष, 2-उपाध्यक्ष, 3-कोषाध्यक्ष, 4-महासचिव)
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.leader-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 8px 25px rgba(10, 27, 58, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.22);
  border-color: var(--gold-primary);
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gold-gradient);
}

/* Card Top Badges */
.leader-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.leader-seq-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0A1B3A 0%, #15386C 100%);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(10, 27, 58, 0.2);
}

.leader-seq-pill .seq-num {
  color: #FFF;
  background: var(--vermilion);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.leader-exp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-sand);
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* Profile Row with Avatar & Names */
.leader-profile-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.leader-avatar-frame {
  position: relative;
  width: 104px;
  height: 104px;
  min-width: 104px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gold-gradient);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.28), 0 8px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.leader-avatar-frame:hover {
  transform: scale(1.05);
}

.leader-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #FFF;
}

#leader-malti-tripathi .leader-avatar-img {
  object-position: center center;
}

.leader-avatar-zoom-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--navy-royal);
  color: var(--gold-light);
  border: 1.5px solid var(--gold-primary);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.leader-title-block {
  flex: 1;
  min-width: 0;
}

.leader-name-hi {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 1.48rem;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 2px;
}

.leader-name-en {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-royal);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.leader-role-text {
  font-size: 0.86rem;
  color: var(--gold-dark);
  font-weight: 700;
  line-height: 1.35;
}

/* Organization Chips */
.leader-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.leader-chip {
  background: #F4F7FB;
  color: var(--navy-royal);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 41, 84, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.leader-chip.gold-chip {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-dark);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Highlight Quote Box */
.leader-quote-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(247, 243, 234, 0.6) 100%);
  border-left: 3.5px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  margin-bottom: 16px;
  position: relative;
}

.leader-quote-text {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--navy-dark);
  line-height: 1.5;
  font-weight: 600;
}

.leader-quote-author {
  display: block;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: 4px;
}

/* Bio Summary */
.leader-bio-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Highlights List */
.leader-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  border-top: 1px dashed var(--border-light);
  padding-top: 12px;
}

.leader-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--navy-dark);
  margin-bottom: 6px;
  line-height: 1.45;
}

.leader-highlight-item .bullet-symbol {
  color: var(--gold-primary);
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Contacts */
.leader-contact-box {
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.leader-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--navy-royal);
  margin-bottom: 4px;
}

.leader-contact-row:last-child {
  margin-bottom: 0;
}

.leader-contact-row svg {
  color: var(--gold-primary);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.leader-contact-row a {
  color: var(--navy-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.leader-contact-row a:hover {
  color: var(--vermilion);
  text-decoration: underline;
}

/* Actions Row */
.leader-actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-leader-bio {
  flex: 1;
  background: var(--navy-royal);
  color: #FFF;
  border: 1px solid var(--gold-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(10, 27, 58, 0.15);
}

.btn-leader-bio:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.btn-leader-poster-trigger {
  background: #FFF;
  color: var(--navy-royal);
  border: 1.5px solid var(--border-gold);
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.btn-leader-poster-trigger:hover {
  border-color: var(--gold-primary);
  background: var(--bg-sand);
  color: var(--gold-dark);
}

/* ==========================================================================
   ABOUT SECTION: FOUNDER'S JOURNEY & SEVA YATRA
   ========================================================================== */
.founder-spotlight-card {
  background: linear-gradient(135deg, #FFF 0%, #FAF7F0 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.founder-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.founder-spotlight-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.founder-banner-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  border: 2px solid var(--gold-primary);
  cursor: pointer;
}

.founder-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-fast);
}

.founder-banner-wrap:hover .founder-banner-img {
  transform: scale(1.03);
}

.founder-banner-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(4, 13, 27, 0.95), transparent);
  color: var(--gold-light);
  padding: 16px 14px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.founder-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 35px;
}

.founder-pillar-card {
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.founder-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
}

.pillar-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-sand);
  color: var(--gold-dark);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pillar-card-title {
  font-size: 1.05rem;
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pillar-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Seva Yatra 4-Milestone Grid */
.seva-yatra-header {
  text-align: center;
  margin-top: 35px;
  margin-bottom: 24px;
}

.seva-yatra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 35px;
}

.seva-milestone-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  border-top: 4px solid var(--gold-primary);
  box-shadow: var(--shadow-sm);
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transition: transform var(--transition-fast);
}

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

.milestone-year-badge {
  display: inline-block;
  background: var(--navy-royal);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.milestone-title {
  font-size: 0.95rem;
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 6px;
}

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

/* Trust Core 4 Objectives */
.trust-objectives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.trust-objective-item {
  background: linear-gradient(135deg, #FAF8F2 0%, #FFFFFF 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
}

.objective-num-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
}

.objective-item-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 6px;
}

.objective-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   LEADER FULL BIOGRAPHY MODAL
   ========================================================================== */
.leader-bio-dialog {
  max-width: 920px;
  width: 95%;
  max-height: 90vh;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold-primary);
}

.leader-bio-dialog .modal-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-royal) 100%);
  color: #FFF;
  border-bottom: 2px solid var(--gold-primary);
  padding: 18px 24px;
}

.leader-bio-dialog .modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.leader-bio-modal-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
}

.bio-modal-sidebar {
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1.5px solid var(--border-gold);
  text-align: center;
}

.bio-modal-poster-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  margin-bottom: 16px;
  cursor: pointer;
}

.bio-modal-poster-img {
  width: 100%;
  height: auto;
  display: block;
}

.bio-modal-name-hi {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 1.45rem;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.bio-modal-name-en {
  font-family: 'Cinzel', serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy-royal);
  margin-bottom: 8px;
}

.bio-modal-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.bio-modal-content {
  color: var(--text-main);
  line-height: 1.75;
  font-size: 0.95rem;
}

.bio-modal-section-title {
  font-size: 1.15rem;
  color: var(--navy-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 6px;
  margin-top: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bio-modal-section-title:first-child {
  margin-top: 0;
}

.bio-modal-quote {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--gold-primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-weight: 600;
  color: var(--navy-royal);
  margin: 16px 0;
}

.bio-modal-p {
  margin-bottom: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   OFFICIAL LETTERS & TRANSPARENCY
   ========================================================================== */
.transparency-wrap {
  background: var(--bg-sand);
  border-radius: var(--radius-lg);
  padding: 50px 32px;
  border: 1.5px solid var(--border-gold);
}

.transparency-badges-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.transparency-pill {
  background: #FFF;
  color: var(--navy-royal);
  border: 2px solid var(--gold-primary);
  font-size: 0.86rem;
  padding: 9px 18px;
}

.letterhead-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.letterhead-preview-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-fast);
}

.letterhead-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

.letterhead-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #FFF;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.06);
}

.letterhead-caption {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-royal);
  margin-top: 14px;
}

.btn-view-doc {
  margin-top: 10px;
  background: transparent;
  border: 1.5px solid var(--navy-royal);
  color: var(--navy-royal);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-view-doc:hover {
  background: var(--navy-royal);
  color: #FFF;
}

/* ==========================================================================
   VOLUNTEER & INQUIRY FORM
   ========================================================================== */
.volunteer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.volunteer-info h3 {
  font-size: 1.9rem;
  margin-bottom: 16px;
  color: var(--navy-dark);
}

.volunteer-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.office-info-box {
  background: var(--bg-cream);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border-left: 3.5px solid var(--gold-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.office-info-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-royal);
  margin-bottom: 4px;
}

.office-info-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
}

/* ==========================================================================
   SIGNATURE BLUE FOOTER BAR (EXACT SPECIFICATION FROM PROMPT & LETTERHEAD)
   "Footer पट्टी: नीचे नीली पट्टी में सब कुछ -"
   ========================================================================== */
.official-blue-footer {
  background: linear-gradient(180deg, #091E42 0%, #05132B 100%);
  color: #F8FAFC;
  border-top: 4px solid var(--gold-primary);
  padding: 60px 20px 28px;
  position: relative;
  z-index: 20;
}

.blue-footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2.5px;
  background: var(--gold-primary);
}

.footer-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #DDE6ED;
}

.footer-list li {
  margin-bottom: 11px;
}

.footer-list strong {
  color: #FFF;
  font-weight: 800;
}

.footer-list a {
  color: #E2E8F0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* The Official Blue Bar Banner (Exact recreation of the bottom letterhead strip) */
.footer-exact-blue-strip {
  background: #06152F;
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.45);
}

.exact-strip-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.strip-item-line {
  font-size: 0.86rem;
  color: #DDE6ED;
  letter-spacing: 0.02em;
}

.strip-highlight {
  color: var(--gold-light);
  font-weight: 800;
}

.strip-phone-highlight {
  color: #93C5FD;
  font-weight: 800;
  text-decoration: none;
}

.strip-phone-highlight:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-bottom-copy {
  margin-top: 28px;
  text-align: center;
  font-size: 0.82rem;
  color: #94A3B8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   NATIVE DIALOG MODALS & OVERLAYS (Modern Accessible Pattern)
   ========================================================================== */
dialog.custom-modal {
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: #FFF;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  max-width: 680px;
  width: 92%;
  overflow: hidden;
  outline: none;
}

dialog.custom-modal::backdrop {
  background: rgba(4, 13, 27, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-header {
  background: var(--navy-royal);
  color: #FFF;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--gold-primary);
}

.modal-header h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--vermilion);
  transform: scale(1.1);
}

.modal-body {
  padding: 28px;
  max-height: 82vh;
  overflow-y: auto;
}

/* ==========================================================================
   OFFICIAL 80G DONATION RECEIPT SLIP STYLING
   ========================================================================== */
.receipt-certificate {
  border: 3.5px double var(--gold-primary);
  background: #FCFAF6;
  padding: 34px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.receipt-certificate::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  pointer-events: none;
}

.receipt-header {
  text-align: center;
  border-bottom: 2px solid var(--navy-royal);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.receipt-logo {
  width: 75px;
  height: 75px;
  margin: 0 auto 10px;
  display: block;
}

.receipt-trust-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: var(--navy-dark);
  font-weight: 900;
  line-height: 1.2;
}

.receipt-trust-hi {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 1.2rem;
  color: var(--navy-royal);
}

.receipt-meta-line {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.receipt-number-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-royal);
  margin-bottom: 18px;
  background: #F1EAD9;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
}

.receipt-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 18px;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.receipt-table th, .receipt-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-align: left;
}

.receipt-table th {
  background: rgba(14, 41, 84, 0.06);
  color: var(--navy-royal);
  font-weight: 800;
  white-space: nowrap;
}

.receipt-amount-val {
  font-size: 1.15rem;
  color: var(--navy-royal);
}

.receipt-notes-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.receipt-seal-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1.5px dashed rgba(0,0,0,0.18);
}

.trust-stamp-box {
  text-align: center;
  border: 2px dashed var(--gold-dark);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(212, 175, 55, 0.06);
}

.trust-sign-box {
  text-align: center;
}

.sign-line {
  width: 150px;
  height: 1.5px;
  background: #222;
  margin: 0 auto 5px;
}

.sign-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.sign-org {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-receipt-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn-print-receipt {
  background: var(--navy-royal);
  border: none;
}

.btn-print-receipt:hover {
  background: var(--navy-dark);
}

.modal-qr-card {
  margin-bottom: 20px;
}

.modal-qr-box {
  width: 180px;
  height: 180px;
}

.doc-modal-dialog {
  max-width: 850px;
}

.doc-modal-body {
  text-align: center;
}

.doc-modal-preview-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.1);
}

/* Notification Toast */
.toast-msg {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--navy-dark);
  color: #FFF;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--gold-primary);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  z-index: 9999;
  font-size: 0.95rem;
  font-weight: 700;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Live Pulse Indicator for Automatic Payment Verification */
.live-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22C55E;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.payment-auto-status {
  background: #F8FAFC;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  margin: 16px 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}

.btn-upi-mobile-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  background: var(--navy-royal);
  color: var(--gold-light) !important;
  font-weight: 800;
  font-size: 0.96rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  margin-bottom: 14px;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 4px 14px rgba(10, 27, 58, 0.25);
  transition: all var(--transition-fast);
}

.btn-upi-mobile-pay:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 27, 58, 0.35);
  color: #FFF !important;
}

.badge-txn-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #E8F5E9;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #86EFAC;
  margin-left: 8px;
  vertical-align: middle;
}

.receipt-txn-val {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 1.05rem;
  color: var(--navy-royal);
  letter-spacing: 0.5px;
}

/* Persistent Floating Action Pill: View Last Receipt */
.floating-receipt-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--navy-royal);
  color: var(--gold-light);
  border: 2px solid var(--gold-primary);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.floating-receipt-btn:hover {
  background: var(--navy-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  color: #FFF;
}

/* ==========================================================================
   PRINT STYLES FOR DONATION RECEIPT
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  #receipt-modal, #receipt-modal * {
    visibility: visible;
  }
  #receipt-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  .modal-header, .btn-receipt-actions {
    display: none !important;
  }
}

/* ==========================================================================
   SAFE AREA INSETS & DYNAMIC VIEWPORT ENHANCEMENTS
   ========================================================================== */
@supports (padding: env(safe-area-inset-bottom)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .top-bar {
    padding-top: max(8px, env(safe-area-inset-top));
  }
  .official-blue-footer {
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
}

/* ==========================================================================
   LARGE & HIGH-RESOLUTION DESKTOPS (1441px and above)
   ========================================================================== */
@media (min-width: 1441px) {
  .navbar, .top-bar-inner, .blue-footer-container, .section-container {
    max-width: 1340px;
  }
  .hero-container {
    max-width: 1100px;
  }
  .hero-english-title {
    font-size: 3.25rem;
  }
}

/* ==========================================================================
   LAPTOPS & COMPACT DESKTOPS (1025px - 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
  .fund-hub-card {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .causes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .footer-top-grid {
    gap: 28px;
  }
  .nav-menu {
    gap: 2px;
  }
  .nav-link {
    padding: 7px 10px;
    font-size: 0.88rem;
  }
  .btn-donate-nav {
    padding: 8px 16px;
    font-size: 0.88rem;
  }
  .brand-text .brand-title-en {
    font-size: 1.08rem;
  }
  .brand-text .brand-title-hi {
    font-size: 1.02rem;
  }
}

/* ==========================================================================
   TABLETS & MEDIUM SCREENS (769px - 991px)
   Triggers clean Mobile Menu to avoid header crowding
   ========================================================================== */
@media (max-width: 991px) {
  /* Mobile Navigation Drawer & Backdrop */
  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Fullscreen Dimming Backdrop */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(4, 13, 27, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    z-index: 1001;
  }

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

  /* Sliding Drawer Container */
  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 2px solid var(--gold-primary);
    box-shadow: -10px 0 45px rgba(4, 13, 27, 0.32);
    z-index: 1003;
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-top: 68px; /* Clearance for sticky navbar & toggle button */
  }

  .nav-drawer.open {
    transform: translateX(0);
  }

  /* Sacred Sanskrit Header & Language Switcher inside Drawer */
  .nav-drawer-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(180deg, rgba(14, 41, 84, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 6px;
  }

  .drawer-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .drawer-symbol {
    font-size: 1.3rem;
    color: var(--gold-primary);
    font-weight: 800;
    line-height: 1;
  }

  .drawer-motto {
    font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
    font-size: 0.74rem;
    color: var(--navy-royal);
    font-weight: 600;
    line-height: 1.3;
  }

  .drawer-lang {
    display: inline-flex;
    align-self: flex-start;
    background: rgba(14, 41, 84, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    padding: 2px;
  }

  .drawer-lang .lang-btn {
    color: var(--navy-dark);
    padding: 4px 12px;
    font-size: 0.76rem;
    border-radius: var(--radius-full);
  }

  .drawer-lang .lang-btn.active {
    background: var(--gold-gradient);
    color: var(--navy-deep);
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  }

  /* Vertical Nav Menu Items */
  .nav-menu {
    display: flex;
    flex-direction: column;
    padding: 6px 14px;
    gap: 4px;
    list-style: none;
    margin: 0;
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
    list-style: none;
    border-bottom: none;
  }

  .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--navy-dark);
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    width: 100%;
  }

  .nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    width: 26px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .nav-link-text {
    flex-grow: 1;
    text-align: left;
  }

  .nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1;
    transition: transform var(--transition-fast), color var(--transition-fast);
  }

  .nav-link:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--navy-royal);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateX(4px);
    padding-left: 14px;
  }

  .nav-link:hover .nav-arrow {
    color: var(--gold-dark);
    transform: translateX(3px);
  }

  .nav-link.active {
    background: linear-gradient(135deg, rgba(14, 41, 84, 0.08) 0%, rgba(212, 175, 55, 0.14) 100%);
    color: var(--navy-royal);
    border: 1px solid var(--border-gold-strong);
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.16);
  }

  .nav-link.active .nav-arrow {
    color: var(--gold-primary);
    transform: translateX(2px);
  }

  .nav-link::after {
    display: none;
  }

  .nav-item-donate {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(212, 175, 55, 0.35);
    width: 100%;
  }

  .btn-donate-nav {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.98rem;
    margin-left: 0;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.5);
  }

  /* Drawer Footer with Quick Contact Chips & 80G Tax Badge */
  .nav-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding: 16px 16px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 41, 84, 0.04) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .drawer-contact-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .drawer-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: #FFF;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--navy-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 6px rgba(10, 27, 58, 0.04);
  }

  .drawer-chip svg {
    color: var(--gold-primary);
    flex-shrink: 0;
  }

  .drawer-chip:hover {
    border-color: var(--gold-primary);
    background: var(--bg-sand);
    color: var(--navy-royal);
    transform: translateY(-1px);
  }

  .drawer-tax-note {
    font-size: 0.72rem;
    color: var(--emerald);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    background: rgba(16, 185, 129, 0.08);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
  }

  /* Grid Reductions */
  .fund-hub-card {
    grid-template-columns: 1fr;
  }

  .fund-form-side {
    padding: 34px 28px;
  }

  .fund-summary-side {
    padding: 34px 28px;
    border-left: none;
    border-top: 2px solid var(--border-gold);
  }

  .causes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-charter-card {
    max-width: 500px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .transparency-wrap {
    padding: 36px 24px;
  }

  .letterhead-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .volunteer-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 24px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   TABLETS PORTRAIT & PHABLETS (577px - 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Announcement Top Bar */
  .top-bar {
    padding: 8px 0;
    font-size: 0.8rem;
  }

  .top-bar-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 0 16px;
  }

  .top-announcement {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .top-contacts {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .top-contact-link {
    font-size: 0.8rem;
  }

  /* Sticky Header & Branding */
  .navbar {
    padding: 10px 16px;
  }

  .nav-drawer {
    padding-top: 62px;
  }

  .brand-logo-wrap {
    width: 48px;
    height: 48px;
    padding: 2px;
  }

  .brand-title-hi {
    font-size: 0.98rem;
  }

  .brand-title-en {
    font-size: 0.92rem;
    letter-spacing: 0.03em;
  }

  .brand-tagline {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 48px 16px 65px;
  }

  .hero-mandala-bg {
    width: min(600px, 120vw);
    height: min(600px, 120vw);
  }

  .hero-seal-wrapper {
    margin-bottom: 20px;
  }

  .hero-seal-img {
    width: 110px;
    height: 110px;
  }

  .hero-seal-wrapper::before {
    width: 144px;
    height: 144px;
  }

  .hero-seal-wrapper::after {
    width: 128px;
    height: 128px;
  }

  .hero-devanagari-title {
    font-size: clamp(1.4rem, 5.5vw, 2.1rem);
    margin-bottom: 6px;
  }

  .hero-english-title {
    font-size: clamp(1.55rem, 6.2vw, 2.4rem);
    letter-spacing: 0.03em;
    margin-bottom: 14px;
  }

  .hero-tagline-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    padding: 8px 16px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    max-width: 95%;
    margin: 0 auto 22px;
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.68;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .trust-badges-strip {
    gap: 8px;
    margin-bottom: 28px;
  }

  .trust-badge-pill {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 1rem;
  }

  /* Impact Numbers Bar */
  .impact-counters-bar {
    margin-top: -24px;
    margin-left: 14px;
    margin-right: 14px;
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .impact-item {
    padding: 4px 6px;
  }

  .impact-item:not(:last-child)::after {
    display: none;
  }

  .impact-number {
    font-size: 1.85rem;
  }

  .impact-label {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  /* Shared Sections */
  .section {
    padding: 55px 16px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* Causes */
  .causes-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cause-image-wrap {
    height: 205px;
  }

  .cause-content {
    padding: 22px 18px;
  }

  .cause-title {
    font-size: 1.22rem;
  }

  /* Donation Hub Form */
  .fund-form-side {
    padding: 24px 18px;
  }

  .fund-summary-side {
    padding: 24px 18px;
  }

  .donor-inputs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .amount-btn {
    font-size: 1.08rem;
    padding: 12px 6px;
  }

  .text-input {
    font-size: 16px; /* Prevents auto-zoom in mobile Safari */
    padding: 11px 12px;
  }

  .custom-amount-input {
    font-size: 1.05rem;
    padding: 12px 14px 12px 38px;
  }

  .btn-proceed-donation {
    padding: 14px 18px;
    font-size: 1rem;
  }

  /* About & Leadership */
  .about-badges-group {
    flex-direction: column;
  }

  .leader-card {
    padding: 24px 18px;
  }

  .transparency-badges-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .transparency-pill {
    text-align: center;
    justify-content: center;
  }

  .volunteer-container {
    padding: 24px 18px;
  }

  /* Blue Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-exact-blue-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
  }

  .exact-strip-col {
    width: 100%;
    text-align: left !important;
  }

  .exact-strip-col.exact-strip-right {
    text-align: left !important;
  }

  .strip-item-line {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .footer-bottom-copy {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 0.78rem;
  }

  /* Dialog Modals */
  dialog.custom-modal {
    width: 95%;
    max-width: 95%;
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: 16px 18px;
  }

  .modal-header h3 {
    font-size: 1.08rem;
  }

  .modal-body {
    padding: 18px 14px;
    max-height: calc(88dvh - 65px);
  }

  .modal-qr-card {
    padding: 16px 12px;
  }

  .modal-qr-box {
    width: 160px;
    height: 160px;
  }

  .receipt-certificate {
    padding: 18px 12px;
  }

  .receipt-logo {
    width: 52px;
    height: 52px;
  }

  .receipt-trust-title {
    font-size: 1.15rem;
  }

  .receipt-trust-hi {
    font-size: 1.05rem;
  }

  .receipt-meta-line {
    font-size: 0.72rem;
  }

  .receipt-number-row {
    flex-direction: column;
    gap: 3px;
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .receipt-table {
    font-size: 0.82rem;
  }

  .receipt-table th, .receipt-table td {
    padding: 8px 8px;
  }

  .receipt-table th {
    width: 38%;
  }

  .receipt-seal-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
  }

  .btn-receipt-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-receipt-actions button {
    width: 100%;
    justify-content: center;
  }

  .toast-msg {
    left: 14px;
    right: 14px;
    bottom: 16px;
    width: auto;
    font-size: 0.88rem;
    padding: 12px 16px;
  }
}

/* ==========================================================================
   STANDARD SMARTPHONES (421px - 576px)
   ========================================================================== */
@media (max-width: 576px) {
  .hero-section {
    padding: 40px 14px 55px;
  }

  .hero-seal-img {
    width: 98px;
    height: 98px;
  }

  .hero-seal-wrapper::before {
    width: 130px;
    height: 130px;
  }

  .hero-seal-wrapper::after {
    width: 115px;
    height: 115px;
  }

  .cause-pills {
    gap: 8px;
    margin-bottom: 22px;
  }

  .cause-pill-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .amount-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .amount-btn {
    padding: 10px 2px;
    font-size: 1rem;
  }

  .bank-details-box {
    padding: 14px 16px;
    font-size: 0.82rem;
  }

  .bank-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 7px 0;
  }

  .bank-value {
    word-break: break-all;
  }

  .leader-header {
    gap: 16px;
  }

  .leader-avatar-wrap {
    width: 66px;
    height: 66px;
  }

  .leader-avatar-wrap svg {
    width: 32px;
    height: 32px;
  }

  .leader-title-wrap h3 {
    font-size: 1.25rem;
  }

  .leader-role-badge {
    font-size: 0.74rem;
    padding: 3px 10px;
  }

  .leader-contact-item {
    font-size: 0.84rem;
    flex-wrap: wrap;
    gap: 6px;
  }

  .volunteer-info h3 {
    font-size: 1.45rem;
  }

  .office-info-box {
    padding: 12px 14px;
  }

  .office-info-title {
    font-size: 0.86rem;
  }

  .office-info-text {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   COMPACT & BUDGET SMARTPHONES (320px - 420px)
   e.g. Galaxy A-series, older iPhones, 360x740 screens
   ========================================================================== */
@media (max-width: 420px) {
  .navbar {
    padding: 8px 12px;
  }

  .brand-link {
    gap: 8px;
  }

  .brand-logo-wrap {
    width: 38px;
    height: 38px;
  }

  .nav-drawer {
    width: 88vw;
    padding-top: 58px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 8px 6px;
  }

  .mobile-menu-toggle .hamburger-bar {
    width: 18px;
    height: 2px;
  }

  .brand-title-hi {
    font-size: 0.85rem;
  }

  .brand-title-en {
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }

  .top-badge {
    font-size: 0.68rem;
    padding: 2px 8px;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .impact-grid {
    gap: 12px 6px;
  }

  .impact-number {
    font-size: 1.55rem;
  }

  .impact-label {
    font-size: 0.75rem;
  }

  .qr-code-box, .modal-qr-box {
    width: 145px;
    height: 145px;
  }

  .qr-upi-id {
    font-size: 0.82rem;
    padding: 5px 10px;
    word-break: break-all;
  }

  .qr-apps-icons {
    font-size: 0.74rem;
    gap: 8px;
  }

  .receipt-certificate {
    padding: 14px 10px;
  }

  .receipt-trust-title {
    font-size: 1.02rem;
  }

  .receipt-trust-hi {
    font-size: 0.95rem;
  }

  .receipt-table th, .receipt-table td {
    padding: 6px 6px;
    font-size: 0.78rem;
  }

  .trust-stamp-box {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .sign-line {
    width: 120px;
  }

  .founder-spotlight-card {
    padding: 20px 14px;
  }

  .leader-card {
    padding: 22px 16px;
  }
}

/* Specific Responsive Breakpoints for Leadership & About Sections */
@media (max-width: 992px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .founder-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .founder-pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .seva-yatra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leader-bio-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .seva-yatra-grid {
    grid-template-columns: 1fr;
  }
  .trust-objectives-grid {
    grid-template-columns: 1fr;
  }
  .leader-profile-row {
    flex-direction: column;
    text-align: center;
  }
  .leader-avatar-frame {
    margin: 0 auto;
  }
  .leader-chips-row {
    justify-content: center;
  }
  .leader-actions-row {
    flex-direction: column;
  }
  .btn-leader-bio, .btn-leader-poster-trigger {
    width: 100%;
  }
}

/* Hide Netlify Injected Drawer & Badge */
#netlify-drawer,
[data-netlify-drawer],
.netlify-drawer,
iframe[src*="netlify"],
div[class*="netlify-drawer"],
netlify-drawer,
div[id*="netlify"],
div[data-netlify-deploy-id] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}



