﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DESIGN TOKENS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --bg-card: rgba(20, 20, 32, 0.7);
  --bg-glass: rgba(20, 20, 32, 0.45);

  --gold-100: #fff8e1;
  --gold-200: #ffe082;
  --gold-300: #ffd54f;
  --gold-400: #d4a843;
  --gold-500: #c49a2a;
  --gold-600: #a67c1a;
  --gold-700: #7a5b10;

  --accent-crimson: #8b1a1a;
  --accent-saffron: #e8a317;
  --accent-warm: #ff6b35;

  --text-primary: #f5f0e8;
  --text-secondary: rgba(245, 240, 232, 0.7);
  --text-muted: rgba(245, 240, 232, 0.45);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, var(--gold-500), var(--gold-300), var(--gold-500));
  --gradient-gold-text: linear-gradient(135deg, var(--gold-200), var(--gold-400), var(--gold-200));
  --gradient-dark: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  --gradient-card: linear-gradient(145deg, rgba(196, 154, 42, 0.08), rgba(20, 20, 32, 0.6));
  --gradient-glow: radial-gradient(circle, rgba(196, 154, 42, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-max: 1200px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-sine: cubic-bezier(0.37, 0, 0.63, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Borders & Shadows */
  --border-gold: 1px solid rgba(196, 154, 42, 0.2);
  --border-gold-hover: 1px solid rgba(196, 154, 42, 0.5);
  --shadow-gold: 0 4px 30px rgba(196, 154, 42, 0.1);
  --shadow-gold-lg: 0 8px 60px rgba(196, 154, 42, 0.15);
  --shadow-elevation: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESET & BASE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-600) var(--bg-primary);
}

html::-webkit-scrollbar {
  width: 6px;
}

html::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

html::-webkit-scrollbar-thumb {
  background: var(--gold-600);
  border-radius: 3px;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--gold-200);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PRELOADER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-om {
  font-size: 4rem;
  color: var(--gold-400);
  animation: preloader-pulse 1.5s var(--ease-in-out-sine) infinite;
  font-family: var(--font-display);
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 1.5rem;
}

@keyframes preloader-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   THREE.JS HERO CANVAS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(196, 154, 42, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, transparent 40%, var(--bg-primary) 100%);
  pointer-events: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVIGATION
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--duration-normal) ease,
    backdrop-filter var(--duration-normal) ease,
    -webkit-backdrop-filter var(--duration-normal) ease,
    padding var(--duration-normal) var(--ease-out-expo),
    inset var(--duration-normal) var(--ease-out-expo),
    border-radius var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal) ease,
    box-shadow var(--duration-normal) ease;
}

.navbar.scrolled {
  top: 0.65rem;
  left: 1rem;
  right: 1rem;
  border: 1px solid rgba(255, 224, 130, 0.28);
  border-radius: 9999px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 224, 130, 0.14), transparent 52%),
    linear-gradient(125deg, rgba(58, 43, 26, 0.72), rgba(35, 30, 27, 0.66) 54%, rgba(68, 43, 31, 0.7));
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  padding: 0.6rem 2rem;
  box-shadow: 0 10px 34px rgba(8, 7, 6, 0.2), inset 0 1px 0 rgba(255, 248, 225, 0.12);
}

.nav-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.nav-logo {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.logo-om {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
}

.logo-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.temple-name {
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.temple-sub {
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-om {
  font-size: 1.8rem;
  color: var(--gold-400);
  font-family: var(--font-display);
  line-height: 1;
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 400;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--duration-fast) ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-gold);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--gold-300);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
}

.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--gold-400);
  transition: all var(--duration-normal) var(--ease-out-expo);
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO SECTION
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
  opacity: 0;
  transform: translateY(40px);
  animation: hero-reveal 1.2s var(--ease-out-expo) 0.5s forwards;
}

@keyframes hero-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sanskrit {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out-expo) 0.8s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.05em;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--gradient-gold);
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out-expo) 1.1s forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-style: italic;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out-expo) 1.3s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--gradient-gold);
  border: none;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) ease;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out-expo) 1.5s forwards;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-cta:hover::before {
  transform: translateX(100%);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 154, 42, 0.3);
  color: var(--bg-primary);
}

.hero-story-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-book-lang-tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: rgba(10, 10, 15, 0.25);
  border: 1px solid rgba(10, 10, 15, 0.4);
  color: var(--bg-primary);
  font-weight: 600;
  margin-left: 0.35rem;
  text-transform: none;
  transition: all var(--duration-normal) ease;
}

.hero-cta:hover .hero-book-lang-tag {
  background: rgba(10, 10, 15, 0.85);
  color: var(--gold-300);
  border-color: rgba(212, 168, 67, 0.5);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out-expo) 2s forwards;
}

.hero-scroll-indicator span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
  animation: scroll-pulse 2s var(--ease-in-out-sine) infinite;
}

@keyframes scroll-pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION SHARED STYLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section {
  position: relative;
  z-index: 2;
  padding: var(--section-padding) 2rem;
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gradient-gold);
  margin: 0 auto 1.5rem;
}

.section-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCROLL REVEAL ANIMATION
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PARALLAX DEITY GALLERY
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.deity-gallery {
  background: var(--bg-primary);
}

.deity-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.deity-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
}

.deity-panel:nth-child(even) {
  direction: rtl;
}

.deity-panel:nth-child(even)>* {
  direction: ltr;
}

.deity-image-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.deity-image-wrapper img {
  position: absolute;
  inset: -15% 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  transition: transform 0.1s linear;
  will-change: transform;
}

.deity-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      transparent 60%,
      var(--bg-primary) 100%);
  pointer-events: none;
}

.deity-panel:nth-child(even) .deity-image-wrapper::after {
  background: linear-gradient(to left,
      transparent 60%,
      var(--bg-primary) 100%);
}

.deity-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(2rem, 5vw, 5rem);
}

