/**
 * Avhigat Akhara — Sacred Light Theme & Design System
 * Primary Palette: Sacred Maroon, Imperial Gold, Saffron, Light Cream / Warm Ivory
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Noto+Serif+Devanagari:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Rozha+One&family=Yatra+One&display=swap');

:root {
  /* Brand Sacred Colors */
  --sacred-maroon: #7A1C1C;
  --sacred-maroon-dark: #560F0F;
  --sacred-maroon-light: #9B2424;
  --sacred-maroon-soft: rgba(122, 28, 28, 0.08);

  --imperial-gold: #D4AF37;
  --imperial-gold-warm: #E6C15C;
  --imperial-gold-dark: #A8811D;
  --imperial-gold-glow: rgba(212, 175, 55, 0.35);
  --imperial-gold-subtle: rgba(212, 175, 55, 0.12);
  --sacred-gold: #D4AF37;
  --sacred-gold-light: #FFD700;
  --sacred-gold-hover: #F59E0B;

  --sunrise-saffron: #FF7722;
  --sunrise-saffron-deep: #E65100;
  --sunrise-saffron-soft: rgba(255, 119, 34, 0.1);

  /* Light Theme Sacred Backgrounds */
  --bg-pure-ivory: #FDFBF7;
  --bg-parchment: #F8F4EC;
  --bg-parchment-warm: #F4EFE3;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFDF9;

  /* Typography Colors */
  --text-primary: #1C1715;
  --text-secondary: #584F49;
  --text-muted: #8C827A;
  --text-gold: #B88B22;
  --text-maroon: #7A1C1C;

  /* Borders & Dividers */
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gold-strong: rgba(212, 175, 55, 0.65);
  --border-subtle: rgba(122, 28, 28, 0.1);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-pill: 50px;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(122, 28, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(122, 28, 28, 0.08);
  --shadow-lg: 0 16px 40px rgba(122, 28, 28, 0.12);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.25);
  --shadow-gold-hover: 0 12px 35px rgba(212, 175, 55, 0.45);

  /* Fonts */
  --font-sacred: 'Rozha One', 'Cinzel', serif;
  --font-hindi-heading: 'Noto Serif Devanagari', 'Yatra One', serif;
  --font-english-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --max-width: 1440px;
  --header-height: 85px;
}

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

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

