/* ==========================================================================
   SRI AGASTHIYA NADI ASTROLOGY — CELESTIAL SAPPHIRE & ROYAL GOLD LUXURY THEME
   Modern Luxury Light Design: Crisp Cosmic Ice Pearl + Royal Sapphire Blue + Divine Gold
   Ultra-modern, High-End Spiritual Experience, Pristine Contrast & Apple-Level Glassmorphism
   ========================================================================== */

:root {
  /* Core Modern Celestial Palette */
  --bg-cosmic-ice: #F6F9FD;
  --bg-pearl-soft: #EDF3FA;
  --bg-sapphire-tint: #E8F0FE;
  --bg-pure-white: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.92);
  --bg-card-glass-hover: #FFFFFF;
  --bg-card-inner: rgba(246, 249, 253, 0.95);
  
  /* Royal Cosmic Sapphire Blue Palette */
  --sapphire-dark: #0A192F;
  --sapphire-deep: #0F2942;
  --sapphire-royal: #1E3E62;
  --sapphire-vibrant: #2563EB;
  --sapphire-glow: rgba(30, 62, 98, 0.15);
  --sapphire-light: #EEF4FC;
  --sapphire-border: rgba(30, 62, 98, 0.2);

  /* Sacred Divine Gold Accents */
  --gold-primary: #C89D35;
  --gold-antique: #B8860B;
  --gold-shimmer: #F59E0B;
  --gold-light: #FEF9EE;
  --gold-border: rgba(200, 157, 53, 0.35);
  --gold-glow: rgba(200, 157, 53, 0.25);

  /* Typography Colors (Ultra-Crisp, High Contrast & Modern) */
  --text-main: #14213D;
  --text-heading: #0A192F;
  --text-muted: #4B5E76;
  --text-subtle: #7A8CA3;

  /* WhatsApp Green */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;

  /* Borders & Modern Soft Shadows */
  --border-subtle: 1px solid rgba(30, 62, 98, 0.15);
  --border-card: 1px solid rgba(37, 99, 235, 0.12);
  --border-gold-accent: 1px solid rgba(200, 157, 53, 0.45);
  --shadow-card: 0 10px 30px -5px rgba(10, 25, 47, 0.07), 0 4px 12px rgba(37, 99, 235, 0.04);
  --shadow-card-hover: 0 20px 40px -8px rgba(10, 25, 47, 0.15), 0 6px 18px rgba(37, 99, 235, 0.1);
  --shadow-floating: 0 14px 35px rgba(10, 25, 47, 0.12);

  /* Fonts - Modern Premium Tamil & Latin Typography */
  --font-serif-heading: 'Cinzel', 'Outfit', serif;
  --font-body: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-tamil: 'Mukta Malar', 'Anek Tamil', sans-serif;
  --font-tamil-heading: 'Mukta Malar', 'Anek Tamil', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-cosmic-ice);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background-color: var(--bg-cosmic-ice);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: var(--sapphire-light);
  color: var(--sapphire-dark);
}

/* Modern Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-pearl-soft);
}
::-webkit-scrollbar-thumb {
  background: rgba(30, 62, 98, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sapphire-royal);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-tamil-heading), var(--font-serif-heading);
  letter-spacing: 0.01em;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
}

.tamil-text {
  font-family: var(--font-tamil);
  letter-spacing: 0.01em;
}

.hero-text-sapphire {
  color: #0A192F;
  display: inline-block;
  font-weight: 800;
}

.hero-text-gold {
  color: #A07212;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 35%, #F5CF68 55%, #9E741A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
  filter: drop-shadow(0 2px 8px rgba(200, 157, 53, 0.22));
}

.text-gold-gradient {
  color: #9E741A;
  font-weight: 800;
  display: inline-block;
}

.text-sapphire-gradient,
.text-maroon-gradient {
  color: #0A192F;
  font-weight: 800;
  display: inline-block;
}

.sub-title {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-royal);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sub-title::before, .sub-title::after {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary));
}
.sub-title::after {
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

/* Sacred Divider */
.sacred-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 2.25rem;
  width: 100%;
  max-width: 280px;
}

.sacred-divider-line {
  height: 1.5px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--sapphire-royal), transparent);
}

.sacred-divider-icon {
  color: var(--gold-primary);
  font-size: 1.1rem;
  animation: pulseGlow 3s infinite ease-in-out;
}

/* ==========================================================================
   COSMIC CANVAS BACKGROUND (DIVINE CELESTIAL SAPPHIRE LIGHT)
   ========================================================================== */
#cosmic-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Atmospheric Ambient Lighting */
.cosmic-nebula-glow {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 1200px;
  height: 750px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(200, 157, 53, 0.09) 35%, transparent 70%);
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
  animation: nebulaBreathe 12s infinite alternate ease-in-out;
}

