:root {
  --primary-deep: #78350f; /* Deep amber / saffron-brown */
  --primary: #c2410c;      /* Sacred saffron orange */
  --primary-light: #ea580c;
  --secondary: #b45309;    /* Warm gold-ochre */
  --gold: #d97706;
  --gold-light: #fbbf24;
  --gold-glow: rgba(217, 119, 6, 0.25);
  --maroon: #831843;       /* Sacred deep crimson */
  --maroon-dark: #500724;
  
  --bg-sand: #fefce8;      /* Warm ivory-sand */
  --bg-parchment: #fffbeb; /* Cream parchment */
  --bg-card: #ffffff;
  --bg-card-subtle: #fdfaf0;
  
  --text-main: #1c1917;    /* Warm near-black */
  --text-muted: #57534e;   /* Gentle slate-brown */
  --text-light: #78716c;
  --text-gold: #b45309;
  
  --border-light: #f3e8d2;
  --border-gold: #e8d098;
  
  --shadow-sm: 0 2px 6px rgba(120, 53, 15, 0.06);
  --shadow-md: 0 8px 24px rgba(120, 53, 15, 0.08);
  --shadow-lg: 0 16px 36px rgba(120, 53, 15, 0.12);
  --shadow-gold: 0 10px 30px rgba(217, 119, 6, 0.2);
  
  --font-serif: 'Rozha One', 'Cinzel', 'Noto Serif Devanagari', 'Playfair Display', Georgia, serif;
  --font-heading: 'Cinzel', 'Noto Serif Devanagari', serif;
  --font-body: 'Mukta', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --primary-deep: #1e1208;
  --primary: #ea580c;
  --primary-light: #fb923c;
  --secondary: #f59e0b;
  --gold: #f59e0b;
  --gold-light: #fde047;
  --gold-glow: rgba(245, 158, 11, 0.3);
  --maroon: #9d174d;
  --maroon-dark: #370617;
  
  --bg-sand: #120e0a;
  --bg-parchment: #18130e;
  --bg-card: #201a14;
  --bg-card-subtle: #29221a;
  
  --text-main: #f5f5f4;
  --text-muted: #d6d3d1;
  --text-light: #a8a29e;
  --text-gold: #fbbf24;
  
  --border-light: #3d3124;
  --border-gold: #5e4726;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 30px rgba(245, 158, 11, 0.2);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-parchment);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background Mandala Watermark */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(217, 119, 6, 0.035) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(131, 24, 67, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* Typography Helpers & Devanagari Metrics */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.42; /* Ample breathing room for Devanagari vowel signs */
  letter-spacing: -0.01em;
}

.devanagari {
  font-family: 'Noto Serif Devanagari', 'Mukta', serif;
  line-height: 1.5;
}

.shloka-text {
  font-family: 'Noto Serif Devanagari', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--primary-deep);
  text-shadow: 0 1px 2px rgba(120, 53, 15, 0.08);
}

[data-theme="dark"] .shloka-text {
  color: var(--gold-light);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ====================================================
   TOP SACRED RIBBON
   ==================================================== */
.top-ribbon {
  background: linear-gradient(90deg, #500724 0%, var(--maroon) 25%, var(--primary) 50%, var(--secondary) 75%, #500724 100%);
  background-size: 200% auto;
  color: #fff;
  text-align: center;
  padding: 0.4rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.top-ribbon span.ribbon-ornament {
  color: var(--gold-light);
  font-size: 0.9rem;
}

.top-ribbon span.ribbon-sep {
  opacity: 0.4;
}

/* ====================================================
   NAVIGATION BAR WORKOUT
   ==================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 252, 240, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--border-gold);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(120, 53, 15, 0.05);
}

[data-theme="dark"] .navbar {
  background: rgba(20, 15, 11, 0.95);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(120, 53, 15, 0.12);
  background: rgba(255, 252, 240, 0.98);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(18, 14, 10, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 1rem;
  max-width: 1560px;
  margin: 0 auto;
  gap: 0.5rem;
}

/* Brand & Sacred Seal */
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-icon-wrap {
  position: relative;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--primary), var(--maroon));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);
  border: 2px solid #fff;
  transition: var(--transition);
}

.brand:hover .brand-icon {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 5px 14px rgba(217, 119, 6, 0.5);
}

