/* ==========================================================================
   Vedic Poojan & Jyotish Platform - Premium Spiritual Design System
   Pure CSS3 | Zero External Frameworks | Responsive 320px - 1920px
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Serif+Devanagari:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* ========================================================================
     STRICT COLOR PALETTE
     Warm Saffron:      #E65100 (Primary CTAs, Book Now, Schedule Puja, Key Accents)
     Royal Maroon:      #4A0E17 (Header, Navigation, Footer, Structural Elements)
     Sacred Gold:       #D4AF37 (Icons, Ratings/Stars, Testimonial Borders, Dividers, Badges)
     Soft Almond/Ivory: #FDFBF7 (Light Backgrounds, Neutral Containers)
     Deep Charcoal:     #2D2D2D (Body Text, Descriptions, Bio Text, Details, Pricing)
     ======================================================================== */
  --saffron: #E65100;
  --saffron-hover: #BF4300;
  --saffron-active: #A03800;
  --saffron-soft: rgba(230, 81, 0, 0.15);

  --maroon: #4A0E17;
  --maroon-dark: #32080E;
  --maroon-light: #5E1420;
  --maroon-ultra-dark: #24070B;

  --gold: #D4AF37;
  --gold-light: #F7E7A8;
  --gold-dark: #B38E22;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --gold-border: rgba(212, 175, 55, 0.35);

  --ivory: #FDFBF7;
  --cream: #F8F4EC;
  --card-bg: #FFFFFF;

  --charcoal: #2D2D2D;
  --charcoal-muted: #555555;
  --charcoal-light: #777777;

  /* Semantic Bindings */
  --primary: #4A0E17;                /* Royal Maroon */
  --primary-dark: #32080E;
  --primary-light: #5E1420;
  --primary-ultra-dark: #24070B;

  --secondary: #E65100;              /* Warm Saffron */
  --secondary-light: #FF7D3B;
  --secondary-dark: #BF4300;

  --accent-gold: #D4AF37;            /* Sacred Gold */
  --accent-gold-soft: rgba(212, 175, 55, 0.15);
  --trust-navy: #4A0E17;
  --trust-navy-light: #5E1420;

  --bg-sand: #FDFBF7;                /* Soft Almond / Ivory */
  --bg-cream: #F8F4EC;
  --bg-card: #FFFFFF;
  --bg-alt: #F8F4EC;

  --text-main: #2D2D2D;              /* Deep Charcoal */
  --text-muted: #555555;
  --text-light: #777777;
  --text-white: #FFFFFF;

  --border-light: rgba(212, 175, 55, 0.25);
  --border-subtle: #E8DFC8;

  /* Typography */
  --font-heading: 'Noto Serif Devanagari', 'Playfair Display', Georgia, serif;
  --font-body: 'Noto Sans Devanagari', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(74, 14, 23, 0.05);
  --shadow-md: 0 6px 20px rgba(74, 14, 23, 0.08);
  --shadow-lg: 0 12px 35px rgba(74, 14, 23, 0.12);
  --shadow-glow: 0 0 22px rgba(212, 175, 55, 0.3);

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 1320px;
  --header-h: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-sand);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  padding-bottom: 70px; /* Space for mobile sticky CTA bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--primary);
  font-weight: 700;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 20px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 575px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: #32080E;
  color: var(--ivory);
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 8px 0;
  overflow: hidden;
  width: 100%;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-width: 0;
}

.top-announcement {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
  color: var(--ivory);
}

.top-announcement img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.5));
}

.top-announcement span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ivory);
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--trans-fast);
}

.top-link:hover {
  color: var(--gold);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-btn {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ivory);
  white-space: nowrap;
  transition: all var(--trans-fast);
}

.lang-btn.active {
  background: var(--saffron);
  color: #fff;
}

@media (max-width: 767px) {
  .top-bar {
    padding: 5px 0;
  }
  .top-announcement {
    display: none;
  }
  .top-contacts {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .top-link {
    font-size: 0.78rem;
  }
  .lang-switch {
    font-size: 0.72rem;
    padding: 2px 6px;
  }
}

/* --------------------------------------------------------------------------
   Sticky Main Header & Navigation
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #4A0E17; /* Royal Maroon */
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  transition: all var(--trans-normal);
  width: 100%;
}

.main-header.scrolled {
  background: rgba(74, 14, 23, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(212, 175, 55, 0.4);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height var(--trans-fast);
  gap: 12px;
}

.main-header.scrolled .container {
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-icon:hover {
  transform: scale(1.05);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 1.2vw, 1.25rem);
  font-weight: 700;
  color: var(--ivory); /* Soft Almond / Ivory */
  line-height: 1.15;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: clamp(0.68rem, 0.72vw, 0.75rem);
  color: var(--gold); /* Sacred Gold */
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

/* Compact Desktop Screens (1200px - 1279px) */
@media (min-width: 1200px) and (max-width: 1279px) {
  .brand-subtitle {
    display: none;
  }
}

/* Mobile & Small Tablet Screens (< 576px) */
@media (max-width: 575px) {
  .brand-icon {
    width: 35px;
    height: 35px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-title {
    font-size: 1.02rem;
  }
  .brand-subtitle {
    display: none;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-book-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .hamburger-btn {
    width: 38px;
    height: 38px;
    padding: 6px;
  }
}

@media (max-width: 359px) {
  .brand-icon {
    width: 28px;
    height: 28px;
  }
  .brand-title {
    font-size: 0.88rem;
  }
  .nav-book-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
}

/* Desktop Nav: activate cleanly from 1200px up */
.desktop-nav {
  display: none;
}

@media (min-width: 1200px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.1vw, 18px);
    flex-shrink: 1;
    min-width: 0;
  }
}

.nav-link {
  font-size: clamp(0.82rem, 0.88vw, 0.92rem);
  font-weight: 600;
  color: var(--ivory); /* Soft Almond / Ivory */
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold); /* Sacred Gold */
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
}

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

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

.desktop-call-btn {
  display: none;
  white-space: nowrap;
  border: 1.5px solid var(--gold) !important;
  color: #FFF2A7 !important;
  background: rgba(212, 175, 55, 0.12) !important;
  font-weight: 600;
  transition: all 0.25s ease;
}

.desktop-call-btn:hover {
  background: var(--gold) !important;
  color: var(--maroon) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.desktop-call-btn:active {
  transform: scale(0.98);
}

@media (min-width: 1200px) {
  .desktop-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

/* Light / Dark Mode Toggle Buttons */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--gold);
  color: var(--maroon);
  border-color: var(--gold);
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.header-theme-btn {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.nav-book-btn {
  background: var(--saffron); /* Warm Saffron */
  color: #FFFFFF;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              box-shadow 0.25s ease;
  flex-shrink: 0;
  border: none;
}

.nav-book-btn:hover {
  background: var(--saffron-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.45);
}

.nav-book-btn:active {
  transform: scale(0.98);
  background: var(--saffron-active);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.935rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary,
.btn-secondary {
  background: var(--saffron); /* Warm Saffron */
  color: #fff;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.28);
  border: 1px solid transparent;
}

.btn-primary:hover,
.btn-secondary:hover {
  background: var(--saffron-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.38);
}

.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98);
  background: var(--saffron-active);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: scale(0.98);
}

.btn-outline-gold {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--maroon);
  transform: translateY(-2px);
}

.btn-outline-gold:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:active {
  transform: scale(0.98);
}

/* Hamburger toggle for mobile */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: border-color 0.2s ease;
}