.main-content {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   FLOATING MINIMAL LUXURY NAVBAR
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2.25rem;
  transition: var(--transition-smooth);
}

.header-nav.scrolled {
  padding: 0.65rem 2.25rem;
  background: rgba(246, 249, 253, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 62, 98, 0.15);
  box-shadow: 0 6px 25px rgba(10, 25, 47, 0.08);
}

.nav-container {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-heading);
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(30, 62, 98, 0.25));
  transition: var(--transition-smooth);
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: rotate(4deg) scale(1.04);
}

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

.brand-title {
  font-family: var(--font-serif-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--sapphire-dark);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-antique);
  font-weight: 700;
}

/* Minimal 5 Clean Single-Line Tabs */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sapphire-royal), var(--gold-primary));
  transition: var(--transition-smooth);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Luxury Multi-Language Dropdown & Google Translate */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
  user-select: none;
}

.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--sapphire-border);
  border-radius: 24px;
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sapphire-dark);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.05);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.lang-dropdown-trigger:hover {
  background: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 14px rgba(200, 157, 53, 0.22);
  transform: translateY(-1px);
}

.lang-dropdown-wrapper.open .lang-dropdown-trigger {
  background: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: 0 6px 20px rgba(200, 157, 53, 0.3);
}

.lang-globe-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.current-lang-text {
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-sans);
}

.lang-chevron-icon {
  color: var(--sapphire-royal);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.lang-dropdown-wrapper.open .lang-chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  max-height: 380px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1.5px solid rgba(200, 157, 53, 0.35);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 2500;
  padding: 0.45rem;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-wrapper.open .lang-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}
.lang-dropdown-menu::-webkit-scrollbar-track {
  background: #F8FAFC;
  border-radius: 8px;
}
.lang-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(200, 157, 53, 0.4);
  border-radius: 8px;
}
.lang-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sapphire-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-dropdown-item:hover {
  background: #FAF6ED;
  color: var(--gold-dark);
  transform: translateX(3px);
}

.lang-dropdown-item.active {
  background: linear-gradient(135deg, rgba(30, 62, 98, 0.08) 0%, rgba(200, 157, 53, 0.12) 100%);
  color: var(--sapphire-royal);
  font-weight: 700;
  border: 1px solid rgba(200, 157, 53, 0.3);
}

.lang-item-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-check {
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-dropdown-item.active .lang-check {
  opacity: 1;
}

/* Google Translate Suppression & Pristine UI */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
#google_translate_element,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Direct Header WhatsApp Connect Button */
.btn-nav-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.3rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-nav-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #2EE070 0%, #1EBE5D 100%);
}

.btn-luxury-cta {
  background: linear-gradient(135deg, var(--sapphire-dark) 0%, var(--sapphire-royal) 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.2);
  border: 1px solid var(--gold-primary);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-luxury-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 25, 47, 0.35);
  background: linear-gradient(135deg, #102A43 0%, var(--sapphire-dark) 100%);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--sapphire-border);
  border-radius: 8px;
  color: var(--sapphire-dark);
  padding: 0.5rem;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 84%;
  max-width: 380px;
  height: 100vh;
  background: rgba(246, 249, 253, 0.98);
  backdrop-filter: blur(25px);
  z-index: 1001;
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--sapphire-border);
  box-shadow: -15px 0 40px rgba(10, 25, 47, 0.15);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION — MODERN CELESTIAL SAPPHIRE & SACRED GOLD LIGHT
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5rem 1.5rem 2.5rem;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 950px 650px at 50% 36%, rgba(255, 244, 218, 0.72) 0%, rgba(242, 247, 255, 0.45) 50%, rgba(234, 243, 253, 0.15) 80%, transparent 100%),
    radial-gradient(circle 800px at 50% 85%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 10.5rem 1rem 2rem;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(200, 157, 53, 0.45);
  padding: 0.5rem 1.45rem;
  border-radius: 40px;
  margin-bottom: 2.25rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(200, 157, 53, 0.14), 0 2px 8px rgba(10, 25, 47, 0.06);
  animation: floatSubtle 4s infinite ease-in-out;
  position: relative;
  z-index: 5;
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

.hero-badge-text {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-dark);
  font-weight: 800;
}

.hero-heading {
  font-family: var(--font-tamil-heading), var(--font-serif-heading);
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  margin-top: 5rem;
  margin-bottom: 1.25rem;
  line-height: 1.28;
  position: relative;
  z-index: 5;
}

@media (min-width: 768px) {
  .hero-heading {
    margin-top: 6.5rem;
  }
}

.hero-subtext {
  font-family: var(--font-tamil), var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--sapphire-royal);
  max-width: 820px;
  margin: 0 auto 1.75rem;
  font-weight: 600;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.btn-secondary-glass {
  background: #FFFFFF;
  border: 1px solid var(--sapphire-border);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.06);
  transition: var(--transition-smooth);
}