.deity-number {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(180deg, rgba(196, 154, 42, 0.2), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.deity-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.deity-title {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gold-600);
  font-style: italic;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.deity-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 450px;
}

.deity-lamp {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.deity-lamp span {
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  opacity: 0.5;
}

.deity-lamp span:first-child {
  opacity: 1;
  box-shadow: 0 0 10px var(--gold-400);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   POOJA SECTION
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.poojas-section {
  background:
    var(--gradient-glow),
    var(--bg-primary);
}

.poojas-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.pooja-time-group {
  margin-bottom: 3.5rem;
}

.pooja-time-label {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-400);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--border-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pooja-time-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196, 154, 42, 0.1);
  border: 1px solid rgba(196, 154, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.pooja-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.pooja-card {
  position: relative;
  background: var(--gradient-card);
  border: var(--border-gold);
  padding: 1.5rem 1.75rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
  overflow: hidden;
}

.pooja-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.pooja-card:hover {
  background: var(--bg-glass);
  border-color: rgba(196, 154, 42, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pooja-card:hover::before {
  transform: scaleX(1);
}

.pooja-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.pooja-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-300);
  letter-spacing: 0.03em;
}

.pooja-time {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-saffron);
  background: rgba(232, 163, 23, 0.1);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(232, 163, 23, 0.2);
  white-space: nowrap;
}

.pooja-deity {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}

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

.pooja-offering {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.pooja-offering::before {
  content: 'ðŸª”';
  font-size: 0.85rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TEMPLE INFO / ABOUT SECTION
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.about-section {
  background: var(--bg-secondary);
  border-top: var(--border-gold);
  border-bottom: var(--border-gold);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--container-max);
  margin: 0 auto;
  align-items: center;
}

.about-image-container {
  position: relative;
  overflow: hidden;
}

.about-image-container img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0.85) contrast(1.1);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.about-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: var(--border-gold);
  pointer-events: none;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.about-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: var(--border-gold);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-400);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TIMINGS BANNER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.timings-banner {
  background: var(--gradient-card);
  border: var(--border-gold);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.timing-item {
  text-align: center;
}

.timing-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.timing-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-300);
  letter-spacing: 0.05em;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
  border-top: var(--border-gold);
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-om {
  font-size: 2rem;
  color: var(--gold-600);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.footer-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-creator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  max-width: 100%;
  margin: 0.6rem 0;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(196, 154, 42, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(196, 154, 42, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 24px rgba(0, 0, 0, 0.12);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-creator a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer-creator a:hover,
.footer-creator a:focus-visible {
  color: var(--gold-200);
  text-decoration: underline;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FLOATING PARTICLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.particle {
  position: fixed;
  width: 2px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1);
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE NAV OVERLAY
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mobile-nav-overlay {
  display: flex;
  position: fixed;
  top: 5.25rem;
  right: 1rem;
  bottom: auto;
  left: auto;
  z-index: 1001;
  width: min(340px, calc(100vw - 2rem));
  max-height: min(76vh, 520px);
  overflow-y: auto;
  padding: 0.7rem;
  border: 1px solid rgba(255, 224, 130, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 16% 0%, rgba(255, 224, 130, 0.14), transparent 58%),
    linear-gradient(145deg, rgba(43, 36, 27, 0.82), rgba(18, 18, 22, 0.78));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 248, 225, 0.16);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.3rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(24px) scale(0.96);
  transform-origin: top right;
  transition: opacity 220ms ease, transform 280ms var(--ease-out-expo), visibility 220ms ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.mobile-nav-overlay a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a:focus-visible {
  color: var(--gold-100);
  background: rgba(255, 224, 130, 0.1);
  outline: none;
}

@media (max-width: 600px) {
  .mobile-nav-overlay {
    top: 5rem;
    right: 0.75rem;
    width: min(320px, calc(100vw - 1.5rem));
    max-height: min(74dvh, 520px);
    border-radius: 24px;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1024px) {
  .deity-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .deity-panel:nth-child(even) {
    direction: ltr;
  }

  .deity-image-wrapper {
    min-height: 50vh;
  }

  .deity-image-wrapper::after {
    background: linear-gradient(to bottom, transparent 50%, var(--bg-primary) 100%) !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image-container img {
    height: 350px;
  }
}

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

  .nav-hamburger {
    display: flex;
  }

  .pooja-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .timings-banner {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem;
  }

  .deity-info {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .timings-banner {
    grid-template-columns: 1fr;
  }

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

  .alankaram-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .alankaram-zoom-frame {
    border-radius: var(--radius-sm, 6px);
  }

  .alankaram-caption {
    font-size: 0.9rem;
    padding: 0 0.5rem;
    margin-top: 1rem;
    line-height: 1.6;
  }
}

/* A softer shared shape language across the public pages and booking flows. */
.hero-cta,
.pooja-card,
.timings-banner,
.deity-info,
.about-image-container,
.seva-card,
.sevas-banner-callout,
.book-seva-cta-section,
.booking-card,
.booking-card-wide,
.admin-card,
.donate-card,
.calendar-modal-content,
.upi-modal-content,
.story-modal-content,
.seva-select-card,
.selected-summary-bar,
.review-sevas-list {
  border-radius: 20px;
}

.hero-cta,
.btn-primary-gold,
.btn-secondary-gold,
.book-now-btn,
.book-seva-main-btn,
.submit-booking-btn,
.proceed-to-details-btn,
.back-to-sevas-btn,
.calendar-header-actions .calendar-nav-btn {
  border-radius: 9999px;
}

button,
input,
select,
textarea {
  border-radius: 12px;
}

.seva-category-pill,
.sevas-count-badge,
.seva-select-pill {
  border-radius: 9999px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ALANKARAM ZOOM REVEAL SECTION
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.alankaram-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(196, 154, 42, 0.06) 0%, transparent 60%),
    var(--bg-primary);
  overflow: hidden;
}

.alankaram-zoom-container {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.alankaram-zoom-frame {
  position: relative;
  width: 100%;
  max-width: min(1024px, calc(75vh * 1.8));
  aspect-ratio: 1024 / 569;
  height: auto;
  max-height: 75vh;
  margin: 0 auto;
  overflow: hidden;
  border: var(--border-gold);
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-gold-lg);
  background: #0d0a06;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alankaram-zoom-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.04);
  opacity: 0.85;
  transition: transform 1.6s var(--ease-out-expo),
    opacity 1.2s ease;
  will-change: transform, opacity;
}

.alankaram-zoom-container.revealed .alankaram-zoom-img {
  transform: scale(1);
  opacity: 1;
}

.alankaram-zoom-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: inherit;
  background:
    linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
    var(--gradient-gold) border-box;
  opacity: 0.3;
  pointer-events: none;
}

.alankaram-caption {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 700px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .alankaram-zoom-img {
    transition: none;
    transform: scale(1);
    opacity: 1;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER â€” ENHANCED
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
  border-top: var(--border-gold);
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-om {
  font-size: 2rem;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.footer-temple-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-300);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.footer-location svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.footer-map-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gold-400);
  border-bottom: 1px solid rgba(196, 154, 42, 0.2);
  padding-bottom: 2px;
  transition: color var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
}

.footer-map-link:hover {
  color: var(--gold-200);
  border-color: var(--gold-200);
}

.footer-social {
  margin-bottom: 1.5rem;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(196, 154, 42, 0.25);
  background: rgba(196, 154, 42, 0.05);
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.footer-instagram svg {
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.footer-instagram:hover {
  background: rgba(196, 154, 42, 0.12);
  border-color: rgba(196, 154, 42, 0.5);
  color: var(--gold-200);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(196, 154, 42, 0.15);
}

.footer-instagram:hover svg {
  transform: rotate(-5deg) scale(1.1);
}

.footer-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}


/* ==========================================================================
   SPECIAL POOJA PRICE & UPI PAYMENT STYLES
   ========================================================================== */

.pooja-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(196, 154, 42, 0.25);
  flex-wrap: wrap;
}

.pooja-price-tag {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.02em;
}

.pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, rgba(196, 154, 42, 0.2) 0%, rgba(212, 175, 55, 0.35) 100%);
  border: 1px solid var(--gold-400);
  border-radius: 4px;
  color: var(--gold-200);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(196, 154, 42, 0.15);
}

.pay-btn:hover {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: #0d0c08;
  border-color: var(--gold-200);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 154, 42, 0.4);
}

.pay-btn:active {
  transform: translateY(0);
}

.pay-btn svg {
  transition: transform 0.3s ease;
}

.pay-btn:hover svg {
  transform: scale(1.15);
}

/* --- UPI PAYMENT MODAL --- */
.upi-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.upi-modal-content {
  position: relative;
  background: linear-gradient(145deg, #151419 0%, #0d0c10 100%);
  border: 1px solid var(--gold-500);
  border-radius: 12px;
  max-width: 440px;
  width: 100%;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(196, 154, 42, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

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

.upi-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 154, 42, 0.2);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upi-modal-close:hover {
  background: rgba(196, 154, 42, 0.2);
  color: var(--gold-300);
  border-color: var(--gold-400);
}

.upi-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.upi-icon-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  background: rgba(196, 154, 42, 0.12);
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  box-shadow: 0 0 20px rgba(196, 154, 42, 0.2);
}

.upi-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--gold-300);
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.upi-modal-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.upi-amount-card {
  background: rgba(196, 154, 42, 0.08);
  border: 1px solid rgba(196, 154, 42, 0.3);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.upi-amount-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  margin-bottom: 0.25rem;
}

.upi-amount-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-200);
  letter-spacing: 0.02em;
}

