/* ==========================================================================
   SHREE MAHANTH PREM GIRI SEVASHRAM CHARITABLE TRUST
   Spiritual Luxury Design System & Master Stylesheet
   Shri Panch Dasha Naam Juna Akhada Affiliated
   ========================================================================== */

:root {
  /* Divine Color Palette */
  --saffron: #E67E22;
  --saffron-deep: #D35400;
  --saffron-light: #F39C12;
  --saffron-glow: rgba(230, 126, 34, 0.35);
  
  --maroon: #7B1113;
  --maroon-dark: #500709;
  --maroon-light: #9B1D20;
  --maroon-glow: rgba(123, 17, 19, 0.3);

  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-metallic: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  --gold-glow: rgba(212, 175, 55, 0.4);

  --ivory: #FFF8EE;
  --ivory-warm: #FAF4E8;
  --ivory-card: #FFFFFF;
  
  --charcoal: #1A1A1A;
  --charcoal-light: #2A2A2A;
  --charcoal-card: #222222;
  --text-muted: #666666;
  --text-light: #A0A0A0;
  
  /* Gradients */
  --grad-saffron-maroon: linear-gradient(135deg, #E67E22 0%, #7B1113 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(26, 26, 26, 0.75) 0%, rgba(123, 17, 19, 0.65) 60%, rgba(26, 26, 26, 0.95) 100%);
  --grad-card-dark: linear-gradient(145deg, #242424 0%, #171717 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(230, 126, 34, 0.05) 100%);

  /* Typography */
  --font-serif: 'Cinzel', 'Noto Serif Devanagari', serif;
  --font-heading: 'Cinzel', 'Noto Serif Devanagari', serif;
  --font-sans: 'Outfit', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hindi: 'Noto Serif Devanagari', serif;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.28);
  --shadow-saffron: 0 8px 28px rgba(230, 126, 34, 0.35);

  /* Transitions */
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;
  --border-radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--charcoal);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--saffron);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  line-height: 1.25;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0;
}

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background: var(--maroon-dark);
  color: var(--gold-light);
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.shloka-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: #FFE699;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ivory);
}

.top-bar-contact a:hover {
  color: var(--gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 2px 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #DDD;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 14px;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--maroon-dark);
}

.panchang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FCF6BA;
  cursor: pointer;
}

.audio-bell-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.audio-bell-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: scale(1.04);
}

/* Main Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 238, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  transition: var(--transition);
}

.main-header.scrolled {
  background: rgba(255, 248, 238, 0.98);
  border-bottom-color: rgba(212, 175, 55, 0.6);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}

.brand-logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  border: 2px solid var(--gold);
  padding: 3px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand-logo-area:hover .brand-logo-img {
  transform: scale(1.06);
}

.footer-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  border: 2px solid var(--gold);
  padding: 2px;
  flex-shrink: 0;
}

.brand-emblem {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #FCF6BA 0%, #D4AF37 50%, #7B1113 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--gold-glow);
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.brand-emblem svg {
  width: 34px;
  height: 34px;
  fill: #FFF8EE;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.brand-titles {
  display: none !important;
}

.brand-subtext {
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--saffron-deep);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--maroon);
  font-weight: 700;
  line-height: 1.2;
}

.brand-lineage {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 8px 12px;
  position: relative;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border-radius: 8px;
}

/* Golden Hover Animation */
.nav-link:hover {
  color: var(--saffron-deep);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #E67E22, #D4AF37, #E67E22);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Active Page Highlight */
.nav-link.active {
  color: var(--saffron-deep) !important;
  font-weight: 700;
}

.nav-link.active::after {
  width: calc(100% - 16px);
  height: 2.5px;
  background: var(--gold-metallic);
  box-shadow: 0 0 12px var(--gold);
}

/* Simple Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
  color: var(--gold);
  display: inline-block;
  margin-left: 2px;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--saffron-deep);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 270px;
  background: rgba(255, 252, 246, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16), 0 0 16px rgba(212, 175, 55, 0.2);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: rgba(230, 126, 34, 0.08);
  color: var(--maroon);
  border-left-color: var(--gold);
  padding-left: 22px;
}

/* Nav Actions - Only Donate Button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Donate Nav Button */
.btn-donate-nav {
  background: #E67E22;
  color: #FFF !important;
  font-weight: 700;
  font-size: 0.9rem;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--border-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease;
}

.btn-donate-nav:hover {
  background: #7B1113;
  color: #FFF !important;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #FFFFFF;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1005;
  box-shadow: 0 2px 8px rgba(123, 17, 19, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  position: relative;
}

.mobile-nav-toggle:hover {
  background: #FFFDF5;
  border-color: var(--saffron-deep);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
}

.mobile-nav-toggle:active {
  transform: scale(0.92);
}

.hamburger-box {
  width: 22px;
  height: 17px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--maroon);
  border-radius: 4px;
  transition: transform 0.32s cubic-bezier(0.68, -0.6, 0.32, 1.6),
              opacity 0.25s ease,
              background-color 0.25s ease;
  transform-origin: center;
}

.mobile-nav-toggle:hover .hamburger-bar {
  background: var(--maroon-dark);
}

/* Open / Active state — smoothly turns into ✕ */
.mobile-nav-toggle.open,
.mobile-nav-toggle.active,
.mobile-nav-toggle[aria-expanded="true"] {
  background: var(--maroon);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(123, 17, 19, 0.35);
}

.mobile-nav-toggle.open .hamburger-bar,
.mobile-nav-toggle.active .hamburger-bar,
.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar {
  background: #FFFFFF;
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(1),
.mobile-nav-toggle.active .hamburger-bar:nth-child(1),
.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7.25px) rotate(45deg);
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(2),
.mobile-nav-toggle.active .hamburger-bar:nth-child(2),
.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(3),
.mobile-nav-toggle.active .hamburger-bar:nth-child(3),
.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7.25px) rotate(-45deg);
}

/* Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 6, 7, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

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

/* Search Modal Overlay */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
}

.search-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-modal-box {
  position: relative;
  z-index: 2;
  width: 660px;
  max-width: 92vw;
  background: #FFFDF9;
  border: 2px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4), 0 0 35px var(--gold-glow);
  padding: 24px;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFF;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 30px;
  padding: 10px 18px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: border-color 0.25s ease;
}

.search-input-wrap:focus-within {
  border-color: var(--saffron-deep);
  box-shadow: 0 0 14px rgba(230, 126, 34, 0.25);
}

.search-prefix-icon {
  font-size: 1.1rem;
}

#siteSearchInput {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  color: var(--charcoal);
  font-family: var(--font-body);
}

.search-clear-btn {
  background: none;
  border: none;
  font-size: 0.9rem;
  color: #999;
  cursor: pointer;
  display: none;
}

.search-close-btn {
  background: rgba(123, 17, 19, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--maroon);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-close-btn:hover {
  background: var(--maroon);
  color: #FFF;
  transform: scale(1.05);
}

.search-quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}

.tag-label {
  color: #777;
  font-weight: 600;
  margin-right: 4px;
}

.search-tag {
  background: rgba(230, 126, 34, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--maroon);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tag:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-1px);
}

.search-results-list {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.search-result-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.search-result-card:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.15);
}

.search-result-icon {
  font-size: 1.4rem;
}

.search-result-title {
  font-weight: 700;
  color: var(--maroon);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.search-result-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.3;
}

.search-result-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(230, 126, 34, 0.15);
  color: var(--saffron-deep);
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Mobile Responsive Navigation & Full-Width Dropdown Menu */
.mobile-drawer-header {
  display: none !important;
}

.mobile-drawer-footer {
  display: none;
}

/* ==========================================================================
   Master Responsive Mobile Navigation System (≤ 992px)
   ========================================================================== */