.btn-secondary-glass:hover {
  background: var(--sapphire-light);
  border-color: var(--sapphire-royal);
  color: var(--sapphire-dark);
  transform: translateY(-2px);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--sapphire-border);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sapphire-dark);
  box-shadow: 0 2px 10px rgba(10, 25, 47, 0.04);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.hero-trust-pill:hover {
  border-color: var(--gold-primary);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 157, 53, 0.18);
}

.hero-trust-pill svg {
  flex-shrink: 0;
}

/* 3D PALM LEAF HERO VISUAL */
/* 3D PALM LEAF HERO VISUAL */
.hero-palm-leaf-container {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto 2.5rem;
  perspective: 1000px;
}

.hero-palm-leaf {
  position: relative;
  width: 100%;
  min-height: 84px;
  background: linear-gradient(90deg, #102A43 0%, #1E3E62 25%, #8C6510 50%, #1E3E62 75%, #102A43 100%);
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(10, 25, 47, 0.25), 0 0 35px rgba(200, 157, 53, 0.25);
  border: 1.5px solid rgba(200, 157, 53, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem;
  gap: 0.75rem;
  overflow: hidden;
  transform: rotateX(8deg) rotateY(-1deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-palm-leaf:hover {
  transform: rotateX(0deg) rotateY(0deg) scale(1.015);
}

.palm-leaf-grain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 4px, rgba(0, 0, 0, 0.2) 5px);
  opacity: 0.6;
  pointer-events: none;
}

.palm-leaf-holes {
  display: flex;
  gap: 0.6rem;
  z-index: 2;
  flex-shrink: 0;
}

.leaf-hole {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0A192F;
  border: 1px solid rgba(200, 157, 53, 0.6);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.85);
}

.palm-leaf-script {
  z-index: 2;
  font-family: var(--font-tamil);
  color: #FFF8E7;
  font-size: clamp(0.74rem, 1.25vw, 0.96rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.85);
  text-align: center;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.6rem;
  padding: 0 0.5rem;
}

.leaf-script-phrase {
  white-space: nowrap;
}

.leaf-script-bullet {
  color: #E5C158;
  font-size: 0.85em;
  opacity: 0.9;
}

.palm-leaf-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(200, 157, 53, 0.3) 0%, transparent 65%);
  pointer-events: none;
}

/* ==========================================================================
   HERO DIVINE SAGE AGASTHIYAR SACRED STAGE & BACKGROUND SOLAR SYSTEM
   Crisp, clear deity portrait (z-index 2) in front of celestial solar orbit tracks (z-index 1)
   ========================================================================== */
.hero-agasthiyar-stage {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 480px;
  margin: 6.5rem auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Warm divine sandalwood & golden radiance directly behind Sage Agasthiyar */
.hero-agasthiyar-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 138, 0.42) 0%, rgba(245, 196, 75, 0.22) 34%, rgba(37, 99, 235, 0.05) 65%, transparent 75%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-agasthiyar-stage {
    height: 520px;
    margin: 8.5rem auto 3rem;
  }
}

/* Solar System Background Overlay (Single Unified Cosmic Orbit Ring, z-index: 1) */
.hero-solar-bg-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Exactly ONE Single Unified Cosmic Orbit Ring - Zero Duplicate Circles */
.cosmic-orbit-single {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 580px;
  height: 580px;
  margin-top: -290px;
  margin-left: -290px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 168, 67, 0.48);
  box-shadow: 
    0 0 25px rgba(212, 168, 67, 0.22),
    inset 0 0 25px rgba(212, 168, 67, 0.08);
  animation: singleOrbitRotate 50s linear infinite;
  pointer-events: none;
  transform-style: preserve-3d;
}

.cosmic-orbit-single .cosmic-planet-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: rotate(var(--angle)) translateY(-290px) rotate(calc(-1 * var(--angle)));
}

@keyframes singleOrbitRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .hero-agasthiyar-stage {
    height: 360px;
  }
  .hero-agasthiyar-stage::before {
    width: 330px;
    height: 330px;
    filter: blur(20px);
  }
  .cosmic-orbit-single {
    width: 320px;
    height: 320px;
    margin-top: -160px;
    margin-left: -160px;
  }
  .cosmic-orbit-single .cosmic-planet-orb {
    transform: rotate(var(--angle)) translateY(-160px) rotate(calc(-1 * var(--angle)));
  }
}

/* ==========================================================================
   SACRED VEDIC TEJAS HALO & OPTICAL DIAMOND SPARKLES (BEHIND AGASTHIYAR'S HEAD)
   ========================================================================== */