.devotee-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.devotee-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.devotee-form label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--gold-400);
  letter-spacing: 0.05em;
}

.devotee-form input {
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid rgba(196, 154, 42, 0.3);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.devotee-form input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 10px rgba(196, 154, 42, 0.25);
}

.direct-upi-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(196, 154, 42, 0.35);
  transition: all 0.3s ease;
  margin-bottom: 1.25rem;
}

.direct-upi-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 154, 42, 0.5);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: #000;
}

.upi-qr-section {
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(196, 154, 42, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.qr-instruction {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.qr-box {
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  width: 170px;
  height: 170px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.upi-id-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upi-id-copy strong {
  color: var(--gold-300);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(196, 154, 42, 0.15);
  border: 1px solid rgba(196, 154, 42, 0.3);
  color: var(--gold-300);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: rgba(196, 154, 42, 0.3);
  color: var(--gold-100);
}

.upi-security-note {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}


/* ==========================================================================
   SEVAS PAGE, SUBSECTIONS, BOOKING & ADMIN STYLES
   ========================================================================== */

.sevas-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  background: radial-gradient(ellipse at 50% 30%, rgba(196, 154, 42, 0.15) 0%, rgba(10, 10, 15, 0.95) 100%), var(--bg-primary);
  text-align: center;
  border-bottom: var(--border-gold);
}

.sevas-hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-300);
  margin: 0.5rem 0;
  letter-spacing: 0.05em;
}

.sevas-hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.hero-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-500);
}

.sevas-container-section {
  padding: 3rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.subsections-bar {
  margin-bottom: 2.5rem;
}

.subsections-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-400);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.subsections-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sevas-search {
  position: relative;
  max-width: 640px;
  margin: 1.5rem 0 0;
}

.sevas-search .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sevas-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  color: var(--gold-400);
  pointer-events: none;
  transform: translateY(-50%);
}

.sevas-search input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem 0.8rem 3rem;
  border: 1px solid rgba(196, 154, 42, 0.3);
  border-radius: 8px;
  background: rgba(10, 10, 15, 0.8);
  color: var(--text-primary);
  font: 0.95rem var(--font-sans);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sevas-search input::placeholder {
  color: var(--text-muted);
}

.sevas-search input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(196, 154, 42, 0.12);
}

.sub-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(196, 154, 42, 0.06);
  border: 1px solid rgba(196, 154, 42, 0.25);
  border-radius: 30px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sub-tab:hover {
  background: rgba(196, 154, 42, 0.15);
  border-color: var(--gold-400);
  color: var(--gold-200);
  transform: translateY(-2px);
}

.sub-tab.active {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: #0b0a07;
  border-color: var(--gold-200);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(196, 154, 42, 0.35);
}

.sevas-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(196, 154, 42, 0.2);
}

.sevas-list-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold-300);
}

.sevas-count-badge {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold-400);
  background: rgba(196, 154, 42, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 154, 42, 0.3);
}

.sevas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.seva-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--gradient-card);
  border: var(--border-gold);
  border-radius: 8px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.seva-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-gold);
  background: var(--bg-glass);
}

.seva-category-pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  background: rgba(196, 154, 42, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.seva-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
}

.seva-description {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.seva-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px dashed rgba(196, 154, 42, 0.2);
}

.seva-price-box {
  display: flex;
  flex-direction: column;
}

.price-lbl {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-200);
}

.book-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(196, 154, 42, 0.25);
}

.book-now-btn:hover {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 154, 42, 0.4);
}

/* SEVAS BANNER CALLOUT ON HOMEPAGE */
.sevas-banner-callout {
  background: linear-gradient(135deg, rgba(196, 154, 42, 0.12) 0%, rgba(20, 19, 25, 0.95) 100%);
  border: var(--border-gold);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sevas-banner-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

.sevas-banner-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-300);
  margin-bottom: 0.75rem;
}

.sevas-banner-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  color: #0d0c08;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(196, 154, 42, 0.3);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 154, 42, 0.5);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
}

/* BOOKING PAGE STYLES */
.booking-wrapper {
  padding: 7rem 1.5rem 4rem;
  max-width: 550px;
  margin: 0 auto;
}

.booking-card {
  background: linear-gradient(145deg, #151419 0%, #0d0c10 100%);
  border: var(--border-gold);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.booking-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gold-400);
  text-decoration: none;
  margin-bottom: 1rem;
}

.booking-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(196, 154, 42, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.booking-card-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold-300);
}

.booking-category {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.booking-price-summary {
  background: rgba(196, 154, 42, 0.08);
  border: 1px solid rgba(196, 154, 42, 0.3);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.summary-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
}

.summary-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-200);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-form label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gold-400);
  display: block;
  margin-bottom: 0.3rem;
}

.booking-form label .required {
  color: #ff5555;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(196, 154, 42, 0.3);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 10px rgba(196, 154, 42, 0.25);
}

.booking-date-picker {
  position: relative;
}

.booking-date-input-wrap {
  position: relative;
}

.booking-date-input-wrap input {
  padding-right: 3rem;
  cursor: pointer;
}

.booking-date-toggle {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--gold-300);
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.booking-date-toggle:focus-visible,
.booking-calendar-nav:focus-visible,
.booking-calendar-day:focus-visible {
  outline: 2px solid var(--gold-200);
  outline-offset: 2px;
}

.booking-date-calendar {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.5rem);
  left: 0;
  width: min(100%, 340px);
  padding: 1rem;
  color: #fff;
  background: #14120e;
  border: 1px solid rgba(196, 154, 42, 0.5);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

.booking-date-calendar[hidden] {
  display: none;
}

.booking-calendar-header {
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.25rem;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.booking-calendar-month {
  color: var(--gold-200);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.booking-calendar-nav {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold-200);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 6px;
  cursor: pointer;
}

.booking-calendar-nav span {
  margin-top: -0.2rem;
  font-size: 1.8rem;
  line-height: 1;
}

.booking-calendar-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-calendar-weekdays,
.booking-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
  text-align: center;
}