@media (max-width: 992px) {
  /* ── 1. Top Bar Mobile ── */
  .top-bar {
    display: block !important;
    background: linear-gradient(135deg, #7B1113 0%, #52080A 100%) !important;
    padding: 6px 0 !important;
    font-size: 0.76rem !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4) !important;
    position: relative !important;
    z-index: 101 !important;
    overflow: hidden !important;
  }

  .top-bar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .top-bar-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .shloka-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 2px 10px !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 280px !important;
    border-radius: 14px !important;
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    color: #FFE699 !important;
    flex-shrink: 1 !important;
  }

  .top-bar-contact {
    display: none !important; /* Keep mobile top bar clean; full helpline is in drawer & footer */
  }

  .top-bar-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .audio-bell-btn {
    display: none !important;
  }

  .panchang-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    color: #FCF6BA !important;
    text-decoration: none !important;
  }

  .lang-switch {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 4px !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 20px !important;
    flex-shrink: 0 !important;
  }

  .lang-btn {
    padding: 2px 8px !important;
    font-size: 0.72rem !important;
    color: #DDD !important;
    border: none !important;
    background: transparent !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
  }

  .lang-btn.active {
    background: var(--gold) !important;
    color: var(--maroon-dark) !important;
    font-weight: 700 !important;
  }

  /* ── 2. Sticky Main Header Bar ── */
  .main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 252, 246, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 4px 16px rgba(123, 17, 19, 0.08) !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .main-header.scrolled {
    background: #FFFDF8 !important;
    border-bottom-color: var(--gold) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  }

  .nav-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
    padding: 10px 16px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .brand-logo-area {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    text-decoration: none !important;
    overflow: hidden !important;
  }

  .brand-logo-img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 2px solid var(--gold) !important;
    background: #FFFFFF !important;
    padding: 2px !important;
    box-shadow: 0 2px 8px rgba(123, 17, 19, 0.12) !important;
    transition: transform 0.25s ease !important;
    flex-shrink: 0 !important;
  }

  .brand-logo-area:active .brand-logo-img {
    transform: scale(0.96) !important;
  }

  .brand-titles {
    display: none !important;
  }

  .brand-name {
    font-family: var(--font-heading) !important;
    font-size: 1.02rem !important;
    color: var(--maroon) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.2px !important;
  }

  .brand-subtext {
    font-size: 0.64rem !important;
    color: var(--saffron-deep) !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }

  .main-header nav {
    display: contents !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }

  .btn-donate-nav {
    height: 40px !important;
    padding: 0 16px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%) !important;
    border: none !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3) !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background 0.25s ease !important;
  }

  .btn-donate-nav:hover,
  .btn-donate-nav:active {
    background: linear-gradient(135deg, #7B1113 0%, #52080A 100%) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
  }

  /* Hamburger Toggle Button */
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    border: 1.5px solid var(--gold) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    z-index: 1005 !important;
    box-shadow: 0 2px 8px rgba(123, 17, 19, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .mobile-nav-toggle:active {
    transform: scale(0.92) !important;
  }

  .mobile-nav-toggle.open,
  .mobile-nav-toggle.active,
  .mobile-nav-toggle[aria-expanded="true"] {
    background: var(--maroon) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 4px 14px rgba(123, 17, 19, 0.35) !important;
  }

  /* ── 3. Slide-in Mobile Drawer Navigation ── */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 330px !important;
    max-width: calc(100vw - 44px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    background: linear-gradient(180deg, #FFFDF8 0%, #FAF4E8 100%) !important;
    border-left: 2px solid var(--gold) !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    transform: translateX(105%) !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.32s ease !important;
    z-index: 1050 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    touch-action: pan-y !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nav-menu.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Drawer Top Header */
  .mobile-drawer-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 16px 16px 12px !important;
    background: linear-gradient(135deg, #7B1113 0%, #52080A 100%) !important;
    color: #FFFFFF !important;
    border-bottom: 2px solid var(--gold) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  }

  .mobile-drawer-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .mobile-drawer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .mobile-drawer-logo {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1.5px solid var(--gold) !important;
    background: #FFFFFF !important;
    padding: 2px !important;
    flex-shrink: 0 !important;
  }

  .mobile-drawer-brand-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }

  .mobile-drawer-title {
    font-family: var(--font-heading) !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    color: #FFFDF8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }

  .mobile-drawer-subtitle {
    font-size: 0.68rem !important;
    color: #FCF6BA !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
  }

  .mobile-drawer-close {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    border: 1.5px solid var(--gold) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    font-size: 1.05rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
  }

  .mobile-drawer-close:hover,
  .mobile-drawer-close:active {
    background: var(--gold) !important;
    color: var(--maroon-dark) !important;
    transform: rotate(90deg) !important;
  }

  .mobile-drawer-utility-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
  }

  .drawer-panchang-chip {
    font-size: 0.72rem !important;
    color: #FFE699 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .drawer-lang-switch {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 16px !important;
    padding: 1px 3px !important;
    flex-shrink: 0 !important;
  }

  .drawer-lang-switch .lang-btn {
    padding: 2px 7px !important;
    font-size: 0.68rem !important;
  }

  /* Drawer Navigation Links Area */
  .nav-menu > li {
    padding: 0 !important;
    width: 100% !important;
  }

  .nav-link {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 44px !important;
    padding: 12px 18px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #231815 !important;
    border-radius: 8px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16) !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

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

  .nav-link:hover {
    background: rgba(230, 126, 34, 0.08) !important;
    color: var(--maroon) !important;
    padding-left: 22px !important;
  }

  .nav-link.active {
    background: rgba(230, 126, 34, 0.12) !important;
    border-left: 4px solid var(--saffron-deep) !important;
    color: var(--maroon) !important;
    font-weight: 700 !important;
    border-bottom-color: rgba(212, 175, 55, 0.3) !important;
  }

  /* Dropdown & Accordion in Mobile Drawer */
  .nav-item-dropdown {
    width: 100% !important;
  }

  .nav-item-dropdown .dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    cursor: pointer !important;
  }

  .dropdown-arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-size: 0.72rem !important;
    color: var(--gold) !important;
    display: inline-block !important;
  }

  .nav-item-dropdown.accordion-open .dropdown-arrow {
    transform: rotate(180deg) !important;
    color: var(--saffron-deep) !important;
  }

  .nav-item-dropdown .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    background: #FFFFFF !important;
    border-radius: 10px !important;
    margin: 6px 0 8px !important;
    padding: 4px 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: max-height 0.35s ease, opacity 0.25s ease !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .nav-item-dropdown.accordion-open .dropdown-menu {
    max-height: 850px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .dropdown-menu .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #2D2220 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
    box-sizing: border-box !important;
  }

  .dropdown-menu .dropdown-item:last-child {
    border-bottom: none !important;
  }

  .dropdown-menu .dropdown-item:hover,
  .dropdown-menu .dropdown-item:active {
    background: rgba(230, 126, 34, 0.08) !important;
    color: var(--maroon) !important;
    border-left-color: var(--gold) !important;
    padding-left: 20px !important;
  }

  .dropdown-item-all-services {
    background: rgba(212, 175, 55, 0.12) !important;
    color: var(--maroon) !important;
    font-weight: 700 !important;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.3) !important;
  }

  /* Drawer Footer */
  .mobile-drawer-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    margin-top: auto !important;
    border-top: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    background: #FFFFFF !important;
    flex-shrink: 0 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
  }

  .mobile-drawer-cta {
    width: 100% !important;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
    height: 46px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.25s ease, transform 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35) !important;
  }

  .mobile-drawer-cta:active {
    transform: scale(0.98) !important;
    background: linear-gradient(135deg, #7B1113 0%, #500709 100%) !important;
  }

  .mobile-drawer-quick-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .mobile-drawer-quick-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 40px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
    background: #FFFDF8 !important;
    color: var(--maroon) !important;
    transition: all 0.2s ease !important;
  }

  .mobile-drawer-quick-btn:active {
    background: var(--gold) !important;
    color: var(--maroon-dark) !important;
  }

  /* Backdrop Overlay */
  .mobile-nav-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(18, 6, 7, 0.55) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    z-index: 998 !important;
  }

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

  /* Prevent page scroll when drawer is open */
  html.mobile-nav-open,
  body.mobile-nav-open {
    overflow: hidden !important;
  }

  body.mobile-nav-open .main-header,
  html.mobile-nav-open .main-header {
    z-index: 1001 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ── Tablet & Small Phone Specific Refinements ── */
@media (max-width: 768px) {
  .top-bar-inner {
    padding: 0 16px !important;
  }

  .shloka-pill {
    max-width: 220px !important;
    font-size: 0.72rem !important;
    padding: 2px 9px !important;
  }

  .nav-inner {
    padding: 8px 16px !important;
    gap: 8px !important;
  }

  .brand-logo-area {
    gap: 8px !important;
  }

  .brand-logo-img {
    width: 44px !important;
    height: 44px !important;
  }

  .brand-name {
    font-size: 0.96rem !important;
  }

  .brand-subtext {
    font-size: 0.60rem !important;
  }

  .btn-donate-nav {
    height: 38px !important;
    padding: 0 14px !important;
    font-size: 0.82rem !important;
  }

  .mobile-nav-toggle {
    width: 44px !important;
    height: 44px !important;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 4px 0 !important;
  }

  .top-bar-inner {
    padding: 0 12px !important;
    gap: 6px !important;
  }

  .shloka-pill {
    display: inline-flex !important;
    max-width: 175px !important;
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
    gap: 4px !important;
  }

  .panchang-pill {
    display: none !important; /* Hide panchang on tiny top bar; prominently in drawer */
  }

  .lang-switch {
    padding: 1px 3px !important;
  }

  .lang-btn {
    padding: 1px 6px !important;
    font-size: 0.68rem !important;
  }

  .nav-inner {
    padding: 7px 12px !important;
    gap: 6px !important;
  }

  .brand-logo-area {
    gap: 7px !important;
    max-width: calc(100vw - 165px) !important;
  }

  .brand-logo-img {
    width: 40px !important;
    height: 40px !important;
    padding: 1.5px !important;
  }

  .brand-name {
    font-size: 0.86rem !important;
    line-height: 1.12 !important;
  }

  .brand-subtext {
    font-size: 0.56rem !important;
    letter-spacing: 0.2px !important;
  }

  .nav-actions {
    gap: 6px !important;
  }

  .btn-donate-nav {
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 0.78rem !important;
    gap: 4px !important;
  }

  .mobile-nav-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 8px !important;
  }

  .nav-menu {
    width: calc(100vw - 32px) !important;
  }
}