.agasthiyar-divine-tejas-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 390px;
  height: 480px;
  max-width: 88vw;
  pointer-events: none;
  z-index: 1.5; /* Sits directly behind Sage Agasthiyar (z:2) and in front of solar system (z:1) */
}

/* Subtle Divine Crown Glow (tightly confined behind hair bun, no overlay with solar system) */
.tejas-crown-glow {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 160, 0.4) 0%, rgba(200, 157, 53, 0.1) 50%, transparent 75%);
  filter: blur(6px);
  pointer-events: none;
}

/* Optical Diamond Glints (True Optical Lens Flares) */
.tejas-diamond-glint {
  position: absolute;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: tejasGlintTwinkle 3s ease-in-out infinite alternate;
}

.glint-core {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 6px #FFF, 0 0 12px #FFD700, 0 0 22px rgba(255, 174, 52, 0.85);
}

.glint-flare-h {
  position: absolute;
  width: 22px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #FFFFFF 50%, transparent 100%);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

.glint-flare-v {
  position: absolute;
  width: 1.5px;
  height: 22px;
  background: linear-gradient(180deg, transparent 0%, #FFFFFF 50%, transparent 100%);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

/* Strategic Sacred Positions Around Sage Agasthiyar's Head */
.glint-1 {
  top: 7%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.glint-2 {
  top: 13%;
  left: 36%;
  transform: translate(-50%, -50%);
  animation-delay: 0.6s;
}

.glint-3 {
  top: 13%;
  left: 64%;
  transform: translate(-50%, -50%);
  animation-delay: 1.2s;
}

.glint-4 {
  top: 26%;
  left: 27%;
  transform: translate(-50%, -50%);
  animation-delay: 1.8s;
}

.glint-5 {
  top: 26%;
  left: 73%;
  transform: translate(-50%, -50%);
  animation-delay: 2.4s;
}

/* Golden Prana Shimmer Specks */
.tejas-speck {
  position: absolute;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #FFE58F;
  box-shadow: 0 0 8px #FFD700;
  animation: tejasSpeckBreathe 2.5s ease-in-out infinite alternate;
}

.speck-1 { top: 9%; left: 42%; animation-delay: 0.2s; }
.speck-2 { top: 11%; left: 58%; animation-delay: 0.8s; }
.speck-3 { top: 19%; left: 32%; animation-delay: 1.4s; }
.speck-4 { top: 21%; left: 68%; animation-delay: 2s; }
.speck-5 { top: 32%; left: 24%; animation-delay: 0.5s; }



@keyframes tejasGlintTwinkle {
  0% {
    transform: translate(-50%, -50%) scale(0.7) rotate(0deg);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.25) rotate(20deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.85) rotate(-15deg);
    opacity: 0.55;
  }
}

@keyframes tejasSpeckBreathe {
  0% {
    transform: scale(0.6);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

/* Front Layer: Clear Agasthiyar Portrait (z-index: 2, pure transparent PNG, zero square edges) */
.agasthiyar-clear-picture-wrap {
  position: relative;
  width: 340px;
  height: 420px;
  max-width: 88vw;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

@media (min-width: 768px) {
  .agasthiyar-clear-picture-wrap {
    width: 390px;
    height: 480px;
  }
}

.agasthiyar-clear-picture-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 1; /* Pure, pristine clarity on Sage Agasthiyar's face and posture */
  filter: 
    drop-shadow(0 0 32px rgba(212, 168, 67, 0.48)) 
    drop-shadow(0 14px 28px rgba(10, 25, 47, 0.14))
    saturate(1.08) 
    contrast(1.04);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.agasthiyar-clear-picture-img:hover {
  transform: scale(1.025);
  filter: 
    drop-shadow(0 0 42px rgba(212, 168, 67, 0.65)) 
    drop-shadow(0 16px 32px rgba(10, 25, 47, 0.18))
    saturate(1.1) 
    contrast(1.05);
}

/* Glowing Cosmic Planet Orbs (Anchored to Single Unified Orbit Ring) */
.cosmic-planet-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.cosmic-planet-orb:hover {
  filter: brightness(1.25);
}

.orb-surya {
  width: 26px;
  height: 26px;
  margin-top: -13px;
  margin-left: -13px;
  background: radial-gradient(circle, #FFFFFF 0%, #FFE066 30%, #FF9500 70%, #D84315 100%);
  color: #FFA500;
  box-shadow: 0 0 24px rgba(255, 149, 0, 0.95), 0 0 8px #FFD700;
}

.orb-jupiter {
  width: 22px;
  height: 22px;
  margin-top: -11px;
  margin-left: -11px;
  background: radial-gradient(circle, #FFFFFA 0%, #F5D061 40%, #D4AF37 75%, #8A5A00 100%);
  color: #F5D061;
  box-shadow: 0 0 20px rgba(245, 208, 97, 0.9);
}

.orb-mars {
  width: 19px;
  height: 19px;
  margin-top: -9.5px;
  margin-left: -9.5px;
  background: radial-gradient(circle, #FFE4E6 0%, #F43F5E 50%, #BE123C 85%, #881337 100%);
  color: #F43F5E;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.9);
}

.orb-saturn {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  background: radial-gradient(circle, #E0F2FE 0%, #38BDF8 45%, #0284C7 80%, #0C4A6E 100%);
  color: #38BDF8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.85);
}

.orb-chandra {
  width: 18px;
  height: 18px;
  margin-top: -9px;
  margin-left: -9px;
  background: radial-gradient(circle, #FFFFFF 0%, #F1F5F9 50%, #CBD5E1 85%, #94A3B8 100%);
  color: #E2E8F0;
  box-shadow: 0 0 18px rgba(241, 245, 249, 0.95);
}

.orb-sukra {
  width: 19px;
  height: 19px;
  margin-top: -9.5px;
  margin-left: -9.5px;
  background: radial-gradient(circle, #FFFFFA 0%, #FEF08A 45%, #EAB308 80%, #CA8A04 100%);
  color: #FACC15;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.9);
}



/* Scroll indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--sapphire-dark);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.hero-scroll-indicator:hover {
  color: var(--gold-primary);
}

.scroll-mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--sapphire-royal);
  border-radius: 14px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: scrollBounce 2s infinite ease-in-out;
}

/* ==========================================================================
   SACRED PALM LEAF (OLAI CHUVADI) STORY SECTION
   ========================================================================== */
.section-palm-leaf {
  padding: 6rem 1.5rem;
  position: relative;
  background: linear-gradient(180deg, var(--bg-cosmic-ice) 0%, var(--bg-pearl-soft) 50%, var(--bg-cosmic-ice) 100%);
}

.container-luxury {
  max-width: 1320px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.palm-leaf-interactive-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--sapphire-border);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.palm-leaf-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.palm-leaf-real-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--sapphire-border);
  box-shadow: 0 10px 25px rgba(10, 25, 47, 0.12);
  transition: var(--transition-slow);
}

.palm-leaf-real-image:hover {
  transform: scale(1.02);
}

.palm-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--sapphire-royal);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--sapphire-dark);
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.palm-leaf-details-col h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--sapphire-dark);
}

.palm-leaf-details-col p {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.heritage-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.heritage-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--sapphire-border);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.heritage-bullet-item:hover {
  transform: translateX(6px);
  background: #FFFFFF;
  border-color: var(--sapphire-royal);
  box-shadow: 0 8px 25px rgba(30, 62, 98, 0.12);
}

.heritage-bullet-icon-box {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F0F4F8 0%, #FFFFFF 100%);
  border: 1.5px solid var(--sapphire-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.06);
  transition: var(--transition-smooth);
}

.heritage-bullet-item:hover .heritage-bullet-icon-box {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, #FAF6ED 0%, #FFFFFF 100%);
  box-shadow: 0 6px 18px rgba(200, 157, 53, 0.25);
}

.sacred-heritage-svg {
  width: 42px;
  height: 42px;
  display: block;
}

.heritage-bullet-text {
  flex: 1;
}

.bullet-heading {
  font-family: var(--font-serif-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--sapphire-dark);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bullet-heading::before {
  content: '✦';
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.bullet-para {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   HOW IT WORKS — 5-STEP GUIDED JOURNEY
   ========================================================================== */
.section-process {
  padding: 6rem 1.5rem;
  position: relative;
  background: var(--bg-pearl-soft);
}

.steps-timeline-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.steps-timeline-wrap::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 8%;
  width: 84%;
  height: 2px;
  background: linear-gradient(90deg, rgba(30, 62, 98, 0.1), var(--sapphire-royal), rgba(30, 62, 98, 0.1));
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 2.2rem 1.25rem 1.75rem;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--sapphire-royal);
  box-shadow: var(--shadow-card-hover);
}

.step-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1.25rem;
}

.step-number-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sapphire-light);
  border: 2px solid var(--sapphire-royal);
  box-shadow: 0 4px 15px rgba(30, 62, 98, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--sapphire-dark);
  transition: var(--transition-smooth);
}

.step-card:hover .step-number-badge {
  background: var(--sapphire-dark);
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.35);
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid var(--sapphire-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.05);
  transition: var(--transition-smooth);
}

.step-card:hover .step-icon-wrap {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, #FAF6ED 0%, #FFFFFF 100%);
  box-shadow: 0 8px 20px rgba(200, 157, 53, 0.2);
}

.step-svg-icon {
  width: 34px;
  height: 34px;
  display: block;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--sapphire-dark);
}

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

.step-thumbprint-showcase {
  margin: 0.75rem 0 0.95rem;
  background: #FFFFFF;
  border: 1px solid var(--sapphire-border);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.05);
  transition: var(--transition-smooth);
}

.step-card:hover .step-thumbprint-showcase {
  border-color: var(--gold-primary);
  box-shadow: 0 6px 18px rgba(200, 157, 53, 0.15);
  transform: scale(1.02);
}

.step-thumb-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(10, 25, 47, 0.12));
}