.booking-calendar-weekdays {
  margin-bottom: 0.35rem;
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 600;
}

.booking-calendar-weekdays span {
  padding: 0.35rem 0;
}

.booking-calendar-day {
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  color: #f6f0e1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.booking-calendar-day:hover:not(:disabled) {
  color: #0b0a07;
  background: var(--gold-300);
}

.booking-calendar-day.today {
  border-color: var(--gold-500);
}

.booking-calendar-day.selected {
  color: #0b0a07;
  background: var(--gold-400);
  font-weight: 700;
}

.booking-calendar-day.outside-month {
  color: rgba(255, 255, 255, 0.25);
}

.booking-calendar-day:disabled {
  color: rgba(255, 255, 255, 0.25);
  cursor: not-allowed;
}

.booking-calendar-hint {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  text-align: center;
}

.submit-booking-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(196, 154, 42, 0.35);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.submit-booking-btn:hover {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 154, 42, 0.5);
}

/* Keep the admin dashboard aligned and usable on narrow screens. */
.admin-page .admin-container {
  width: min(100%, 1050px);
  min-width: 0;
}

.admin-page .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .admin-page .admin-container {
    padding: 6.5rem 1rem 2.5rem;
  }

  .admin-page .admin-dashboard-header {
    align-items: stretch;
    margin-bottom: 1.25rem;
  }

  .admin-page .admin-dashboard-header h2 {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .admin-page .admin-header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-page .admin-header-actions .btn-secondary-gold {
    width: 100%;
  }

  .admin-page .admin-tab-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: visible;
  }

  .admin-page .admin-tab-btn {
    justify-content: center;
    min-width: 0;
    padding: 0.7rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }

  .admin-page .admin-card {
    min-width: 0;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .admin-page .card-title-row {
    align-items: stretch;
  }

  .admin-page .card-title-row > select,
  .admin-page .card-title-row > div {
    width: 100%;
  }

  .admin-page #filter-specials-search {
    width: 100% !important;
  }

  .admin-page .table-responsive .admin-table {
    min-width: 620px;
  }

  .admin-page .add-seva-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-page .add-seva-grid .full-width {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .admin-page .admin-container {
    padding: 6rem 0.75rem 2rem;
  }

  .admin-page .admin-login-card {
    padding: 1.5rem 1.1rem;
  }

  .admin-page .admin-dashboard-header p {
    font-size: 0.9rem;
  }

  .admin-page .admin-card {
    padding: 1rem;
    border-radius: 8px;
  }

  .admin-page .admin-card h3 {
    font-size: 1.1rem;
  }

  .admin-page .quick-date-row,
  .admin-page .quick-tags-container {
    gap: 0.4rem;
  }
}

/* ADMIN PAGE STYLES */
.admin-container {
  padding: 7rem 1.5rem 4rem;
  max-width: 1050px;
  margin: 0 auto;
}

.admin-login-card {
  max-width: 420px;
  margin: 2rem auto;
  background: linear-gradient(145deg, #151419 0%, #0d0c10 100%);
  border: var(--border-gold);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.admin-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.admin-login-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-300);
  margin-bottom: 0.25rem;
}

.login-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

#admin-login-form .form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

#admin-login-form label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold-400);
  display: block;
  margin-bottom: 0.35rem;
}

#admin-login-form input {
  width: 100%;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(196, 154, 42, 0.3);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#admin-login-form input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 8px rgba(196, 154, 42, 0.3);
}

#admin-login-form .admin-btn-primary {
  margin-top: 0.5rem;
}

.login-hint {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold-400);
  margin: 1rem 0;
  background: rgba(196, 154, 42, 0.08);
  padding: 0.5rem;
  border-radius: 4px;
}

.admin-btn-primary {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
}

.admin-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-dashboard-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-300);
}

.admin-dashboard-header p {
  font-family: var(--font-body);
  color: var(--text-secondary);
}

.btn-secondary-gold {
  padding: 0.6rem 1.2rem;
  background: rgba(196, 154, 42, 0.12);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary-gold:hover {
  background: rgba(196, 154, 42, 0.25);
  color: var(--gold-100);
}

.admin-card {
  background: linear-gradient(145deg, #151419 0%, #0d0c10 100%);
  border: var(--border-gold);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.admin-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-300);
  margin-bottom: 1.25rem;
}

.add-seva-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.add-seva-grid .full-width {
  grid-column: span 3;
}

.admin-card label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold-400);
  display: block;
  margin-bottom: 0.3rem;
}