body {
  background-color: var(--bg-pure-ivory);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container Standard (Full 1,440px Width for Sacred Architecture & Menu Parity) */
.container-custom {
  width: 100%;
  max-width: var(--max-width, 1440px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container-custom {
    padding-left: 16px;
    padding-right: 16px;
  }
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sacred-maroon);
  font-family: var(--font-hindi-heading);
  font-weight: 700;
  line-height: 1.25;
}

.font-sacred {
  font-family: var(--font-sacred);
}

.font-english {
  font-family: var(--font-english-heading);
}

a {
  color: var(--sacred-maroon);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: var(--sunrise-saffron);
}

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

/* ====================================================
   RESPONSIVE GRID SYSTEM (.row, .col-*)
==================================================== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
  box-sizing: border-box;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

/* Gap Modifiers */
.row.g-1 { margin-left: -4px; margin-right: -4px; }
.row.g-1 > * { padding-left: 4px; padding-right: 4px; margin-bottom: 8px; }
.row.g-2 { margin-left: -6px; margin-right: -6px; }
.row.g-2 > * { padding-left: 6px; padding-right: 6px; margin-bottom: 12px; }
.row.g-3 { margin-left: -8px; margin-right: -8px; }
.row.g-3 > * { padding-left: 8px; padding-right: 8px; margin-bottom: 16px; }
.row.g-4 { margin-left: -12px; margin-right: -12px; }
.row.g-4 > * { padding-left: 12px; padding-right: 12px; margin-bottom: 24px; }
.row.g-5 { margin-left: -16px; margin-right: -16px; }
.row.g-5 > * { padding-left: 16px; padding-right: 16px; margin-bottom: 32px; }

/* Grid Columns (Base Mobile / 0px+) */
.col-1  { flex: 0 0 auto; width: 8.33333333%; }
.col-2  { flex: 0 0 auto; width: 16.66666667%; }
.col-3  { flex: 0 0 auto; width: 25%; }
.col-4  { flex: 0 0 auto; width: 33.33333333%; }
.col-5  { flex: 0 0 auto; width: 41.66666667%; }
.col-6  { flex: 0 0 auto; width: 50%; }
.col-7  { flex: 0 0 auto; width: 58.33333333%; }
.col-8  { flex: 0 0 auto; width: 66.66666667%; }
.col-9  { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.33333333%; }
.col-11 { flex: 0 0 auto; width: 91.66666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .col-sm-1  { flex: 0 0 auto; width: 8.33333333%; }
  .col-sm-2  { flex: 0 0 auto; width: 16.66666667%; }
  .col-sm-3  { flex: 0 0 auto; width: 25%; }
  .col-sm-4  { flex: 0 0 auto; width: 33.33333333%; }
  .col-sm-5  { flex: 0 0 auto; width: 41.66666667%; }
  .col-sm-6  { flex: 0 0 auto; width: 50%; }
  .col-sm-7  { flex: 0 0 auto; width: 58.33333333%; }
  .col-sm-8  { flex: 0 0 auto; width: 66.66666667%; }
  .col-sm-9  { flex: 0 0 auto; width: 75%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-sm-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .col-md-1  { flex: 0 0 auto; width: 8.33333333%; }
  .col-md-2  { flex: 0 0 auto; width: 16.66666667%; }
  .col-md-3  { flex: 0 0 auto; width: 25%; }
  .col-md-4  { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5  { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6  { flex: 0 0 auto; width: 50%; }
  .col-md-7  { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8  { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-9  { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .col-lg-1  { flex: 0 0 auto; width: 8.33333333%; }
  .col-lg-2  { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-2-4{ flex: 0 0 auto; width: 20%; } /* 5-column layout */
  .col-lg-3  { flex: 0 0 auto; width: 25%; }
  .col-lg-4  { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5  { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6  { flex: 0 0 auto; width: 50%; }
  .col-lg-7  { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8  { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-9  { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-lg-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .col-xl-1  { flex: 0 0 auto; width: 8.33333333%; }
  .col-xl-2  { flex: 0 0 auto; width: 16.66666667%; }
  .col-xl-3  { flex: 0 0 auto; width: 25%; }
  .col-xl-4  { flex: 0 0 auto; width: 33.33333333%; }
  .col-xl-6  { flex: 0 0 auto; width: 50%; }
  .col-xl-8  { flex: 0 0 auto; width: 66.66666667%; }
  .col-xl-12 { flex: 0 0 auto; width: 100%; }
}

/* Flex Alignment & Utilities */
.align-items-center { align-items: center !important; }
.align-items-start  { align-items: flex-start !important; }
.align-items-end    { align-items: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center  { justify-content: center !important; }
.justify-content-end     { justify-content: flex-end !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap   { flex-wrap: wrap !important; }
.d-flex      { display: flex !important; }
.d-none      { display: none !important; }
.d-block     { display: block !important; }

@media (min-width: 992px) {
  .d-lg-flex  { display: flex !important; }
  .d-lg-block { display: block !important; }
  .d-lg-none  { display: none !important; }
  .mt-lg-0    { margin-top: 0 !important; }
}

.text-center { text-align: center !important; }
.text-start  { text-align: left !important; }
.text-end    { text-align: right !important; }
.w-100       { width: 100% !important; }
.h-100       { height: 100% !important; }

/* ====================================================
   SACRED ORNAMENTS & DIVIDERS
==================================================== */
.sacred-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 28px;
}

.sacred-divider::before,
.sacred-divider::after {
  content: '';
  height: 1.5px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--imperial-gold), transparent);
}

.sacred-divider-symbol {
  color: var(--imperial-gold-dark);
  font-size: 1.3rem;
  line-height: 1;
  text-shadow: 0 0 10px var(--imperial-gold-glow);
}

.sacred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(255, 119, 34, 0.1), rgba(212, 175, 55, 0.15));
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-pill);
  color: var(--sacred-maroon);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sacred-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--sunrise-saffron);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sunrise-saffron);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* ====================================================
   BUTTONS & CTAs
==================================================== */
.btn-sacred-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #D4AF37 0%, #C59B27 50%, #A8811D 100%);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-sacred-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: all 0.6s ease;
}

.btn-sacred-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-hover);
  color: #FFFFFF !important;
}

.btn-sacred-gold:hover::before {
  left: 100%;
}

.btn-sacred-maroon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--sacred-maroon) 0%, var(--sacred-maroon-dark) 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--border-radius-pill);
  border: 1px solid var(--imperial-gold);
  box-shadow: 0 4px 16px rgba(122, 28, 28, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sacred-maroon:hover {
  background: linear-gradient(135deg, var(--sacred-maroon-light) 0%, var(--sacred-maroon) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 28, 28, 0.35);
  color: #FFFFFF !important;
}

.btn-sacred-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  background: transparent;
  color: var(--sacred-maroon) !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid var(--imperial-gold);
  transition: all 0.3s ease;
}

.btn-sacred-outline:hover {
  background: var(--imperial-gold-subtle);
  border-color: var(--imperial-gold-dark);
  color: var(--sacred-maroon-dark) !important;
  transform: translateY(-2px);
}

/* ====================================================
   SACRED SAFFRON / BHAGWA BUTTON (Guru Darshan & Blessings)
==================================================== */
.btn-sacred-saffron,
.btn-sacred-outline.open-guru-modal-btn,
.open-guru-modal-btn.highlighted-darshan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #FF6F00 0%, #E65100 50%, #C83B00 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid #FFD54F !important;
  box-shadow: 0 4px 18px rgba(230, 81, 0, 0.45), 0 0 14px rgba(255, 179, 0, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.btn-sacred-saffron::before,
.btn-sacred-outline.open-guru-modal-btn::before,
.open-guru-modal-btn.highlighted-darshan-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.65s ease;
}

.btn-sacred-saffron:hover,
.btn-sacred-outline.open-guru-modal-btn:hover,
.open-guru-modal-btn.highlighted-darshan-btn:hover {
  background: linear-gradient(135deg, #FF7D1A 0%, #F55D00 50%, #D44200 100%) !important;
  transform: translateY(-2px);
  border-color: #FFE082 !important;
  box-shadow: 0 8px 26px rgba(230, 81, 0, 0.55), 0 0 20px rgba(255, 179, 0, 0.4);
  color: #FFFFFF !important;
}

.btn-sacred-saffron:hover::before,
.btn-sacred-outline.open-guru-modal-btn:hover::before,
.open-guru-modal-btn.highlighted-darshan-btn:hover::before {
  left: 100%;
}

.btn-sacred-saffron i,
.btn-sacred-outline.open-guru-modal-btn i,
.open-guru-modal-btn.highlighted-darshan-btn i {
  color: #FFF3E0;
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.btn-sacred-saffron:hover i,
.btn-sacred-outline.open-guru-modal-btn:hover i,
.open-guru-modal-btn.highlighted-darshan-btn:hover i {
  transform: scale(1.15);
  color: #FFFFFF;
}

/* ====================================================
   1. TOP UTILITY STRIP
==================================================== */
.top-utility-strip {
  background: linear-gradient(90deg, #2A0505 0%, #460909 30%, #580F0F 50%, #460909 70%, #2A0505 100%);
  color: #FDFBF7;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.top-salutation {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--imperial-gold-warm);
  font-weight: 600;
  font-family: var(--font-hindi-heading);
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-salutation i {
  color: var(--sunrise-saffron);
  font-size: 1.05rem;
}

.top-contact-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.top-contact-item {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.top-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.top-contact-item a i {
  color: var(--imperial-gold-warm);
  font-size: 0.85rem;
}

.top-contact-item a:hover {
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-switch-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #FFF !important;
  border-radius: var(--border-radius-pill);
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--imperial-gold);
  color: #FFF !important;
  transform: translateY(-1px);
}

.btn-donate-strip {
  background: linear-gradient(135deg, #FF7722 0%, #E68A00 50%, #D4AF37 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 18px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 2px 12px rgba(255, 119, 34, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.btn-donate-strip:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 18px rgba(255, 119, 34, 0.65);
  color: #FFFFFF !important;
}

.btn-portal-strip {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(255, 215, 0, 0.6);
  color: #FFD700 !important;
  border-radius: var(--border-radius-pill);
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-portal-strip:hover {
  background: linear-gradient(135deg, #7A1C1C 0%, #4D0F0F 100%);
  border-color: #FFD700;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.btn-portal-strip i {
  color: #FFD700;
  transition: transform 0.2s ease;
}

.btn-portal-strip:hover i {
  color: #FFFFFF;
  transform: scale(1.15);
}

@media (max-width: 1024px) {
  .top-utility-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .top-salutation {
    justify-content: center;
  }
  .top-contact-list {
    justify-content: center;
  }
  .top-actions {
    margin-left: 0;
    justify-content: center;
  }
}

/* ====================================================
   2. LOGO & IDENTITY SECTION
==================================================== */
.identity-header {
  background-color: var(--bg-pure-ivory);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 150;
  transition: all 0.3s ease;
}

.identity-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.identity-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

/* ====================================================
   SACRED AKHARA MEDALLION LOGO & VIDEO INTRO
==================================================== */
.identity-logo-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* Allows sacred flames from video to burst freely outside the medallion */
  text-decoration: none;
  background: transparent;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.identity-logo-wrap:hover {
  transform: scale(1.04);
}

/* Header Logo Video & Fallback Image
   Canvas: 122px x 122px centered over 82px medallion.
   Central seal inside video matches exactly 82px.
   Sacred fire bursts outward up to 122px (20px past medallion in all directions),
   unlimited by circle clipping, without any black box. */
.header-logo-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 122px;
  height: 122px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  display: block;
  background: transparent;
  pointer-events: none;
  z-index: 5;
}

.header-logo-img-fallback,
.header-logo-static-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 122px;
  height: 122px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  display: block;
  background: transparent;
  pointer-events: none;
}

/* Accessibility: Show static logo if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .header-logo-video {
    display: none !important;
  }
  .header-logo-static-fallback {
    display: block !important;
  }
}

.identity-text-box {
  min-width: 0;
}

.identity-text-box .brand-name {
  font-family: var(--font-hindi-heading);
  font-weight: 700;
  margin-top: 0;
  font-size: 1.85rem;
  color: var(--sacred-maroon);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  line-height: 1.2;
  white-space: nowrap;
}

.identity-text-box .identity-english-name {
  font-family: var(--font-english-heading);
  font-size: 0.92rem;
  color: var(--text-gold);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
}

.identity-text-box .identity-motto {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.identity-quick-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Header Top-Right CTAs */
.btn-header-cta {
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--border-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
}

/* Hamburger Toggle Button (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #FFF9F0 0%, #FFFFFF 100%);
  border: 1.5px solid var(--imperial-gold);
  border-radius: 10px;
  color: var(--sacred-maroon);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(122, 28, 28, 0.08);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: #FFF2DF;
  border-color: var(--imperial-gold-dark);
  box-shadow: 0 3px 12px var(--imperial-gold-glow);
}

.hamburger-icon-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--sacred-maroon);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ====================================================
   3. MAIN MENU STRIP (Dark Maroon as per Logo Theme)
==================================================== */
.main-nav-strip {
  background: linear-gradient(90deg, #1F0303 0%, #350707 20%, #4A0A0A 50%, #350707 80%, #1F0303 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 2.5px solid var(--imperial-gold);
  box-shadow: 0 6px 20px rgba(31, 3, 3, 0.45);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.main-nav-strip .container-custom {
  max-width: var(--max-width, 1440px);
  padding-left: 8px;
  padding-right: 8px;
}

.nav-links-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: clamp(2px, 0.35vw, 6px);
  flex-wrap: nowrap;
  white-space: nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-item-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.45vw, 6px);
  padding: 13px clamp(6px, 0.8vw, 12px);
  font-size: clamp(0.79rem, 0.86vw, 0.89rem);
  font-weight: 600;
  color: #F8ECD5; /* Sacred warm ivory/gold cream on dark maroon background */
  border-radius: var(--border-radius-sm);
  position: relative;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  letter-spacing: 0.012em;
}

.nav-item-link i {
  color: var(--imperial-gold-warm);
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-item-link:hover {
  color: #FFFFFF !important;
  background-color: rgba(212, 175, 55, 0.18);
  transform: translateY(-1px);
}

.nav-item-link:hover i {
  color: #FFD700;
  transform: scale(1.1);
}

.nav-item-link.active {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.32) 0%, rgba(122, 28, 28, 0.65) 100%);
  font-weight: 700;
  border-bottom: 2.5px solid var(--imperial-gold-warm);
}

.nav-item-link.active i {
  color: #FFD700;
}

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: -2.5px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #FF7722, #FFD700, #D4AF37);
  transition: all 0.25s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-item-link:hover::after,
.nav-item-link.active::after {
  width: 80%;
}

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
  list-style: none;
}

.nav-dropdown-icon {
  font-size: 0.68rem;
  margin-left: 2px;
  transition: transform 0.25s ease;
  color: var(--imperial-gold-warm);
}

.nav-item-dropdown:hover .nav-dropdown-icon {
  transform: rotate(180deg);
  color: #FFD700;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  min-width: 260px;
  background: linear-gradient(145deg, #1F0303 0%, #380707 100%);
  border: 1.5px solid var(--imperial-gold);
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 105;
}

.nav-links-list > li:nth-last-child(-n+3) .nav-dropdown-menu {
  left: auto;
  right: 0;
}

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

.nav-dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #F8ECD5;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  white-space: nowrap;
}

.nav-dropdown-menu li:last-child .nav-dropdown-link {
  border-bottom: none;
}

.nav-dropdown-link i {
  color: var(--imperial-gold-warm);
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.nav-dropdown-link:hover {
  background: rgba(212, 175, 55, 0.22);
  color: #FFFFFF !important;
  padding-left: 24px;
}

.nav-dropdown-link:hover i {
  color: #FFD700;
  transform: scale(1.18);
}

/* Laptop width adjustment (1025px–1366px): slightly tighter spacing so it NEVER wraps */
@media (min-width: 1025px) and (max-width: 1366px) {
  .nav-item-link {
    padding: 13px 8px;
    font-size: 0.83rem;
    gap: 4px;
  }
  .nav-links-list {
    gap: 2px;
  }
  .identity-text-box .brand-name {
    font-size: 1.65rem;
  }
  .btn-header-cta {
    padding: 8px 13px;
    font-size: 0.80rem;
  }
}

/* ====================================================
   OFF-CANVAS MOBILE DRAWER & BACKDROP
==================================================== */
body.drawer-open {
  overflow: hidden !important;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 10, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background-color: #FDFBF7;
  border-left: 2.5px solid var(--imperial-gold);
  z-index: 10001;
  box-shadow: -10px 0 45px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-drawer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--imperial-gold);
  object-fit: cover;
  background: #FFF;
}

.mobile-drawer-titles {
  display: flex;
  flex-direction: column;
}

.drawer-title-hi {
  font-family: var(--font-hindi-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sacred-maroon);
  line-height: 1.2;
}

.drawer-title-en {
  font-family: var(--font-english-heading);
  font-size: 0.78rem;
  color: var(--text-gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F8F4EC;
  border: 1px solid var(--border-gold);
  color: var(--sacred-maroon);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: var(--sacred-maroon);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Mobile Language Row */
.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
}

.mobile-lang-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-lang-pills {
  display: flex;
  gap: 6px;
}

.mobile-lang-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  background: #FAF7F0;
  transition: all 0.2s ease;
}

.mobile-lang-pill.active {
  background: var(--sacred-maroon);
  color: #FFFFFF;
  border-color: var(--sacred-maroon);
}

/* Mobile Nav List */
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 12px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-nav-link .link-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-link .link-label i {
  color: var(--imperial-gold-dark);
  width: 18px;
  text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--sacred-maroon);
  background-color: var(--sacred-maroon-soft);
}

.mobile-accordion-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--sacred-maroon);
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.has-accordion.accordion-open .mobile-accordion-toggle {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  list-style: none;
  padding: 4px 0 10px 16px;
  margin: 0;
  border-left: 2px solid rgba(212, 175, 55, 0.25);
}

.mobile-cat-item {
  list-style: none;
  margin-bottom: 4px;
}

.mobile-subcat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.mobile-subcat-row:hover,
.has-sub-accordion.sub-accordion-open > .mobile-subcat-row {
  background-color: rgba(122, 28, 28, 0.05);
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 9px 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 3px solid var(--imperial-gold);
  border-radius: 0 6px 6px 0;
  transition: all 0.2s ease;
  margin-bottom: 0;
}

.mobile-sub-link:hover,
.has-sub-accordion.sub-accordion-open > .mobile-subcat-row .mobile-sub-link {
  color: var(--sacred-maroon);
  background-color: var(--sacred-maroon-soft);
  border-left-color: var(--sacred-maroon);
}

.mobile-sub-link .badge,
.mobile-subcat-row .badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-sub-accordion-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--sacred-maroon);
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}

.has-sub-accordion.sub-accordion-open > .mobile-subcat-row .mobile-sub-accordion-toggle {
  transform: rotate(180deg);
  color: var(--sunrise-saffron-deep);
}

.mobile-sub-sub-menu {
  list-style: none;
  padding: 5px 0 8px 14px;
  margin: 4px 0 8px 10px;
  border-left: 1.5px dashed rgba(212, 175, 55, 0.45);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-sub-sub-menu li {
  list-style: none;
}

.mobile-sub-sub-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 1px 3px rgba(122, 28, 28, 0.03);
  transition: all 0.2s ease;
}

.mobile-sub-sub-link .sub-link-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sub-sub-link i {
  color: var(--imperial-gold-dark);
  font-size: 0.78rem;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.mobile-sub-sub-link .sub-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: auto;
  flex-shrink: 0;
  background: rgba(212, 175, 55, 0.15);
  color: var(--imperial-gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.mobile-sub-sub-link:hover,
.mobile-sub-sub-link:active {
  color: var(--sacred-maroon);
  background: #FAF7F0;
  border-color: var(--imperial-gold);
  padding-left: 14px;
}

.mobile-sub-sub-link.view-all-link {
  font-weight: 700;
  color: var(--sacred-maroon);
  background: rgba(122, 28, 28, 0.05);
  border-color: rgba(122, 28, 28, 0.25);
  margin-top: 4px;
}

.mobile-sub-sub-link.view-all-link i {
  color: var(--sacred-maroon);
}

/* Mobile Sadhana Rich Multi-Tier & Parity Styling */
.mobile-sadhana-spotlight-item {
  list-style: none;
  margin-bottom: 12px;
}

.mobile-sadhana-spotlight-card {
  background: linear-gradient(135deg, #2D0808 0%, #170404 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-sadhana-spotlight-card .spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212, 175, 55, 0.2);
  color: #FDF8ED;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 6px;
}

.mobile-sadhana-spotlight-card .spotlight-title {
  font-family: var(--font-cinzel), serif;
  font-size: 1rem;
  font-weight: 700;
  color: #FDF8ED;
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.mobile-sadhana-spotlight-card .spotlight-desc {
  font-size: 0.78rem;
  color: #E5E7EB;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.mobile-sadhana-spotlight-card .spotlight-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%);
  color: #1F0707;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.mobile-sadhana-spotlight-card .spotlight-action-btn:hover {
  background: #E5C158;
}

/* Mobile Sadhana Sphere Cards & Creative Colorful Theming */
.mobile-cat-item.sphere-card {
  list-style: none;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-left: 4px solid var(--sphere-accent, #7A1C1C);
  border-radius: 10px;
  margin-bottom: 9px;
  box-shadow: 0 2px 7px rgba(122, 28, 28, 0.04);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.mobile-cat-item.sphere-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 12px rgba(122, 28, 28, 0.08);
}

.mobile-cat-item.sphere-card.sub-accordion-open {
  border-color: rgba(212, 175, 55, 0.45);
  border-left: 4px solid var(--sphere-accent, #7A1C1C);
  box-shadow: 0 4px 14px rgba(122, 28, 28, 0.09);
}

.mobile-subcat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: transparent;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.mobile-subcat-row:hover,
.mobile-cat-item.sphere-card.sub-accordion-open > .mobile-subcat-row {
  background: rgba(212, 175, 55, 0.05);
}

.mobile-subcat-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.mobile-sphere-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border-width: 1px;
  border-style: solid;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mobile-cat-item:hover .mobile-sphere-icon-box,
.mobile-cat-item.sub-accordion-open .mobile-sphere-icon-box {
  transform: scale(1.06);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.mobile-sphere-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mobile-sphere-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: normal;
  margin-bottom: 2px;
  font-family: var(--font-inter), sans-serif;
  transition: color 0.2s ease;
}

.mobile-cat-item.sub-accordion-open .mobile-sphere-title {
  color: var(--sphere-accent, #7A1C1C);
}

/* 2026-11-16: group headings inside the mobile Sadhana list */
.mobile-sadhana-group-label {
  list-style: none;
  margin: 14px 4px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7A1C1C;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  padding-bottom: 4px;
}

.mobile-sphere-subcount {
  font-size: 0.68rem;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.02em;
}

.mobile-subcat-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}

.sphere-counter-badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mobile-sub-accordion-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: #4B5563;
  font-size: 0.75rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

.mobile-cat-item.sub-accordion-open .mobile-sub-accordion-toggle {
  transform: rotate(180deg);
  background: var(--sphere-accent, #7A1C1C);
  border-color: var(--sphere-accent, #7A1C1C);
  color: #FFFFFF;
}

/* Desktop Sphere Icon Box in Mega Menu Column 1 */
.desktop-sphere-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  border-width: 1px;
  border-style: solid;
  margin-right: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.sadhana-mega-cat-item:hover .desktop-sphere-icon-box,
.sadhana-mega-cat-item.active .desktop-sphere-icon-box {
  transform: scale(1.08);
}


/* Level 3 Subsubcat items (for multi-subcategory spheres like Devi & Mahavidya) */
.mobile-subsubcat-item {
  list-style: none;
  margin-bottom: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(122, 28, 28, 0.04);
}

.mobile-subsubcat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(212, 175, 55, 0.06);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.mobile-subsubcat-row:hover,
.has-subsub-accordion.subsub-accordion-open > .mobile-subsubcat-row {
  background: rgba(122, 28, 28, 0.08);
}

.subsubcat-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sacred-maroon);
}

.subsubcat-title-wrap i {
  color: var(--imperial-gold-dark);
  font-size: 0.8rem;
}

.subsubcat-meta-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.subsubcat-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(122, 28, 28, 0.12);
  color: var(--sacred-maroon);
  border: 1px solid rgba(122, 28, 28, 0.2);
}

.mobile-subsub-accordion-toggle {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--sacred-maroon);
  font-size: 0.75rem;
  cursor: pointer;
  transition: transform 0.25s ease;
  padding: 0;
}

.has-subsub-accordion.subsub-accordion-open > .mobile-subsubcat-row .mobile-subsub-accordion-toggle {
  transform: rotate(180deg);
  color: var(--sunrise-saffron-deep);
}

/* Individual Sadhana list & links */
.mobile-sadhana-items-list {
  list-style: none;
  padding: 6px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #FCFBF7;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
}

.mobile-sadhana-items-list.single-stream-list {
  border-top: none;
  padding: 0 0 6px 0;
  background: transparent;
}

.mobile-sadhana-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 5px;
  transition: all 0.2s ease;
}

.mobile-sadhana-link:hover,
.mobile-sadhana-link:active {
  background: var(--sacred-maroon-soft);
  border-color: var(--sacred-maroon);
  color: var(--sacred-maroon);
  padding-left: 12px;
}

.sadhana-link-main {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.sadhana-glyph {
  color: var(--imperial-gold-dark);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.sadhana-name {
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.sadhana-link-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sadhana-video-badge {
  color: #DC2626;
  font-size: 0.85rem;
}

.sadhana-arrow {
  color: rgba(122, 28, 28, 0.4);
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}

.mobile-sadhana-link:hover .sadhana-arrow {
  transform: translateX(2px);
  color: var(--sacred-maroon);
}

.mobile-sub-view-link {
  display: block;
  padding: 5px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sacred-maroon);
  text-decoration: none;
  text-align: right;
  transition: all 0.2s ease;
}

.mobile-sub-view-link:hover {
  color: var(--sunrise-saffron-deep);
}

.sadhana-item-empty {
  list-style: none;
  font-size: 0.78rem;
  color: #9CA3AF;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-single-subcat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  margin-bottom: 6px;
  background: rgba(212, 175, 55, 0.12);
  border-left: 3px solid var(--imperial-gold);
  border-radius: 0 5px 5px 0;
}

.single-subcat-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sacred-maroon);
}

.single-subcat-left i {
  color: var(--imperial-gold-dark);
}

/* Mobile Sadhana Training Promo */
.mobile-sadhana-training-promo {
  list-style: none;
  margin: 10px 0;
}

.mobile-training-promo-box {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(122, 28, 28, 0.05) 100%);
  border: 1px dashed rgba(217, 119, 6, 0.4);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mobile-training-promo-box .training-promo-icon {
  font-size: 1.2rem;
  color: #D97706;
  margin-top: 2px;
  flex-shrink: 0;
}

.mobile-training-promo-box .promo-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sacred-maroon);
  margin-bottom: 2px;
}

.mobile-training-promo-box .promo-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.mobile-training-promo-box .promo-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: #D97706;
  text-decoration: none;
}

.mobile-training-promo-box .promo-link:hover {
  text-decoration: underline;
}

/* Mobile Drawer CTAs */
.mobile-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1.5px solid rgba(212, 175, 55, 0.25);
}

.drawer-cta-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--imperial-gold-dark);
  margin-bottom: 2px;
}