/* ==========================================================================
   THE 16 KANDAMS (SACRED CHAPTERS) SECTION — CELESTIAL SAPPHIRE CARDS
   ========================================================================== */
.section-kandams {
  padding: 6.5rem 1.5rem;
  background: var(--bg-cosmic-ice);
  position: relative;
}

.kandams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 1.75rem;
}

/* Modern Celestial Sapphire Card */
.kandam-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 62, 98, 0.16);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.05);
}

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

.kandam-card:hover {
  transform: translateY(-6px);
  border-color: var(--sapphire-royal);
  box-shadow: 0 16px 35px -5px rgba(10, 25, 47, 0.15), 0 4px 12px rgba(37, 99, 235, 0.08);
}

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

/* Spacious, Clean Card Header */
.kandam-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(30, 62, 98, 0.1);
}

.kandam-badge-pill {
  font-family: var(--font-serif-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sapphire-dark);
  letter-spacing: 0.08em;
  background: var(--sapphire-light);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--sapphire-border);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.kandam-tamil-title {
  font-family: var(--font-tamil);
  color: var(--sapphire-dark);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.kandam-english-title {
  font-size: 0.92rem;
  color: var(--sapphire-royal);
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.kandam-preview {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.kandam-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(30, 62, 98, 0.15);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--sapphire-royal);
}

.kandam-action-row:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   SOLAR SYSTEM & PLANETARY WISDOM SECTION
   ========================================================================== */
.section-solar-system {
  position: relative;
  padding: 6rem 1.5rem;
  background: var(--bg-pearl-soft);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  overflow: hidden;
}

.solar-system-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.solar-interactive-canvas-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  background: radial-gradient(circle, #FFFFFF 0%, #EBF2FA 100%);
  border-radius: 20px;
  border: 1px solid var(--sapphire-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

#navagraha-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.solar-controls-hint {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--sapphire-dark);
  font-weight: 800;
  background: #FFFFFF;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--sapphire-border);
  box-shadow: 0 4px 10px rgba(10, 25, 47, 0.08);
  pointer-events: none;
}

.solar-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.navagraha-card-active {
  background: #FFFFFF;
  border: 1px solid var(--sapphire-border);
  border-radius: 18px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.navagraha-card-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--sapphire-royal), var(--gold-primary));
}