.admin-card input,
.admin-card select,
.admin-card textarea {
  width: 100%;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(196, 154, 42, 0.3);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.admin-card select option {
  background: #151419;
  color: #fff;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-select {
  width: auto !important;
  padding: 0.4rem 1rem !important;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(196, 154, 42, 0.15);
}

.admin-table th {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  background: rgba(196, 154, 42, 0.05);
}

.admin-table td {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.category-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  background: rgba(196, 154, 42, 0.12);
  color: var(--gold-300);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.delete-btn {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ff6b6b;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  background: rgba(220, 53, 69, 0.3);
  color: #fff;
}

.admin-nav-btn {
  padding: 0.4rem 1rem;
  background: rgba(196, 154, 42, 0.15);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
}

.admin-nav-btn.logout {
  background: rgba(220, 53, 69, 0.2);
  border-color: #ff6b6b;
  color: #ff8888;
}

@media (max-width: 768px) {
  .add-seva-grid {
    grid-template-columns: 1fr;
  }

  .add-seva-grid .full-width {
    grid-column: span 1;
  }

  .sevas-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------- CALENDAR CSS ----------- */
.calendar-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-400);
  color: var(--bg-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  cursor: pointer;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.calendar-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin-top: 15px;
}
.calendar-day-header {
  text-align: center;
  font-weight: bold;
  color: var(--gold-400);
  font-size: 0.9rem;
  padding: 5px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}
.calendar-day {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 5px;
  padding: 8px 2px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.calendar-day:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}
.calendar-day .eng-date {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}
.calendar-day .mal-date,
.calendar-day .nakshatra {
  font-size: 0.65rem;
  color: #aaa;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
}
.calendar-day.empty {
  background: transparent;
  border: none;
  cursor: default;
}

/* ========================================
   ADMIN TABS & CALENDAR SPECIALS MANAGEMENT
   ======================================== */

.admin-header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-tab-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(196, 154, 42, 0.3);
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.admin-tab-btn {
  padding: 0.75rem 1.4rem;
  background: rgba(196, 154, 42, 0.08);
  border: 1px solid rgba(196, 154, 42, 0.25);
  border-radius: 8px 8px 0 0;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.admin-tab-btn:hover {
  background: rgba(196, 154, 42, 0.16);
  color: var(--gold-300);
}

.admin-tab-btn.active {
  background: linear-gradient(180deg, rgba(196, 154, 42, 0.25) 0%, rgba(196, 154, 42, 0.08) 100%);
  border-color: var(--gold-400);
  border-bottom: 2px solid var(--gold-400);
  color: var(--gold-200);
  box-shadow: 0 4px 15px rgba(196, 154, 42, 0.15);
}

/* Quick Date & Tag Chips */
.quick-date-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.quick-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(196, 154, 42, 0.3);
  border-radius: 4px;
  color: var(--gold-300);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.quick-chip-btn:hover {
  background: rgba(196, 154, 42, 0.25);
  border-color: var(--gold-400);
  color: #fff;
}

.quick-tags-container {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.quick-tag-chip {
  background: rgba(196, 154, 42, 0.1);
  border: 1px dashed rgba(196, 154, 42, 0.4);
  color: var(--gold-300);
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-tag-chip:hover {
  background: rgba(196, 154, 42, 0.3);
  border-style: solid;
  color: #fff;
}

/* Specials List & Tags */
.specials-tags-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.special-tag-item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  color: #f7e7ce;
  font-size: 0.82rem;
}

.delete-tag-btn {
  background: transparent;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0 0.2rem;
  transition: transform 0.15s ease;
}

.delete-tag-btn:hover {
  transform: scale(1.25);
  color: #ff3333;
}

.calendar-action-btns {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-table-action {
  background: rgba(196, 154, 42, 0.12);
  border: 1px solid rgba(196, 154, 42, 0.35);
  color: var(--gold-300);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-table-action:hover {
  background: rgba(196, 154, 42, 0.28);
  color: #fff;
}

/* Calendar Day with Special */
.calendar-day.has-special {
  background: linear-gradient(145deg, rgba(196, 154, 42, 0.22) 0%, rgba(30, 24, 10, 0.75) 100%) !important;
  border-color: rgba(255, 215, 0, 0.6) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.calendar-day.selected-day {
  border-color: var(--gold-300) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5) !important;
}

.calendar-special-pill {
  font-size: 0.6rem;
  color: #ffd700;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 3px;
  margin-top: 3px;
  padding: 1px 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 95%;
  display: block;
  font-weight: 600;
}

.program-list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #ffd700;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 0 4px 4px 0;
  color: #f0f0f0;
  font-size: 0.9rem;
}

.program-list-item.empty-special {
  border-left-color: rgba(255, 255, 255, 0.2);
  color: #aaa;
  font-style: italic;
}

.calendar-modal-admin-actions {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.btn-quick-add-special {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%);
  border: 1px solid var(--gold-400);
  color: #0b0a07;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quick-add-special:hover {
  filter: brightness(1.15);
}

/* Calendar Modal Overlay & Content */
#calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#calendar-modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#calendar-modal.active .upi-modal-content {
  transform: scale(1) translateY(0);
}

.calendar-modal-content {
  max-width: 660px !important;
  width: 95% !important;
  max-height: 90vh;
  overflow-y: auto;
}

.calendar-header-actions .calendar-nav-btn {
  background: rgba(196, 154, 42, 0.15);
  border: 1px solid var(--gold-400);
  color: var(--gold-200);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-header-actions .calendar-nav-btn:hover {
  background: var(--gold-500);
  color: #0d0c08;
  transform: translateY(-1px);
}



/* ========================================
   SEVAS PAGE - BOOK SEVA CTA SECTION
   ======================================== */

.book-seva-cta-section {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(196, 154, 42, 0.13) 0%, rgba(20, 19, 25, 0.98) 100%);
  border: 1px solid rgba(196, 154, 42, 0.4);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(196, 154, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.book-seva-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.book-seva-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.book-seva-cta-text {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
}

.cta-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold-200);
  margin-bottom: 0.25rem;
}

.cta-subtext {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.book-seva-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 25px rgba(196, 154, 42, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.book-seva-main-btn:hover {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(196, 154, 42, 0.5);
}

/* ========================================================================== 
   DONATION PAGE
   ========================================================================== */

.donate-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(196, 154, 42, 0.12) 0%, transparent 52%),
    var(--bg-primary);
}

.donate-main {
  flex: 1;
  display: flex;
}

.donate-hero {
  width: 100%;
  min-height: 72vh;
  padding: 8rem 1.5rem 4rem;
  display: grid;
  place-items: center;
}

.donate-card {
  width: min(100%, 700px);
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  background: linear-gradient(145deg, rgba(196, 154, 42, 0.09), rgba(20, 20, 32, 0.88));
  border: var(--border-gold);
  border-radius: 18px;
  box-shadow: var(--shadow-elevation), var(--shadow-gold);
}

.donate-om {
  margin: 1.25rem 0 0.5rem;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.2;
}

.donate-title {
  margin: 0.25rem 0 1rem;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.donate-page .nav-links a[aria-current="page"] {
  color: var(--gold-300);
}

.donate-card .section-divider {
  margin: 1.25rem auto;
}

.donate-message {
  max-width: 520px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  font-size: 1.25rem;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 56px;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  box-shadow: 0 6px 25px rgba(196, 154, 42, 0.35);
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.donate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(196, 154, 42, 0.5);
  color: #000;
}

.donate-button:focus-visible {
  outline: 2px solid var(--gold-100);
  outline-offset: 4px;
}

.donate-upi-note,
.donate-upi-id {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.6;
}

.donate-upi-note {
  margin: 1.2rem 0 0.4rem;
}

.donate-upi-id strong {
  color: var(--gold-300);
  font-weight: 500;
}

@media (max-width: 600px) {
  .donate-hero {
    min-height: 68vh;
    padding: 7rem 1rem 3rem;
  }

  .donate-card {
    border-radius: 14px;
  }

  .donate-button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .book-seva-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .book-seva-cta-text {
    flex-direction: column;
    text-align: center;
  }
  .book-seva-main-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   BOOKING PAGE - WIDE CARD + STEP LAYOUT
   ======================================== */

.booking-card-wide {
  max-width: 860px !important;
}

.booking-step {
  margin-bottom: 2rem;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-200);
}

/* Category Tabs (Booking page) */
.booking-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.bk-tab {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(196, 154, 42, 0.3);
  background: rgba(196, 154, 42, 0.05);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.bk-tab.active,
.bk-tab:hover {
  background: rgba(196, 154, 42, 0.18);
  border-color: var(--gold-400);
  color: var(--gold-200);
}

/* Seva Selection Grid */
.seva-select-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.seva-select-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(196, 154, 42, 0.2);
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.seva-select-card:hover {
  border-color: rgba(196, 154, 42, 0.5);
  background: rgba(196, 154, 42, 0.05);
}

.seva-select-card.seva-selected {
  border-color: var(--gold-400);
  background: rgba(196, 154, 42, 0.1);
  box-shadow: 0 4px 18px rgba(196, 154, 42, 0.18);
}

.seva-select-check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
}

.seva-checkbox {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold-400);
  cursor: pointer;
  flex-shrink: 0;
}

.seva-select-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  cursor: pointer;
  flex: 1;
}

.seva-select-pill {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  background: rgba(196, 154, 42, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}

.seva-select-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-200);
  margin-top: 0.2rem;
}

.seva-select-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.seva-select-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}

.seva-select-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-300);
  white-space: nowrap;
}