.brand-text h1 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
  margin-bottom: 0px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-short {
  display: none;
}

[data-theme="dark"] .brand-text h1 {
  color: var(--gold-light);
}

.brand-tag-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-text span.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-tag-badge {
  background: rgba(194, 65, 12, 0.1);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.08rem 0.4rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

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

.nav-icon-mobile {
  display: none; /* Hidden on desktop for compact clean layout */
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  transition: var(--transition);
  padding: 0.28rem 0.44rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(194, 65, 12, 0.08);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(194, 65, 12, 0.12);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-only-header {
  display: none !important;
}

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

/* Nav Actions & Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nav-ctrl-group {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(217, 119, 6, 0.06);
  padding: 0.12rem 0.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.btn-control {
  background: transparent;
  border: none;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  padding: 0.26rem 0.44rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-control:hover {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-control.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.3);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.admin-nav-pill {
  background: rgba(131, 24, 67, 0.09);
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  border-radius: var(--radius-full);
  padding: 0.28rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
  white-space: nowrap;
}

.admin-nav-pill:hover {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 4px 14px rgba(131, 24, 67, 0.25);
  transform: translateY(-2px);
}

[data-theme="dark"] .admin-nav-pill {
  background: rgba(244, 114, 182, 0.15);
  border-color: #f472b6;
  color: #fbcfe8;
}

[data-theme="dark"] .admin-nav-pill:hover {
  background: #f472b6;
  color: #000;
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 3px 10px rgba(194, 65, 12, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(194, 65, 12, 0.4);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.65rem;
  font-size: 1.35rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Backdrop for mobile drawer */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(254, 252, 232, 0.9) 0%, rgba(255, 251, 235, 0.6) 100%);
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: linear-gradient(180deg, rgba(32, 26, 20, 0.9) 0%, rgba(24, 19, 14, 0.95) 100%);
}

.hero-pattern {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 450px;
  height: 450px;
  opacity: 0.07;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary-deep);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

[data-theme="dark"] .hero-badge {
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.15);
}

.hero-shloka {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-left: 5px solid var(--gold);
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.6rem;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.08);
  position: relative;
  background-image: radial-gradient(circle at 100% 0%, rgba(217, 119, 6, 0.05) 0%, transparent 60%);
}

.hero-shloka::before {
  content: '“';
  position: absolute;
  top: -8px;
  right: 18px;
  font-size: 3.5rem;
  font-family: Georgia, serif;
  color: var(--gold-light);
  opacity: 0.25;
  line-height: 1;
  pointer-events: none;
}

.hero-shloka p {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.75;
}

.hero-shloka span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.4rem;
  font-style: normal;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.35rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--primary-deep) 35%, var(--primary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(120, 53, 15, 0.08));
  letter-spacing: -0.015em;
}

[data-theme="dark"] .hero-title {
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 35%, #fb923c 70%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 620px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.28);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(194, 65, 12, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-gold);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

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

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px dashed var(--border-gold);
  padding-top: 1.8rem;
}

.stat-item h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Hero Visual / Avatar Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
  max-width: 420px;
  text-align: center;
  overflow: hidden;
}

.avatar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--maroon));
}

.avatar-img-wrap {
  position: relative;
  width: 230px;
  height: 230px;
  margin: 0.5rem auto 1.5rem;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--primary), var(--maroon));
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.35);
  transition: transform 0.3s ease;
}

.avatar-card:hover .avatar-img-wrap {
  transform: scale(1.02);
  box-shadow: 0 14px 36px rgba(217, 119, 6, 0.45);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 3px solid #fff;
}