@media (max-width: 360px) {
  .top-bar-inner {
    padding: 0 8px !important;
  }

  .shloka-pill {
    max-width: 125px !important;
    font-size: 0.62rem !important;
    padding: 1px 5px !important;
  }

  .nav-inner {
    padding: 6px 8px !important;
    gap: 4px !important;
  }

  .brand-logo-area {
    gap: 5px !important;
    max-width: calc(100vw - 138px) !important;
  }

  .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
    padding: 1px !important;
  }

  .brand-name {
    font-size: 0.78rem !important;
  }

  .brand-subtext {
    display: none !important;
  }

  .nav-actions {
    gap: 4px !important;
  }

  .btn-donate-nav {
    height: 34px !important;
    padding: 0 7px !important;
    font-size: 0.72rem !important;
    gap: 2px !important;
  }

  .mobile-nav-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .nav-menu {
    width: 100vw !important;
    max-width: 100vw !important;
    border-left: none !important;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  color: #FFF;
  overflow: hidden;
  padding: 35px 0 25px;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-bg-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(26, 26, 26, 0.72) 0%, 
    rgba(123, 17, 19, 0.6) 45%, 
    rgba(26, 26, 26, 0.92) 100%);
  z-index: 2;
}

.mandala-bg {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 750px;
  height: 750px;
  opacity: 0.12;
  pointer-events: none;
  animation: rotateMandala 80s linear infinite;
  z-index: 2;
}

@keyframes rotateMandala {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 25px 0 15px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-cta-group {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold);
  border-radius: var(--border-radius-full);
  padding: 7px 18px;
  font-size: 0.88rem;
  color: #FCF6BA;
  font-family: var(--font-serif);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-tagline-badge span.accent {
  color: var(--saffron-light);
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title .text-gold {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #F0EAE1;
  font-weight: 400;
  max-width: 780px;
  line-height: 1.8;
  margin-bottom: 36px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

/* ============================================================
   UNIFIED BUTTON SYSTEM — #E67E22 / hover #7B1113
   All buttons: height 52px, nowrap, inline-flex
   ============================================================ */
.btn-primary {
  background: #E67E22;
  color: #FFFFFF;
  font-weight: 700;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--border-radius-full);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary:hover {
  background: #7B1113;
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: #E67E22;
  font-weight: 600;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--border-radius-full);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid #E67E22;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #7B1113;
  color: #FFFFFF;
  border-color: #7B1113;
}

.btn-kumbh-special {
  background: #E67E22;
  color: #FFFFFF;
  font-weight: 800;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--border-radius-full);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.btn-kumbh-special:hover {
  background: #7B1113;
  color: #FFFFFF;
}

/* Hero Trust Highlights Bar */
.hero-trust-bar {
  position: relative;
  z-index: 3;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--border-radius-lg);
  padding: 16px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 15px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.88rem;
  color: #FCF6BA;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* ==========================================================================
   Panchang & Daily Shloka Section (Live Interactive)
   ========================================================================== */
.daily-divine-bar {
  background: #FFF;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 30px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.daily-divine-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.shloka-card {
  background: linear-gradient(135deg, #FFFDF9 0%, #FFF5E8 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-left: 5px solid var(--saffron);
  border-radius: var(--border-radius-md);
  padding: 22px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.shloka-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.shloka-tag {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--maroon);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-shloka-audio {
  background: rgba(230, 126, 34, 0.1);
  border: 1px solid var(--saffron);
  color: var(--saffron-deep);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.76rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-shloka-audio:hover {
  background: var(--saffron);
  color: #FFF;
}

.shloka-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--maroon-dark);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
}

.shloka-translation {
  font-size: 0.88rem;
  color: #4A4A4A;
  font-style: italic;
}

.panchang-card {
  background: linear-gradient(135deg, #24201E 0%, #171514 100%);
  color: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--border-radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
}

.panchang-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 8px;
}

.panchang-header h3 {
  font-size: 1rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panchang-location {
  font-size: 0.75rem;
  color: var(--saffron-light);
}

.panchang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.panchang-stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 10px;
  border-radius: 8px;
  border-left: 2px solid var(--gold);
}

.panchang-stat-label {
  font-size: 0.7rem;
  color: var(--text-light);
  display: block;
}

.panchang-stat-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FCF6BA;
}

/* ==========================================================================
   Section Headers & Shared UI
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-dark {
  background: var(--charcoal);
  color: #FFF;
}

.section-maroon {
  background: linear-gradient(180deg, #5A0A0C 0%, #7B1113 100%);
  color: #FFF;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 126, 34, 0.12);
  color: var(--saffron-deep);
  border: 1px solid rgba(230, 126, 34, 0.3);
  padding: 6px 16px;
  border-radius: var(--border-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-dark .section-tag, .section-maroon .section-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border-color: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  color: var(--maroon);
  line-height: 1.25;
  margin-bottom: 16px;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0;
  letter-spacing: 0.5px;
}

.section-dark .section-title, .section-maroon .section-title {
  color: #FFF;
}

.section-title .highlight {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-dark .section-subtitle, .section-maroon .section-subtitle {
  color: #E0D9D0;
}

.title-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 20px;
}

.title-separator .line {
  width: 60px;
  height: 2px;
  background: var(--gold-metallic);
}

.title-separator svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

/* ==========================================================================
   Sacred Services Grid (9 Clickable Services)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.service-card {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

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

.service-card-media {
  position: relative;
  height: 230px;
  overflow: hidden;
}

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

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

.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26, 26, 26, 0.85);
  color: #FCF6BA;
  border: 1px solid var(--gold);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
}

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

.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.15) 0%, rgba(123, 17, 19, 0.1) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron-deep);
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--saffron-deep);
  color: #FFF;
  transform: rotate(5deg) scale(1.05);
}

.service-card-title {
  font-size: 1.35rem;
  color: var(--maroon);
  font-weight: 700;
  transition: var(--transition);
}

.service-card:hover .service-card-title {
  color: var(--saffron-deep);
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 16px;
  margin-top: auto;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--saffron-deep);
  transition: var(--transition);
}

.service-card:hover .service-learn-more {
  color: var(--maroon);
  transform: translateX(4px);
}

.btn-card-donate {
  background: rgba(212, 175, 55, 0.15);
  color: var(--maroon);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-card-donate:hover {
  background: var(--gold);
  color: var(--maroon-dark);
}

/* ==========================================================================
   About Us & Lineage Section (Preserved for backwards-compatibility)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-image-stack {
  position: relative;
}

.about-main-img {
  border-radius: var(--border-radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border: 2px solid var(--gold);
  width: 100%;
  display: block;
}

.about-sub-img-wrap {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 48%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 2.5px solid var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  background: var(--maroon-dark);
  z-index: 2;
  transition: transform 0.3s ease;
}

.about-sub-img-wrap:hover {
  transform: translateY(-4px) scale(1.02);
}

.about-sub-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-sub-caption {
  display: block;
  font-size: 0.72rem;
  color: #FCF6BA;
  background: rgba(43, 8, 9, 0.95);
  padding: 5px 8px;
  text-align: center;
  font-weight: 600;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.about-floating-card {
  position: absolute;
  bottom: -28px;
  left: -15px;
  background: linear-gradient(135deg, rgba(123, 17, 19, 0.96) 0%, rgba(60, 6, 8, 0.98) 100%);
  color: #FFF;
  padding: 20px 22px;
  border-radius: var(--border-radius-md);
  border: 1.5px solid var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  max-width: 320px;
  z-index: 3;
  backdrop-filter: blur(6px);
}

.afc-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FCF6BA;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-floating-card h4 {
  font-size: 1.05rem;
  color: #FCF6BA;
  margin-bottom: 6px;
  line-height: 1.3;
}

.about-floating-card p {
  font-size: 0.8rem;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: 8px;
}

.afc-meta {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 8px;
  font-size: 0.74rem;
  color: #FCF6BA;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-lineage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 10px;
}

.lineage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: #FCF6BA;
  font-weight: 600;
}

.lineage-pill span {
  font-size: 1rem;
}

.about-leadership-summary {
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  padding: 12px 16px;
  margin: 6px 0;
}

.about-leadership-summary h5 {
  color: #FCF6BA;
  font-size: 0.85rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-leadership-summary p {
  color: #E8E0D5;
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.5;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.8;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.mv-card {
  background: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--border-radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.mv-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(230, 126, 34, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron-deep);
  margin-bottom: 12px;
}

.mv-card h4 {
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 6px;
}

.mv-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Sanatan Lineage & Sacred Trust Section (Regal Architectural System)
   ========================================================================== */
.sanatan-lineage-section {
  position: relative;
  background: 
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 85% 90%, rgba(123, 17, 19, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, #0b0203 0%, #150406 50%, #0d0203 100%);
  color: #FFF;
  padding: 85px 0 90px;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.sanatan-lineage-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), #FCF6BA, rgba(212, 175, 55, 0.8), transparent);
}

/* Regal Header */
.lineage-hero-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 38px;
}

.lineage-royal-tag {
  background: rgba(212, 175, 55, 0.14) !important;
  color: #FCF6BA !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.18);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.lineage-royal-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  color: #FFF;
  margin: 12px 0 8px;
  line-height: 1.25;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0;
  letter-spacing: 0.5px;
}

.gold-gradient-glow {
  background: linear-gradient(135deg, #FFF 0%, #FCF6BA 40%, #D4AF37 80%, #AA771C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lineage-sacred-mantra {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px auto 14px;
  padding: 5px 20px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FCF6BA;
  letter-spacing: 0.6px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.lineage-sacred-mantra .om-symbol {
  font-size: 1.05rem;
  color: var(--gold);
}

.lineage-sep {
  margin: 10px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.lineage-sep .line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.lineage-sep .line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lineage-sep .sep-symbol {
  font-size: 1.15rem;
  color: var(--gold);
}

.lineage-subtitle {
  font-size: 1.02rem;
  color: #DDD4C7;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Master 2-Column Showcase */
.lineage-grand-showcase {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
  margin-top: 36px;
}

/* Left Column: Ashram Peeth Visuals & Compliance Strip */
.lineage-visual-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lineage-ashram-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(212, 175, 55, 0.18);
  background: #1C0508;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.lineage-ashram-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.9);
}

.lineage-ashram-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.lineage-peeth-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(123, 17, 19, 0.95), rgba(43, 8, 9, 0.98));
  color: #FCF6BA;
  border: 1px solid var(--gold);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.lineage-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 2, 4, 0.88) 35%, rgba(14, 2, 4, 0.98) 100%);
  padding: 24px 18px 12px;
  color: #FFF;
  z-index: 2;
}