/* Quantity Controls */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(196, 154, 42, 0.35);
  border-radius: 6px;
  padding: 0.2rem 0.3rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.qty-control.qty-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: rgba(196, 154, 42, 0.15);
  color: var(--gold-300);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(196, 154, 42, 0.35);
  color: var(--gold-100);
}

.qty-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold-200);
  min-width: 20px;
  text-align: center;
}

/* Selected Summary Bar */
.selected-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(196, 154, 42, 0.15), rgba(10,9,15,0.9));
  border: 1px solid var(--gold-400);
  border-radius: 10px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.selected-summary-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.selected-count-badge {
  background: rgba(196, 154, 42, 0.2);
  color: var(--gold-300);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(196, 154, 42, 0.4);
}

.selected-amount-preview {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-200);
}

.proceed-to-details-btn {
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.proceed-to-details-btn:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 154, 42, 0.4);
}

/* Review Selected Sevas */
.review-sevas-list {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(196, 154, 42, 0.2);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.review-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.review-seva-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(196, 154, 42, 0.15);
  gap: 1rem;
}

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

.review-seva-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.review-seva-pill {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  background: rgba(196, 154, 42, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

.review-seva-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.review-qty-badge {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold-300);
  background: rgba(196, 154, 42, 0.15);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.review-seva-amt {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold-200);
  font-weight: 700;
  white-space: nowrap;
}

/* Form Actions Row */
.form-actions-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.back-to-sevas-btn {
  padding: 0.75rem 1.4rem;
  background: rgba(196, 154, 42, 0.08);
  border: 1px solid rgba(196, 154, 42, 0.35);
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.back-to-sevas-btn:hover {
  background: rgba(196, 154, 42, 0.18);
  color: var(--gold-100);
}

.submit-booking-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: #0b0a07;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(196, 154, 42, 0.3);
}

.submit-booking-btn:hover {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 154, 42, 0.45);
}

.sevas-loading,
.no-sevas-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1.15rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STORY BOOK MODAL & CLOSED BOOK
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.story-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow: hidden;
}

.story-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.story-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--primary-gold);
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10001;
}

.story-modal-close:hover {
  transform: scale(1.1) rotate(90deg);
}

.story-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  perspective: 2000px;
}

/* â•â•â•â• FLOATING TOP CONTROLS: LANGUAGE SWITCHER & EDITION BADGE â•â•â•â• */
.story-top-controls {
  position: absolute;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10020;
  pointer-events: auto;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 92vw;
  animation: fadeIn 0.4s ease;
}

.story-lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 14, 22, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 168, 67, 0.45);
  border-radius: 35px;
  padding: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 168, 67, 0.15);
  gap: 4px;
}

.story-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 25px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--gold-300, #eed588);
  font-family: var(--font-heading, inherit);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.story-lang-btn:hover:not(.active) {
  background: rgba(212, 168, 67, 0.12);
  color: #fff;
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-1px);
}

.story-lang-btn.active {
  background: linear-gradient(135deg, #f7df96, #d4af37, #9b7a24);
  color: #0d0b10;
  border-color: #ffe699;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.story-lang-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.5);
  transition: all 0.25s ease;
}

.story-lang-btn.active .story-lang-dot {
  background: #0d0b10;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.story-lang-primary {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.story-lang-secondary {
  font-size: 0.72rem;
  opacity: 0.8;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-edition-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.15rem;
  background: rgba(16, 14, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 25px;
  color: var(--gold-200, #eed588);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  font-family: var(--font-sans, sans-serif);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.closed-book-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.4s ease;
  margin-top: 2rem;
}

.closed-book-container:hover {
  transform: translateY(-5px) scale(1.03);
}

.closed-book {
  position: relative;
  width: 320px;
  height: 460px;
  transform-style: preserve-3d;
  transform: rotateY(-20deg) rotateX(10deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 25px 25px 40px rgba(0,0,0,0.7);
}

.closed-book-container:hover .closed-book {
  transform: rotateY(-10deg) rotateX(5deg);
}

.book-cover-front,
.book-cover-back,
.book-spine,
.book-pages-edge,
.book-pages-top,
.book-pages-bottom {
  position: absolute;
  background: #5a3c22;
  border: 1px solid #3c2a1a;
  backface-visibility: hidden;
}

.book-cover-front {
  width: 100%;
  height: 100%;
  transform: translateZ(20px);
  overflow: hidden;
  border-radius: 2px 6px 6px 2px;
}

.book-cover-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Adds a subtle book cover shadow/lighting */
.book-cover-front::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.1) 10%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.book-cover-back {
  width: 100%;
  height: 100%;
  transform: translateZ(-20px) rotateY(180deg);
  border-radius: 6px 2px 2px 6px;
}

.book-spine {
  width: 40px;
  height: 100%;
  left: -20px;
  top: 0;
  transform: rotateY(-90deg);
  background: linear-gradient(to right, #2a1c10, #4c3622, #2a1c10);
  border-radius: 2px;
}

.book-pages-edge {
  width: 40px;
  height: 98%;
  top: 1%;
  right: -20px;
  transform: rotateY(90deg);
  background: #f4e8d3;
  background-image: repeating-linear-gradient(0deg, #e4d8c3, #e4d8c3 1px, #f4e8d3 1px, #f4e8d3 3px);
  border: none;
}

.book-pages-top {
  width: 98%;
  height: 40px;
  top: -20px;
  left: 1%;
  transform: rotateX(90deg);
  background: #f4e8d3;
  background-image: repeating-linear-gradient(90deg, #e4d8c3, #e4d8c3 1px, #f4e8d3 1px, #f4e8d3 3px);
  border: none;
}

.book-pages-bottom {
  width: 98%;
  height: 40px;
  bottom: -20px;
  left: 1%;
  transform: rotateX(-90deg);
  background: #f4e8d3;
  background-image: repeating-linear-gradient(90deg, #e4d8c3, #e4d8c3 1px, #f4e8d3 1px, #f4e8d3 3px);
  border: none;
}

.book-instruction {
  margin-top: 1.5rem;
  color: var(--primary-gold);
  font-family: var(--font-primary, serif);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.instruction-main {
  font-size: 1.15rem;
  letter-spacing: 1px;
  animation: pulseOpacity 2.5s infinite;
}

.instruction-sub {
  font-size: 0.85rem;
  color: var(--gold-300, #eed588);
  font-family: var(--font-sans, sans-serif);
  opacity: 0.8;
}

@keyframes pulseOpacity {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

@media (min-width: 768px) {
  .closed-book {
    width: 360px;
    height: 510px;
  }
}

/* â•â•â•â• OPEN BOOK (FLIPBOOK) â•â•â•â• */
.open-book-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  position: relative;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.book-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10010;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#book-prev {
  left: 0.5rem;
}

#book-next {
  right: 0.5rem;
}

.book-nav:hover:not(:disabled) {
  background: var(--primary-gold);
  color: #1a1a1a;
  transform: translateY(-50%) scale(1.1);
}

.book-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .book-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  #book-prev {
    left: 2rem;
  }
  #book-next {
    right: 2rem;
  }
}

.flipbook {
  position: relative;
  width: 90vw;
  height: 130vw; /* Aspect ratio for a single portrait page */
  max-width: 500px;
  max-height: 720px;
  perspective: 2500px;
  display: flex;
}

@media (max-width: 768px) {
  .flipbook {
    height: 140vw;
    max-height: 70vh;
  }
}

.flipbook-page {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.8s ease;
  z-index: 1; /* managed by JS */
}

.flipbook-page.flipped {
  transform: rotateY(-180deg);
  opacity: 0;
  pointer-events: none;
}

.page-front,
.page-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: #f4e8d3;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.page-front {
  transform: rotateY(0deg);
  border-left: 1px solid rgba(0,0,0,0.05);
}

.page-back {
  transform: rotateY(180deg);
  border-right: 1px solid rgba(0,0,0,0.05);
}

.page-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hard cover for the open book */
.flipbook::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: #4a2f1d;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.7), inset 0 0 20px rgba(0,0,0,0.5);
  z-index: -1;
}

/* Spine line */
.flipbook::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 15px;
  height: calc(100% + 16px);
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.1), rgba(0,0,0,0.4));
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  border-radius: 4px;
}