.navagraha-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.navagraha-name-sanskrit {
  font-size: 1.6rem;
  color: var(--sapphire-dark);
}

.navagraha-name-tamil {
  font-family: var(--font-tamil);
  color: var(--gold-primary);
  font-size: 1.15rem;
  font-weight: 700;
}

.navagraha-ruling {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.navagraha-desc {
  color: var(--text-main);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.navagraha-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.planet-btn {
  background: #FFFFFF;
  border: 1px solid var(--sapphire-border);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.planet-btn:hover, .planet-btn.active {
  background: var(--sapphire-light);
  border-color: var(--sapphire-royal);
  color: var(--sapphire-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(30, 62, 98, 0.15);
}

/* ==========================================================================
   SACRED BRANCHES (MANUSCRIPT TRADITIONS)
   ========================================================================== */
.section-branches {
  padding: 6rem 1.5rem;
  background: var(--bg-cosmic-ice);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.branch-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 62, 98, 0.16);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.branch-card:hover {
  transform: translateY(-6px);
  border-color: var(--sapphire-royal);
  box-shadow: var(--shadow-card-hover);
}

.branch-img-wrap {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.branch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.branch-card:hover .branch-img {
  transform: scale(1.06);
}

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

.branch-title {
  font-size: 1.25rem;
  color: var(--sapphire-dark);
  margin-bottom: 0.4rem;
}

.branch-sage {
  font-size: 0.82rem;
  color: var(--sapphire-royal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.branch-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ==========================================================================
   REVERED LINEAGE & GURUJIS
   ========================================================================== */
.section-lineage {
  padding: 6.5rem 1.5rem;
  background: var(--bg-pearl-soft);
  position: relative;
}

.lineage-ancestor-banner {
  background: #FFFFFF;
  border: 1px solid var(--sapphire-border);
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-card);
}

.ancestor-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--sapphire-border);
  filter: contrast(1.05);
}

.ancestor-content h3 {
  font-size: 1.7rem;
  color: var(--sapphire-dark);
  margin-bottom: 0.5rem;
}

.ancestor-since {
  font-size: 0.85rem;
  color: var(--gold-antique);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 800;
}

.ancestor-desc {
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.75;
}

.gurujis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.guruji-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 62, 98, 0.16);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.guruji-card:hover {
  transform: translateY(-8px);
  border-color: var(--sapphire-royal);
  box-shadow: var(--shadow-card-hover);
}

.guruji-photo-wrap {
  width: 100%;
  height: 290px;
  position: relative;
  overflow: hidden;
}

.guruji-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.guruji-card:hover .guruji-photo {
  transform: scale(1.05);
}

.guruji-lang-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--sapphire-royal);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--sapphire-dark);
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.guruji-info {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guruji-name {
  font-size: 1.25rem;
  color: var(--sapphire-dark);
  margin-bottom: 0.35rem;
}

.guruji-role {
  font-size: 0.82rem;
  color: var(--sapphire-royal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.guruji-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Step Thumbprint Preview Showcase */
.step-thumbprint-showcase {
  margin: 0.9rem 0 1rem;
  background: #FAF6ED;
  border: 1.5px dashed rgba(200, 157, 53, 0.45);
  border-radius: 12px;
  padding: 0.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.step-card:hover .step-thumbprint-showcase {
  background: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(200, 157, 53, 0.15);
}

.step-thumb-img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: contrast(1.1);
  transition: transform 0.3s ease;
}

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

/* ==========================================================================
   HISTORY OF NADI ASTROLOGY SECTION
   ========================================================================== */
.section-nadi-history {
  padding: 6.5rem 1.5rem;
  position: relative;
  background: linear-gradient(180deg, var(--bg-cosmic-ice) 0%, #FFFFFF 100%);
  border-bottom: 1px solid rgba(30, 62, 98, 0.1);
}

.nadi-history-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.nadi-history-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--sapphire-border);
  background: #FFFFFF;
}

.nadi-history-img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.nadi-history-visual:hover .nadi-history-img {
  transform: scale(1.03);
}

.nadi-history-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(10px);
  color: #D4AF37;
  padding: 0.45rem 1.1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(200, 157, 53, 0.4);
}

.nadi-history-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.nadi-history-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sapphire-dark);
  line-height: 1.6;
  border-left: 3.5px solid var(--gold-primary);
  padding-left: 1.1rem;
}