[data-theme="dark"] .avatar-img {
  border-color: #29221a;
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Perfectly frames face, tilak, and auspicious garlands */
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.avatar-card:hover .avatar-photo {
  transform: scale(1.06);
}

.avatar-placeholder-svg {
  width: 100%;
  height: 100%;
}

.avatar-badge-float {
  position: absolute;
  bottom: 0px;
  right: 10px;
  background: var(--maroon);
  color: #fff;
  border: 2px solid #fff;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.avatar-card h4 {
  font-size: 1.25rem;
  color: var(--primary-deep);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .avatar-card h4 {
  color: var(--gold-light);
}

.avatar-card .role-title {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.avatar-card .affiliations {
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  text-align: left;
  margin-top: 1rem;
  border: 1px solid var(--border-light);
}

.affiliation-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

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

.affiliation-row svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Floating Audio Player Pill */
.ambient-player-pill {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
}

.ambient-player-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.sound-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}

.sound-wave-bar {
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.ambient-player-pill.playing .sound-wave-bar:nth-child(1) { animation: wave 1s infinite alternate; }
.ambient-player-pill.playing .sound-wave-bar:nth-child(2) { animation: wave 1.2s infinite alternate 0.2s; }
.ambient-player-pill.playing .sound-wave-bar:nth-child(3) { animation: wave 0.8s infinite alternate 0.4s; }
.ambient-player-pill.playing .sound-wave-bar:nth-child(4) { animation: wave 1.4s infinite alternate 0.1s; }

@keyframes wave {
  0% { height: 4px; }
  100% { height: 18px; }
}

.ambient-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.ambient-text small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: normal;
}

/* Section Header Component Workout */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.8rem;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(194, 65, 12, 0.06));
  border: 1px solid var(--border-gold);
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}

[data-theme="dark"] .section-tag {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.65rem);
  color: var(--primary-deep);
  margin-bottom: 0.6rem;
  line-height: 1.36;
  font-weight: 800;
  letter-spacing: -0.01em;
}

[data-theme="dark"] .section-title {
  color: #fef08a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0.85rem auto 1.25rem;
  max-width: 320px;
}

.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-divider span {
  color: var(--gold);
  font-size: 1.25rem;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.3));
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-divider span::before, .section-divider span::after {
  content: '◈';
  font-size: 0.65rem;
  opacity: 0.7;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* About / Parichaya Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.feature-box h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature-box p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Lineage & Tradition Card */
.tradition-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-subtle));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.tradition-card h3 {
  color: var(--maroon);
  font-size: 1.45rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

[data-theme="dark"] .tradition-card h3 {
  color: #fecdd3;
}

.tradition-list {
  list-style: none;
}

.tradition-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.tradition-item:last-child {
  margin-bottom: 0;
}

.tradition-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-glow);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.tradition-content h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.tradition-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Publications Grid */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.2);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

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