.hamburger-btn:hover {
  border-color: var(--gold);
}

@media (min-width: 1200px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--ivory);
  transition: all var(--trans-fast);
}

/* Mobile Drawer Navigation */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-normal);
}

.mobile-nav-drawer.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: var(--bg-sand);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--trans-normal);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: block;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--bg-cream);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Hero Section & Sacred Temple Scrolling Background
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(175deg, #24070B 0%, #3D0A0E 40%, #1A0407 100%);
  color: #fff;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 45%, rgba(217, 148, 38, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* Sacred Ujjain Temple Scrolling Background Track (Mahakaal, Kaal Bhairav, Mangalnath) */
.hero-temple-scroller {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

.hero-section:hover .hero-temple-scroller,
.services-catalog-hero:hover .hero-temple-scroller {
  opacity: 0.78;
}

.hero-temple-track {
  display: flex;
  gap: 22px;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: heroTempleMarquee 50s linear infinite;
  will-change: transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-temple-track {
    animation-play-state: paused;
  }
}

.hero-temple-slide {
  position: relative;
  width: 320px;
  height: 82%;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
  border: 2px solid rgba(212, 175, 55, 0.6);
  background: #1A0407;
}

.hero-temple-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.96) contrast(1.12);
  display: block;
  transform: scale(1.02);
  transition: transform var(--trans-slow);
}

.hero-temple-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(20, 3, 6, 0.88);
  backdrop-filter: blur(8px);
  color: #FFF2A7;
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-temple-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(36, 7, 11, 0.82) 0%, 
    rgba(61, 10, 14, 0.52) 45%, 
    rgba(26, 4, 7, 0.72) 100%
  ), radial-gradient(circle at 75% 45%, rgba(217, 148, 38, 0.20) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-temple-slide {
    width: 250px;
    height: 75%;
  }
  .hero-temple-track {
    gap: 16px;
    animation-duration: 40s;
  }
  .hero-temple-caption {
    font-size: 0.72rem;
    padding: 4px 10px;
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
}

[data-theme="dark"] .hero-temple-scroller {
  opacity: 0.55;
}

[data-theme="dark"] .hero-temple-overlay {
  background: linear-gradient(135deg, 
    rgba(18, 3, 5, 0.88) 0%, 
    rgba(35, 5, 9, 0.65) 45%, 
    rgba(14, 2, 4, 0.80) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    padding: 30px 0;
  }
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.hero-title {
  color: var(--ivory);
  font-size: 2.25rem;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

.hero-desc {
  font-size: 1.05rem;
  color: #E2D7D0;
  line-height: 1.7;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.hero-visual {
  position: relative;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.15);
  border: 2px solid rgba(212, 175, 55, 0.45);
  background: #1C0608;
  max-width: 480px;
  margin: 0 auto;
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform var(--trans-slow);
}

.hero-img-card:hover img {
  transform: scale(1.03);
}

.hero-badge-floating {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(20, 3, 6, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.hero-badge-floating img {
  width: 32px;
  height: 32px;
}

.badge-text-primary {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.badge-text-sub {
  color: #D1C5B8;
  font-size: 0.75rem;
}

.flame-animated {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-eyebrow:hover .flame-animated {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.8));
}

/* --------------------------------------------------------------------------
   Trust Strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 3;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .trust-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.trust-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

.trust-item-desc {
  font-size: 0.785rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Section Common Formatting
   -------------------------------------------------------------------------- */
.section {
  padding: 70px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 95px 0;
  }
}

.section-alt {
  background-color: var(--bg-cream);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  background: linear-gradient(180deg, #32080E 0%, #4A0E17 100%);
  color: #fff;
}

.section-dark h2, .section-dark h3 {
  color: var(--gold-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--saffron);
}

.section-title {
  font-size: 2rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.45rem;
  }
}

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

.section-dark .section-subtitle {
  color: #D1C5B8;
}

/* Gold Divider Ornament */
.gold-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0;
  width: 100%;
}

.gold-ornament::before, .gold-ornament::after {
  content: '';
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  flex: 1;
  max-width: 120px;
}

.gold-ornament-icon {
  width: 18px;
  height: 18px;
}

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

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}

.about-card-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
}

.about-card-img img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

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

.about-text {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.75;
}

.about-meta-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin: 10px 0;
}

@media (min-width: 600px) {
  .about-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-meta-box {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.meta-box-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.meta-box-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Services Grid & Cards
   -------------------------------------------------------------------------- */
.services-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.tab-btn {
  background: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

.service-card-extra {
  display: none;
}

.services-view-more-box {
  text-align: center;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.services-view-more-btn {
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--trans-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.services-view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.services-catalog-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: underline;
  transition: color var(--trans-fast);
}

.services-catalog-link:hover {
  color: var(--secondary);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--trans-normal);
}

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

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: #1C0608;
}

.service-card-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--trans-slow);
}

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