.mobile-action-btn {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.90rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.btn-sacred-ghost {
  background: transparent;
  border: 1.5px solid var(--border-gold-strong);
  color: var(--sacred-maroon) !important;
  transition: all 0.2s ease;
}

.btn-sacred-ghost:hover {
  background: var(--sacred-maroon-soft);
}

.mobile-donate-pulse {
  animation: pulse-gold 2.2s infinite;
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(255, 119, 34, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 119, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 119, 34, 0); }
}

/* Mobile Drawer Footer */
.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.drawer-contact-line i {
  color: var(--imperial-gold-dark);
}

.drawer-contact-line a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}

.drawer-motto {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

/* ====================================================
   TABLET & MOBILE BREAKPOINTS (<= 1024px)
==================================================== */
@media (max-width: 1024px) {
  /* Sticky Header on Mobile */
  .identity-header {
    position: sticky;
    top: 0;
    z-index: 990;
    background-color: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(122, 28, 28, 0.08);
    padding: 10px 0;
  }

  /* Hide Desktop Nav Strip on Mobile */
  .main-nav-strip {
    display: none !important;
  }

  /* Hide Desktop Top-Right CTAs on Mobile */
  .btn-header-cta {
    display: none !important;
  }

  /* Show Hamburger Button */
  .mobile-menu-toggle {
    display: flex !important;
  }

  .identity-logo-wrap {
    width: 60px;
    height: 60px;
  }

  .header-logo-video,
  .header-logo-img-fallback,
  .header-logo-static-fallback {
    width: 90px;
    height: 90px;
  }

  .identity-text-box .brand-name {
    font-size: 1.45rem;
  }

  .identity-text-box .identity-english-name {
    font-size: 0.82rem;
  }

  .identity-text-box .identity-motto {
    display: none;
  }
}

/* Mobile Screen Tuning (<= 480px, 430px, 390px, 375px) */
@media (max-width: 480px) {
  .identity-inner {
    gap: 12px;
  }

  .identity-brand {
    gap: 10px;
  }

  .identity-logo-wrap {
    width: 48px;
    height: 48px;
  }

  .header-logo-video,
  .header-logo-img-fallback,
  .header-logo-static-fallback {
    width: 72px;
    height: 72px;
  }

  .identity-text-box .brand-name {
    font-size: 1.15rem;
  }

  .identity-text-box .identity-english-name {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .top-utility-strip {
    padding: 4px 0;
  }

  .top-salutation {
    display: none;
  }

  .top-contact-list {
    display: none;
  }

  .top-utility-inner {
    justify-content: space-between;
    width: 100%;
  }
}

/* ====================================================
   4. HERO SECTION (Full HD Cinematic Guru Ji Video Hero)
==================================================== */
.hero-section {
  position: relative;
  min-height: 85vh; /* Desktop: 82vh–88vh */
  height: 85vh;
  max-height: 940px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #0A0605;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1 !important; /* Full HD clarity, no milky wash */
  filter: none !important;
  display: block;
}

.hero-video-desktop {
  display: block;
}

.hero-video-mobile {
  display: none;
}

.hero-container-layout {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 0;
}

/* Restrict text block to 42%–46% on desktop; Guru Ji completely unblocked on right 45%–50% */
.hero-text-card {
  max-width: 44%;
  width: 100%;
  background: linear-gradient(135deg, rgba(253, 251, 247, 0.88) 0%, rgba(248, 242, 230, 0.72) 65%, rgba(248, 242, 230, 0.40) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  padding: 38px 40px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28), 0 0 35px rgba(212, 175, 55, 0.12);
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #B85000;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-family: var(--font-hindi-heading);
}

.hero-title-main {
  font-size: 2.85rem;
  color: #560F0F; /* Deep rich maroon */
  font-family: var(--font-hindi-heading);
  line-height: 1.18;
  margin-bottom: 10px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-title-en {
  font-family: var(--font-english-heading);
  font-size: 1.18rem;
  color: #947219;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-subhead {
  font-size: 1.05rem;
  color: #352A24;
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 500;
}

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

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .hero-section {
    min-height: 780px; /* Laptop: 760–850px */
    height: auto;
    padding: 50px 0;
  }
  .hero-text-card {
    max-width: 48%;
    padding: 32px 30px;
  }
  .hero-title-main {
    font-size: 2.35rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: 720px;
    height: auto;
    padding: 40px 0;
  }
  .hero-text-card {
    max-width: 58%;
    background: linear-gradient(135deg, rgba(255, 253, 247, 0.25) 0%, rgba(253, 248, 238, 0.15) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  .hero-video-bg {
    object-position: 75% center;
  }
}

/* Mobile View: Dedicated 9:16 Vertical Video + Bottom-Anchored 90% Transparent Cream Card */
@media (max-width: 768px) {
  .hero-video-desktop {
    display: none !important;
  }
  .hero-video-mobile {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-section {
    min-height: 100svh;
    min-height: 100vh;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }

  .hero-container-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 16px 22px;
    z-index: 10;
  }

  .hero-text-card {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 18px 16px 20px;
    background: linear-gradient(180deg, rgba(255, 253, 247, 0.08) 0%, rgba(253, 248, 238, 0.16) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(212, 175, 55, 0.40);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  }

  .hero-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
    color: #FFB347;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.8);
  }

  .hero-title-main {
    font-size: 1.55rem;
    line-height: 1.22;
    margin-bottom: 4px;
    color: #FFFFFF;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.85);
  }

  .hero-title-sub {
    font-size: 0.90rem !important;
    margin-bottom: 6px !important;
    color: #FFD700 !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.95);
  }

  .hero-subhead {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #FDF9F3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.85);
    margin-bottom: 14px;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .hero-cta-group .btn-sacred-gold,
  .hero-cta-group .btn-sacred-maroon,
  .hero-cta-group .btn-sacred-outline {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.90rem;
  }
}

/* ====================================================
   5. KEY HIGHLIGHTS / QUICK SPIRITUAL PATH
==================================================== */
.section-padding {
  padding: 75px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-title-main {
  font-size: 2.35rem;
  color: var(--sacred-maroon);
  margin-bottom: 12px;
}

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

.highlight-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.sacred-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.sacred-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sacred-maroon), var(--imperial-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sacred-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 20px var(--imperial-gold-subtle);
  border-color: var(--imperial-gold);
  background: var(--bg-card-hover);
}

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

.card-icon-box {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(122, 28, 28, 0.08));
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--sacred-maroon);
  transition: all 0.3s ease;
}

.sacred-card:hover .card-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--sacred-maroon), var(--imperial-gold-dark));
  color: #FFF;
  box-shadow: 0 4px 16px var(--imperial-gold-glow);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--sacred-maroon);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====================================================
   6. INTRO & MISSION SECTION