.book-header {
  padding: 1.75rem 1.5rem 1rem;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(131, 24, 67, 0.04) 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.book-cover-mini {
  width: 64px;
  height: 88px;
  background: linear-gradient(135deg, var(--maroon), var(--primary-deep));
  border-radius: 4px;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 4px;
  text-align: center;
  flex-shrink: 0;
  border-left: 3px solid var(--gold-light);
}

.book-cover-mini span {
  font-size: 0.55rem;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.book-meta {
  flex-grow: 1;
}

.book-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
}

.book-title {
  font-size: 1.25rem;
  color: var(--text-main);
  margin: 0.2rem 0;
  line-height: 1.3;
}

.book-body {
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.book-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.book-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
  padding: 0.4rem 0;
  border-top: 1px dashed var(--border-light);
}

.book-spec-row strong {
  color: var(--text-main);
}

.book-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-book-action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.btn-book-action:hover {
  color: var(--primary-deep);
  transform: translateX(3px);
}

/* Dynamic Upcoming Katha Schedule Section */
.events-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.event-card-header {
  padding: 1.4rem 1.5rem 1rem;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(131, 24, 67, 0.03) 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.event-badge-status {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-badge-status.upcoming { background: #ede9fe; color: #5b21b6; }
.event-badge-status.ongoing { background: #fef3c7; color: #92400e; }
.event-badge-status.completed { background: #f3f4f6; color: #4b5563; }

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

.event-type-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
  display: block;
}

.event-title {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

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

.event-info-list {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-light);
  padding-top: 1rem;
}

.event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.event-info-item:last-child {
  margin-bottom: 0;
}

.event-info-item svg, .event-info-item span.icon {
  color: var(--gold);
  flex-shrink: 0;
}

.event-card-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-nav-pill {
  background: rgba(131, 24, 67, 0.08);
  border: 1px solid var(--maroon);
  color: var(--maroon);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.admin-nav-pill:hover {
  background: var(--maroon);
  color: #fff;
  transform: translateY(-2px);
}

[data-theme="dark"] .admin-nav-pill {
  background: rgba(157, 23, 77, 0.2);
  border-color: #f472b6;
  color: #fbcfe8;
}

/* Modal Popup for Book Details */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2.2rem;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: #fff;
}

/* Services / Katha Anushthan Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover::before {
  width: 8px;
  background: var(--primary);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-highlights {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-highlights li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-highlights li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* Daily Subhashita / Shloka Widget */
.shloka-banner-wrap {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.shloka-banner-wrap::before {
  content: '🕉️';
  position: absolute;
  right: 2rem;
  bottom: -2rem;
  font-size: 10rem;
  opacity: 0.08;
  pointer-events: none;
}

.shloka-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.8rem;
}

.shloka-tag {
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.shloka-actions {
  display: flex;
  gap: 0.6rem;
}

.btn-shloka {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-shloka:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.shloka-verse {
  font-size: 1.35rem;
  font-family: 'Noto Serif Devanagari', serif;
  line-height: 1.9;
  text-align: center;
  margin: 1.5rem 0;
  color: #fef08a;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.shloka-meaning {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.shloka-meaning h5 {
  font-size: 0.85rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.shloka-meaning p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f5f5f4;
  margin: 0;
}

/* Sacred Locations (Vrindavan & Nepal) */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.location-header {
  padding: 1.75rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(131, 24, 67, 0.05));
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.location-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.location-header span {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.location-body {
  padding: 1.5rem 1.75rem;
}

.location-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.location-points {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.location-points li {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.location-points li::before {
  content: '🪷';
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Contact & Katha Booking Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-info h3 {
  font-size: 1.6rem;
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

[data-theme="dark"] .contact-info h3 {
  color: var(--gold-light);
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-detail-text h5 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
}

.contact-detail-text a:hover {
  color: var(--primary);
}

.whatsapp-fast-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

[data-theme="dark"] .whatsapp-fast-card {
  background: rgba(22, 101, 52, 0.2);
  border-color: #166534;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background: #1eb857;
  transform: translateY(-2px);
}

/* Form Styles */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}

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

.form-submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.25);
  transition: var(--transition);
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.35);
}

/* Footer */
.footer {
  background: var(--primary-deep);
  color: #f5f5f4;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--gold);
  position: relative;
}

[data-theme="dark"] .footer {
  background: #100b07;
  border-top-color: var(--gold);
}

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

.footer-brand h3 {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #d6d3d1;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-links h4, .footer-col h4 {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #d6d3d1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

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

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--maroon);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .avatar-card {
    max-width: 360px;
    margin: 0 auto;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive Breakpoints & Mobile Drawer */
@media (max-width: 1360px) {
  .brand-text span.brand-subtitle,
  .brand-tag-badge {
    display: none;
  }
  .nav-ctrl-group .btn-lbl-text {
    display: none;
  }
}

@media (max-width: 1220px) {
  .admin-nav-pill .btn-lbl-text {
    display: none;
  }
  .nav-link {
    padding: 0.25rem 0.36rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 1140px) {
  html, body { overflow-x: clip; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, calc(100vw - 24px));
    height: 100dvh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.25rem 1.1rem 1.5rem;
    gap: 0.6rem;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0.28s;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    z-index: 1002;
    align-items: stretch;
    border-left: 2px solid var(--border-gold);
  }

  .nav-icon-mobile {
    display: inline-block !important;
    margin-right: 0.4rem;
  }

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

  .nav-menu .nav-link {
    display: flex;
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 0.9rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border-bottom: 1px solid var(--border-light);
  }

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

  .nav-menu .nav-link.active {
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.15), rgba(217, 119, 6, 0.08));
    border-color: var(--border-gold);
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-cta-group {
    display: none; /* Accessible inside mobile drawer or hero */
  }

  .mobile-only-header {
    display: flex !important;
  }

  .mobile-drawer-footer {
    display: flex !important;
    margin-top: auto;
    padding-top: 1.5rem;
    flex-direction: column;
    gap: 0.8rem;
  }
}

@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .avatar-card {
    max-width: 360px;
    margin: 0 auto;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-ribbon {
    font-size: 0.74rem;
    padding: 0.35rem 0.5rem;
    gap: 0.5rem;
  }
  
  .top-ribbon span.ribbon-hide-mobile {
    display: none;
  }

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

  .section-title {
    font-size: 1.85rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    padding: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   SPIRITUAL ARTICLES & BLOG SECTION
   ==================================================== */
.blog-controls-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  padding: 0.9rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-cat-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.blog-cat-btn:hover {
  background: rgba(194, 65, 12, 0.08);
  color: var(--primary);
  border-color: var(--primary);
}

.blog-cat-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.3);
}

.blog-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-parchment);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  min-width: 270px;
  transition: var(--transition);
}

.blog-search-box:focus-within {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}

.blog-search-icon {
  font-size: 0.95rem;
  color: var(--text-light);
}

.blog-search-box input {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-main);
  width: 100%;
}

.blog-search-box button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.1rem 0.3rem;
}

/* Articles Grid */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.85rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(120, 53, 15, 0.12);
  border-color: var(--primary);
}

.blog-card-header {
  height: 120px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(194, 65, 12, 0.12), rgba(131, 24, 67, 0.16));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}

.blog-card-icon {
  font-size: 3.2rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-icon {
  transform: scale(1.12) rotate(5deg);
}

.blog-card-meta-float {
  position: absolute;
  bottom: 0.65rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-badge-cat {
  background: var(--bg-card);
  color: var(--primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.18rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.blog-badge-time {
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  padding: 0.18rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.55rem;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--primary-deep);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

[data-theme="dark"] .blog-card-title {
  color: var(--gold-light);
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-light);
}

.blog-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.blog-tag-pill {
  font-size: 0.72rem;
  color: var(--text-light);
  background: var(--bg-parchment);
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.btn-read-blog {
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
  font-family: inherit;
}

.btn-read-blog:hover {
  color: var(--maroon);
  transform: translateX(4px);
}

/* Article Reader Modal */
.article-modal-box {
  max-width: 820px !important;
  width: 95% !important;
  max-height: 92vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  border: 2px solid var(--border-gold) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
}

.article-modal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-card);
}

.article-modal-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.article-cat-badge {
  background: rgba(194, 65, 12, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(194, 65, 12, 0.2);
}

.article-read-badge, .article-date-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-modal-scroll {
  padding: 2rem 2.25rem;
  overflow-y: auto;
  line-height: 1.85;
  color: var(--text-main);
}

.article-modal-scroll h1 {
  font-size: 1.65rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--primary-deep);
}

[data-theme="dark"] .article-modal-scroll h1 {
  color: var(--gold-light);
}

.article-author-byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--border-gold);
}

.article-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
}

.article-author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-deep);
}