.lineage-photo-overlay h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.98rem;
  color: #FCF6BA;
  margin: 0 0 2px;
}

.lineage-photo-overlay p {
  font-size: 0.78rem;
  color: #E0D4C3;
  margin: 0;
}

/* Trust Accreditation 2x2 Strip */
.lineage-trust-seal-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.seal-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(35, 8, 12, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.81rem;
  color: #E8E0D5;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.seal-badge:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.seal-badge .seal-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.seal-badge strong {
  color: #FCF6BA;
  display: block;
  font-size: 0.82rem;
}

.seal-badge span {
  font-size: 0.72rem;
  color: #CCC;
}

.seal-badge-bank {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  text-align: left !important;
  gap: 12px;
  background: linear-gradient(135deg, rgba(35, 8, 12, 0.94), rgba(58, 14, 18, 0.90));
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  padding: 14px 16px;
  width: 100%;
  box-sizing: border-box;
}

.seal-badge-bank:hover {
  border-color: #D4AF37;
  background: linear-gradient(135deg, rgba(45, 10, 16, 0.98), rgba(75, 20, 26, 0.94));
}

.seal-bank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 10px;
}

.seal-bank-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.seal-bank-head-left > div {
  text-align: left;
}

.seal-bank-head .seal-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.seal-bank-title {
  color: #FCF6BA;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 2px;
}

.seal-bank-holder {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.seal-bank-pill {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #FCF6BA;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.seal-bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.seal-bank-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.seal-bank-point:hover {
  background: rgba(212, 175, 55, 0.09);
  border-color: rgba(212, 175, 55, 0.45);
}

.seal-bank-lbl {
  font-size: 0.7rem;
  color: #D4AF37 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: left;
  display: block;
}

.seal-bank-val {
  color: #FFFFFF !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  letter-spacing: 0.8px;
  display: block !important;
  text-align: left;
  font-family: inherit;
}
  display: block !important;
  text-align: left;
  font-family: inherit;
}

.seal-bank-txt {
  color: #E8E0D5;
  font-size: 0.82rem;
  font-weight: 500;
  display: block;
  text-align: left;
}

/* Right Column: Narrative Story & Mission */
.lineage-story-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lineage-story-lead {
  font-size: 1.05rem;
  color: #FCF6BA;
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
  border-left: 3px solid var(--gold);
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.lineage-story-body {
  font-size: 0.94rem;
  color: #DDD4C7;
  line-height: 1.8;
  margin: 0;
}

.lineage-story-body strong {
  color: #FFF;
}

/* Mission & Vision Deck */
.lineage-mission-vision-deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lmv-card {
  background: linear-gradient(145deg, rgba(42, 8, 12, 0.8) 0%, rgba(18, 4, 7, 0.9) 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 12px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.lmv-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.lmv-card.lmv-mission {
  border-left: 3.5px solid var(--gold);
}

.lmv-card.lmv-vision {
  border-left: 3.5px solid #FF8C00;
}

.lmv-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.lmv-header h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  color: #FCF6BA;
  margin: 0;
}

.lmv-card p {
  font-size: 0.8rem;
  color: #DDD4C7;
  line-height: 1.55;
  margin: 0;
}

/* Action Row */
.lineage-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.lineage-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.lineage-btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(212, 175, 55, 0.7) !important;
  color: #FCF6BA !important;
  background: rgba(212, 175, 55, 0.12) !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.lineage-btn-donate:hover {
  background: var(--gold) !important;
  color: #1a0508 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.4);
}

.lineage-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FCF6BA;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  background: rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
}

.lineage-call-pill:hover {
  border-style: solid;
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.18);
  color: #FFF;
}

/* Full-Width 4 Pillars of Seva Deck */
.lineage-4pillars-fullwidth {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.pillars-heading-bar {
  text-align: center;
  margin-bottom: 24px;
}

.pillars-heading-bar h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.22rem;
  color: #FCF6BA;
  margin: 0;
  letter-spacing: 0.5px;
}

.pillars-deck-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pillar-deck-item {
  background: linear-gradient(145deg, rgba(32, 6, 10, 0.82) 0%, rgba(16, 3, 6, 0.92) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 22px 18px 18px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.pillar-deck-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 18px rgba(212, 175, 55, 0.2);
}

.pdi-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.pillar-deck-item h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: #FCF6BA;
  margin: 0 0 6px;
}

.pillar-deck-item p {
  font-size: 0.8rem;
  color: #CCC1B3;
  line-height: 1.55;
  margin: 0;
}