==================================================== */
.intro-mission-section {
  background: linear-gradient(180deg, #F8F4EC 0%, #FFFDF9 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
}

.intro-image-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 2px solid var(--imperial-gold);
  box-shadow: var(--shadow-lg);
}

.intro-quote-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 18px 22px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--sacred-maroon);
  box-shadow: var(--shadow-md);
}

/* ====================================================
   11. SEVA INITIATIVES (OBJECT BASED)
==================================================== */
.seva-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.seva-card {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.seva-card-header {
  padding: 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(122, 28, 28, 0.05));
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  gap: 16px;
}

.seva-card-body {
  padding: 24px;
}

/* ====================================================
   12. MEMBERSHIP & VOLUNTEER REGISTRATION
==================================================== */
.registration-section {
  background: linear-gradient(135deg, #FAF6EE 0%, #F5EFE2 100%);
  border-top: 2px solid var(--imperial-gold);
  border-bottom: 2px solid var(--imperial-gold);
  position: relative;
}

.reg-card-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.reg-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 35px;
}

.reg-tab-btn {
  padding: 12px 30px;
  border-radius: var(--border-radius-pill);
  border: 2px solid var(--imperial-gold);
  background: transparent;
  color: var(--sacred-maroon);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reg-tab-btn.active,
.reg-tab-btn:hover {
  background: linear-gradient(135deg, var(--sacred-maroon), var(--sacred-maroon-dark));
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(122, 28, 28, 0.25);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label-custom {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sacred-maroon-dark);
}

.form-input-custom,
.form-select-custom,
.form-textarea-custom {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-pure-ivory);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input-custom:focus,
.form-select-custom:focus,
.form-textarea-custom:focus {
  outline: none;
  border-color: var(--sacred-maroon);
  box-shadow: 0 0 0 3px rgba(122, 28, 28, 0.12);
}

.fee-selection-box {
  background: var(--bg-parchment);
  border: 1px dashed var(--border-gold-strong);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin: 25px 0;
}

.fee-options-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.fee-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--border-radius-pill);
  padding: 10px 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--sacred-maroon);
  transition: all 0.2s ease;
}

.fee-option-label.active,
.fee-option-label:hover {
  background: var(--sacred-maroon);
  color: #FFF;
  border-color: var(--sacred-maroon);
}

/* ====================================================
   15. PRE-FOOTER STRIP (Trust & Governance — Luminous Sacred Theme)
==================================================== */
.pre-footer-governance-strip {
  background: linear-gradient(180deg, #FBF8F2 0%, #F5EFEB 50%, #EFE5DC 100%);
  color: var(--text-primary);
  padding: 80px 0;
  border-top: 3px solid var(--imperial-gold);
  border-bottom: 2px solid rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
}

.pre-footer-governance-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(122, 28, 28, 0.09) 0%, transparent 45%);
  pointer-events: none;
}

.governance-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.gov-title {
  color: var(--sacred-maroon);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 8px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.gov-text {
  color: #4A5568;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.gov-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Interactive Floating Pillar Card */
.gov-pillar-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 6px 18px rgba(122, 28, 28, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.gov-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--imperial-gold) 0%, var(--sacred-maroon) 100%);
  transition: width 0.25s ease;
}

.gov-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(122, 28, 28, 0.12);
  border-color: var(--imperial-gold);
}

.gov-pillar-card:hover::before {
  width: 6px;
}

.gov-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(122, 28, 28, 0.1) 0%, rgba(212, 175, 55, 0.15) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--sacred-maroon);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.gov-pillar-card:hover .gov-pillar-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--sacred-maroon) 0%, #4A0A0A 100%);
  color: #FFD700;
}

.gov-pillar-content h5 {
  color: var(--sacred-maroon);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gov-pillar-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.gov-pillar-content p {
  font-size: 0.90rem;
  color: #555E68;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 991px) {
  .governance-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gov-title {
    font-size: 1.7rem;
  }
}

/* ====================================================
   16. RICH SACRED FOOTER
==================================================== */
.site-footer-sacred {
  background-color: #171110;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 25px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 45px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: var(--imperial-gold-warm);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.footer-brand .footer-en-name {
  color: rgba(212, 175, 55, 0.85);
  font-family: var(--font-english-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-col-title {
  color: var(--imperial-gold-warm);
  font-size: 1.2rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--imperial-gold);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--imperial-gold-warm);
  padding-left: 6px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
  color: var(--imperial-gold-warm);
}

/* ====================================================
   POPUP GURU OVERLAY
==================================================== */
.guru-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 12, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.guru-modal-window {
  background: #FFF;
  border: 2px solid var(--imperial-gold);
  border-radius: var(--border-radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  animation: modal-enter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.guru-modal-header {
  background: linear-gradient(135deg, var(--sacred-maroon) 0%, var(--sacred-maroon-dark) 100%);
  color: #FFF;
  padding: 24px;
  text-align: center;
  position: relative;
}

.guru-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--imperial-gold-warm);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.guru-modal-body {
  padding: 30px;
}

/* 2026-11-17: "Request Guru Darshan" now opens the Samasya Samadhan service chooser */
.guru-modal-window:has(.guru-modal-services) {
  max-width: 760px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}
.guru-modal-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #2B0606; background: var(--imperial-gold-warm, #E8C766);
  border-radius: 999px; padding: 4px 12px;
}
.guru-modal-services { padding: 20px 22px 18px; overflow-y: auto; }
.guru-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guru-service-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 14px 12px; border-radius: 12px;
  border: 1px solid #EADBB8; background: #FFFCF5;
  text-decoration: none; color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.guru-service-card:hover, .guru-service-card:focus-visible {
  border-color: var(--imperial-gold, #D4AF37);
  box-shadow: 0 6px 18px rgba(122, 28, 28, 0.12);
  transform: translateY(-1px);
}
.guru-service-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(122, 28, 28, 0.08); color: var(--sacred-maroon, #7A1C1C); font-size: 1rem;
}
.guru-service-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.guru-service-title { font-weight: 700; font-size: 0.95rem; color: #2B1A10; line-height: 1.3; }
.guru-service-desc { font-size: 0.8rem; color: #6B5B4B; line-height: 1.45; }
.guru-service-fee {
  align-self: flex-start; margin-top: 4px;
  font-size: 0.72rem; font-weight: 700; color: #8A5A00;
  background: #FCEFD3; border-radius: 999px; padding: 2px 9px;
}
.guru-service-fee.is-free { color: #047857; background: #D1FAE5; }
.guru-service-arrow { color: #C9A84C; font-size: 0.75rem; margin-top: 4px; }
.guru-modal-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid #F0E3C4;
  font-size: 0.82rem; color: #6B5B4B;
}
.guru-modal-foot a { color: var(--sacred-maroon, #7A1C1C); font-weight: 700; text-decoration: none; }
@media (max-width: 640px) {
  .guru-service-grid { grid-template-columns: 1fr; }
  .guru-modal-backdrop { padding: 10px; }
  .guru-modal-header { padding: 18px 16px; }
  .guru-modal-header h3 { font-size: 1.2rem !important; }
}

/* ====================================================
   RESPONSIVE QUERIES
==================================================== */
@media (max-width: 992px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-col {
    padding-right: 0;
  }
  .hero-title-main {
    font-size: 2.3rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .governance-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links-list {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-title-main {
    font-size: 1.95rem;
  }
  .top-utility-inner {
    justify-content: center;
  }
  .top-contact-list {
    display: none;
  }
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr;
  }
  .reg-card-wrap {
    padding: 24px 18px;
  }
}

/* ====================================================
   GURU JI SACRED SLIDESHOW COMPONENT
==================================================== */
.guru-slideshow-container {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 3px solid var(--imperial-gold);
  box-shadow: 0 16px 40px rgba(35, 5, 5, 0.35);
  background: #180303;
  user-select: none;
}

.guru-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.guru-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.guru-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.guru-slide-bg {
  position: absolute;
  inset: -25px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.35) saturate(1.2);
  transform: scale(1.15);
  z-index: 1;
}

.guru-slide-img {
  position: relative;
  z-index: 2;
  max-width: 92%;
  max-height: 84%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.guru-slide.active .guru-slide-img {
  transform: scale(1.03);
}

.guru-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 40px 24px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 3, 3, 0.85) 50%, rgba(10, 1, 1, 0.98) 100%);
  text-align: center;
  color: #FFF;
}

.guru-slide-caption .slide-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--sunrise-saffron);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.guru-slide-caption h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFF2D6;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  font-family: var(--font-hindi-heading);
}

.guru-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(35, 5, 5, 0.7);
  border: 1.5px solid var(--imperial-gold);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.guru-slide-btn:hover {
  background: var(--sacred-maroon);
  color: #FFD700;
  border-color: #FFD700;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.7);
}

.guru-slide-btn.prev-btn {
  left: 14px;
}

.guru-slide-btn.next-btn {
  right: 14px;
}

.guru-slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  align-items: center;
}

.guru-slide-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--imperial-gold);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.guru-slide-dots .dot:hover {
  background: rgba(212, 175, 55, 0.7);
}

.guru-slide-dots .dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--imperial-gold-warm);
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.9);
}