.service-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--maroon);
  color: var(--gold);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.service-card-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.service-card-title {
  font-size: 1.15rem;
  color: var(--primary);
  line-height: 1.35;
  font-weight: 700;
  min-height: 2.7em;
  margin: 0;
}

.service-card-title a {
  color: inherit;
  transition: color var(--trans-fast);
}

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

.service-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin: 0 0 12px 0;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.service-card-footer .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 8px 10px;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 440px) {
  .service-card-footer {
    flex-direction: column;
    gap: 8px;
  }
  .service-card-footer .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Dosh Nivaran Feature Section
   -------------------------------------------------------------------------- */
.dosh-spotlight-box {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-light);
  padding: 35px 25px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .dosh-spotlight-box {
    padding: 50px 40px;
  }
}

.dosh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .dosh-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .dosh-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dosh-card {
  background: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dosh-card:hover {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
  transform: translateY(-3px);
}

.dosh-card-title {
  font-size: 1.15rem;
  color: var(--primary);
}

.dosh-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   How It Works 4-Step Process
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}

.process-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
}

.process-number {
  width: 52px;
  height: 52px;
  background: var(--maroon);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, background 0.25s ease;
}

.process-step-title {
  font-size: 1.15rem;
  color: var(--primary);
}

.process-step-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Sacred Locations Section
   -------------------------------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
}

.location-card-extra {
  display: none;
}

.locations-view-more-box {
  text-align: center;
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.locations-view-more-btn {
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--trans-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.locations-view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.location-card {
  background: var(--bg-card, #fff);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--trans-normal);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.location-media {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: #24070B;
}

.location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--trans-slow);
}

.location-card:hover .location-media img {
  transform: scale(1.03);
}

.location-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.location-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin: 0;
  min-height: 2.7em;
}

.location-address {
  font-size: 0.835rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.45;
}

.location-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin: 0 0 14px 0;
}

.location-card .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  font-size: 0.8rem;
  padding: 8px 12px;
  white-space: nowrap;
}

@media (max-width: 440px) {
  .location-body > div[style*="display:flex"] {
    flex-direction: column;
    gap: 8px;
  }
  .location-card .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Dynamic Counters
   -------------------------------------------------------------------------- */
.counters-section {
  background: linear-gradient(135deg, #3D0A0E 0%, #24070B 100%);
  color: #fff;
  padding: 50px 0;
  border-top: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  text-align: center;
}

@media (min-width: 768px) {
  .counters-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.counter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.counter-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-light);
  line-height: 1;
}

.counter-label {
  font-size: 0.95rem;
  color: #E2D7D0;
}

/* --------------------------------------------------------------------------
   Gallery Masonry & Lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #1C0608;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(36, 7, 11, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

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

.gallery-overlay-title {
  color: var(--secondary-light);
  font-weight: 700;
  font-size: 1.05rem;
}

.gallery-item-extra {
  display: none;
}

.gallery-view-more-box {
  text-align: center;
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  align-items: center;
}

.gallery-view-more-btn {
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--trans-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gallery-view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-normal);
}

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

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-height: 75vh;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.lightbox-caption {
  color: #fff;
  margin-top: 15px;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Devotee Testimonials - Scrolling Animation Showcase
   -------------------------------------------------------------------------- */
.testimonials-scroller-box {
  position: relative;
  width: 100%;
  margin: 10px 0 0 0;
}

.testimonials-scroll-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 0 24px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  cursor: grab;
}

.testimonials-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.testimonials-scroll-wrapper:active {
  cursor: grabbing;
}

@media (max-width: 767px) {
  .testimonials-scroll-wrapper {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 2%, #000 98%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 2%, #000 98%, transparent 100%);
  }
}

.testimonials-scroll-track {
  display: flex;
  gap: 24px;
  width: max-content;
  user-select: none;
  will-change: scroll-position;
}

/* Fallback CSS animation if JS is disabled */
.no-js .testimonials-scroll-track {
  animation: scrollTestimonials 45s linear infinite;
}

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

/* Fallback grid if used on other views */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  flex: 0 0 380px;
  width: 380px;
  max-width: 380px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 575px) {
  .testimonial-card {
    flex: 0 0 85vw;
    width: 85vw;
    max-width: 340px;
    padding: 22px;
  }
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(74, 14, 23, 0.1);
  border-color: var(--gold);
}

.testi-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.testi-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--maroon);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.testi-text {
  font-size: 0.96rem;
  color: var(--charcoal);
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 16px;
}

.testi-avatar-placeholder {
  width: 44px;
  height: 44px;
  background: var(--ivory);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testi-author-info {
  display: flex;
  flex-direction: column;
}

.testi-author-name {
  font-weight: 700;
  color: var(--maroon);
  font-size: 0.98rem;
}

.testi-author-location {
  font-size: 0.82rem;
  color: var(--charcoal-muted);
  margin-top: 2px;
}

/* Testimonials Controls (Prev, Pause/Play, Next) */
.testimonials-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.testi-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid var(--gold);
  border-radius: 20px;
  color: var(--maroon);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
  box-shadow: 0 2px 8px rgba(74, 14, 23, 0.06);
}

.testi-ctrl-btn:hover {
  background: var(--maroon);
  color: var(--gold-light);
  border-color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 14, 23, 0.15);
}

.testi-ctrl-btn:active {
  transform: scale(0.96);
}

.testi-pause-btn {
  padding: 0 18px;
  font-size: 0.84rem;
}

.testi-pause-text {
  font-weight: 600;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .testimonials-scroll-track {
    animation: none !important;
  }
  .testimonials-scroll-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .testimonial-card {
    scroll-snap-align: start;
  }
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--trans-fast);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  gap: 15px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--trans-normal);
  color: var(--gold);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-normal);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