.nadi-history-para {
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.8;
}

.nadi-history-motto-box {
  background: linear-gradient(135deg, rgba(30, 62, 98, 0.04) 0%, rgba(200, 157, 53, 0.09) 100%);
  border: 1.5px solid rgba(200, 157, 53, 0.35);
  border-radius: 16px;
  padding: 1.35rem 1.6rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nadi-history-motto-text {
  font-family: var(--font-serif-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--sapphire-royal);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ==========================================================================
   VAITHEESWARAN KOIL TEMPLE HERITAGE & POOJA
   ========================================================================== */
.section-heritage {
  padding: 6.5rem 1.5rem;
  background: var(--bg-cosmic-ice);
}

.temple-highlight-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.temple-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--sapphire-border);
  box-shadow: var(--shadow-card);
}

.temple-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.pooja-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.pooja-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sapphire-border);
  height: 160px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: var(--transition-smooth);
}

.pooja-item:hover {
  transform: translateY(-4px);
  border-color: var(--sapphire-royal);
}

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

/* ==========================================================================
   AUTHENTIC TESTIMONIALS CAROUSEL
   ========================================================================== */
.section-testimonials {
  padding: 6.5rem 1.5rem;
  background: var(--bg-pearl-soft);
  position: relative;
  overflow: hidden;
}

.testimonials-carousel-wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card-illuminated {
  background: #FFFFFF;
  border: 1.5px solid var(--sapphire-border);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: center;
  margin: 0 auto;
}

.quote-glyph {
  font-size: 3.5rem;
  color: var(--sapphire-royal);
  opacity: 0.35;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.2rem;
  font-family: var(--font-serif-heading);
  color: var(--text-heading);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.author-kandam {
  background: var(--sapphire-light);
  border: 1px solid var(--sapphire-border);
  padding: 0.35rem 1.1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--sapphire-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  background: #FFFFFF;
  border: 1px solid var(--sapphire-border);
  color: var(--sapphire-dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background: var(--sapphire-dark);
  color: #FFFFFF;
  transform: scale(1.1);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.section-faq {
  padding: 6.5rem 1.5rem;
  background: var(--bg-cosmic-ice);
}

.faq-accordion-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(30, 62, 98, 0.16);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--sapphire-royal);
  box-shadow: 0 8px 25px rgba(10, 25, 47, 0.12);
}

.faq-question-btn {
  width: 100%;
  padding: 1.4rem 1.75rem;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  color: var(--text-heading);
  font-family: var(--font-serif-heading);
  font-size: 1.1rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.faq-item:hover .faq-question-btn {
  color: var(--sapphire-royal);
}

.faq-icon-cross {
  font-size: 1.35rem;
  color: var(--sapphire-royal);
  transition: transform 0.4s ease;
}

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

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer-pane {
  padding-bottom: 1.5rem;
}

.faq-answer-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ==========================================================================
   BOOKING & THUMBPRINT CONSULTATION FORM
   ========================================================================== */
.section-booking {
  padding: 6.5rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-cosmic-ice) 0%, var(--bg-pearl-soft) 100%);
  position: relative;
}