.guru-slide-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.15);
}

.guru-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF7722, #D4AF37, #FFD700);
  transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .guru-slideshow-container {
    height: 400px;
  }
  .guru-slide-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .guru-slide-caption h4 {
    font-size: 0.92rem;
  }
}

/* ====================================================
   17. MEMBERSHIP HERO BANNER (Responsive Guru Ji Visibility)
==================================================== */
.membership-hero-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--imperial-gold);
  color: #FFFFFF;
  background-color: #1A0303;
  overflow: hidden;
}

/* Desktop / tablet: the WHOLE photo (full height, right-aligned) sits in its own layer, so
   Guru Ji at the far right of the photo is never cropped. Its left edge fades into the dark
   banner (mask), and a second layer darkens the text side for readability. */
@media (min-width: 769px) {
  .membership-hero-photo::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    aspect-ratio: 1376 / 768;
    max-width: 100%;
    background: url('../images/hero/membership_hero_desktop.jpg') right center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 38%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 38%);
    z-index: 1;
    pointer-events: none;
  }
  .membership-hero-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 3, 3, 0.9) 0%, rgba(26, 3, 3, 0.75) 35%, rgba(26, 3, 3, 0.25) 55%, rgba(26, 3, 3, 0) 70%);
    z-index: 2;
    pointer-events: none;
  }
}

.membership-hero-banner .hero-content-wrap {
  position: relative;
  z-index: 3;
  max-width: 660px;
  text-align: left;
  padding: 65px 0 55px;
}