/* Mobile & Tablet Responsive */
@media (max-width: 992px) {
  .lineage-grand-showcase {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .lineage-ashram-img {
    height: 280px;
  }

  .pillars-deck-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sanatan-lineage-section {
    padding: 55px 0 65px;
  }

  .lineage-royal-title {
    font-size: 1.7rem;
  }

  .lineage-sacred-mantra {
    padding: 4px 12px;
    font-size: 0.82rem;
  }

  .lineage-trust-seal-strip {
    grid-template-columns: 1fr;
  }

  .lineage-mission-vision-deck {
    grid-template-columns: 1fr;
  }

  .pillars-deck-grid {
    grid-template-columns: 1fr;
  }

  .lineage-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lineage-cta-row a,
  .lineage-cta-row button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Leadership Section
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.leader-card {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(212, 175, 55, 0.4);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

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

.leader-card-media {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #F0EAE1;
}

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

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

.leader-aura-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
}

.leader-content {
  padding: 26px 20px;
  position: relative;
  background: #FFF;
}

.leader-role-badge {
  display: inline-block;
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
  color: #FFF;
  font-size: 0.72rem;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.leader-name {
  font-size: 1.28rem;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 4px;
}

.leader-akhada-affiliation {
  font-size: 0.84rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.leader-quote {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ==========================================================================
   Impact & Animated Statistics Section
   ========================================================================== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.impact-counter-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.impact-counter-card:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.impact-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FCF6BA;
  font-size: 1.3rem;
  border: 1px solid var(--gold);
}

.impact-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #FCF6BA;
  line-height: 1.2;
  margin-bottom: 4px;
}

.impact-label {
  font-size: 0.82rem;
  color: var(--ivory);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   Kumbh Mela Mega Section
   ========================================================================== */
.kumbh-banner-cta {
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.15) 0%, rgba(123, 17, 19, 0.25) 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

.kumbh-banner-text h3 {
  font-size: 1.6rem;
  color: #FCF6BA;
  margin-bottom: 6px;
}

.kumbh-banner-text p {
  color: var(--ivory);
  font-size: 0.95rem;
}

.kumbh-cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kumbh-city-card {
  background: var(--charcoal-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.kumbh-city-header {
  padding: 24px;
  background: linear-gradient(135deg, #7B1113 0%, #3D0405 100%);
  border-bottom: 1px solid var(--gold);
  position: relative;
}

.kumbh-city-year {
  display: inline-block;
  background: var(--gold-metallic);
  color: var(--maroon-dark);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.kumbh-city-title {
  font-size: 1.5rem;
  color: #FFF;
  font-weight: 700;
  margin-bottom: 4px;
}

.kumbh-shivir-location {
  font-size: 0.82rem;
  color: #FCF6BA;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.kumbh-city-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kumbh-duration {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--saffron);
}

.kumbh-duration-label {
  font-size: 0.72rem;
  color: var(--text-light);
  display: block;
}

.kumbh-duration-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FCF6BA;
}

.snan-dates-box {
  flex-grow: 1;
}

.snan-dates-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.snan-dates-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.snan-item {
  font-size: 0.84rem;
  color: #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.snan-item.shahi {
  color: #FCF6BA;
  font-weight: 600;
}

.shahi-tag {
  background: rgba(230, 126, 34, 0.25);
  color: var(--saffron-light);
  border: 1px solid var(--saffron);
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 8px;
}

.kumbh-city-footer {
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Donation Section (Interactive Giving Portal)
   ========================================================================== */
.donation-wrapper {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.donation-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}

.donation-form-panel {
  padding: 40px;
}

.donation-causes-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.donation-causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.cause-pill {
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  background: #FAF8F5;
  border-radius: var(--border-radius-md);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.cause-pill:hover, .cause-pill.selected {
  border-color: var(--saffron-deep);
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.12) 0%, rgba(123, 17, 19, 0.08) 100%);
  transform: translateY(-2px);
}

.cause-pill.selected {
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.25);
  font-weight: 700;
}

.cause-pill-icon {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.cause-pill-name {
  font-size: 0.8rem;
  color: var(--charcoal);
  line-height: 1.2;
}

/* Amount selector */
.donation-amounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.amount-btn {
  background: #FFF;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  color: var(--charcoal);
  font-weight: 700;
  padding: 10px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
}

.amount-btn:hover, .amount-btn.active {
  background: var(--maroon);
  color: #FFF;
  border-color: var(--maroon);
  box-shadow: 0 4px 12px rgba(123, 17, 19, 0.3);
}

.custom-amount-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  margin-bottom: 24px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.custom-amount-input:focus {
  border-color: var(--saffron-deep);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

.donor-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #CCC;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.tax-benefit-notice {
  background: #FFF8E7;
  border: 1px solid var(--gold);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #634A00;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

/* Donation Right Panel: UPI QR & Bank Details */
.donation-summary-panel {
  background: linear-gradient(145deg, #1F1918 0%, #151110 100%);
  color: #FFF;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 2px solid var(--gold);
}

.qr-box-wrap {
  background: #FFF;
  padding: 20px;
  border-radius: var(--border-radius-md);
  text-align: center;
  max-width: 250px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-gold);
}

#qrCanvas {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  display: block;
}

.qr-label {
  font-size: 0.78rem;
  color: var(--maroon);
  font-weight: 700;
  margin-top: 8px;
}

.bank-details-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius-md);
  padding: 16px;
  font-size: 0.82rem;
}

.bank-details-box h4 {
  color: #FCF6BA;
  font-size: 0.92rem;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 6px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.bank-row span.label {
  color: var(--text-light);
}

.bank-row span.val {
  font-weight: 600;
  color: #FFF;
}

/* ==========================================================================
   Filterable Gallery & Masonry
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  background: #FFF;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  color: var(--charcoal);
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--maroon);
  color: #FFF;
  border-color: var(--maroon);
  box-shadow: 0 4px 12px rgba(123, 17, 19, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 26, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category-badge {
  display: inline-block;
  background: var(--gold-metallic);
  color: var(--maroon-dark);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 4px;
  align-self: flex-start;
}

.gallery-item-title {
  color: #FFF;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.testimonial-stars {
  color: #F1C40F;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.94rem;
  color: #444;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  background: #EEE;
}

.author-info h4 {
  font-size: 0.96rem;
  color: var(--maroon);
  font-weight: 700;
}

.author-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.15) 0%, rgba(123, 17, 19, 0.1) 100%);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron-deep);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-item-text h4 {
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 4px;
}

.contact-item-text p, .contact-item-text a {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form-panel {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  padding: 36px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #181110 0%, #0F0A0A 100%);
  color: #C0B7AF;
  font-size: 0.9rem;
  border-top: 3px solid var(--gold);
  position: relative;
  z-index: 10;
}

.footer-top {
  padding: 70px 0 45px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

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

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  border: 2px solid var(--gold);
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

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

.footer-brand h3,
.footer-brand-title,
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  color: #FCF6BA;
  margin: 0 0 4px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.footer-brand-badge,
.footer-brand-sub {
  font-size: 0.74rem;
  color: var(--saffron-deep);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-brand p,
.footer-brand-desc {
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: #C0B7AF;
}

.footer-location-pill,
.footer-location-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #FCF6BA;
  line-height: 1.5;
  box-sizing: border-box;
}

.footer-col h4,
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #FCF6BA;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: 0.6px;
}

.footer-col h4::after,
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 2.5px;
  background: linear-gradient(90deg, #D4AF37, #E67E22);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.footer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #D6CCC2;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.footer-links a .f-ico {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.footer-links a span:last-child {
  flex: 1;
}

.footer-links a:hover {
  color: #FCF6BA;
  background: rgba(230, 126, 34, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateX(4px);
}

.footer-contact-box,
.footer-contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 16px;
  box-sizing: border-box;
}

.footer-ashram-addr,
.footer-contact-address {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #DDD4CA;
  margin: 0 0 4px;
}

.footer-contact-pill,
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.footer-contact-pill.phone-pill,
.footer-contact-link.phone {
  background: rgba(212, 175, 55, 0.12);
  color: #FCF6BA;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.footer-contact-pill.phone-pill:hover,
.footer-contact-link.phone:hover {
  background: rgba(212, 175, 55, 0.22);
}

.footer-contact-pill.wa-pill,
.footer-contact-link.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.footer-contact-pill.wa-pill:hover,
.footer-contact-link.whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
}

.footer-contact-pill.email-pill,
.footer-contact-link.email {
  background: rgba(255, 255, 255, 0.05);
  color: #DDD4CA;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

.footer-contact-pill.email-pill:hover,
.footer-contact-link.email:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.footer-action-donate,
.footer-donate-btn {
  width: 100%;
  height: 46px;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  color: #FFF;
  flex-grow: 1;
  outline: none;
}

.footer-input:focus {
  border-color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.82rem;
  text-align: center;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  color: #A0988F;
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #A0988F;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #FCF6BA;
  text-decoration: underline;
}

.legal-sep {
  color: rgba(212, 175, 55, 0.4);
  font-size: 0.75rem;
}

.footer-developed-by {
  color: #A0988F;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-developed-by a {
  color: #FCF6BA !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-developed-by a:hover {
  color: var(--gold) !important;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* ==========================================================================
   Floating Widgets & Modals
   ========================================================================== */
/* ==========================================================================
   WhatsApp Floating Button (Only)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  animation: waPulse 2.8s infinite;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.7);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 6px 0 8px rgba(37, 211, 102, 0.15), 0 6px 24px rgba(37, 211, 102, 0.5); }
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 18px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}


/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--gold);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--maroon);
  color: #FFF;
}

/* AI Assistant Chat Modal */
.chat-window {
  display: flex;
  flex-direction: column;
  height: 520px;
}

.chat-header {
  background: linear-gradient(135deg, #7B1113 0%, #500709 100%);
  color: #FFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FAF8F5;
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg.bot {
  background: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--charcoal);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg.user {
  background: var(--maroon);
  color: #FFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-input-area {
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  border-top: 1px solid #E0E0E0;
  background: #FFF;
}

.chat-input {
  flex-grow: 1;
  padding: 10px 14px;
  border: 1px solid #CCC;
  border-radius: 20px;
  font-size: 0.9rem;
  outline: none;
}

.chat-send-btn {
  background: var(--saffron-deep);
  color: #FFF;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .kumbh-cities-grid {
    grid-template-columns: 1fr;
  }
  .donation-grid {
    grid-template-columns: 1fr;
  }
  .donation-summary-panel {
    border-left: none;
    border-top: 2px solid var(--gold);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ENHANCEMENTS: Book Kumbh Stay, Why Choose Us, Events, Volunteer, 
   Trust Registration, Subah-e-Banaras &amp; Sham-e-Avadh & Live WhatsApp Floating Widget
   ========================================================================== */

/* 1. Book Your Kumbh Stay Section */
.kumbh-stay-section {
  background: linear-gradient(135deg, #1C1716 0%, #2A1416 50%, #15100F 100%);
  color: #FFF;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 80px 0;
  position: relative;
}

.kumbh-stay-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-gold);
}

.kumbh-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0 36px;
}

.kumbh-feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--border-radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.kumbh-feature-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.kumbh-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.2);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.kumbh-feature-text h4 {
  font-size: 1rem;
  color: #FCF6BA;
  margin-bottom: 2px;
}

.kumbh-feature-text p {
  font-size: 0.8rem;
  color: #DDD;
  line-height: 1.4;
}

/* 2. Why Choose Us (6 Premium Cards) */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--border-radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-metallic);
  opacity: 0;
  transition: var(--transition);
}

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

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

.why-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.15) 0%, rgba(123, 17, 19, 0.1) 100%);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--saffron-deep);
  transition: var(--transition);
}