.booking-card-cosmic {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid var(--sapphire-border);
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sapphire-dark);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-cosmic-ice);
  border: 1px solid var(--sapphire-border);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  color: var(--text-heading);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--sapphire-royal);
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(30, 62, 98, 0.15);
}

.thumbprint-upload-dropzone {
  border: 2px dashed var(--sapphire-border);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  background: var(--sapphire-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.thumbprint-upload-dropzone:hover {
  border-color: var(--sapphire-royal);
  background: rgba(232, 240, 254, 0.8);
}

.thumb-preview-img {
  max-height: 80px;
  margin: 0.5rem auto;
  border-radius: 6px;
  display: none;
}

/* ==========================================================================
   FINAL CINEMATIC CLIMAX
   ========================================================================== */
.section-climax-cta {
  padding: 7rem 1.5rem;
  background: radial-gradient(circle at 50% 50%, #EDF4FE 0%, var(--bg-pearl-soft) 100%);
  position: relative;
  text-align: center;
  border-top: var(--border-subtle);
}

.climax-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.climax-heading {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  color: var(--sapphire-dark);
  margin-bottom: 1.25rem;
  line-height: 1.22;
}

.climax-text {
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   LUXURY SACRED FOOTER
   ========================================================================== */
.site-footer {
  background: #0A192F;
  border-top: 2px solid var(--sapphire-royal);
  padding: 5rem 1.5rem 2.5rem;
  position: relative;
  z-index: 2;
  color: #EDF3FA;
}

.footer-top-grid {
  max-width: 1350px;
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #F6F9FD;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-desc {
  color: #94A3B8;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 1rem;
}

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

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

.footer-links-list a:hover {
  color: #60A5FA;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #E2E8F0;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-circle-btn:hover {
  background: #2563EB;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-bottom-bar {
  max-width: 1350px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #64748B;
}

.footer-disclaimer {
  max-width: 1350px;
  margin: 1.5rem auto 0;
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   FLOATING HIGH-VISIBILITY WHATSAPP TRIGGER
   ========================================================================== */
.floating-whatsapp-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 0.75rem 1.35rem 0.75rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulseWhatsApp 3s infinite ease-in-out;
}

.floating-whatsapp-trigger:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 50%;
  color: #25D366;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

@keyframes pulseWhatsApp {
  0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 45px rgba(37, 211, 102, 0.8), 0 0 20px rgba(37, 211, 102, 0.4); }
}

/* ==========================================================================
   MODALS (KANDAM DETAILS & CONSULTATION)
   ========================================================================== */
.luxury-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.luxury-modal-content {
  background: #FFFFFF;
  border: 1.5px solid var(--sapphire-royal);
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  padding: 2.75rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.25);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--sapphire-dark);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==========================================================================
   CUSTOM CURSOR (DESKTOP)
   ========================================================================== */
#custom-cursor-dot,
#custom-cursor-ring {
  display: none !important;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes nebulaBreathe {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.2; }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .solar-system-container, .palm-leaf-interactive-box, .temple-highlight-wrap, .nadi-history-wrap, .lineage-ancestor-banner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps-timeline-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .steps-timeline-wrap::before {
    display: none;
  }
  .pooja-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .global-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  #custom-cursor-dot, #custom-cursor-ring { display: none !important; }
  .hero-heading {
    font-size: 2.2rem;
    margin-top: 3.5rem;
  }
  .hero-subtext { font-size: 1rem; }
  .hero-agasthiyar-stage {
    width: 330px;
    height: 310px;
    margin: 4.5rem auto 1.5rem;
  }
  .agasthiyar-divine-tejas-halo {
    width: 250px;
    height: 295px;
  }
  .tejas-crown-glow {
    width: 75px;
    height: 75px;
  }
  .agasthiyar-clear-picture-wrap {
    width: 250px;
    height: 295px;
  }
  .booking-form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .pooja-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .global-stats-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .booking-card-cosmic { padding: 2rem 1.25rem; }
  .testimonial-card-illuminated { padding: 2.2rem 1.25rem; }
  .palm-leaf-interactive-box { padding: 1.75rem 1.25rem; }
  .floating-whatsapp-trigger span { display: none; }
  .floating-whatsapp-trigger { padding: 0.65rem; border-radius: 50%; bottom: 20px; right: 20px; }
}