.membership-hero-banner .membership-hero-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.membership-hero-banner .membership-hero-desc {
  font-size: 1.12rem;
  color: #F6EBD9;
  line-height: 1.75;
  margin-bottom: 20px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
  .membership-hero-banner {
    min-height: 380px;
  }
  .membership-hero-banner .hero-content-wrap {
    max-width: 540px;
    padding: 50px 0;
  }
  .membership-hero-banner .membership-hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .membership-hero-banner {
    /* Portrait photo at full width from the top, so Guru Ji's face is never under the text.
       The text starts just below his face (about 58% of the screen width down). */
    min-height: 0;
    align-items: flex-start;
    background-image:
      linear-gradient(180deg, rgba(26, 3, 3, 0) 0%, rgba(26, 3, 3, 0) 22%, rgba(26, 3, 3, 0.55) 42%, rgba(26, 3, 3, 0.9) 60%, rgba(26, 3, 3, 0.98) 100%),
      url('../images/hero/membership_hero_mobile.jpg');
    background-position: top center, top center;
    background-size: 100% 100%, 100% auto;
    background-repeat: no-repeat, no-repeat;
  }
  .membership-hero-banner .hero-content-wrap {
    max-width: 100%;
    text-align: center;
    padding: calc(58vw + 10px) 10px 35px;
  }
  .membership-hero-banner .membership-hero-title {
    font-size: 1.85rem;
  }
  .membership-hero-banner .membership-hero-desc {
    font-size: 1rem;
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   SACRED PAGE BANNER & BREADCRUMB CONTRAST SAFEGUARDS
   Prevents red-on-dark-red anchor contrast issues & decimal list styling
   ========================================================================== */
.page-banner-section {
  position: relative;
  overflow: hidden;
}

.page-banner-section a {
  color: #FCD34D !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.page-banner-section a:hover,
.page-banner-section a:focus {
  color: #FFFFFF !important;
  text-decoration: underline !important;
}

.sacred-breadcrumb-nav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 12px auto 0 !important;
}

.sacred-breadcrumb-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 6px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  background: rgba(15, 5, 5, 0.72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.sacred-breadcrumb-list li {
  list-style: none !important;
  list-style-type: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sacred-breadcrumb-list li::marker,
.sacred-breadcrumb-list li::before {
  display: none !important;
  content: "" !important;
}

.sacred-breadcrumb-list a {
  color: #FCD34D !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.sacred-breadcrumb-list a:hover {
  color: #FFFFFF !important;
}

.sacred-breadcrumb-list span[aria-current="page"] {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}

/* ==========================================================================
   GURU JI PHOTO THEME CTA STRIP & DARK CONTAINER CONTRAST SAFEGUARDS
   Enforces Guru Ji photo background, gold border, and high-contrast typography
   ========================================================================== */
.sacred-cta-strip,
.guru-theme-banner {
  background: linear-gradient(180deg, rgba(30, 5, 5, 0.80) 0%, rgba(65, 12, 12, 0.65) 50%, rgba(20, 3, 3, 0.90) 100%),
              url('../images/hero/guru_hero_poster.jpg') center 22% / cover no-repeat !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35) !important;
  color: #FFFFFF !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sacred-cta-strip h1, .sacred-cta-strip h2, .sacred-cta-strip h3, .sacred-cta-strip h4, .sacred-cta-strip h5, .sacred-cta-strip h6,
.guru-theme-banner h1, .guru-theme-banner h2, .guru-theme-banner h3, .guru-theme-banner h4, .guru-theme-banner h5, .guru-theme-banner h6 {
  color: #FFFFFF !important;
  font-family: var(--font-hindi-heading);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85) !important;
}

.sacred-cta-strip p,
.guru-theme-banner p {
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75) !important;
}

.sacred-cta-strip a,
.guru-theme-banner a {
  text-decoration: none;
}

/* ==========================================================================
   SADHANA MEGA MENU (PHASE 8 CMS ENGINE)
   4-Tier data-driven navigation: Head Category -> Subcategory -> Sadhana -> Antar
   ========================================================================== */
.main-nav-inner {
  position: relative;
}

.nav-item-dropdown.nav-item-mega {
  position: static;
}

.sadhana-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(145deg, #180303 0%, #290505 50%, #3B0808 100%);
  border: 1.5px solid var(--imperial-gold, #D4AF37);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.12);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(12px);
  z-index: 1000;
  box-sizing: border-box;
  white-space: normal !important;
}

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

.sadhana-mega-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  gap: 22px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: start;
}

.sadhana-mega-col-heading {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #FCD34D;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sadhana-mega-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sadhana-mega-cat-item {
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sadhana-mega-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  color: #F8ECD5;
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.sadhana-mega-cat-link .cat-link-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sadhana-mega-cat-link .cat-link-title i {
  color: var(--imperial-gold, #D4AF37);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.sadhana-mega-cat-link .cat-link-arrow {
  font-size: 0.72rem;
  color: rgba(212, 175, 55, 0.4);
  transition: transform 0.2s ease;
}

.sadhana-mega-cat-item:hover .sadhana-mega-cat-link,
.sadhana-mega-cat-item.active .sadhana-mega-cat-link {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFD700;
}

.sadhana-mega-cat-item:hover .cat-link-arrow,
.sadhana-mega-cat-item.active .cat-link-arrow {
  color: #FFD700;
  transform: translateX(3px);
}

/* 2026-11-16: grouped, one-line category list so the menu fits the screen */
.sadhana-mega-menu {
  max-height: calc(100vh - 230px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.35) transparent;
}
.sadhana-mega-cat-list { gap: 2px; }
.sadhana-mega-group-label {
  list-style: none;
  margin: 10px 0 3px;
  padding: 0 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252, 211, 77, 0.7);
}
.sadhana-mega-group-label:first-child { margin-top: 0; }
.sadhana-mega-cat-link { padding: 6px 10px; }
.sadhana-mega-cat-link .cat-link-title { gap: 0; min-width: 0; }
.sadhana-mega-cat-link .cat-link-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sadhana-mega-cat-link .desktop-sphere-icon-box {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
}

.sadhana-mega-all-link-wrap {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.sadhana-mega-all-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: #FCD34D;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sadhana-mega-all-btn:hover {
  background: var(--imperial-gold, #D4AF37);
  color: #1F2937;
}

/* Panels */
.sadhana-mega-col-content {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.sadhana-mega-panel {
  display: none;
  animation: megaFadeIn 0.2s ease forwards;
  min-width: 0;
}

.sadhana-mega-panel.active {
  display: block;
}

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

.sadhana-mega-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.sadhana-mega-panel-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px 0;
  font-family: var(--font-hindi-heading);
}

.sadhana-mega-panel-desc {
  font-size: 0.82rem;
  color: #D1D5DB;
  margin: 0;
  line-height: 1.45;
  max-width: 100%;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sadhana-mega-view-cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FCD34D;
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 12px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sadhana-mega-view-cat:hover {
  background: var(--imperial-gold, #D4AF37);
  color: #1F2937;
}

/* Subcategories Grid in Column 2 */
.sadhana-mega-subcats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
  box-sizing: border-box;
}

.sadhana-mega-subcats-grid::-webkit-scrollbar {
  width: 5px;
}
.sadhana-mega-subcats-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}
.sadhana-mega-subcats-grid::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 4px;
}
.sadhana-mega-subcats-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

.sadhana-mega-subgroup {
  background: rgba(18, 4, 4, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  padding: 12px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.03);
}

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

.sadhana-sub-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sadhana-sub-header-icon {
  color: var(--imperial-gold, #D4AF37);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sadhana-mega-sub-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
  min-width: 0;
  line-height: 1.3;
}

.sadhana-mega-sub-title a {
  color: #FCD34D;
  text-decoration: none;
  display: inline-block;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
}

.sadhana-mega-sub-title a:hover {
  color: #FFFFFF;
}

.sadhana-sub-counter {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(243, 244, 246, 0.7);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 2px 7px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Creative Sadhana Interactive Tabs in Column 2 */
.sadhana-mega-sadhana-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sadhana-mega-tab-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-left: 3px solid rgba(212, 175, 55, 0.4);
  border-radius: 6px;
  color: #F3F4F6;
  text-decoration: none;
  font-size: 0.81rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.sadhana-mega-tab-item:hover {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.06) 100%);
  border-color: rgba(212, 175, 55, 0.45);
  border-left-color: #FFD700;
  transform: translateX(4px);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.sadhana-tab-main {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.sadhana-tab-glyph {
  color: rgba(212, 175, 55, 0.6);
  font-size: 0.65rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.sadhana-mega-tab-item:hover .sadhana-tab-glyph {
  color: #FFD700;
  transform: scale(1.25);
}

.sadhana-tab-title {
  font-weight: 600;
  line-height: 1.35;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sadhana-tab-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sadhana-tab-video-badge {
  font-size: 0.72rem;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.15);
  padding: 2px 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sadhana-tab-arrow {
  font-size: 0.65rem;
  color: rgba(212, 175, 55, 0.35);
  transition: all 0.2s ease;
}

.sadhana-mega-tab-item:hover .sadhana-tab-arrow {
  color: #FFD700;
  transform: translateX(2px);
}

.sadhana-tab-empty {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #9CA3AF;
  padding: 6px 4px;
}

/* Spotlight column 3 & Overflow Safeguard */
.sadhana-mega-col-spotlight {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 280px;
  max-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.sadhana-mega-spotlight-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  white-space: normal !important;
}

.sadhana-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FCD34D;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sadhana-spotlight-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  font-family: var(--font-hindi-heading);
  white-space: normal !important;
  word-wrap: break-word;
}

.sadhana-spotlight-desc {
  font-size: 0.8rem;
  color: #D1D5DB;
  line-height: 1.45;
  margin: 0 0 12px 0;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sadhana-spotlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
  color: #1F2937;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sadhana-spotlight-btn:hover {
  filter: brightness(1.1);
  color: #000000;
}

/* Decoupled training box */
.sadhana-training-promo-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  white-space: normal !important;
}

.sadhana-training-promo-box .training-promo-icon {
  font-size: 1.1rem;
  color: #FCD34D;
  margin-top: 2px;
  flex-shrink: 0;
}

.sadhana-training-promo-box .training-promo-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
  white-space: normal !important;
  word-wrap: break-word;
}

.sadhana-training-promo-box .training-promo-text {
  font-size: 0.74rem;
  color: #D1D5DB;
  line-height: 1.4;
  margin: 0 0 6px 0;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sadhana-training-promo-box .training-promo-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FCD34D;
  text-decoration: none;
  display: inline-block;
}

.sadhana-training-promo-box .training-promo-link:hover {
  text-decoration: underline;
}

/* Mobile Sadhana Nested Accordion (Tier 2 -> Tier 3) */
.mobile-cat-item {
  margin-bottom: 4px;
}

.mobile-subcat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-subcat-row .mobile-sub-link {
  flex: 1;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-sub-accordion-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--sacred-maroon);
  font-size: 0.78rem;
  cursor: pointer;
  transition: transform 0.22s ease;
}

.has-sub-accordion.sub-accordion-open .mobile-sub-accordion-toggle {
  transform: rotate(180deg);
}

.mobile-sub-sub-menu {
  list-style: none;
  padding: 4px 0 6px 18px;
  margin: 0;
}

.mobile-sub-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 1.5px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 3px;
  transition: all 0.2s ease;
}

.mobile-sub-sub-link:hover {
  color: var(--sacred-maroon);
  background: var(--sacred-maroon-soft);
  border-left-color: var(--sacred-maroon);
}

.mobile-sub-sub-link.view-all-link {
  font-weight: 700;
  color: var(--sacred-maroon);
}

.mobile-sub-link.highlight-sadhana-all {
  border-left: 2px solid var(--imperial-gold);
  background: rgba(212, 175, 55, 0.12);
  color: var(--sacred-maroon) !important;
  font-weight: 700;
  margin-top: 6px;
}

/* Font Awesome Free compatibility alias: map fa-shield-check to verified user-check (\f4fc) */
.fa-shield-check:before,
.fa-shield-check::before {
  content: "\f4fc" !important;
}

/* ==========================================================================
   GET INVOLVED MEGA MENU (STRUCTURED PARALLEL TO SADHANA)
   3 Main Categories: Join Akhara (2 items) | Memberships (5 items) | Volunteers (4 items) + Spotlight
   ========================================================================== */
.getinvolved-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(145deg, #180303 0%, #290505 50%, #3B0808 100%);
  border: 1.5px solid var(--imperial-gold, #D4AF37);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.12);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(12px);
  z-index: 1000;
  box-sizing: border-box;
  white-space: normal !important;
}

.nav-item-dropdown.nav-item-getinvolved:hover .getinvolved-mega-menu,
.nav-item-dropdown.nav-item-getinvolved:focus-within .getinvolved-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.gi-mega-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 275px;
  gap: 22px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: start;
}

/* Category Sidebar */
.gi-mega-col-cats {
  border-right: 1px solid rgba(212, 175, 55, 0.2);
  padding-right: 16px;
}

.gi-mega-col-heading {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #FCD34D;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gi-mega-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gi-mega-cat-item {
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gi-mega-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  color: #F8ECD5;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
}

.gi-mega-cat-item:hover .gi-mega-cat-link,
.gi-mega-cat-item.active .gi-mega-cat-link {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFD700;
}

.gi-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gi-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.gi-mega-cat-item:hover .gi-cat-icon,
.gi-mega-cat-item.active .gi-cat-icon {
  background: #D4AF37;
  color: #1F0505;
}

.gi-cat-text {
  display: flex;
  flex-direction: column;
}

.gi-cat-name {
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.25;
}

.gi-cat-sub {
  font-size: 0.72rem;
  color: rgba(248, 236, 213, 0.65);
  margin-top: 2px;
}

.gi-cat-arrow {
  font-size: 0.72rem;
  color: rgba(212, 175, 55, 0.4);
  transition: transform 0.2s ease;
}

.gi-mega-cat-item:hover .gi-cat-arrow,
.gi-mega-cat-item.active .gi-cat-arrow {
  color: #FFD700;
  transform: translateX(3px);
}

.gi-mega-bottom-btn {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.gi-mega-login-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(122, 28, 28, 0.3) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  color: #FCD34D;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gi-mega-login-btn:hover {
  background: var(--imperial-gold, #D4AF37);
  color: #1F2937;
}

/* Panels */
.gi-mega-col-content {
  min-width: 0;
  max-width: 100%;
}

.gi-mega-panel {
  display: none;
  animation: megaFadeIn 0.2s ease forwards;
}

.gi-mega-panel.active {
  display: block;
}

.gi-panel-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.gi-panel-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}

.gi-panel-desc {
  font-size: 0.82rem;
  color: #D1D5DB;
  margin: 0;
  line-height: 1.45;
}

/* 2-Column Action Cards for Join Akhara Panel */
.gi-join-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gi-join-card {
  background: rgba(22, 4, 4, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.gi-join-card:hover {
  border-color: #D4AF37;
  transform: translateY(-2px);
  background: rgba(35, 6, 6, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.15);
}

.gi-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FCD34D;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 12px;
}

.gi-join-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(122, 28, 28, 0.4) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.gi-join-card-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.gi-join-card-text {
  color: #D1D5DB;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0 0 14px 0;
  flex: 1;
}

.gi-join-card-cta {
  color: #FCD34D;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.gi-join-card:hover .gi-join-card-cta {
  gap: 10px;
  color: #FFE680;
}

/* Service Item Links for Memberships and Volunteers */
.gi-service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gi-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: rgba(20, 4, 4, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gi-service-item:hover {
  background: rgba(35, 6, 6, 0.85);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateX(3px);
}

.gi-service-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gi-service-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.12);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.gi-service-item:hover .gi-service-icon {
  background: #D4AF37;
  color: #1F0505;
}

.gi-service-info {
  display: flex;
  flex-direction: column;
}

.gi-service-title {
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.gi-service-desc {
  color: #9CA3AF;
  font-size: 0.73rem;
  margin-top: 2px;
  line-height: 1.35;
}

.gi-service-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #FCD34D;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Right Spotlight Card */
.gi-mega-col-spotlight {
  border-left: 1px solid rgba(212, 175, 55, 0.2);
  padding-left: 18px;
}

.gi-spotlight-card {
  background: linear-gradient(135deg, rgba(35, 7, 7, 0.9) 0%, rgba(18, 3, 3, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

.gi-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FCD34D;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.gi-spotlight-title {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.gi-spotlight-desc {
  color: #D1D5DB;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.gi-spotlight-points {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gi-spotlight-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F8ECD5;
  font-size: 0.75rem;
}

.gi-spotlight-points li i {
  color: #10B981;
  font-size: 0.7rem;
}

.gi-spotlight-primary-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%);
  color: #1F0505;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  transition: all 0.2s;
  box-sizing: border-box;
}

.gi-spotlight-primary-btn:hover {
  background: #FFE680;
  transform: translateY(-1px);
}

.gi-spotlight-secondary-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  font-size: 0.74rem;
  color: #FCD34D;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.gi-spotlight-secondary-btn:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   SADHANA TRAINING MEGA MENU (3-COLUMN ARCHITECTURE WITH SADHANA VIDYA)
   Column 1 (25% Sidebar) | Column 2 (45% Dynamic Explore) | Column 3 (30% Featured)
   ========================================================================== */
.sadhana-training-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(145deg, #180303 0%, #290505 50%, #3B0808 100%);
  border: 1.5px solid var(--imperial-gold, #D4AF37);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.15);
  padding: 16px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(12px);
  z-index: 1000;
  box-sizing: border-box;
  white-space: normal !important;
  overflow: hidden;
}

.nav-item-dropdown.nav-item-sadhana-training:hover .sadhana-training-mega-menu,
.nav-item-dropdown.nav-item-sadhana-training:focus-within .sadhana-training-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.training-mega-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) 270px;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

/* COLUMN 1: Learning & Programs Sidebar */
.training-mega-col-cats {
  border-right: 1px solid rgba(212, 175, 55, 0.22);
  padding-right: 14px;
  display: flex;
  flex-direction: column;
}

.training-mega-col-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #FCD34D;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}

.training-mega-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.training-mega-cat-item {
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.training-mega-cat-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border-radius: 8px;
  color: #F8ECD5;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
}

.training-mega-cat-item:hover .training-mega-cat-link,
.training-mega-cat-item.active .training-mega-cat-link {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFD700;
}

.training-cat-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.training-mega-cat-item:hover .training-cat-icon,
.training-mega-cat-item.active .training-cat-icon {
  background: #D4AF37;
  color: #1F0505;
}

.training-cat-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.training-cat-name-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.training-cat-name {
  font-weight: 700;
  font-size: 0.81rem;
  line-height: 1.25;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.training-cat-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  margin-top: 1px;
}

.training-cat-sub {
  font-size: 0.65rem;
  color: rgba(248, 236, 213, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.training-cat-badge {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  line-height: 1.2;
}

.training-cat-arrow {
  font-size: 0.68rem;
  color: rgba(212, 175, 55, 0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.training-mega-cat-item:hover .training-cat-arrow,
.training-mega-cat-item.active .training-cat-arrow {
  color: #FFD700;
  transform: translateX(2px);
}

.training-mega-bottom-wrap {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.training-mega-all-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(122, 28, 28, 0.3) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 7px;
  color: #FCD34D;
  font-weight: 700;
  font-size: 0.76rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.training-mega-all-btn:hover {
  background: var(--imperial-gold, #D4AF37);
  color: #1F2937;
}

/* COLUMN 2: Dynamic Explore Panels */
.training-mega-col-explore {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.training-mega-panel {
  display: none;
  animation: megaFadeIn 0.2s ease forwards;
  height: 100%;
}

.training-mega-panel.active {
  display: flex;
  flex-direction: column;
}

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

.training-panel-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  font-family: var(--font-hindi-heading, serif);
}

.training-panel-desc {
  font-size: 0.74rem;
  color: #D1D5DB;
  margin: 0;
}

.training-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  flex: 1;
  align-items: stretch;
}

.training-card-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(20, 4, 4, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-height: 58px;
}

.training-card-item:hover {
  background: rgba(35, 6, 6, 0.9);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.training-card-icon {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.14);
  color: #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.80rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.training-card-item:hover .training-card-icon {
  background: #D4AF37;
  color: #1F0505;
}

.training-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.training-card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.training-card-title {
  color: #FFFFFF;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.28;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

.training-card-sub-badge {
  font-size: 0.56rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(212, 175, 55, 0.2);
  color: #FCD34D;
  border: 1px solid rgba(212, 175, 55, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}

.training-card-desc {
  color: #9CA3AF;
  font-size: 0.68rem;
  line-height: 1.32;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.training-panel-footer {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: flex-end;
}

.training-panel-view-all {
  color: #FCD34D;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.training-panel-view-all:hover {
  color: #FFFFFF;
  gap: 8px;
}

/* COLUMN 3: Featured Conversion Cards */
.training-mega-col-featured {
  border-left: 1px solid rgba(212, 175, 55, 0.22);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.training-featured-card {
  background: linear-gradient(135deg, rgba(35, 7, 7, 0.9) 0%, rgba(18, 3, 3, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.training-featured-image-wrap {
  position: relative;
  height: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #2D0505 0%, #150202 100%);
}

.training-featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.training-featured-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(20,2,2,0.85) 100%);
}

.training-featured-badge-top {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #991B1B;
  color: #FFFFFF;
  font-size: 0.60rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.training-featured-content {
  padding: 7px 9px;
  box-sizing: border-box;
}

.training-featured-title {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0 0 3px 0;
  line-height: 1.22;
  font-family: var(--font-hindi-heading, serif);
  overflow-wrap: break-word;
}

.training-featured-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 0.65rem;
  color: #F8ECD5;
  margin-bottom: 6px;
}

.training-featured-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.training-featured-primary-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 5px 8px;
  background: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%);
  color: #1F0505;
  font-weight: 800;
  font-size: 0.72rem;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
  transition: all 0.2s;
  box-sizing: border-box;
}

.training-featured-primary-btn:hover {
  background: #FFE680;
  transform: translateY(-1px);
}

/* Secondary Featured Cards in Column 3 */
.training-sub-featured-card {
  background: rgba(22, 4, 4, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 7px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.training-sub-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 1px;
}

.training-sub-card-title {
  color: #FFFFFF;
  font-size: 0.77rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  word-break: normal;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

.training-sub-card-badge {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(153, 27, 27, 0.7);
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  white-space: nowrap;
}

.training-sub-card-meta {
  font-size: 0.65rem;
  color: #D1D5DB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.training-sub-card-cta {
  font-size: 0.68rem;
  font-weight: 700;
  color: #FCD34D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.training-sub-card-cta:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

/* ====================================================
   PHASE 24: SPIRITUAL KNOWLEDGE HUB (AUTHENTIC SACRED THEME)
==================================================== */
.kh-hero-section {
  background: linear-gradient(135deg, #2B0808 0%, #150303 100%);
  color: #FFFFFF;
  padding: 65px 0 55px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--imperial-gold, #D4AF37);
}

.kh-hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.kh-hero-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 28, 28, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.kh-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 243, 199, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FCD34D;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.kh-hero-badge i {
  color: #FFD700;
}

.kh-stats-panel {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.kh-stats-panel:hover {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

.kh-stat-item {
  text-align: center;
  padding: 14px 10px;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.kh-stat-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.kh-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
  font-family: var(--font-hindi-heading, serif);
}

.kh-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Quick Navigation Bar */
.kh-subnav-strip {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 14px rgba(31, 3, 3, 0.03);
  position: sticky;
  top: 60px;
  z-index: 30;
  padding: 10px 0;
}

.kh-subnav-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.kh-subnav-scroll::-webkit-scrollbar {
  display: none;
}

.kh-subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  background: #FDFBF7;
  border: 1px solid rgba(212, 175, 55, 0.25);
  text-decoration: none;
  transition: all 0.25s ease;
}

.kh-subnav-pill:hover {
  background: #FEF3C7;
  color: #7A1C1C;
  border-color: #D4AF37;
  transform: translateY(-1px);
}

.kh-subnav-pill.active {
  background: linear-gradient(135deg, #7A1C1C 0%, #450A0A 100%);
  color: #FFFFFF;
  border-color: #7A1C1C;
  box-shadow: 0 4px 12px rgba(122, 28, 28, 0.25);
}

/* Category Grid Cards */
.kh-category-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kh-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--imperial-gold, #D4AF37);
  box-shadow: 0 14px 30px rgba(122, 28, 28, 0.12);
}

.kh-cat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7A1C1C 0%, #450A0A 100%);
  color: #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(122, 28, 28, 0.22);
  transition: transform 0.3s ease, background 0.3s ease;
}

.kh-category-card:hover .kh-cat-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #D4AF37 0%, #AA8010 100%);
  color: #150303;
}

/* Pillar Guide Cards */
.kh-pillar-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.kh-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--imperial-gold, #D4AF37);
  box-shadow: 0 16px 36px rgba(122, 28, 28, 0.12);
}

.kh-pillar-thumb {
  height: 210px;
  background: linear-gradient(135deg, #2B0808, #150303);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kh-pillar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kh-pillar-card:hover .kh-pillar-thumb img {
  transform: scale(1.06);
}

/* Shastric Article Rows */
.kh-article-row {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.kh-article-row:hover {
  border-color: var(--imperial-gold, #D4AF37);
  background: #FFFDF9;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(122, 28, 28, 0.08);
}

/* Sacred Vedic Glossary Cards */
.kh-glossary-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 22px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.kh-glossary-card:hover {
  border-color: var(--imperial-gold, #D4AF37);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(122, 28, 28, 0.08);
}

/* ==========================================================================
   RESOURCES MEGA MENU (3-COLUMN ARCHITECTURE: HYMNS, KNOWLEDGE, GLOSSARY, FAQS, DOWNLOADS)
   Column 1 (25% Sidebar) | Column 2 (45% Dynamic Explore) | Column 3 (30% Featured Spotlight)
   ========================================================================== */
.resources-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(145deg, #180303 0%, #290505 50%, #3B0808 100%);
  border: 1.5px solid var(--imperial-gold, #D4AF37);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.15);
  padding: 16px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(12px);
  z-index: 1000;
  box-sizing: border-box;
  white-space: normal !important;
  overflow: hidden;
}

.nav-item-dropdown.nav-item-resources:hover .resources-mega-menu,
.nav-item-dropdown.nav-item-resources:focus-within .resources-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.resources-mega-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) 270px;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

/* COLUMN 1: Resources Categories Sidebar */
.resources-mega-col-cats {
  border-right: 1px solid rgba(212, 175, 55, 0.22);
  padding-right: 14px;
  display: flex;
  flex-direction: column;
}

.resources-mega-col-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #FCD34D;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}

.resources-mega-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.resources-mega-cat-item {
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.resources-mega-cat-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border-radius: 8px;
  color: #F8ECD5;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
}

.resources-mega-cat-item:hover .resources-mega-cat-link,
.resources-mega-cat-item.active .resources-mega-cat-link {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.35);
  color: #FFD700;
}

.resources-cat-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.resources-mega-cat-item:hover .resources-cat-icon,
.resources-mega-cat-item.active .resources-cat-icon {
  background: #D4AF37;
  color: #1F0505;
}

.resources-cat-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.resources-cat-name-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.resources-cat-name {
  font-weight: 700;
  font-size: 0.81rem;
  line-height: 1.25;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.resources-cat-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  margin-top: 1px;
}

.resources-cat-sub {
  font-size: 0.65rem;
  color: rgba(248, 236, 213, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.resources-cat-badge {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  line-height: 1.2;
}

.resources-cat-arrow {
  font-size: 0.68rem;
  color: rgba(212, 175, 55, 0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.resources-mega-cat-item:hover .resources-cat-arrow,
.resources-mega-cat-item.active .resources-cat-arrow {
  color: #FFD700;
  transform: translateX(2px);
}

.resources-mega-bottom-wrap {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.resources-mega-all-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(122, 28, 28, 0.3) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 7px;
  color: #FCD34D;
  font-weight: 700;
  font-size: 0.76rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.resources-mega-all-btn:hover {
  background: var(--imperial-gold, #D4AF37);
  color: #1F2937;
}

/* COLUMN 2: Dynamic Explore Panels */
.resources-mega-col-explore {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.resources-mega-panel {
  display: none;
  animation: megaFadeIn 0.2s ease forwards;
  height: 100%;
}

.resources-mega-panel.active {
  display: flex;
  flex-direction: column;
}

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

.resources-panel-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  font-family: var(--font-hindi-heading, serif);
}

.resources-panel-desc {
  font-size: 0.74rem;
  color: #D1D5DB;
  margin: 0;
}

.resources-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
  flex: 1;
  align-content: start;
  align-items: stretch;
  max-height: 385px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.35) transparent;
}

.resources-panel-grid::-webkit-scrollbar {
  width: 4px;
}

.resources-panel-grid::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 4px;
}

.resources-card-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  background: rgba(20, 4, 4, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.18s ease;
  box-sizing: border-box;
  min-height: 38px;
}

.resources-card-item:hover {
  background: rgba(35, 6, 6, 0.9);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.resources-card-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(212, 175, 55, 0.14);
  color: #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.resources-card-item:hover .resources-card-icon {
  background: #D4AF37;
  color: #1F0505;
}

.resources-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.resources-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 1px;
}

.resources-card-title {
  color: #FFFFFF;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.resources-card-sub-badge {
  font-size: 0.52rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(212, 175, 55, 0.2);
  color: #FCD34D;
  border: 1px solid rgba(212, 175, 55, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.1;
}

.resources-card-desc {
  color: #9CA3AF;
  font-size: 0.62rem;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resources-panel-footer {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: flex-end;
}

.resources-panel-view-all {
  color: #FCD34D;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.resources-panel-view-all:hover {
  color: #FFFFFF;
  gap: 8px;
}

/* COLUMN 3: Featured Spotlight Card */
.resources-mega-col-featured {
  border-left: 1px solid rgba(212, 175, 55, 0.22);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.resources-featured-card {
  background: linear-gradient(135deg, rgba(35, 7, 7, 0.9) 0%, rgba(18, 3, 3, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.resources-featured-image-wrap {
  position: relative;
  height: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #2D0505 0%, #150202 100%);
}

.resources-featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resources-featured-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(20,2,2,0.85) 100%);
}

.resources-featured-badge-top {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.60rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.resources-featured-content {
  padding: 7px 9px;
  box-sizing: border-box;
}

.resources-featured-title {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0 0 3px 0;
  font-family: var(--font-hindi-heading, serif);
  line-height: 1.25;
}

.resources-featured-desc {
  font-size: 0.67rem;
  color: #D1D5DB;
  line-height: 1.32;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resources-featured-features {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.resources-featured-features span {
  font-size: 0.62rem;
  color: #FCD34D;
  display: flex;
  align-items: center;
  gap: 4px;
}

.resources-featured-primary-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 6px 10px;
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.74rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
  box-sizing: border-box;
}

.resources-featured-primary-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.resources-sub-featured-card {
  background: rgba(22, 4, 4, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 7px;
  padding: 6px 8px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.resources-sub-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 1px;
}

.resources-sub-card-title {
  color: #FFFFFF;
  font-size: 0.77rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  word-break: normal;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

.resources-sub-card-badge {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(217, 119, 6, 0.7);
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  white-space: nowrap;
}

.resources-sub-card-meta {
  font-size: 0.65rem;
  color: #D1D5DB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resources-sub-card-cta {
  font-size: 0.68rem;
  font-weight: 700;
  color: #FCD34D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.resources-sub-card-cta:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

/* ==========================================================================
   RESOURCES MEGA MENU ENHANCEMENTS: 3-SUB-SECTION GRID, POPULAR HYMNS, DISMISSAL & MOBILE
   ========================================================================== */

/* Mega Menu Dismissal on ESC / Click Outside */
.nav-item-dropdown.menu-dismissed .resources-mega-menu,
.nav-item-dropdown.menu-dismissed .sadhana-mega-menu,
.nav-item-dropdown.menu-dismissed .training-mega-menu,
.nav-item-dropdown.menu-dismissed .gi-mega-menu,
.nav-item-dropdown.menu-dismissed .nav-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
}

/* Column 2: 3-Sub-Section Grid for Chalisas, Stotras & Aartis */
.resources-chants-tri-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
}

.chants-tri-col {
  background: rgba(20, 4, 4, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

.chants-tri-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FCD34D;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-hindi-heading, serif);
  margin: 0;
}

.chants-tri-badge {
  font-size: 0.56rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  color: #FFFFFF;
}

.chants-tri-list {
  list-style: none;
  padding: 0 2px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.35) transparent;
}

.chants-tri-list::-webkit-scrollbar {
  width: 4px;
}

.chants-tri-list::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 4px;
}

.chants-tri-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 5px;
  border-radius: 4px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.chants-tri-item:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateX(2px);
}

.chants-tri-icon {
  font-size: 0.68rem;
  color: #D4AF37;
  flex-shrink: 0;
}

.chants-tri-name {
  font-size: 0.70rem;
  color: #E5E7EB;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.chants-tri-item:hover .chants-tri-name {
  color: #FFFFFF;
}

.chants-tri-footer {
  margin-top: 4px;
  padding-top: 3px;
  border-top: 1px dashed rgba(212, 175, 55, 0.15);
}

.chants-tri-view-all {
  font-size: 0.65rem;
  font-weight: 700;
  color: #FCD34D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.chants-tri-view-all:hover {
  color: #FFFFFF;
  gap: 5px;
}

/* Column 3: Popular Resources Box */
.resources-popular-box {
  background: rgba(20, 4, 4, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resources-popular-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.70rem;
  font-weight: 800;
  color: #FCD34D;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.resources-popular-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.resources-popular-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.resources-popular-link:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateX(2px);
}

.resources-popular-icon {
  font-size: 0.65rem;
  color: #D4AF37;
  flex-shrink: 0;
}

.resources-popular-name {
  font-size: 0.71rem;
  font-weight: 600;
  color: #F3F4F6;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resources-popular-badge {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(220, 38, 38, 0.25);
  color: #FCA5A5;
  border: 1px solid rgba(220, 38, 38, 0.4);
}

/* Mobile Drawer Resources Accordion Styling */
.mobile-cat-item.has-sub-accordion .mobile-sub-accordion-toggle {
  background: none;
  border: none;
  color: #D4AF37;
  font-size: 0.8rem;
  padding: 6px 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mobile-cat-item.has-sub-accordion.sub-accordion-open > .mobile-subcat-row .mobile-sub-accordion-toggle {
  transform: rotate(180deg);
}

.mobile-featured-resource-card {
  margin: 10px 0 6px 0;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(35, 7, 7, 0.95) 0%, rgba(18, 3, 3, 0.98) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
}

.mobile-featured-resource-card .mobile-featured-badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: #FCD34D;
  background: rgba(220, 38, 38, 0.4);
  border: 1px solid rgba(220, 38, 38, 0.6);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.mobile-featured-resource-card .mobile-featured-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 3px 0;
}

.mobile-featured-resource-card .mobile-featured-desc {
  font-size: 0.72rem;
  color: #D1D5DB;
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.mobile-featured-resource-card .mobile-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
}

/* ==========================================================================
   SACRED DEVOTIONAL PAGINATION (PREVENTS GIANT SVGS & PROVIDES ROYAL STYLING)
   ========================================================================== */
.sacred-pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 30px auto 20px auto;
}

.sacred-pagination-summary {
  font-size: 0.88rem;
  color: #6B7280;
  text-align: center;
}

.sacred-pagination-summary strong {
  color: #7A1C1C;
  font-weight: 700;
}

.sacred-pagination-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.sacred-page-item {
  display: inline-flex;
}

.sacred-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: #FFFDF9;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  color: #2D1408;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.sacred-page-link:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #D4AF37;
  color: #7A1C1C;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(122, 28, 28, 0.08);
}

.sacred-page-item.active .sacred-page-link {
  background: linear-gradient(135deg, #7A1C1C 0%, #450A0A 100%);
  border-color: #D4AF37;
  color: #FCD34D;
  box-shadow: 0 4px 12px rgba(122, 28, 28, 0.25);
}

.sacred-page-item.disabled .sacred-page-link {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: #F9F6F0;
  border-color: rgba(212, 175, 55, 0.2);
  color: #9CA3AF;
  box-shadow: none;
  transform: none;
}

.sacred-dots {
  border: none !important;
  background: transparent !important;
  color: #9CA3AF !important;
  min-width: 24px !important;
}

/* Defensive rule against any unstyled SVG pagination icons */
nav[role="navigation"] svg,
.pagination svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* -------------------------------------------------------------
   PHASE R15: PRINT STYLESHEET OPTIMIZATION (@media print)
   Ensures browser Ctrl+P and window.print() output is publication-grade
   ------------------------------------------------------------- */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 10pt;
    line-height: 1.5;
    background: #FFF !important;
    color: #1F0E0E !important;
    margin: 10mm !important;
    padding: 0 !important;
  }

  /* Hide interactive, navigational and floating elements */
  nav,
  header,
  footer,
  .site-header,
  .site-footer,
  .sacred-dock,
  .res-search-wrap,
  .downloads-filter-bar,
  .print-booklet-action-bar,
  .toolbar-action-btn,
  .copy-verse-btn,
  .audio-player-dock,
  .back-to-top,
  .cookie-consent,
  .btn,
  a[href^="#"],
  .no-print {
    display: none !important;
  }

  /* Ensure scripture text stays dark, crisp and centered */
  .verse-item-card,
  .study-unit {
    page-break-inside: avoid !important;
    border: 1px solid #CCC !important;
    margin-bottom: 12pt !important;
    padding: 8pt 12pt !important;
  }

  .verse-text-hi,
  .devanagari-box {
    color: #000 !important;
    font-size: 13pt !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
  }

  .verse-text-hinglish,
  .transliteration-box {
    font-size: 9pt !important;
    font-style: italic !important;
    color: #444 !important;
  }

  /* Page breaks */
  h1, h2, h3, .section-header {
    page-break-after: avoid !important;
  }

  /* Print Header & Colophon watermark */
  .res-hero-section {
    background: #FFF !important;
    border-bottom: 2px solid #000 !important;
    padding: 10pt 0 !important;
  }

  .res-hero-section h1 {
    color: #000 !important;
    font-size: 18pt !important;
  }
}


/* 2026-11-17: home "Discourses & Media" photo album card — never crop portraits */
.home-gallery-card { padding: 0 !important; overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.home-gallery-cover { position: relative; display: block; height: 260px; overflow: hidden; background: #2B0606; }
.home-gallery-cover-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) brightness(.55); }
.home-gallery-cover img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.home-gallery-count { position: absolute; z-index: 2; top: 10px; left: 10px; background: rgba(0,0,0,.75); color: #FFF; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.home-gallery-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.home-gallery-title { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.35; }
.home-gallery-desc { font-size: .88rem; color: #6B7280; line-height: 1.55; margin-bottom: 14px; flex-grow: 1; }
.home-gallery-btn { margin-top: auto; padding: 5px 16px; font-size: .85rem; align-self: flex-start; text-decoration: none; }
.home-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 2px 0 16px; max-width: 420px; }
.home-gallery-thumbs a { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; border: 1px solid #EADBB8; }
.home-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .25s ease; }
.home-gallery-thumbs a:hover img { transform: scale(1.06); }
/* Alone in the row: photo left, text right, sensible width */
.home-gallery-card.is-wide { flex-direction: row; max-width: 980px; margin: 0 auto; width: 100%; }
.home-gallery-card.is-wide .home-gallery-cover { flex: 0 0 44%; height: auto; min-height: 340px; }
.home-gallery-card.is-wide .home-gallery-body { padding: 28px 30px; justify-content: center; }
.home-gallery-card.is-wide .home-gallery-title { font-size: 1.4rem; }
.home-gallery-card.is-wide .home-gallery-desc { flex-grow: 0; font-size: .95rem; }
@media (max-width: 760px) {
  .home-gallery-card.is-wide { flex-direction: column; }
  .home-gallery-card.is-wide .home-gallery-cover { flex: none; height: 300px; min-height: 0; }
  .home-gallery-card.is-wide .home-gallery-body { padding: 20px; }
}