[data-theme="dark"] .article-author-info strong {
  color: var(--gold-light);
}

.article-author-info span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.article-content-body p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  text-align: justify;
}

.verse-callout {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(194, 65, 12, 0.06));
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.1rem 1.5rem;
  margin: 1.5rem 0;
  font-family: 'Noto Serif Devanagari', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--primary-deep);
}

[data-theme="dark"] .verse-callout {
  color: var(--gold-light);
  background: rgba(217, 119, 6, 0.1);
}

.article-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.6rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.8rem;
}

.article-share-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-art-action {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border-gold);
  background: var(--bg-parchment);
  color: var(--text-main);
  transition: var(--transition);
}

.btn-art-wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-art-wa:hover {
  background: #1eb857;
  transform: translateY(-1px);
}

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

.btn-art-close {
  background: var(--text-muted);
  color: #fff;
  border: none;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-art-close:hover {
  background: var(--primary);
}

@media (max-width: 768px) {
  .blog-controls-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search-box {
    width: 100%;
  }
  .blogs-grid {
    grid-template-columns: 1fr;
  }
  .article-modal-scroll {
    padding: 1.4rem;
  }
  .article-modal-scroll h1 {
    font-size: 1.35rem;
  }
}

/* Phone-first reading and booking layout */
@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  .top-ribbon { display: none; }
  .navbar { position: sticky; top: 0; }
  .nav-container { min-height: 64px; padding: 0.4rem 0.85rem; gap: 0.3rem; }
  .brand { min-width: 0; gap: 0.45rem; }
  .brand-icon-wrap { flex-shrink: 0; }
  .brand-text { min-width: 0; }
  .brand-text h1, .brand-tag-row { display: none; }
  .brand-short { display: block; font-size: 1rem; font-weight: 800; line-height: 1.3; color: var(--primary-deep); white-space: nowrap; }
  [data-theme="dark"] .brand-short { color: var(--gold-light); }
  .nav-ctrl-group { background: transparent; border: 0; padding: 0; gap: 0; }
  .btn-control { min-width: 42px; min-height: 44px; justify-content: center; font-size: 1rem; }
  #navAudioToggle { display: none; }
  .mobile-toggle { width: 44px; height: 44px; flex-shrink: 0; }
  .mobile-only-header { min-height: 48px; align-items: center; justify-content: space-between; }
  #mobileDrawerClose { min-width: 44px; min-height: 44px; }

  .hero { padding: 1.5rem 0 2.25rem; }
  .hero-grid { display: flex; flex-direction: column; gap: 1.6rem; align-items: stretch; }
  .hero-content { order: 0; min-width: 0; }
  .hero-visual { order: 1; }
  .hero-badge-wrap { margin-bottom: 0.65rem; }
  .hero-badge { font-size: 0.76rem; padding: 0.25rem 0.65rem; }
  .hero-badge:not(:first-child), .hero-shloka { display: none; }
  .hero-title { font-size: clamp(1.85rem, 7.6vw, 2.35rem); line-height: 1.23; margin-bottom: 0.5rem; }
  .hero-subtitle { font-size: 1.02rem; line-height: 1.35; margin-bottom: 0.65rem; align-items: flex-start; }
  .hero-desc { font-size: 0.95rem; line-height: 1.55; margin-bottom: 1rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin-bottom: 1.2rem; }
  .hero-actions a { min-height: 48px; justify-content: center; text-align: center; padding: 0.65rem 1rem; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; padding-top: 0.9rem; }
  .stat-item h3 { font-size: 1.05rem; }
  .stat-item p { font-size: 0.7rem; line-height: 1.3; }
  .avatar-card { max-width: none; padding: 1rem; }
  .avatar-img-wrap { width: 128px; height: 128px; margin: 0 auto 0.8rem; }
  .avatar-card h4 { font-size: 1rem; }
  .avatar-card .role-title { margin-bottom: 0; font-size: 0.82rem; }
  .avatar-card .affiliations { display: none; }

  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 1.65rem; }
  .section-tag { font-size: 0.72rem; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
  .section-title { font-size: clamp(1.55rem, 6vw, 2rem); }
  .section-subtitle { font-size: 0.94rem; line-height: 1.55; }
  .section-divider { margin: 0.45rem auto 0.7rem; }
  .books-grid, .blogs-grid, .services-grid { grid-template-columns: minmax(0, 1fr); }
  .about-features { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .filter-tabs { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }

  .contact-wrapper { display: flex; flex-direction: column; gap: 2rem; padding: 1.2rem; }
  .booking-form-wrap { order: 0; min-width: 0; }
  .contact-info { order: 1; min-width: 0; border-top: 1px solid var(--border-light); padding-top: 1.5rem; }
  .booking-form { gap: 0.9rem; }
  .form-group-row { gap: 0.9rem; }
  .form-control { min-height: 48px; font-size: 1rem; }
  .form-submit-btn { width: 100%; min-height: 50px; }
  .contact-detail-item { gap: 0.75rem; }
  .whatsapp-fast-card { padding: 0.9rem; }

  .ambient-player-pill { width: 48px; height: 48px; padding: 0; justify-content: center; bottom: max(0.85rem, env(safe-area-inset-bottom)); right: 0.85rem; }
  .ambient-text { display: none; }
  .ambient-player-pill:focus-visible, .mobile-toggle:focus-visible, .btn-control:focus-visible, .nav-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
}

@media (max-width: 360px) {
  .nav-container { padding-inline: 0.55rem; }
  .brand-short { font-size: 0.88rem; }
  .brand-icon-wrap { transform: scale(0.88); transform-origin: left center; }
  .hero-title { font-size: 1.85rem; }
  .stat-item p { font-size: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu, .nav-backdrop, .ambient-player-pill { transition: none; }
  .sound-wave-bar { animation: none !important; }
}