.why-card:hover .why-icon-wrap {
  background: var(--saffron-deep);
  color: #FFF;
  transform: scale(1.1) rotate(6deg);
}

.why-card h3 {
  font-size: 1.18rem;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 3. Upcoming Events Calendar */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.event-card {
  background: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230, 126, 34, 0.12);
  color: var(--saffron-deep);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(230, 126, 34, 0.3);
  margin-bottom: 12px;
  align-self: flex-start;
}

.event-card h3 {
  font-size: 1.2rem;
  color: var(--maroon);
  margin-bottom: 6px;
}

.event-location {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.event-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card .event-action-btn,
.event-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.88rem;
  height: auto;
  min-height: 42px;
  border-radius: var(--border-radius-full);
  margin-top: 14px;
}

.events-bottom-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.events-bottom-btns .events-btn,
.events-bottom-btns .btn-primary {
  padding: 12px 28px;
  font-size: 0.95rem;
  height: auto;
  min-height: 48px;
}

/* 4. Become a Volunteer Section */
.volunteer-cta-banner {
  background: linear-gradient(135deg, #7B1113 0%, #500709 100%);
  color: #FFF;
  border: 2px solid var(--gold);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.volunteer-opp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 30px 0 36px;
}

.volunteer-opp-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--border-radius-md);
  padding: 18px 12px;
  text-align: center;
  transition: var(--transition);
}

.volunteer-opp-card:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.volunteer-opp-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.volunteer-opp-card h4 {
  font-size: 0.9rem;
  color: #FCF6BA;
  line-height: 1.3;
}

/* 9. Trust Registration & Compliance Box */
.trust-compliance-wrapper {
  background: #FFFDF9;
  border: 2px solid var(--gold);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.trust-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.cert-card {
  background: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--border-radius-md);
  padding: 20px;
  border-top: 4px solid var(--maroon);
}

.cert-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.cert-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--maroon);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cert-status {
  font-size: 0.72rem;
  color: #27ae60;
  font-weight: 700;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 10. Subah-e-Banaras & Sham-e-Avadh Pilgrimages & Retreats Highlight */
.sham-banaras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.retreat-card {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.retreat-media {
  height: 220px;
  position: relative;
  overflow: hidden;
}

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

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

.retreat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--grad-saffron-maroon);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.retreat-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.retreat-content h3 {
  font-size: 1.25rem;
  color: var(--maroon);
  margin-bottom: 8px;
}

.retreat-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 5. Live WhatsApp Floating Prompt Widget */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #FFF;
  border: 2px solid #25D366;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 14px 18px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 290px;
  animation: floatWidgetSlide 0.5s ease-out;
}

@keyframes floatWidgetSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fww-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fww-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.fww-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.fww-actions {
  display: flex;
  gap: 8px;
}

.btn-fww-chat {
  background: #25D366;
  color: #FFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.btn-fww-call {
  background: var(--maroon);
  color: #FFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.btn-fww-chat:hover, .btn-fww-call:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.fww-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  font-size: 0.8rem;
  color: #999;
  cursor: pointer;
}

/* Responsive tweaks for new enhancements */
@media (max-width: 1024px) {
  .kumbh-features-grid, .why-choose-grid, .events-grid, .sham-banaras-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .volunteer-opp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE — All Sections
   Breakpoints: 768px (tablet) · 480px (phone)
   ========================================================================== */

/* ── TABLET (≤ 768px) ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Container padding */
  .container {
    padding: 0 16px;
  }

  /* General section spacing */
  .section {
    padding: 60px 0;
  }

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

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

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

  /* Note: Top Bar and Header Mobile responsive rules are unified in the Master Responsive Mobile Navigation System above */

  /* ── HERO ── */
  .hero-section {
    min-height: auto;
    display: block;
    padding: 20px 0 18px;
  }

  .hero-content {
    padding: 10px 0 6px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
    line-height: 1.22;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 3.2vw, 1.02rem);
    margin-bottom: 16px;
    padding: 0 4px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tagline-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
    gap: 7px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 16px;
    align-items: stretch;
  }

  .hero-cta-group a,
  .hero-cta-group .btn-kumbh-special,
  .hero-cta-group .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .hero-trust-bar {
    position: relative;
    z-index: 3;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 14px;
    margin-top: 12px;
    border-radius: var(--border-radius-md);
  }

  .mandala-bg {
    width: 300px;
    height: 300px;
    right: -30%;
    opacity: 0.06;
  }

  .hero-slide {
    background-position: center top;
  }

  /* ── PANCHANG / DIVINE BAR ── */
  .daily-divine-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .shloka-text {
    font-size: 1rem;
  }

  .shloka-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* ── SERVICES GRID ── */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ── SUBAH-E-BANARAS & SHAM-E-AVADH / RETREATS ── */
  .sham-banaras-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── SACRED CALENDAR / EVENTS ── */
  .events-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  .event-card {
    padding: 22px 18px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    background: #FFFFFF !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .event-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }

  .event-card h3 {
    font-size: 1.18rem !important;
    margin-bottom: 8px !important;
    line-height: 1.32 !important;
  }

  .event-date-badge {
    font-size: 0.78rem !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
    white-space: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .event-location {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    word-break: break-word !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .event-desc {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
    word-break: normal !important;
  }

  .event-card .btn-primary,
  .event-card .event-action-btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.9rem !important;
    height: auto !important;
    min-height: 44px !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
    margin-top: auto !important;
    border-radius: 999px !important;
  }

  .events-bottom-btns {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 28px !important;
    box-sizing: border-box !important;
  }

  .events-bottom-btns a,
  .events-bottom-btns .btn-primary,
  .events-bottom-btns .events-btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 18px !important;
    font-size: 0.9rem !important;
    height: auto !important;
    min-height: 48px !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
  }

  /* ── WHY CHOOSE US ── */
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  /* ── ABOUT ── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .about-sub-img-wrap {
    top: -12px;
    right: -10px;
    width: 44%;
  }

  .about-floating-card {
    left: auto;
    right: 0;
    bottom: -45px;
    max-width: 90%;
    padding: 16px 18px;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* ── LEADERSHIP ── */
  .leadership-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .leader-card-media {
    height: 280px;
  }

  /* ── IMPACT STATS ── */
  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

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

  /* ── KUMBH BANNER ── */
  .kumbh-banner-cta {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }

  .kumbh-cities-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* ── DONATION SECTION ── */
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .donation-form-panel {
    padding: 24px 20px;
  }

  .donation-summary-panel {
    border-left: none;
    border-top: 2px solid var(--gold);
    padding: 24px 20px;
  }

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

  .donation-amounts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .donor-info-grid {
    grid-template-columns: 1fr;
  }

  /* ── TESTIMONIALS ── */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 22px 18px;
  }

  /* ── CONTACT ── */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* ── FOOTER TABLET (≤ 768px) ── */
  .footer-top {
    padding-top: 48px !important;
    padding-bottom: 30px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .site-footer .container,
  .container.footer-top {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }

  .footer-brand {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .footer-brand-header,
  .footer-brand > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  .footer-brand-logo {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    border: 2px solid var(--gold) !important;
    background: #FFF !important;
    padding: 2px !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3) !important;
    flex-shrink: 0 !important;
  }

  .footer-brand h3,
  .footer-brand-title,
  .footer-brand-name {
    font-size: 1.18rem !important;
    margin: 0 0 4px !important;
    color: #FCF6BA !important;
    line-height: 1.35 !important;
  }

  .footer-brand p,
  .footer-brand-desc {
    font-size: 0.86rem !important;
    color: #C0B7AF !important;
    line-height: 1.65 !important;
    margin-bottom: 14px !important;
  }

  .footer-location-pill,
  .footer-location-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    background: rgba(212, 175, 55, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    color: #FCF6BA !important;
    line-height: 1.5 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-col h4,
  .footer-col-title {
    font-size: 1.1rem !important;
    margin-bottom: 16px !important;
  }

  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .footer-links a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 12px !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
    color: #DDD4CA !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .footer-links a:hover {
    background: rgba(230, 126, 34, 0.15) !important;
    border-color: var(--gold) !important;
    color: #FCF6BA !important;
    padding-left: 16px !important;
  }

  .footer-bottom {
    padding: 22px 20px !important;
    background: rgba(0, 0, 0, 0.35) !important;
  }

  .footer-bottom-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    font-size: 0.8rem !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-bottom-inner > div {
    width: 100% !important;
    text-align: center !important;
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
  }

  .footer-bottom-inner > div:last-child,
  .footer-legal-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 16px !important;
  }

  .footer-bottom-inner > div:last-child a,
  .footer-legal-links a {
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    color: #C0B7AF !important;
    padding: 4px 6px !important;
    text-decoration: none !important;
  }

  .footer-newsletter-form {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .footer-input {
    width: 100% !important;
    height: 44px !important;
    box-sizing: border-box !important;
  }

  /* ── FLOATING WIDGETS ── */
  .floating-whatsapp-widget {
    bottom: 84px;
    right: 12px;
    max-width: calc(100vw - 24px);
  }


  /* ── KUMBH FEATURES / VOLUNTEER ── */
  .kumbh-features-grid {
    grid-template-columns: 1fr !important;
  }

  .volunteer-opp-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .trust-cert-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }

  .cert-card {
    padding: 16px;
  }

  .volunteer-cta-banner {
    padding: 32px 20px;
  }

  #register,
  #haridwar,
  #nashik,
  #ujjain {
    padding: 24px 16px !important;
    border-radius: 14px !important;
  }

  /* ── SERVICE CARD FOOTER ── */
  .service-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn-card-donate {
    width: 100%;
    text-align: center;
    justify-content: center;
    height: 40px;
  }

  .service-card-title {
    font-size: 1.2rem;
  }

  /* ── GALLERY ── */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item {
    height: 200px;
  }

  .gallery-filters {
    gap: 8px;
    margin-bottom: 24px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  /* ── CONTACT FORM ── */
  .contact-form-panel {
    padding: 24px 18px;
  }

  /* ── KUMBH STAY ── */
  .kumbh-stay-wrapper {
    padding: 22px 18px;
  }

  .kumbh-feature-item {
    padding: 14px 16px;
  }

  /* ── LINEAGE PILLS ── */
  .about-lineage-pills {
    flex-wrap: wrap;
    gap: 8px;
  }

  .lineage-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  /* ── DONATION QR ── */
  .qr-box-wrap {
    max-width: 200px;
  }

  .cause-pill {
    padding: 10px 8px;
  }

  /* ── KUMBH BANNER ── */
  .kumbh-banner-text h3 {
    font-size: 1.3rem;
  }

  /* ── GLOBAL BUTTONS ── */
  .btn-primary,
  .btn-secondary,
  .btn-kumbh-special {
    height: auto;
    min-height: 48px;
    padding: 12px 22px;
    white-space: normal;
    line-height: 1.4;
    font-size: 0.95rem;
  }
}