.faq-answer-inner {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Blog / Knowledge Center Cards
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
  border-color: var(--gold);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #24070B;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.02);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.blog-meta-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-card-title {
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.35;
}

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

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-cream, #FAF7F2);
  border: 1.5px solid var(--border-light, #E0D7CC);
  color: var(--primary) !important;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(74, 14, 23, 0.05);
  transition: all var(--trans-fast);
  cursor: pointer;
}

.blog-read-btn:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.32);
}

.blog-read-btn .arrow-icon {
  display: inline-block;
  transition: transform var(--trans-fast);
  font-size: 1rem;
  line-height: 1;
}

.blog-read-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Booking CTA Banner & Sanctum Showcase
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 60px 0 80px 0;
  position: relative;
  background: transparent;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 40px 0 60px 0;
  }
}

.cta-banner {
  background: linear-gradient(135deg, #4A0E17 0%, #32080E 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 16px 45px rgba(74, 14, 23, 0.22), 0 0 35px rgba(212, 175, 55, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}

.cta-banner:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 22px 55px rgba(74, 14, 23, 0.28), 0 0 45px rgba(212, 175, 55, 0.16);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 65px 50px;
  }
}

/* Subtle Ambient Pulse behind Banner */
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(230, 81, 0, 0.06) 40%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: ctaGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes ctaGlowPulse {
  0% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.6;
  }
  100% {
    transform: translateX(-50%) scale(1.15);
    opacity: 1;
  }
}

/* Sacred Watermarks */
.cta-watermark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.cta-watermark img {
  width: 140px;
  height: 140px;
  filter: brightness(0) invert(1);
}

.cta-watermark-left {
  left: -20px;
}

.cta-watermark-right {
  right: -20px;
}

.cta-banner:hover .cta-watermark-left {
  transform: translateY(-50%) scale(1.08) rotate(-6deg);
  opacity: 0.09;
}

.cta-banner:hover .cta-watermark-right {
  transform: translateY(-50%) scale(1.08) rotate(6deg);
  opacity: 0.09;
}

@media (max-width: 768px) {
  .cta-watermark {
    display: none;
  }
}

/* Eyebrow Badge */
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.38);
  padding: 6px 16px;
  border-radius: 20px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 1;
}

.cta-eyebrow img {
  filter: drop-shadow(0 0 4px var(--gold));
}

.cta-banner-title {
  color: var(--ivory);
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 800px;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gold-ornament-sm {
  margin: 2px 0;
  max-width: 160px;
}

.cta-banner-desc {
  max-width: 660px;
  font-size: 1.05rem;
  color: #E2D7D0;
  line-height: 1.65;
  z-index: 1;
}

/* Trust Pills Grid */
.cta-trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 6px 0 10px 0;
  z-index: 1;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.32);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  color: var(--ivory);
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: transform var(--trans-fast), border-color var(--trans-fast), background var(--trans-fast);
}

.cta-pill:hover {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold);
  color: #FFFFFF;
}

.cta-pill-icon {
  font-size: 0.95rem;
}

/* Action Buttons Container */
.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  z-index: 1;
}

.cta-btn-book {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(230, 81, 0, 0.35);
}

.cta-btn-book:hover {
  background: var(--saffron-hover);
  border-color: var(--saffron-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.45);
}

.cta-btn-call {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light) !important;
}

.cta-btn-call:hover {
  background: var(--gold);
  color: var(--maroon) !important;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.cta-btn-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF !important;
}

.cta-btn-whatsapp:hover {
  background: #1EBE5B;
  border-color: #1EBE5B;
  transform: translateY(-2px);
}

/* Forms Common */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--trans-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px var(--saffron-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hp-field {
  display: none !important;
  visibility: hidden !important;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: var(--bg-cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

/* --------------------------------------------------------------------------
   Contact Page Layout
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
  }
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon-box {
  width: 44px;
  height: 44px;
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
}

.contact-detail-label {
  font-size: 0.775rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
}

.contact-detail-val {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 600;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.main-footer {
  background: #4A0E17; /* Royal Maroon */
  color: #E0D7CC;
  padding: 70px 0 30px;
  border-top: 3px solid var(--gold); /* Sacred Gold */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  color: var(--ivory); /* Soft Almond / Ivory */
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(253, 251, 247, 0.85);
  transition: all 0.25s ease;
}

.footer-link:hover {
  color: var(--gold); /* Sacred Gold */
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.825rem;
  color: rgba(253, 251, 247, 0.7);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.legal-disclaimer-box {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 30px;
  font-size: 0.825rem;
  line-height: 1.6;
  color: rgba(253, 251, 247, 0.8);
}

/* --------------------------------------------------------------------------
   Floating Mobile & Desktop CTA
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(74, 14, 23, 0.98); /* Royal Maroon */
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gold); /* Sacred Gold */
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.35);
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--ivory);
  font-size: 0.725rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.mobile-bar-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-bar-btn.book-btn {
  background: var(--saffron); /* Warm Saffron */
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(230, 81, 0, 0.35);
}

/* Desktop Floating Action Buttons */
.desktop-floating-actions {
  display: none;
}

@media (min-width: 992px) {
  .desktop-floating-actions {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  color: #fff;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.04);
}

.floating-btn:active {
  transform: scale(0.96);
}

.floating-btn.wa {
  background: #25D366;
}

.floating-btn.call {
  background: var(--maroon);
}

.floating-btn.top {
  background: var(--gold);
  color: var(--maroon);
}

/* ==========================================================================
   Subtle & Premium Animation Engine
   Hardware Accelerated | Optimized Transforms & Opacity | Zero Layout Shift
   ========================================================================== */

/* 1. Page Load Entrance Animations (500–800ms elegant easing curve) */
@keyframes heroContentEntrance {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageEntrance {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes navEntrance {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-content {
  animation: heroContentEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual,
.hero-img-card {
  animation: heroImageEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

.desktop-nav,
.brand-logo,
.nav-actions {
  animation: navEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 2. Scroll Reveal Animations (500–700ms) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* 3. Subtle Card Hover Interactions (translateY -3px, slight shadow enhancement) */
.service-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
  border-color: var(--gold);
}

.service-card-media {
  overflow: hidden;
}

.service-card-media img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dosh-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.dosh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
  border-color: var(--gold);
}

.process-step-card,
.process-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.process-step-card:hover,
.process-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
  border-color: var(--gold);
}

.process-step-num,
.process-number {
  transition: transform 0.25s ease, background 0.25s ease;
}

.process-step-card:hover .process-number,
.process-card:hover .process-step-num {
  transform: scale(1.05);
  background: var(--saffron);
  color: #fff;
}

.testimonial-card {
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
  border-color: var(--gold);
}

.testi-stars,
.rating-stars,
.star {
  color: var(--gold);
  transition: opacity 0.4s ease;
}

.blog-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
  border-color: var(--gold);
}

.blog-card-media {
  overflow: hidden;
}

.blog-card-media img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.02);
}

.location-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
  border-color: var(--gold);
}