/* FLIPBOOK ZOOM WRAPPER & CONTROLS */
.flipbook-zoom-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  touch-action: none;
  user-select: none;
}

.flipbook-zoom-wrapper.is-zoomed {
  cursor: grab;
}

.flipbook-zoom-wrapper.is-dragging {
  cursor: grabbing;
  transition: none !important;
}

/* Floating page-number tab */
.book-page-tab {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 16, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 168, 67, 0.35);
  color: var(--gold-200);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
  min-width: 4rem;
  padding: 0.45rem 1rem;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(212, 168, 67, 0.12);
  z-index: 10020;
  pointer-events: none;
  animation: fadeIn 0.4s ease;
}

/* Zoom controls floating bar */
.book-zoom-bar {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(18, 16, 24, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 168, 67, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 168, 67, 0.15);
  border-radius: 40px;
  padding: 0.4rem 0.75rem;
  z-index: 10020;
  transition: all 0.3s ease;
  animation: fadeIn 0.4s ease;
}

.book-zoom-bar:hover {
  border-color: rgba(212, 168, 67, 0.6);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 168, 67, 0.25);
}

.book-zoom-btn {
  background: rgba(212, 168, 67, 0.12);
  color: var(--gold-300);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.book-zoom-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #0b0a07;
  border-color: var(--gold-300);
  transform: scale(1.08);
}

.book-zoom-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
}

.book-zoom-val {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-200);
  min-width: 52px;
  text-align: center;
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.book-zoom-val:hover {
  color: #fff;
}

.book-zoom-reset {
  border-radius: 20px;
  width: auto;
  padding: 0 0.8rem;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .story-top-controls {
    top: 4rem;
    gap: 0.4rem;
  }
  .story-edition-badge {
    display: none;
  }
  .story-lang-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }
  .story-lang-secondary {
    display: none;
  }
  .book-instruction {
    margin-top: 1rem;
  }
  .instruction-main {
    font-size: 1rem;
  }
  .instruction-sub {
    font-size: 0.8rem;
  }
  .book-zoom-bar {
    bottom: 1rem;
    padding: 0.3rem 0.5rem;
    gap: 0.35rem;
  }
  .book-zoom-btn {
    width: 32px;
    height: 32px;
  }
  .book-zoom-val {
    font-size: 0.8rem;
    min-width: 44px;
  }
  .book-zoom-reset span {
    display: none;
  }
  .book-zoom-reset {
    width: 32px;
    padding: 0;
    border-radius: 50%;
  }
  .book-page-tab {
    top: 1rem;
    font-size: 0.76rem;
    padding: 0.3rem 0.9rem;
  }
}