/* ── PHONE (≤ 480px) ─────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  html {
    scroll-padding-top: 65px;
  }

  /* ── HERO ── */
  .hero-section {
    min-height: auto;
    padding: 14px 0 14px;
  }

  .hero-content {
    padding: 6px 0 4px;
  }

  .hero-title {
    font-size: clamp(1.35rem, 6.8vw, 1.8rem);
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 10px;
  }

  .hero-tagline-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
    margin-bottom: 8px;
  }

  .hero-cta-group {
    margin-top: 8px;
    margin-bottom: 12px;
    gap: 8px;
  }

  .hero-trust-bar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 8px;
    margin-top: 10px;
  }

  .trust-item {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .trust-text h4 {
    font-size: 0.76rem;
  }

  .trust-text p {
    font-size: 0.65rem;
  }

  .mandala-bg {
    display: none;
  }

  /* ── PANCHANG ── */
  .panchang-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* ── SECTION HEADERS ── */
  .section-title {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem);
  }

  .section {
    padding: 48px 0;
  }

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

  /* ── SERVICES ── */
  .service-card-media {
    height: 190px;
  }

  .service-card-content {
    padding: 18px 16px;
  }

  .service-card-title {
    font-size: 1.15rem;
  }

  /* ── SACRED CALENDAR / EVENTS (PHONE) ── */
  #events.section {
    padding: 44px 0 50px !important;
  }

  .events-grid {
    gap: 15px !important;
  }

  .event-card {
    padding: 18px 15px !important;
    border-radius: 14px !important;
  }

  .event-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 6px !important;
  }

  .event-date-badge {
    font-size: 0.74rem !important;
    padding: 4px 10px !important;
    margin-bottom: 10px !important;
  }

  .event-location {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
  }

  .event-desc {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }

  .event-card .btn-primary,
  .event-card .event-action-btn {
    padding: 11px 16px !important;
    font-size: 0.86rem !important;
    min-height: 44px !important;
  }

  .events-bottom-btns {
    gap: 10px !important;
    margin-top: 24px !important;
  }

  .events-bottom-btns a,
  .events-bottom-btns .btn-primary,
  .events-bottom-btns .events-btn {
    padding: 12px 14px !important;
    font-size: 0.86rem !important;
    min-height: 46px !important;
  }

  /* ── ABOUT ── */
  .about-floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: 100%;
    margin-top: 16px;
  }

  /* ── IMPACT ── */
  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

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

  .impact-counter-card {
    padding: 18px 10px;
  }

  /* ── WHY CHOOSE US ── */
  .why-choose-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── DONATION ── */
  .donation-causes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

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

  .donation-form-panel {
    padding: 20px 14px;
  }

  /* ── TESTIMONIALS ── */
  .testimonial-quote {
    font-size: 0.88rem;
  }

  /* ── KUMBH ── */
  .kumbh-banner-text h3 {
    font-size: 1.25rem;
  }

  /* ── LEADER CARD ── */
  .leader-card-media {
    height: 240px;
  }

  /* Note: Top Bar and Mobile header refinements are handled in the Master Responsive Mobile Navigation System */

  /* ── FOOTER PHONE (≤ 480px) ── */
  .footer-top {
    padding-top: 38px !important;
    padding-bottom: 24px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .site-footer .container,
  .container.footer-top {
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-brand {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    padding-bottom: 22px !important;
  }

  .footer-brand-header,
  .footer-brand > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .footer-brand-logo {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
  }

  .footer-brand h3,
  .footer-brand-title,
  .footer-brand-name {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    margin: 0 0 3px !important;
    color: #FCF6BA !important;
  }

  .footer-brand p,
  .footer-brand-desc {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
  }

  .footer-col {
    text-align: left !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    padding-bottom: 24px !important;
  }

  .footer-col:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .footer-col h4,
  .footer-col-title {
    font-size: 1.08rem !important;
    margin-bottom: 14px !important;
  }

  .footer-col h4::after,
  .footer-col-title::after {
    left: 0 !important;
    transform: none !important;
  }

  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    width: 100% !important;
  }

  .footer-links a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    min-height: 44px !important;
    color: #E2D9CF !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(212, 175, 55, 0.16) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .footer-links a:active {
    background: rgba(230, 126, 34, 0.18) !important;
    border-color: var(--gold) !important;
    color: #FCF6BA !important;
  }

  /* ── VOLUNTEER ── */
  .volunteer-opp-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── MODAL ── */
  .modal-box {
    max-width: calc(100vw - 20px);
  }

  /* ── GALLERY ── */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item {
    height: 220px;
  }

  /* ── SERVICES ── */
  .service-card-content {
    padding: 18px 16px;
  }

  .service-card-desc {
    font-size: 0.88rem;
  }

  /* ── CONTACT ── */
  .contact-item-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contact-item-text h4 {
    font-size: 0.95rem;
  }

  /* ── TRUST CERT GRID ── */
  .trust-cert-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── KUMBH STAY FEATURES ── */
  .kumbh-features-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* ── RETREAT CARDS ── */
  .retreat-card {
    border-radius: 14px;
  }

  .retreat-media {
    height: 180px;
  }

  /* ── BRAND TITLE RESPONSIVE ── */
  .brand-name {
    font-size: 1rem;
  }

  .brand-lineage {
    font-size: 0.7rem;
  }

  .brand-subtext {
    font-size: 0.65rem;
  }

  /* ── SECTION TAG ── */
  .section-tag {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  /* ── GLOBAL BUTTONS PHONE ── */
  .btn-primary,
  .btn-secondary,
  .btn-kumbh-special {
    height: auto;
    min-height: 46px;
    padding: 11px 18px;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.35;
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   DONATE POPUP SCANNER MODAL & REAL SCANNER PREVIEW
   ========================================================================== */
.real-scanner-card {
  position: relative;
  background: linear-gradient(145deg, #1c090a 0%, #2a0b0d 100%) !important;
  border: 2px solid var(--gold) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.real-scanner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(212, 175, 55, 0.35);
  border-color: #FCF6BA !important;
}

.scanner-click-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212, 175, 55, 0.22);
  color: #FCF6BA;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.portal-scanner-preview {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: #FFF;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  display: block;
}

.btn-mini-scanner-open {
  background: linear-gradient(135deg, #D4AF37 0%, #AA771C 100%);
  color: #1a0809;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-mini-scanner-open:hover {
  background: #FFFDF9;
  color: #7B1113;
  transform: scale(1.03);
}

/* ==========================================================================
   Clean Scanner Popup Modal (Dedicated QR Display)
   ========================================================================== */
.scanner-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 3, 5, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.scanner-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.scanner-modal-box {
  background: #F3F6FD;
  color: #1E293B;
  border: 2px solid #D4AF37;
  border-radius: 18px;
  width: 100%;
  max-width: 350px;
  max-height: 94vh;
  max-height: 94dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  transform: scale(0.96) translateY(6px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  box-sizing: border-box;
}

.scanner-modal-box::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.scanner-modal-overlay.active .scanner-modal-box {
  transform: scale(1) translateY(0);
}

.scanner-close-x {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #E5ECF8;
  color: #475569;
  border: 1px solid rgba(212, 175, 55, 0.4);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 20;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none;
}

.scanner-close-x:hover {
  background: #7B1113;
  color: #FFFFFF;
  border-color: #7B1113;
}

.scanner-modal-body {
  padding: 14px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
}

/* Large QR Code Container */
.scanner-qr-card {
  width: 100%;
  max-width: 275px;
  background: #F3F6FD;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  box-sizing: border-box;
}

.scanner-qr-img {
  width: 100%;
  height: auto;
  max-width: 275px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: #F3F6FD;
  box-shadow: none !important;
}

/* Clean Premium Card Below QR */
.scanner-upi-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: none !important;
}

.scanner-upi-header {
  width: 100%;
}

.scanner-upi-label {
  font-size: 0.72rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  display: block;
  white-space: nowrap !important;
  margin: 0;
  line-height: 1.2;
}

.scanner-upi-value-row {
  width: 100%;
}

.scanner-upi-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #7B1113;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.3px;
  display: block;
  white-space: nowrap !important;
  user-select: all;
  margin: 0 0 6px;
  line-height: 1.3;
}

/* Copy Button: Background #E67E22, Hover #7B1113, Text #FFFFFF, Single Line, No Shadows */
.scanner-copy-btn {
  width: 100%;
  background: #E67E22 !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap !important;
  transition: background 0.2s ease;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none;
  box-sizing: border-box;
}

.scanner-copy-btn:hover {
  background: #7B1113 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.scanner-copy-btn.copied {
  background: #27ae60 !important;
  color: #FFFFFF !important;
}

.scanner-copy-btn span {
  white-space: nowrap !important;
  display: inline-block;
}

/* Footer Trust Note */
.scanner-footer-note {
  width: 100%;
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  text-align: center;
  box-sizing: border-box;
  box-shadow: none !important;
}

.scanner-trust-org {
  font-size: 0.72rem;
  color: #334155;
  font-weight: 700;
  margin: 0 0 2px;
  white-space: nowrap !important;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

.scanner-trust-loc {
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 500;
  margin: 0;
  white-space: nowrap !important;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .scanner-modal-overlay {
    padding: 10px;
  }

  .scanner-modal-box {
    max-width: 330px;
    border-radius: 16px;
  }

  .scanner-modal-body {
    padding: 12px 10px 12px;
    gap: 8px;
  }

  .scanner-qr-card {
    max-width: 255px;
  }

  .scanner-qr-img {
    max-width: 255px;
  }

  .scanner-upi-card {
    padding: 9px 10px;
    gap: 3px;
  }

  .scanner-upi-label {
    font-size: 0.66rem;
  }

  .scanner-upi-value {
    font-size: 0.94rem;
    margin: 0 0 4px;
  }

  .scanner-copy-btn {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .scanner-trust-org {
    font-size: 0.66rem;
  }

  .scanner-trust-loc {
    font-size: 0.62rem;
  }
}

@media (max-width: 360px) {
  .scanner-modal-box {
    max-width: 310px;
  }

  .scanner-qr-card {
    max-width: 240px;
  }

  .scanner-qr-img {
    max-width: 240px;
  }

  .scanner-upi-value {
    font-size: 0.86rem;
  }

  .scanner-copy-btn {
    font-size: 0.78rem;
    padding: 9px 10px;
  }
}


/* ==========================================================================
   GLOBAL OVERRIDES — Unified Button System & Zero Shadows
   ========================================================================== */

/* Service card donate buttons */
.btn-card-donate {
  background: #E67E22;
  color: #FFFFFF !important;
  font-weight: 700;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
  text-decoration: none;
}

.btn-card-donate:hover {
  background: #7B1113;
  color: #FFFFFF !important;
}

/* Filter buttons in gallery */
.filter-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Amount buttons in donation form */
.amount-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Make any button on the site conform */
a.btn-primary,
button.btn-primary,
a.btn-secondary,
button.btn-secondary,
a.btn-kumbh-special,
button.btn-kumbh-special {
  text-decoration: none;
}

/* Remove all remaining shadows globally */
.service-card,
.retreat-card,
.why-card,
.leader-card,
.event-card,
.kumbh-city-card,
.gallery-item,
.cert-card,
.impact-counter-card,
.volunteer-opp-card {
  box-shadow: none !important;
}

/* Scanner modal QR card — remove shadow */
.scanner-qr-card {
  box-shadow: none;
}

/* Dropdown menu — keep border instead of shadow */
.dropdown-menu {
  box-shadow: none;
}

/* ── SACRED CALENDAR MOBILE SAFEGUARDS & SMALL SCREENS ── */
#events {
  overflow-x: hidden;
}

#events .container {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 360px) {
  .event-card {
    padding: 16px 12px !important;
  }

  .event-card h3 {
    font-size: 1.02rem !important;
  }

  .event-date-badge {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
  }

  .event-location {
    font-size: 0.76rem !important;
  }

  .event-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .event-card .btn-primary,
  .event-card .event-action-btn {
    font-size: 0.82rem !important;
    padding: 10px 12px !important;
    min-height: 42px !important;
  }

  .events-bottom-btns a,
  .events-bottom-btns .btn-primary,
  .events-bottom-btns .events-btn {
    font-size: 0.82rem !important;
    padding: 11px 12px !important;
    min-height: 44px !important;
  }
}

/* ============================================================
   FINAL UNIVERSAL MOBILE SAFEGUARDS
   Applied last to ensure all remaining overflow issues are fixed
   ============================================================ */

/* Prevent ANY horizontal scroll on all pages */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Ensure all content sections respect viewport */
section, .section, footer, main {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Header & nav must have overflow: visible so mobile menu drawer and dropdowns are never clipped */
header, .main-header, nav {
  max-width: 100vw;
  overflow: visible !important;
}

/* Ensure images don't break layout */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure all grids collapse gracefully */
@media (max-width: 768px) {
  /* Donation wrapper scroll */
  .donation-wrapper {
    overflow: hidden;
  }

  /* Trust compliance padding */
  .trust-compliance-wrapper {
    padding: 24px 18px;
  }

  /* Kumbh feature item layout on tablet */
  .kumbh-feature-item {
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }

  /* Remove negative margins that cause overflow */
  .about-sub-img-wrap {
    right: -5px;
  }

  /* Contact form full-width */
  .contact-form-panel .form-group input,
  .contact-form-panel .form-group select,
  .contact-form-panel .form-group textarea {
    font-size: 16px; /* Prevents iOS zoom */
  }

  /* Form inputs min touch target */
  input, select, textarea, button {
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  /* Extra-small section spacing */
  .section {
    padding: 44px 0;
  }

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

  /* Kumbh stay section */
  .kumbh-stay-section {
    padding: 56px 0;
  }

  .kumbh-stay-wrapper {
    padding: 20px 16px;
  }

  /* Hide brand titles on small screens */
  .brand-titles {
    display: none !important;
  }

  /* Volunteer banner */
  .volunteer-cta-banner {
    padding: 28px 16px;
  }

  /* Trust compliance */
  .trust-compliance-wrapper {
    padding: 18px 14px;
  }

  /* Gallery filters wrap */
  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  /* Fix 5-col impact grid */
  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  /* Subah-e-Banaras & Sham-e-Avadh retreat media height */
  .retreat-media {
    height: 175px;
  }

  /* Bank details box */
  .bank-details-box {
    font-size: 0.78rem;
  }

  .bank-row {
    flex-direction: column;
    gap: 2px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    margin-bottom: 6px;
  }

  .bank-row span.label {
    font-size: 0.7rem;
  }

  /* Universal Footer Bottom Wrap Safeguard */
  .footer-bottom-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .footer-bottom-inner > div {
    width: 100% !important;
    text-align: center !important;
  }

  .footer-bottom-inner > div:last-child,
  .footer-legal-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 14px !important;
  }

  .footer-bottom-inner > div:last-child a,
  .footer-legal-links a {
    white-space: nowrap !important;
    font-size: 0.78rem !important;
    padding: 3px 5px !important;
  }
}

@media (max-width: 360px) {
  /* Tiny phone fixes */
  .container {
    padding: 0 12px;
  }

  /* Note: 360px header refinements are handled in the Master Responsive Mobile Navigation System */

  .section {
    padding: 38px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero-trust-bar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