.trust-item {
  transition: transform 0.25s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
}

/* 4. Icon Micro-interactions */
.brand-icon,
.gold-ornament-icon,
.top-announcement img,
.section-eyebrow img,
.faq-icon {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-icon:hover,
.gold-ornament-icon:hover {
  transform: scale(1.05);
}

/* 5. Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-content, .hero-visual, .hero-img-card, .desktop-nav, .brand-logo, .nav-actions,
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   6. Public Website Dark Theme (Spiritual Velvet & Sacred Gold)
   [data-theme="dark"]
   ========================================================================== */
[data-theme="dark"] {
  --ivory: #FDFBF7;
  --cream: #F8F4EC;
  --card-bg: #20171A;

  --charcoal: #EDE6DC;
  --charcoal-muted: #D1C7BA;
  --charcoal-light: #B8ADA0;

  --bg-sand: #1A1215;
  --bg-main: #140F11;
  --bg-cream: #1E1719;
  --bg-alt: #1F1518;
  --bg-card: #20171A;

  /* Global Primary Headings & Accents in Dark Mode - Flips deep maroon to Sacred Radiant Gold */
  --primary: #FFF2A7;
  --primary-light: #FFF8D6;
  --primary-dark: #F7D070;
  --primary-ultra-dark: #D4AF37;

  /* Warm Saffron Accents in Dark Mode */
  --secondary: #FF6E26;
  --secondary-light: #FF9E66;
  --secondary-dark: #FF9E66;

  /* High Contrast Sacred Typography */
  --text-main: #EDE6DC;
  --text-muted: #D1C7BA;
  --text-light: #B8ADA0;
  --text-white: #FFFFFF;

  --border-light: rgba(212, 175, 55, 0.28);
  --border-subtle: rgba(212, 175, 55, 0.15);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] body {
  background-color: #140F11;
  color: #EDE6DC;
}

/* Headings in Dark Mode */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #FFF2A7 !important;
}

[data-theme="dark"] p {
  color: #EDE6DC;
}

/* Top Announcement Bar & Contacts */
[data-theme="dark"] .top-bar {
  background: #200508;
  border-bottom-color: rgba(212, 175, 55, 0.2);
  color: #EDE6DC;
}

[data-theme="dark"] .top-announcement {
  color: #EDE6DC !important;
}

[data-theme="dark"] .top-contacts .top-link {
  color: #EDE6DC !important;
}

[data-theme="dark"] .top-contacts .top-link:hover {
  color: var(--gold) !important;
}

[data-theme="dark"] .lang-btn {
  color: #EDE6DC !important;
}

[data-theme="dark"] .lang-btn.active {
  color: var(--gold) !important;
}

/* Header & Navigation */
[data-theme="dark"] .main-header {
  background: #360910;
  border-bottom-color: rgba(212, 175, 55, 0.3);
}

[data-theme="dark"] .main-header.scrolled {
  background: rgba(45, 8, 14, 0.98);
}