/* Keep the seva booking controls aligned on phone screens. */
@media (max-width: 600px) {
  .booking-wrapper {
    width: 100%;
    padding: 6rem 0.75rem 2rem;
  }

  .booking-card-wide {
    width: 100%;
    max-width: none !important;
    padding: 1.25rem 1rem;
  }

  .booking-card-header h2 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .booking-category {
    display: block;
    line-height: 1.5;
  }

  .step-label {
    align-items: flex-start;
    gap: 0.6rem;
  }

  .step-title {
    min-width: 0;
    font-size: 1rem;
    line-height: 1.4;
  }

  .booking-category-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .bk-tab {
    min-width: 0;
    padding: 0.55rem 0.45rem;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
  }

  .seva-select-card {
    min-width: 0;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.9rem;
  }

  .seva-select-check,
  .seva-select-info {
    width: 100%;
    min-width: 0;
  }

  .seva-select-check {
    gap: 0.65rem;
  }

  .seva-select-name,
  .seva-select-desc {
    overflow-wrap: anywhere;
  }

  .seva-select-right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 1.9rem;
  }

  .selected-summary-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem;
  }

  .selected-summary-info {
    justify-content: space-between;
    gap: 0.6rem;
  }

  .proceed-to-details-btn {
    width: 100%;
    white-space: normal;
  }

  .review-sevas-list {
    padding: 0.9rem;
  }

  .review-seva-row {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .review-seva-info {
    min-width: 0;
  }

  .review-seva-name {
    overflow-wrap: anywhere;
  }

  .form-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .back-to-sevas-btn,
  .form-actions-row .submit-booking-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Keep the Sevas page balanced on narrow phone screens. */
@media (max-width: 600px) {
  .sevas-page .sevas-hero {
    padding: 7rem 1rem 2.75rem;
  }

  .sevas-page .sevas-hero-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.15;
  }

  .sevas-page .sevas-hero-sub {
    font-size: 1rem;
    line-height: 1.55;
  }

  .sevas-page .sevas-container-section {
    width: 100%;
    padding: 2rem 1rem;
  }

  .sevas-page .book-seva-cta-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .sevas-page .book-seva-cta-section {
    margin-top: 2rem;
    padding: 1.25rem;
  }

  .sevas-page .book-seva-cta-text {
    min-width: 0;
  }

  .sevas-page .book-seva-main-btn {
    width: 100%;
    justify-content: center;
  }

  .sevas-page .subsections-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .sevas-page .sub-tab {
    min-width: 0;
    justify-content: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.78rem;
    text-align: center;
  }

  .sevas-page .sub-tab .sub-name {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sevas-page .sevas-search {
    width: 100%;
    max-width: none;
  }

  .sevas-page .sevas-list-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .sevas-page .sevas-list-header h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .sevas-page .sevas-count-badge {
    max-width: 100%;
  }

  .sevas-page .sevas-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .sevas-page .seva-card {
    min-width: 0;
    padding: 1.25rem;
  }

  .sevas-page .seva-title,
  .sevas-page .seva-description {
    overflow-wrap: anywhere;
  }
}


/* Styles consolidated from panchangam.html. */
.panchangam-page {
      padding-top: 80px;
    }

    .panchangam-page .section {
      padding-top: 2rem;
    }

    .panchangam-page .section-header {
      margin-bottom: 1.5rem;
    }

    .year-selector {
      text-align: center;
      margin: 24px 0 32px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
    }

    .year-selector h2 {
      font-family: 'Cinzel', serif;
      color: var(--gold-400);
      font-size: 2.5rem;
      margin: 0;
    }

    .panchangam-search {
      width: min(100% - 32px, 620px);
      margin: 0 auto 24px;
      position: relative;
      z-index: 2;
    }

    .panchangam-search-field {
      display: flex;
      align-items: center;
      gap: 0;
      width: 54px;
      min-height: 54px;
      box-sizing: border-box;
      margin: 0 auto;
      overflow: hidden;
      padding: 4px;
      border: 1px solid rgba(226, 187, 83, 0.42);
      border-radius: 999px;
      background: rgba(18, 18, 20, 0.88);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.05);
      transition: width 280ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms ease, box-shadow 180ms ease;
    }

    .panchangam-search-field.expanded {
      width: min(100%, 620px);
      gap: 8px;
      padding-left: 7px;
    }

    .panchangam-search-field:not(.expanded) .panchangam-search-clear {
      display: none !important;
    }

    .panchangam-search-field:focus-within {
      border-color: var(--gold-400);
      box-shadow: 0 0 0 3px rgba(226, 187, 83, 0.12), 0 12px 32px rgba(0, 0, 0, 0.24);
    }

    .panchangam-search-toggle {
      display: grid;
      flex: 0 0 44px;
      width: 44px;
      height: 44px;
      place-items: center;
      padding: 0;
      border: 0;
      border-radius: 50%;
      color: var(--gold-400);
      background: transparent;
      cursor: pointer;
      transition: color 180ms ease, background 180ms ease;
    }

    .panchangam-search-toggle:hover {
      color: var(--gold-300);
      background: rgba(226, 187, 83, 0.12);
    }

    .panchangam-search-toggle svg {
      width: 22px;
      height: 22px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-width: 2;
    }

    .panchangam-search-close-icon {
      display: none;
      font-size: 1.7rem;
      line-height: 1;
    }

    .panchangam-search-field.expanded .panchangam-search-icon {
      display: none;
    }

    .panchangam-search-field.expanded .panchangam-search-close-icon {
      display: block;
    }

    #panchangam-search-input {
      flex: 1;
      min-width: 0;
      width: 0;
      padding: 12px 0;
      border: 0;
      outline: 0;
      color: #fff;
      background: transparent;
      font: inherit;
      font-size: 0.98rem;
      opacity: 0;
      transition: opacity 180ms ease;
    }

    .panchangam-search-field.expanded #panchangam-search-input {
      opacity: 1;
    }

    #panchangam-search-input::placeholder {
      color: rgba(255, 255, 255, 0.58);
    }

    .panchangam-search-clear {
      display: none;
      flex: 0 0 auto;
      white-space: nowrap;
      border: 0;
      border-radius: 999px;
      padding: 9px 14px;
      color: var(--gold-300);
      background: rgba(226, 187, 83, 0.12);
      cursor: pointer;
    }

    .panchangam-search-clear.visible {
      display: block;
    }

    .panchangam-search-results {
      display: none;
      position: absolute;
      top: calc(100% + 10px);
      left: 0;
      right: 0;
      max-height: min(55vh, 420px);
      overflow: auto;
      padding: 8px;
      border: 1px solid rgba(226, 187, 83, 0.3);
      border-radius: 20px;
      background: rgba(16, 16, 18, 0.97);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(18px);
    }

    .panchangam-search-results.visible {
      display: block;
    }

    .panchangam-search-result {
      display: block;
      width: 100%;
      padding: 12px 14px;
      border: 0;
      border-radius: 14px;
      color: #fff;
      text-align: left;
      background: transparent;
      cursor: pointer;
      transition: background 160ms ease;
    }

    .panchangam-search-result:hover,
    .panchangam-search-result:focus-visible {
      outline: 0;
      background: rgba(226, 187, 83, 0.12);
    }

    .panchangam-search-result-date {
      display: block;
      margin-bottom: 4px;
      color: var(--gold-300);
      font-weight: 600;
    }

    .panchangam-search-result-details {
      display: block;
      color: rgba(255, 255, 255, 0.72);
      font-size: 0.88rem;
      line-height: 1.5;
    }

    .panchangam-search-empty,
    .panchangam-search-count {
      margin: 0;
      padding: 12px 14px;
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
    }

    .panchangam-search-count {
      color: var(--gold-300);
      border-bottom: 1px solid rgba(226, 187, 83, 0.15);
    }

    .calendar-day.search-match {
      outline: 2px solid var(--gold-300);
      outline-offset: 2px;
      box-shadow: 0 0 24px rgba(226, 187, 83, 0.4);
    }

    .year-btn {
      background: none;
      border: 1px solid var(--gold-600);
      color: var(--gold-400);
      padding: 5px 15px;
      cursor: pointer;
      font-size: 1.5rem;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .year-btn:hover {
      background: rgba(255, 215, 0, 0.1);
    }

    .months-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      padding: 0 5%;
      margin-bottom: 60px;
    }

    .month-card {
      background: rgba(20, 20, 20, 0.8);
      border: 1px solid rgba(255, 215, 0, 0.2);
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .month-title {
      text-align: center;
      font-family: 'Cinzel', serif;
      color: var(--gold-300);
      margin-bottom: 15px;
      font-size: 1.3rem;
      border-bottom: 1px solid rgba(255, 215, 0, 0.2);
      padding-bottom: 10px;
    }

    /* Day Detail Modal */
    .day-detail-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      z-index: 2000;
      justify-content: center;
      align-items: center;
    }

    .day-detail-content {
      background: #111;
      border: 1px solid var(--gold-600);
      border-radius: 8px;
      padding: 30px;
      max-width: 500px;
      width: 90%;
      position: relative;
    }

    .close-detail {
      position: absolute;
      top: 15px;
      right: 20px;
      color: var(--gold-400);
      font-size: 24px;
      cursor: pointer;
    }

    @media (max-width: 600px) {
      .months-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 0 12px;
      }

      .month-card {
        min-width: 0;
        padding: 12px;
      }

      .month-card .calendar-grid {
        gap: 3px;
      }

      .month-card .calendar-day-header {
        min-width: 0;
        padding: 4px 0;
        font-size: 0.8rem;
      }

      .month-card .calendar-day {
        min-width: 0;
        padding: 7px 1px;
      }

      .year-selector {
        gap: 14px;
        margin: 24px 0;
      }

      .year-selector h2 {
        font-size: 2rem;
      }

      .panchangam-search {
        margin-bottom: 18px;
      }

      .panchangam-search-field.expanded {
        width: min(100%, 620px);
      }

      #panchangam-search-input {
        font-size: 0.9rem;
      }
    }


/* Styles consolidated from ulsavam-details.html. */
.ulsavam-empty-page {
      min-height: 100vh;
      padding: 132px 24px 48px;
      text-align: center;
    }

    .ulsavam-empty-page h1 {
      color: var(--gold-300);
      font-family: var(--font-heading);
      font-size: clamp(1.8rem, 4vw, 3rem);
      font-weight: 500;
    }