[data-theme="dark"] .brand-title {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .brand-subtitle {
  color: #E2D7D0 !important;
}

[data-theme="dark"] .nav-link {
  color: #EDE6DC !important;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--gold) !important;
}

/* Hero Section */
[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #24070B 0%, #150608 100%);
}

[data-theme="dark"] .hero-title {
  color: #FFF2A7 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85) !important;
}

[data-theme="dark"] .hero-desc {
  color: #EDE6DC !important;
}

/* General Sections */
[data-theme="dark"] .section {
  background: transparent;
}

[data-theme="dark"] .section-alt {
  background: #1A1215;
}

[data-theme="dark"] .section-dark {
  background: linear-gradient(180deg, #1C0508 0%, #29080E 100%);
}

[data-theme="dark"] .section-title {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .section-subtitle {
  color: #D1C7BA !important;
}

/* Trust Indicators Strip */
[data-theme="dark"] .trust-strip {
  background: #181114 !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
}

[data-theme="dark"] .trust-item {
  background: #20171A;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

[data-theme="dark"] .trust-item-title {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .trust-item-desc {
  color: #EDE6DC !important;
}

/* About Acharya Section */
[data-theme="dark"] .about-text,
[data-theme="dark"] .about-lead {
  color: #EDE6DC !important;
}

[data-theme="dark"] .about-meta-box {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

[data-theme="dark"] .meta-box-label {
  color: #D1C7BA !important;
}

[data-theme="dark"] .meta-box-value {
  color: #FFF2A7 !important;
}

/* Category Filter Tabs */
[data-theme="dark"] .tab-btn {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .tab-btn.active,
[data-theme="dark"] .tab-btn:hover {
  background: var(--saffron) !important;
  border-color: var(--saffron) !important;
  color: #FFFFFF !important;
}

/* Service Cards */
[data-theme="dark"] .service-card {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .service-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .service-card-title,
[data-theme="dark"] .service-card-title a {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .service-card-desc {
  color: #EDE6DC !important;
}

[data-theme="dark"] .service-card-badge {
  background: #360910 !important;
  color: #FFF2A7 !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

/* Dosh Nivaran Cards */
[data-theme="dark"] .dosh-spotlight-box {
  background: #20171A !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}

[data-theme="dark"] .dosh-card {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .dosh-card:hover {
  background: #281B20 !important;
  border-color: var(--gold) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .dosh-card-title {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .dosh-card-desc {
  color: #EDE6DC !important;
}

/* Process Step Cards */
[data-theme="dark"] .process-step-card {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .process-step-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .process-number {
  background: #360910 !important;
  color: #FFF2A7 !important;
  border-color: var(--gold) !important;
}

[data-theme="dark"] .process-step-title {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .process-step-desc {
  color: #EDE6DC !important;
}

/* Sacred Locations */
[data-theme="dark"] .location-card {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .location-card:hover {
  border-color: var(--gold) !important;
}

[data-theme="dark"] .location-title {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .location-desc,
[data-theme="dark"] .location-body {
  color: #EDE6DC !important;
}

[data-theme="dark"] .location-address {
  color: #D1C7BA !important;
}

/* Testimonial Cards */
[data-theme="dark"] .testimonial-card {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .testimonial-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .testi-text {
  color: #EDE6DC !important;
}

[data-theme="dark"] .testi-author-name {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .testi-author-location {
  color: #D1C7BA !important;
}

[data-theme="dark"] .testi-avatar-placeholder {
  background: #2C1A20;
  border-color: var(--gold);
  color: var(--gold-light);
}

[data-theme="dark"] .testi-ctrl-btn {
  background: #20171A;
  color: var(--gold-light);
  border-color: var(--gold);
}

[data-theme="dark"] .testi-ctrl-btn:hover {
  background: var(--gold);
  color: #24070B;
}

/* FAQ Accordion */
[data-theme="dark"] .faq-item {
  background: #20171A !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}

[data-theme="dark"] .faq-question-btn {
  background: #20171A !important;
  color: #FFF2A7 !important;
}

[data-theme="dark"] .faq-answer {
  background: #181013 !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .faq-answer-inner {
  color: #EDE6DC !important;
}

/* Blog Cards */
[data-theme="dark"] .blog-card {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .blog-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .blog-card-title,
[data-theme="dark"] .blog-card-title a {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .blog-card-excerpt {
  color: #EDE6DC !important;
}

[data-theme="dark"] .blog-card-footer {
  border-top-color: rgba(212, 175, 55, 0.2) !important;
}

[data-theme="dark"] .blog-read-btn {
  background: #25171C !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
  color: #FFF2A7 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .blog-read-btn:hover {
  background: var(--saffron) !important;
  border-color: var(--saffron) !important;
  color: #FFFFFF !important;
}

/* Contact Cards & Form Boxes */
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .booking-form-box {
  background: #20171A !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .contact-detail-row {
  border-bottom-color: rgba(212, 175, 55, 0.15);
}

[data-theme="dark"] .contact-detail-label {
  color: #D1C7BA !important;
}

[data-theme="dark"] .contact-detail-val,
[data-theme="dark"] .contact-detail-val a {
  color: #EDE6DC !important;
}

[data-theme="dark"] .contact-icon-box {
  background: #2C1A20;
  border-color: rgba(212, 175, 55, 0.3);
}

/* Form Controls in Dark Mode */
[data-theme="dark"] .form-control {
  background: #181013 !important;
  color: #EDE6DC !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
}

[data-theme="dark"] .form-control:focus {
  background: #20171A !important;
  border-color: var(--saffron) !important;
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.3) !important;
}

[data-theme="dark"] .form-label {
  color: #EDE6DC !important;
}

[data-theme="dark"] select option {
  background: #20171A !important;
  color: #EDE6DC !important;
}

/* Buttons in Dark Mode */
[data-theme="dark"] .btn-outline {
  border-color: var(--gold) !important;
  color: #FFF2A7 !important;
}

[data-theme="dark"] .btn-outline:hover {
  background: var(--gold) !important;
  color: #24070B !important;
}

/* Global Link Contrast */
[data-theme="dark"] a:not(.btn):not(.nav-link):not(.lang-btn):not(.footer-link):not(.top-link):not(.social-pill):not(.top-social-icon):not(.contact-social-box) {
  color: #FFF2A7;
}

[data-theme="dark"] a:not(.btn):not(.nav-link):not(.lang-btn):not(.footer-link):not(.top-link):not(.social-pill):not(.top-social-icon):not(.contact-social-box):hover {
  color: var(--secondary-light);
}

/* Footer Section */
[data-theme="dark"] .main-footer {
  background: #1A0407;
  border-top-color: var(--gold);
}

[data-theme="dark"] .footer-brand-title {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .footer-col-title {
  color: #FFF2A7 !important;
}

[data-theme="dark"] .footer-link {
  color: #EDE6DC !important;
}

[data-theme="dark"] .footer-link:hover {
  color: var(--gold) !important;
}

[data-theme="dark"] .footer-bottom {
  color: #D1C7BA !important;
  border-top-color: rgba(212, 175, 55, 0.2) !important;
}

[data-theme="dark"] .legal-disclaimer-box {
  background: #20060A !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
  color: #EDE6DC !important;
}

/* Explicit fallback for any cards with inline white styles */
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#FFF"],
[data-theme="dark"] [style*="background: #FFF"],
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background:#ffffff"] {
  background: #20171A !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
  color: #EDE6DC !important;
}

[data-theme="dark"] .mobile-nav-drawer {
  background: rgba(0, 0, 0, 0.75);
}

[data-theme="dark"] .mobile-drawer-content {
  background: #1C1215;
  color: #EDE6DC;
  border-right: 1px solid rgba(212, 175, 55, 0.3);
}

[data-theme="dark"] .mobile-nav-link {
  color: #EDE6DC;
  border-bottom-color: rgba(212, 175, 55, 0.15);
}

[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-nav-link.active {
  color: var(--gold);
}

[data-theme="dark"] .mobile-bottom-bar {
  background: #24060B;
  border-top-color: rgba(212, 175, 55, 0.35);
}

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

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

/* ==========================================================================
   7. Official Social Media Channels & Connect Component
   ========================================================================== */
.footer-social-wrapper {
  margin-top: 18px;
}

.footer-social-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #FDFBF7;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--trans-fast);
}

.social-pill svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--trans-fast);
}

.social-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
}

.social-pill.sp-instagram:hover {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  border-color: #DD2A7B;
}

.social-pill.sp-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.social-pill.sp-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

.social-pill.sp-youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}

.social-pill:hover svg {
  transform: scale(1.12);
}

/* Top bar compact social links */
.top-social-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  padding-right: 12px;
  border-right: 1px solid rgba(212, 175, 55, 0.25);
}

.top-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  transition: all var(--trans-fast);
}

.top-social-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.top-social-icon:hover {
  background: var(--gold);
  color: #32080E;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.top-social-icon.ts-whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.top-social-icon.ts-instagram:hover {
  background: #E1306C;
  color: #FFFFFF;
  border-color: #E1306C;
}

.top-social-icon.ts-youtube:hover {
  background: #FF0000;
  color: #FFFFFF;
  border-color: #FF0000;
}

.top-social-icon.ts-facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
}

/* Contact page social media cards */
.contact-social-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.contact-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.contact-social-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--trans-fast);
}

.contact-social-box:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  color: var(--secondary);
}

.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-social-icon svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

.csi-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.csi-facebook { background: #1877F2; }
.csi-whatsapp { background: #25D366; }
.csi-youtube { background: #FF0000; }

.contact-social-box-text {
  display: flex;
  flex-direction: column;
}

.contact-social-box-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.contact-social-box-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Mobile drawer social grid */
.drawer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 767px) {
  .top-social-group {
    display: none; /* Keep top bar clean on small mobile */
  }
}

/* --------------------------------------------------------------------------
   Ujjain In-Person vs All-India Online Mode Cards (AIO/AEO Core Section)
   -------------------------------------------------------------------------- */
.modes-section {
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 992px) {
  .modes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mode-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-subtle);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform var(--trans-medium), box-shadow var(--trans-medium), border-color var(--trans-medium);
}

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

.mode-card-inperson {
  border-color: rgba(74, 14, 23, 0.25);
  background: linear-gradient(180deg, var(--card-bg) 0%, rgba(74, 14, 23, 0.03) 100%);
}

.mode-card-inperson:hover {
  border-color: var(--secondary);
}

.mode-card-online {
  border-color: rgba(230, 81, 0, 0.35);
  background: linear-gradient(180deg, var(--card-bg) 0%, rgba(230, 81, 0, 0.04) 100%);
}

.mode-card-online:hover {
  border-color: var(--secondary);
}

.mode-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mode-badge-inperson {
  background: rgba(74, 14, 23, 0.1);
  color: var(--primary);
  border: 1px solid rgba(74, 14, 23, 0.25);
}

.mode-badge-online {
  background: rgba(230, 81, 0, 0.1);
  color: #C0392B;
  border: 1px solid rgba(230, 81, 0, 0.3);
}

.mode-card-title {
  font-size: 1.45rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.mode-card-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.mode-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.mode-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.935rem;
  line-height: 1.55;
  color: var(--text-main);
}

.mode-point-icon {
  color: var(--gold);
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.mode-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* Locations Switcher Tabs */
.locations-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.loc-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.loc-tab-btn:hover {
  border-color: var(--gold);
  color: var(--primary);
}

.loc-tab-btn.active {
  background: var(--primary);
  color: var(--ivory);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .mode-card-inperson {
  border-color: rgba(255, 242, 167, 0.2);
  background: #20171A;
}

[data-theme="dark"] .mode-card-online {
  border-color: rgba(230, 81, 0, 0.4);
  background: #23181C;
}

[data-theme="dark"] .mode-badge-inperson {
  background: rgba(255, 242, 167, 0.15);
  color: #FFF2A7;
  border-color: rgba(255, 242, 167, 0.3);
}

[data-theme="dark"] .mode-badge-online {
  background: rgba(230, 81, 0, 0.2);
  color: #FFA726;
  border-color: rgba(230, 81, 0, 0.4);
}

/* Service Detail Hero Responsive Layout */
.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 992px) {
  .service-hero-grid {
    grid-template-columns: 1.25fr 1fr;
  }
}

.service-hero-media img {
  width: 100%;
  max-width: 440px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform var(--trans-normal);
}

.service-hero-media img:hover {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   Premium Services Catalog & Puja Detail Modern Styling
   -------------------------------------------------------------------------- */

/* Services Catalog Hero */
.services-catalog-hero {
  background: linear-gradient(135deg, #24070B 0%, #3D0A0E 50%, #1A0407 100%);
  color: #fff;
  padding: 52px 0 42px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--secondary);
}

.services-catalog-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.services-hero-header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
}

.services-hero-title {
  color: #FFF2A7;
  font-size: 2.35rem;
  line-height: 1.25;
  margin: 12px 0 16px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .services-hero-title {
    font-size: 1.8rem;
  }
}

.services-hero-desc {
  color: #EDE6DC;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Trust Guarantee Bar */
.services-guarantee-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.services-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 242, 167, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFF2A7;
  backdrop-filter: blur(4px);
}

/* Search and Filter Row with Integrated Category Dropdown */
.services-search-form {
  max-width: 820px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 6px 8px 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 2px solid rgba(212, 175, 55, 0.45);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.services-search-form:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 12px 36px rgba(230, 81, 0, 0.22);
}

.services-search-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 40%;
  max-width: 40%;
  min-width: 180px;
  position: relative;
}

.services-search-select-icon {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--secondary);
}

.services-search-select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  padding: 8px 24px 8px 2px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B8860B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.services-search-select option {
  background: #ffffff;
  color: var(--text-main);
  padding: 8px;
  font-size: 0.9rem;
}

.services-search-divider {
  width: 1px;
  height: 28px;
  background: rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
  margin: 0 6px;
}

.services-search-input-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.services-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  padding: 8px 6px;
}

.services-search-btn {
  background: linear-gradient(135deg, var(--secondary) 0%, #D84315 100%);
  color: #FFF2A7;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.22);
  transition: all var(--trans-fast);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.services-search-btn:hover {
  background: linear-gradient(135deg, #FF6F00 0%, #E65100 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 81, 0, 0.32);
}

/* Active Filter Bar */
.services-active-filter-bar {
  background: var(--bg-cream);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.services-filter-feedback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-main);
}

.services-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230, 81, 0, 0.1);
  border: 1px solid rgba(230, 81, 0, 0.35);
  color: var(--secondary-dark);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
}

.services-clear-filter-btn {
  font-size: 0.865rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--trans-fast);
}

.services-clear-filter-btn:hover {
  color: var(--secondary);
}

/* Responsive Search Form for Mobile */
@media (max-width: 767px) {
  .services-search-form {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 10px;
    max-width: 100%;
  }

  .services-search-select-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
    background: var(--bg-sand);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 12px;
  }

  .services-search-divider {
    display: none;
  }

  .services-search-input-wrapper {
    background: var(--bg-sand);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 12px;
  }

  .services-search-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
  }
}

/* Dark Theme Overrides */
[data-theme="dark"] .services-search-form {
  background: #20171A;
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .services-search-select {
  color: #FFF2A7;
}

[data-theme="dark"] .services-search-select option {
  background: #24070B;
  color: #EDE6DC;
}

[data-theme="dark"] .services-search-divider {
  background: rgba(212, 175, 55, 0.3);
}

[data-theme="dark"] .services-search-input {
  color: #EDE6DC;
}

[data-theme="dark"] .services-search-select-wrapper,
[data-theme="dark"] .services-search-input-wrapper {
  background: #2A1A1F;
  border-color: rgba(212, 175, 55, 0.3);
}

[data-theme="dark"] .services-active-filter-bar {
  background: #20171A;
  border-color: rgba(212, 175, 55, 0.35);
}

[data-theme="dark"] .services-active-chip {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #FFF2A7;
}

[data-theme="dark"] .services-clear-filter-btn {
  color: #FFF2A7;
}

/* Services Highlights inside Card */
.service-card-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.service-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Why Ujjain Benefits Section */
.why-ujjain-box {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--card-bg) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  margin-top: 54px;
  box-shadow: var(--shadow-sm);
}

.why-ujjain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 26px;
}

@media (min-width: 768px) {
  .why-ujjain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-ujjain-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--trans-fast);
}

.why-ujjain-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.why-ujjain-icon {
  font-size: 2rem;
  line-height: 1;
}

.why-ujjain-title {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  margin: 0;
}

.why-ujjain-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Service Detail Page Modern Layout */
.service-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.service-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 242, 167, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FFF2A7;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
}

/* Service Ritual Highlights Strip */
.service-highlights-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .service-highlights-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-highlight-item {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-highlight-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  font-weight: 600;
}

.service-highlight-val {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--primary);
}

[data-theme="dark"] .service-highlight-item {
  background: #20171A;
  border-color: rgba(212, 175, 55, 0.3);
}

[data-theme="dark"] .service-highlight-val {
  color: #FFF2A7;
}

[data-theme="dark"] .why-ujjain-box {
  background: #1C1215;
  border-color: rgba(212, 175, 55, 0.3);
}

[data-theme="dark"] .why-ujjain-card {
  background: #23181C;
  border-color: rgba(212, 175, 55, 0.25);
}

[data-theme="dark"] .why-ujjain-title {
  color: #FFF2A7;
}

/* Ritual Process Steps Grid (Phases) */
.ritual-phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 640px) {
  .ritual-phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ritual-phase-card {
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

[data-theme="dark"] .ritual-phase-card {
  background: #20171A;
  border-color: rgba(212, 175, 55, 0.3);
}

.ritual-phase-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF2A7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--gold);
}

.ritual-phase-content h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin: 0 0 4px 0;
}

[data-theme="dark"] .ritual-phase-content h4 {
  color: #FFF2A7;
}

.ritual-phase-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Mobile Sticky Action Bar for Puja Detail */
.mobile-puja-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-puja-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #24070B;
    border-top: 2px solid var(--gold);
    padding: 10px 14px;
    display: flex;
    gap: 8px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
  }
  .mobile-puja-bar .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 10px 8px;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
  }
  body.has-mobile-puja-bar {
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   Universal Device Responsiveness & Touch Optimization
   Breakpoints: 320px (Mobile S) | 375px (Mobile M) | 480px (Mobile L) |
   768px (Tablet Portrait) | 1024px (Tablet Landscape) | 1200px+ (Desktop)
   ========================================================================== */

/* 1. Prevent iOS Safari Auto-Zoom on form input focus (Requires font-size >= 16px) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="time"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 2. Fluid Typography & Spacing on Small Screens (320px - 480px) */
@media (max-width: 480px) {
  h1, .hero-title, .page-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    line-height: 1.25 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  h2, .section-title {
    font-size: clamp(1.35rem, 6vw, 1.85rem) !important;
    line-height: 1.3 !important;
  }
  .section-subtitle {
    font-size: 0.92rem !important;
  }
  .section {
    padding: 38px 0 !important;
  }
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .hero-actions, .cta-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .hero-actions .btn, .cta-actions .btn {
    width: 100% !important;
  }
  .trust-strip {
    padding: 24px 0 !important;
  }
}

/* 3. Small Mobile Specific (320px - 360px, e.g. iPhone SE, Fold) */
@media (max-width: 360px) {
  .brand-title {
    font-size: 0.85rem !important;
  }
  .nav-book-btn {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
  }
  .hero-eyebrow {
    font-size: 0.75rem !important;
    padding: 4px 10px !important;
  }
  .btn {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
  }
}

/* 4. Touch Target Accessibility (Min 40-44px for touch screens) */
@media (pointer: coarse) {
  .btn, .nav-link, .lang-btn, .hamburger-btn, .theme-toggle-btn {
    min-height: 40px;
  }
}

/* 5. Safe Area Inset Support for Modern Edge-to-Edge Displays (iPhone Dynamic Island / Notch) */
.mobile-puja-bar, .floating-actions, .mobile-sticky-bar {
  padding-bottom: max(10px, env(safe-area-inset-bottom, 10px)) !important;
}

/* 6. Universal Smooth Horizontal Scrollbar Prevention */
img, video, iframe, embed, object {
  max-width: 100% !important;
  height: auto;
}



