@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Reset and Variables */
:root {
  --space-bg: #010206;
  --nebula-purple: rgba(99, 102, 241, 0.12);
  --nebula-blue: rgba(139, 92, 246, 0.12);
  --cosmic-gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --gold-gradient: linear-gradient(135deg, #fce5a3 0%, #d4af37 50%, #aa841c 100%);
  --stellar-cream: #FAF8F5;
  --stellar-dark: #0a1128;
  --stellar-indigo: #070b16;
  --text-light: #f3f4f6;
  --text-muted: #9ca3af;
  --glass-bg: rgba(5, 7, 18, 0.65);
  --glass-border: rgba(212, 175, 55, 0.15);
  
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Outfit', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--space-bg);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Cosmic Nebula Elements */
.cosmic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-color: var(--space-bg);
  overflow: hidden;
}

.nebula-purple {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(24, 11, 48, 0.6) 0%, rgba(3, 7, 18, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.nebula-blue {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(11, 28, 61, 0.5) 0%, rgba(3, 7, 18, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: all;
}

/* Splash Screen styling */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--space-bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Home Reveal cosmic zoom-in transition */
body.reveal-init #home {
  animation: cosmicReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.6s;
}

@keyframes cosmicReveal {
  from {
    filter: blur(15px);
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

.splash-logo-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 30px;
  animation: pulseRotate 4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.splash-cosmic-logo {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px var(--gold-glow));
}

@keyframes pulseRotate {
  0% {
    transform: rotate(0deg) scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: rotate(180deg) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg) scale(0.95);
    opacity: 0.8;
  }
}

.splash-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--cosmic-gold);
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 0 10px var(--gold-glow);
  text-transform: uppercase;
}

.splash-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.loader-container {
  width: 250px;
  position: relative;
  margin-bottom: 30px; /* Leave bottom gap for absolute text */
}

.loader-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--gold-gradient);
  box-shadow: 0 0 8px var(--cosmic-gold);
  transition: width 0.1s ease-out;
}

.loader-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-family: var(--font-sans);
  font-style: italic;
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  pointer-events: none;
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

/* Typography & Titles */
.section-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--cosmic-gold);
  text-align: center;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 50px;
  text-transform: uppercase;
}

.section-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stellar-cream-bg .section-title {
  color: var(--stellar-dark);
}

.stellar-cream-bg .section-tag {
  color: #b88e2f;
}

/* Navigation Bar */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 1000;
  background: rgba(10, 16, 32, 0.45);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-radius: 50px;
  /* Realistic liquid glass highlights: bright reflective top border, subtle gold bottom */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(226, 183, 85, 0.25);
  
  /* Double-depth shadow model for thickness & gold refraction glow */
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4), 
    inset 0 1px 2px rgba(255, 255, 255, 0.35), 
    inset 0 -3px 10px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(226, 183, 85, 0.03);
  
  padding: 4px 12px;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

header.scrolled {
  top: 12px;
  width: 92%;
  background: rgba(8, 12, 28, 0.6);
  border-top-color: rgba(255, 255, 255, 0.55);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.55), 
    inset 0 1px 2px rgba(255, 255, 255, 0.4), 
    inset 0 -4px 12px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(226, 183, 85, 0.08);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 5px var(--gold-glow));
}

.logo-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.logo-title,
.logo-subtitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-transform: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold-gradient);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--cosmic-gold);
  text-shadow: 0 0 8px rgba(226, 183, 85, 0.4);
}

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

.btn-book {
  background: var(--gold-gradient);
  color: #0c1020 !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(226, 183, 85, 0.25);
}

.btn-book:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(226, 183, 85, 0.45);
  filter: brightness(1.1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 140px 24px 80px 24px;
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 10;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.8s;
}

.hero-tag {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cosmic-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title span.gold-text {
  display: inline;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(226, 183, 85, 0.15);
}

.hero-title .hero-nowrap {
  white-space: nowrap;
  display: inline;
  color: var(--text-light) !important;
  -webkit-text-fill-color: var(--text-light) !important;
  background: none !important;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered entry transitions activated by body class */
body.hero-active .hero-tag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
body.hero-active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
body.hero-active .hero-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}
body.hero-active .hero-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.btn-secondary {
  border: 1px solid rgba(226, 183, 85, 0.4);
  background: rgba(226, 183, 85, 0.05);
  color: var(--cosmic-gold);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(226, 183, 85, 0.15);
  border-color: var(--cosmic-gold);
  color: var(--text-light);
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.zodiac-wheel-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.7) rotate(-45deg);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.hero-active .zodiac-wheel-wrapper {
  opacity: 1;
  transform: scale(1) rotate(0.6deg);
  transition-delay: 0.2s;
}

.zodiac-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: spin 100s linear infinite;
  transform-origin: center;
  filter: drop-shadow(0 0 25px rgba(226, 183, 85, 0.25));
  transition: transform 0.5s ease-out;
  cursor: pointer;
}

.zodiac-wheel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 50px rgba(226, 183, 85, 0.1);
  pointer-events: none;
}

.stellar-cream-bg {
  background: transparent;
  color: var(--text-light);
  padding: 100px 24px;
  position: relative;
}

.stellar-cream-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, var(--space-bg) 0%, rgba(250, 248, 245, 0) 100%);
  pointer-events: none;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-card {
  padding: 50px 60px;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.arch-frame {
  width: 100%;
  max-width: 370px;
  height: 500px;
  border-radius: 200px 200px 20px 20px;
  padding: 8px;
  background: var(--gold-gradient);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.arch-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px dashed #b88e2f;
  border-radius: 210px 210px 30px 30px;
  opacity: 0.6;
  pointer-events: none;
}

.arch-content {
  width: 100%;
  height: 100%;
  border-radius: 192px 192px 12px 12px;
  overflow: hidden;
  position: relative;
}

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

.arch-frame:hover .arch-content img {
  transform: scale(1.05);
}

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

.about-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-light);
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.highlight-item {
  padding-left: 20px;
  border-left: 2px solid var(--cosmic-gold);
}

.highlight-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0ebe1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(184, 142, 47, 0.2);
}

.highlight-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #b88e2f;
}

.highlight-icon-wrapper svg * {
  fill: none !important;
  stroke: #b88e2f !important;
  stroke-width: 1.5 !important;
}

.star-icon {
  width: 14px;
  height: 14px;
  fill: var(--cosmic-gold) !important;
  stroke: none !important;
  display: inline-block;
  margin-right: 2px;
}

.temple-bullet-svg {
  width: 12px;
  height: 12px;
  stroke: var(--cosmic-gold) !important;
  fill: none !important;
  stroke-width: 2 !important;
  flex-shrink: 0;
}

.highlight-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 5px;
}

.highlight-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 25px;
}

.detail-block {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #8b7343;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--stellar-dark);
  text-decoration: none;
  transition: var(--transition);
}

a.detail-value:hover {
  color: #b88e2f;
}

/* Horoscope Explorer Section */
.horoscope-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.zodiac-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.zodiac-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(226, 183, 85, 0.15) 0%, rgba(3, 7, 18, 0) 70%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.zodiac-card:hover {
  transform: translateY(-5px);
  border-color: var(--cosmic-gold);
  box-shadow: 0 8px 25px rgba(226, 183, 85, 0.15);
}

.zodiac-card:hover::before, .zodiac-card.active::before {
  opacity: 1;
}

.zodiac-card.active {
  border-color: var(--cosmic-gold);
  background: var(--stellar-indigo);
  box-shadow: 0 0 20px var(--gold-glow);
}

.zodiac-glyph {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 5px rgba(226, 183, 85, 0.3));
  transition: var(--transition);
}

.zodiac-card:hover .zodiac-glyph {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--cosmic-gold));
}

.zodiac-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
}

.zodiac-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Horoscope Reading Panel */
.reading-panel {
  background: linear-gradient(135deg, rgba(17, 26, 54, 0.8) 0%, rgba(10, 17, 40, 0.9) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  margin-top: 30px;
  display: none;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.reading-panel.active {
  display: block;
}

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

.reading-header {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid rgba(226, 183, 85, 0.15);
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.reading-header-glyph {
  width: 75px;
  height: 75px;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.reading-meta h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--cosmic-gold);
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.reading-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reading-card {
  background: rgba(3, 7, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  transition: var(--transition);
}

.reading-card:hover {
  border-color: rgba(226, 183, 85, 0.3);
  background: rgba(3, 7, 18, 0.6);
}

.reading-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cosmic-gold);
  margin-bottom: 15px;
}

.reading-card-title svg {
  width: 20px;
  height: 20px;
  fill: var(--cosmic-gold);
}

.reading-card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.reading-card-stat {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-stars {
  color: var(--cosmic-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* Services Section */
.services-section {
  padding: 100px 24px;
  background-color: var(--stellar-dark);
  position: relative;
  overflow: hidden;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Services Carousel Layout styles */
.services-carousel-wrapper {
  position: relative;
  margin-top: 40px;
  padding: 0 10px;
}

.services-carousel {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px 5px 30px 5px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.services-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-card {
  flex: 0 0 360px;
  background: var(--stellar-indigo);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 45px 35px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.5s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.carousel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.carousel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(226, 183, 85, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(226, 183, 85, 0.15);
}

.carousel-card-num {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--cosmic-gold);
  opacity: 0.05;
  position: absolute;
  top: 10px;
  right: 20px;
  pointer-events: none;
  line-height: 1;
}

.carousel-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(226, 183, 85, 0.05);
  border: 1px solid rgba(226, 183, 85, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  transition: var(--transition);
}

.carousel-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cosmic-gold);
}

.carousel-card-icon svg * {
  fill: none !important;
  stroke: var(--cosmic-gold) !important;
  stroke-width: 1.5 !important;
}

.carousel-card:hover .carousel-card-icon {
  background: rgba(226, 183, 85, 0.15);
  transform: scale(1.08);
  box-shadow: 0 0 15px var(--gold-glow);
}

.carousel-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.carousel-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 35px;
  flex-grow: 1;
}

.carousel-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  z-index: 1;
}

.carousel-card:hover .carousel-card-bg {
  transform: scale(1.1);
  opacity: 0.35;
}

.carousel-card > *:not(.carousel-card-bg) {
  position: relative;
  z-index: 2;
}

.carousel-card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden; /* Crop square icon images into clean circles */
}

.carousel-card:hover .carousel-card-icon-wrap {
  transform: translateY(-5px);
  border-color: var(--cosmic-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.carousel-card-icon-img {
  width: 100%; /* Fill the gold circular border completely */
  height: 100%;
  object-fit: cover; /* Crop and span flush inside the border */
}

.btn-carousel-card {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(226, 183, 85, 0.4);
  color: var(--cosmic-gold);
  padding: 12px 0;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.carousel-card:hover .btn-carousel-card {
  background: var(--gold-gradient);
  color: var(--stellar-dark);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(226, 183, 85, 0.2);
}

/* Carousel Control Buttons */
.carousel-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 17, 40, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--cosmic-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-control svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.carousel-control.prev {
  left: -24px;
}

.carousel-control.next {
  right: -24px;
}

.carousel-control:hover {
  background: var(--stellar-indigo);
  border-color: var(--cosmic-gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.carousel-control.prev:hover svg {
  transform: translateX(-2px);
}

.carousel-control.next:hover svg {
  transform: translateX(2px);
}

/* Scroll Progress indicator */
.carousel-progress-bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  margin: 30px auto 0 auto;
  border-radius: 3px;
  overflow: hidden;
}

.carousel-progress-fill {
  width: 25%;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 3px;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 300px;
    padding: 35px 25px;
  }
  .carousel-control {
    display: none; /* native swiping on mobile */
  }
  .services-carousel-wrapper {
    padding: 0;
  }
}

/* Booking & Contact Section */
.booking-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden; /* Clips the background video inside the section */
}

/* Background video styling */
.booking-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65; /* Bright & vivid video background */
}

/* Video dark overlay to ensure high contrast for form labels */
.booking-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(3, 7, 18, 0.25) 0%, rgba(3, 7, 18, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Ensure contents sit on top of the video and overlay */
.booking-section > .section-tag,
.booking-section > .section-title,
.booking-section > .booking-container {
  position: relative;
  z-index: 2;
}

.booking-container {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(10, 16, 32, 0.15); /* Highly transparent glass style */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.booking-form-card {
  padding: 50px;
  background: transparent; /* Completely transparent to reveal the background video */
}

.booking-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  text-align: center;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.form-input {
  width: 100%;
  background: rgba(3, 7, 18, 0.35);
  border: 1px solid rgba(226, 183, 85, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input[type="date"],
.form-input[type="time"] {
  color-scheme: dark;
}

.form-input:focus {
  outline: none;
  border-color: var(--cosmic-gold);
  box-shadow: 0 0 15px rgba(226, 183, 85, 0.15);
  background: rgba(3, 7, 18, 0.65);
}

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

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

/* Time Slots */
.time-slots-grid.minimal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.time-slot {
  border: 1px solid rgba(226, 183, 85, 0.2);
  background: rgba(3, 7, 18, 0.25);
  border-radius: 10px;
  padding: 11px 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.time-slot:hover:not(.disabled) {
  border-color: var(--cosmic-gold);
  color: var(--stellar-dark);
  background: var(--gold-gradient);
  box-shadow: 0 0 12px var(--gold-glow);
}

.time-slot.active {
  background: var(--gold-gradient);
  color: var(--stellar-dark);
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 5px 15px var(--gold-glow);
}

.time-slot.disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.btn-submit {
  width: 100%;
  background: var(--gold-gradient);
  color: var(--stellar-dark);
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(226, 183, 85, 0.2);
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 183, 85, 0.4);
  filter: brightness(1.05);
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.success-modal {
  background: var(--stellar-indigo);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.85);
  transition: var(--transition);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

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

.modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(226, 183, 85, 0.1);
  border: 1px solid rgba(226, 183, 85, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  color: var(--cosmic-gold);
}

.modal-icon svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--cosmic-gold);
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-modal-close {
  background: var(--gold-gradient);
  color: var(--stellar-dark);
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-modal-close:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 15px rgba(226, 183, 85, 0.3);
}

/* Footer Section */
footer {
  background: #02040a;
  border-top: 1px solid rgba(226, 183, 85, 0.1);
  padding: 70px 24px 30px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  border-color: var(--cosmic-gold);
  color: var(--cosmic-gold);
  background: rgba(226, 183, 85, 0.05);
  transform: translateY(-2px);
}

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

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cosmic-gold);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

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

.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--cosmic-gold);
  padding-left: 5px;
}

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

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-icon-wrapper {
  color: var(--cosmic-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-icon-wrapper svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-text a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--cosmic-gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.developer-attribution {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.developer-attribution a {
  color: var(--cosmic-gold);
  text-decoration: none;
  font-weight: 500;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto 30px auto;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .about-card {
    padding: 30px 20px;
  }
  
  .about-image-wrapper {
    order: -1;
    height: auto;
  }

  .about-portrait-card {
    height: auto;
    aspect-ratio: 3 / 4;
  }
  
  .zodiac-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  

}

@media (max-width: 768px) {
  .arch-frame {
    max-width: 270px !important;
    height: 360px !important;
  }
  .arch-frame::before {
    inset: -6px !important;
    border-radius: 200px 200px 25px 25px !important;
  }
  header {
    top: 8px !important;
    padding: 6px 12px !important;
    width: 94% !important;
  }
  .logo-text h1 {
    font-size: 0.95rem !important;
  }
  .logo-text span {
    font-size: 0.58rem !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.35 !important;
  }
  .section-title {
    font-size: 1.6rem !important;
  }
  /* Stack services vertically on mobile and shrink card boxes */
  .services-carousel {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 10px 0 !important;
    overflow-x: visible !important;
  }
  .carousel-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }
  .carousel-card-icon-wrap {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 12px !important;
  }
  .carousel-card-title {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
  }
  .carousel-card-desc {
    font-size: 0.82rem !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
  }
  /* Hide carousel arrow controls and scroll progress bar on mobile vertical list */
  .services-carousel-controls,
  .carousel-progress-bar {
    display: none !important;
  }
  .stellar-cream-bg, .stellar-dark-bg, .gallery-section, .booking-section, .faq-section {
    padding: 50px 0 !important; /* Compact spacing to save layout gaps */
  }
  .about-text {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }
  .about-text[data-i18n="about-subtitle"] {
    font-size: 1.05rem !important;
  }
  .nav-menu {
    display: none; /* Mobile menu drawer will be controlled via JS */
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .reading-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .reading-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .zodiac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .booking-form-card {
    padding: 30px 20px;
  }
  
  .time-slots-grid.minimal {
    grid-template-columns: 1fr;
  }
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.3s ease;
  outline: none;
}

.theme-toggle-btn:hover {
  background: rgba(226, 183, 85, 0.08);
  transform: rotate(15deg) scale(1.05);
}

body.light-mode .theme-icon.moon {
  display: none !important;
}

body.light-mode .theme-icon.sun {
  display: block !important;
}

/* Language Toggle Button Styling */
.lang-toggle-btn {
  background: rgba(226, 183, 85, 0.05);
  border: 1px solid rgba(226, 183, 85, 0.25);
  color: var(--cosmic-gold) !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.lang-toggle-btn:hover {
  background: rgba(226, 183, 85, 0.15);
  border-color: var(--cosmic-gold);
  box-shadow: 0 0 12px rgba(226, 183, 85, 0.3);
  color: #ffffff !important;
}

body.light-mode .lang-toggle-btn {
  background: rgba(184, 142, 47, 0.05);
  border-color: rgba(184, 142, 47, 0.3);
  color: #b88e2f !important;
}

body.light-mode .lang-toggle-btn:hover {
  background: rgba(184, 142, 47, 0.12);
  border-color: #b88e2f;
  color: #2b3956 !important;
}

/* Light Theme Variables and Class Overrides */
body.light-mode {
  --space-bg: #FAF8F5; /* Stellar Cream */
  --stellar-cream: #EAE6DF; /* Slightly darker cream for contrast in about section */
  --stellar-dark: #FAF8F5; /* Services background */
  --stellar-indigo: #F2ECE1; /* Cards background */
  --text-light: #0d1527; /* Dark text color */
  --text-muted: #576071; /* Dark gray muted text */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(184, 142, 47, 0.25);
  --nebula-purple: rgba(226, 183, 85, 0.08);
  --nebula-blue: rgba(184, 142, 47, 0.05);
  --gold-gradient: linear-gradient(135deg, #a47d24 0%, #876417 50%, #5d4207 100%);
  --cosmic-gold: #876417;
}

body.light-mode header {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(184, 142, 47, 0.15);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1.5px solid rgba(184, 142, 47, 0.25);
  box-shadow: 
    0 10px 30px rgba(184, 142, 47, 0.06), 
    inset 0 1px 2px rgba(255, 255, 255, 0.95), 
    inset 0 -2px 6px rgba(255, 255, 255, 0.5);
}

body.light-mode header.scrolled {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 
    0 15px 35px rgba(184, 142, 47, 0.1), 
    inset 0 1px 2px rgba(255, 255, 255, 0.95), 
    inset 0 -3px 8px rgba(255, 255, 255, 0.6);
}

body.light-mode .logo-title {
  color: #0d1527;
}

body.light-mode .nav-link {
  color: #0d1527;
}

body.light-mode .nav-link:hover {
  color: #b88e2f;
}

body.light-mode .mobile-menu-toggle {
  color: #0d1527;
}

body.light-mode .zodiac-wheel-wrapper::after {
  box-shadow: inset 0 0 50px rgba(184, 142, 47, 0.1);
}

body.light-mode .zodiac-wheel text {
  fill: #8b7343; /* Darker gold for text legibility in light mode */
}

body.light-mode .zodiac-wheel line {
  stroke: #b88e2f;
  opacity: 0.5;
}

body.light-mode .zodiac-wheel circle {
  stroke: #b88e2f;
}

body.light-mode .zodiac-wheel {
  filter: drop-shadow(0 0 25px rgba(184, 142, 47, 0.15));
}

body.light-mode .about-highlights .highlight-icon-wrapper {
  background: #ffffff;
  border: 1px solid rgba(184, 142, 47, 0.3);
}

body.light-mode .about-highlights .highlight-title {
  color: #0d1527;
}

body.light-mode .about-highlights .highlight-desc {
  color: #576071;
}

body.light-mode .about-title {
  color: #0d1527;
}

body.light-mode .about-text {
  color: #4b5563;
}

body.light-mode .zodiac-card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

body.light-mode .zodiac-card:hover {
  box-shadow: 0 8px 25px rgba(184, 142, 47, 0.15);
}

body.light-mode .zodiac-card.active {
  background: #FAF8F5;
  box-shadow: 0 0 20px rgba(184, 142, 47, 0.2);
  border-color: #b88e2f;
}

body.light-mode .zodiac-name {
  color: #0d1527;
}

body.light-mode .reading-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 248, 245, 0.95) 100%);
  border-color: rgba(184, 142, 47, 0.25);
  box-shadow: 0 20px 50px rgba(184, 142, 47, 0.08);
}

body.light-mode .reading-meta h3 {
  color: #b88e2f;
}

body.light-mode .reading-card {
  background: #ffffff;
  border-color: rgba(184, 142, 47, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

body.light-mode .reading-card:hover {
  border-color: rgba(184, 142, 47, 0.4);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(184, 142, 47, 0.08);
}

body.light-mode .reading-card-title {
  color: #b88e2f;
}

body.light-mode .reading-card-title svg {
  fill: #b88e2f;
}

body.light-mode .reading-card-text {
  color: #4b5563;
}

body.light-mode .carousel-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

body.light-mode .carousel-card:hover {
  box-shadow: 0 15px 35px rgba(184, 142, 47, 0.15), 0 0 20px rgba(184, 142, 47, 0.05);
}

body.light-mode .carousel-card-title {
  color: #0d1527;
}

body.light-mode .carousel-card-desc {
  color: #576071;
}

body.light-mode .carousel-card-num {
  color: #b88e2f;
}

body.light-mode .carousel-card-icon {
  background: rgba(184, 142, 47, 0.05);
  border-color: rgba(184, 142, 47, 0.2);
}

body.light-mode .carousel-card-icon svg {
  fill: none;
  stroke: #b88e2f;
}

body.light-mode .carousel-card:hover .carousel-card-icon {
  background: rgba(184, 142, 47, 0.15);
  box-shadow: 0 0 15px rgba(184, 142, 47, 0.25);
}

body.light-mode .btn-carousel-card {
  color: #b88e2f;
  border-color: rgba(184, 142, 47, 0.4);
}

body.light-mode .carousel-card:hover .btn-carousel-card {
  background: var(--gold-gradient);
  color: var(--stellar-dark);
}

body.light-mode .carousel-control {
  background: rgba(250, 247, 242, 0.95);
  border-color: rgba(184, 142, 47, 0.25);
  color: #b88e2f;
}

body.light-mode .carousel-control:hover {
  background: #FAF7F2;
  border-color: #b88e2f;
  box-shadow: 0 0 15px rgba(184, 142, 47, 0.2);
}

body.light-mode .carousel-progress-bar {
  background: rgba(184, 142, 47, 0.08);
}

body.light-mode .booking-container {
  box-shadow: 0 20px 50px rgba(184, 142, 47, 0.08);
}

body.light-mode .form-input {
  background: #ffffff;
  border-color: rgba(184, 142, 47, 0.25);
  color: #0d1527;
}

body.light-mode .form-input[type="date"],
body.light-mode .form-input[type="time"] {
  color-scheme: light;
}

body.light-mode .form-input:focus {
  background: #ffffff;
  border-color: #b88e2f;
  box-shadow: 0 0 15px rgba(184, 142, 47, 0.15);
}

body.light-mode .time-slot {
  background: #ffffff;
  border-color: rgba(184, 142, 47, 0.22);
  color: #0d1527;
}

body.light-mode .time-slot:hover:not(.disabled) {
  border-color: #b88e2f;
  color: #ffffff;
  background: var(--gold-gradient);
  box-shadow: 0 0 12px rgba(184, 142, 47, 0.25);
}

body.light-mode .time-slot.active {
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(184, 142, 47, 0.35);
}

body.light-mode .time-slot.disabled {
  opacity: 0.25;
}

body.light-mode .success-modal {
  background: #FAF8F5;
  border-color: rgba(184, 142, 47, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

body.light-mode .modal-title {
  color: #b88e2f;
}

body.light-mode .modal-desc {
  color: #4b5563;
}

body.light-mode footer {
  background: #f4eee1; /* Light footer matching theme */
  border-top: 1px solid rgba(184, 142, 47, 0.15);
}

body.light-mode footer .logo-title {
  color: #0d1527;
}

body.light-mode footer h4 {
  color: #b88e2f;
}

body.light-mode .social-icon {
  border-color: rgba(0, 0, 0, 0.1);
  color: #576071;
}

body.light-mode .social-icon:hover {
  border-color: #b88e2f;
  color: #b88e2f;
  background: rgba(184, 142, 47, 0.05);
}

body.light-mode .footer-link {
  color: #576071;
}

body.light-mode .footer-link:hover {
  color: #b88e2f;
}

body.light-mode .contact-text {
  color: #576071;
}

body.light-mode .contact-text a {
  color: #576071;
}

body.light-mode .contact-text a:hover {
  color: #b88e2f;
}

body.light-mode .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .copyright, body.light-mode .developer-attribution {
  color: #576071;
}

body.light-mode .developer-attribution a {
  color: #b88e2f;
}

/* Global Transition Systems for Smooth Liquid Theme Switching */
body {
  transition: background-color 0.5s ease, color 0.5s ease;
}

.services-section, 
.horoscope-section, 
.booking-section, 
.stellar-cream-bg, 
header, 
.carousel-card, 
.zodiac-card, 
.reading-card, 
.booking-form-panel, 
.calendar-panel, 
.form-input, 
.weekdays, 
.calendar-day, 
.time-slot, 
.about-card, 
.highlight-item, 
.logo-title, 
.logo-subtitle, 
.nav-link, 
.btn-book, 
.btn-secondary, 
.btn-submit, 
.btn-carousel-card, 
.carousel-control {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll Animation Reveal System (Progressive Enhancement) */
.reveal, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 1;
  transform: none;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Active only when JavaScript parses and initializes successfully */
body.reveal-init .reveal {
  opacity: 0;
  transform: translateY(80px);
}

body.reveal-init .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-init .reveal-left {
  opacity: 0;
  transform: translateX(-100px);
}

body.reveal-init .reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

body.reveal-init .reveal-right {
  opacity: 0;
  transform: translateX(100px);
}

body.reveal-init .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

body.reveal-init .reveal-zoom {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.reveal-init .reveal-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* Dynamic progress bars inside daily horoscopes */
.rating-bar {
  width: 110px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  position: relative;
}

body.light-mode .rating-bar {
  background: rgba(0, 0, 0, 0.08);
}

.rating-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
  box-shadow: 0 0 5px var(--cosmic-gold);
}

/* Page Load Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Light Mode Button & Text Contrast Fixes */
body.light-mode .btn-secondary {
  color: #b88e2f;
  border-color: rgba(184, 142, 47, 0.5);
}

body.light-mode .btn-secondary:hover {
  background: rgba(184, 142, 47, 0.08);
  border-color: #b88e2f;
  color: #8c6a1c;
}

body.light-mode .btn-book,
body.light-mode .btn-submit,
body.light-mode .btn-carousel-card:hover,
body.light-mode .carousel-card:hover .btn-carousel-card {
  color: #0d1527 !important;
}

body.light-mode .hero-description {
  color: #4b5563; /* Darker grey description for crisp reading contrast */
}

/* =========================================================================
   NEW LANGUAGE CAPSULE SLIDER SWITCH
   ========================================================================= */
.lang-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  transform: scale(1.05);
}

.lang-track {
  width: 82px;
  height: 28px;
  border-radius: 20px;
  background: rgba(10, 17, 40, 0.6);
  border: 1px solid rgba(226, 183, 85, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  transition: all 0.4s ease;
}

.lang-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cosmic-gold);
  opacity: 0.5;
  transition: all 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.lang-label.en {
  margin-left: 2px;
}

.lang-label.kn {
  font-size: 0.68rem;
  margin-right: 2px;
}

.lang-thumb {
  width: 32px;
  height: 20px;
  border-radius: 12px;
  background: var(--gold-gradient);
  position: absolute;
  left: 4px;
  top: 3px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: 0 0 8px var(--gold-glow);
  z-index: 2;
}

/* Active states for Kannada language */
body.lang-kn .lang-thumb {
  transform: translateX(42px);
}

body.lang-kn .lang-label.kn {
  opacity: 1;
  color: var(--stellar-dark);
  font-weight: 800;
}

body:not(.lang-kn) .lang-label.en {
  opacity: 1;
  color: var(--stellar-dark);
  font-weight: 800;
}

/* Light mode overrides for Language Switcher */
body.light-mode .lang-track {
  background: #FAF8F5;
  border-color: rgba(184, 142, 47, 0.4);
}

body.light-mode .lang-label {
  color: #b88e2f;
}

body.light-mode:not(.lang-kn) .lang-label.en {
  color: #ffffff;
}

body.light-mode.lang-kn .lang-label.kn {
  color: #ffffff;
}

body.light-mode .lang-thumb {
  box-shadow: 0 0 10px rgba(184, 142, 47, 0.4);
}

/* =========================================================================
   INTERACTIVE VEDIC KUNDALI GENERATOR PORTAL
   ========================================================================= */
.chart-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.chart-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

body.light-mode .chart-subtitle {
  color: #4b5563;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.chart-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* =========================================================================
   11. ANCESTRAL LEGACY SECTION
   ========================================================================= */
.legacy-section {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.legacy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

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

.legacy-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.legacy-temples-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 25px 0;
  padding: 15px 20px;
  background: rgba(184, 142, 47, 0.03);
  border-left: 2px solid var(--cosmic-gold);
  border-radius: 0 8px 8px 0;
}

.temple-bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

.temple-bullet {
  color: var(--cosmic-gold);
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .legacy-temples-list {
    grid-template-columns: 1fr;
  }
}

.legacy-features {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  border-top: 1px solid rgba(226, 183, 85, 0.15);
  padding-top: 30px;
}

.legacy-feature-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.legacy-stat {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--cosmic-gold);
  font-weight: 700;
}

.legacy-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

.legacy-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.legacy-mobile-image-wrap {
  display: none;
}

.visual-frame {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(226, 183, 85, 0.3);
  padding: 15px;
  background: rgba(226, 183, 85, 0.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-width: 400px;
  width: 100%;
}

.visual-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(226, 183, 85, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.legacy-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  filter: sepia(0.2) contrast(1.1);
  transition: transform 0.8s ease;
  transform: scale(1.12); /* Default zoom-in to crop nicely in container */
}

.legacy-image:hover {
  transform: scale(1.22); /* Zoom-in even more on hover */
}

/* =========================================================================
   12. CLIENT TESTIMONIALS SECTION
   ========================================================================= */
.testimonials-section {
  padding: 100px 0;
  background: var(--glass-bg);
  position: relative;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: rgba(5, 8, 22, 0.5);
  border: 1px solid rgba(226, 183, 85, 0.15);
  border-radius: 20px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--cosmic-gold);
  box-shadow: 0 15px 40px rgba(226, 183, 85, 0.08);
}

.testimonial-rating {
  color: var(--cosmic-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 15px;
}

.author-name {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9rem;
}

.author-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================================================
   13. FAQ ACCORDION SECTION
   ========================================================================= */
.faq-section {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
}

.faq-container {
  max-width: 850px;
  margin: 50px auto 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid rgba(226, 183, 85, 0.12);
  border-radius: 16px;
  background: rgba(5, 8, 22, 0.4);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(226, 183, 85, 0.3);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-light);
  font-weight: 600;
  gap: 20px;
}

.faq-question * {
  pointer-events: none;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--cosmic-gold);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 28px;
  background: rgba(226, 183, 85, 0.02);
}

.faq-answer p {
  padding: 0 0 22px 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 15px;
}

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

/* =========================================================================
   LIGHT MODE OVERRIDES FOR NEW SECTIONS
   ========================================================================= */
body.light-mode .legacy-section,
body.light-mode .faq-section {
  background: #FAF8F5;
}

body.light-mode .testimonials-section {
  background: #F4F1EA;
}

body.light-mode .legacy-text,
body.light-mode .testimonial-text,
body.light-mode .faq-answer p {
  color: #555555;
}

body.light-mode .testimonial-card,
body.light-mode .faq-item {
  background: #ffffff;
  border-color: rgba(184, 142, 47, 0.15);
}

body.light-mode .testimonial-card:hover,
body.light-mode .faq-item:hover {
  border-color: #b88e2f;
  box-shadow: 0 10px 30px rgba(184, 142, 47, 0.08);
}

body.light-mode .author-name,
body.light-mode .faq-question {
  color: #1e293b;
}

body.light-mode .legacy-label,
body.light-mode .author-title {
  color: #64748b;
}

body.light-mode .legacy-stat,
body.light-mode .testimonial-rating,
body.light-mode .faq-icon {
  color: #b88e2f;
}

/* =========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================= */
@media (max-width: 992px) {
  .legacy-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .legacy-visual {
    order: -1;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Floating Contact Action Buttons (Bottom Center Rectangles) */
.floating-contact-container {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: row;
  gap: 12px;
  z-index: 1100;
  width: 90%;
  max-width: 400px;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-contact-container.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.floating-btn {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 16px;
}

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

.phone-btn {
  background: var(--cosmic-gold);
  color: #010206 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(184, 142, 47, 0.3);
}

.phone-btn:hover {
  box-shadow: 0 12px 30px rgba(184, 142, 47, 0.5);
}

.whatsapp-btn {
  background: rgba(18, 140, 126, 0.9);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(18, 140, 126, 0.4);
}

.whatsapp-btn:hover {
  background: #128c7e;
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.6);
  border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .floating-contact-container {
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 360px;
    flex-direction: row;
    gap: 10px;
  }
  .floating-contact-container.visible {
    transform: translateX(-50%) translateY(0);
  }
  .floating-btn {
    flex: 1;
    width: auto;
    height: 44px;
    font-size: 0.85rem;
    padding: 0 10px;
  }
  .floating-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Spiritual Gallery Section */
.gallery-section {
  padding: 100px 0;
  background: var(--dark-indigo);
  text-align: center;
  position: relative;
}

.gallery-container {
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  background: rgba(5, 7, 18, 0.5);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.6s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 2, 6, 0.85) 0%, rgba(1, 2, 6, 0) 60%);
  opacity: 0.6;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--cosmic-gold);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.18);
  z-index: 5;
}

.gallery-item:hover::after {
  opacity: 0.8;
}

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

.gallery-action {
  margin-top: 50px;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .gallery-section {
    padding: 70px 0;
  }
}

/* =========================================================================
   13. GLOBAL LIQUID GLASS COMPONENT STYLING
   ========================================================================= */
.carousel-card,
.about-card,
.booking-form-card,
.testimonial-card,
.faq-item,
.contact-card,
.legacy-card,
.success-modal {
  background: rgba(10, 16, 32, 0.45) !important;
  backdrop-filter: blur(8px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
  
  /* Specification for liquid borders: specular highlight top, warm gold bottom */
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-bottom: 1px solid rgba(226, 183, 85, 0.2) !important;
  border-radius: 24px !important;
  
  /* Double-depth shadow model for thickness & gold refraction glow */
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.3), 
    inset 0 1px 2px rgba(255, 255, 255, 0.25), 
    inset 0 -2px 8px rgba(0, 0, 0, 0.4) !important;
  
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Light mode overrides for liquid glass elements */
body.light-mode .carousel-card,
body.light-mode .about-card,
body.light-mode .booking-form-card,
body.light-mode .testimonial-card,
body.light-mode .faq-item,
body.light-mode .contact-card,
body.light-mode .legacy-card,
body.light-mode .success-modal {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(8px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
  border-top-color: rgba(255, 255, 255, 0.8) !important;
  border-bottom-color: rgba(184, 142, 47, 0.25) !important;
  box-shadow: 
    0 12px 30px rgba(184, 142, 47, 0.05), 
    inset 0 1px 2px rgba(255, 255, 255, 0.7), 
    inset 0 -2px 8px rgba(184, 142, 47, 0.04) !important;
}

/* Custom Cosmic Cursor styling */
.cosmic-cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cosmic-gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--gold-glow);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cosmic-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(226, 183, 85, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(226, 183, 85, 0.08);
}

@media (max-width: 1024px) {
  .cosmic-cursor-dot,
  .cosmic-cursor-ring {
    display: none;
  }
}

/* Call Us CTA Box */
.cta-call-box {
  margin-top: 30px;
  padding: 22px 28px;
  background: rgba(212, 175, 55, 0.03);
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.cta-call-box:hover {
  border-color: var(--cosmic-gold);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.cta-call-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-call-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.cta-call-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-cta-call {
  background: var(--gold-gradient);
  color: #010206 !important;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-cta-call:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-cta-call svg {
  fill: currentColor;
}

@media (max-width: 576px) {
  .cta-call-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Service Details Modal styling */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 2, 6, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.service-modal-content {
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow: hidden;
  padding: 40px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-overlay.active .service-modal-content {
  transform: translateY(0);
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.service-modal-close:hover {
  color: var(--cosmic-gold);
}

/* Name Highlight styles */
.name-highlight {
  color: var(--cosmic-gold) !important;
  font-weight: 700 !important;
  text-shadow: 0 0 10px rgba(226, 183, 85, 0.3) !important;
  display: inline;
}

/* About Section Backdrop Rings */
.about-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}

.about-bg-ring {
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1.5px dashed rgba(226, 183, 85, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: spin-reverse 100s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(226, 183, 85, 0.15));
}

.about-bg-ring::before {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(226, 183, 85, 0.2);
  border-radius: 50%;
}

.about-bg-ring::after {
  content: '';
  position: absolute;
  inset: 80px;
  border: 2px dotted rgba(226, 183, 85, 0.3);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}

/* Image grab & Screenshot protection overrides */
img {
  -webkit-user-drag: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

@media print {
  body {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .about-bg-ring {
    width: 380px;
    height: 380px;
  }
}

@media (max-width: 480px) {
  .about-bg-ring {
    width: 310px;
    height: 310px;
  }
}



/* =========================================================================
   17. MOBILE CONTAINER GRID UNIFICATION OVERRIDES
   ========================================================================= */
@media (max-width: 768px) {
  .about-container,
  .services-container,
  .booking-container,
  .footer-container,
  .legacy-container,
  .faq-container,
  .gallery-container,
  .hero-grid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    display: block !important; /* Stack columns vertically along the same axis */
  }

  .nav-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  /* Reset inner alignments for uniform margins */
  .about-image-wrapper,
  .about-content,
  .hero-content,
  .hero-image-container,
  .legacy-content,
  .legacy-temples-list {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Reorder Hero and Legacy grids on mobile: images on top, text below */
  .hero-grid {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
  .legacy-container {
    display: block !important;
  }
  .legacy-visual {
    display: none !important;
  }
  .legacy-mobile-image-wrap {
    display: block !important;
    margin: 20px auto 30px auto !important;
    width: 100% !important;
    max-width: 320px !important;
  }

  /* Scale down zodiac wheel on mobile to prevent horizontal viewport overflow */
  .zodiac-wheel-wrapper {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto 30px auto !important;
  }

  /* Hide huge decorative background rings on mobile viewports */
  .about-bg-ring {
    display: none !important;
  }

  /* Enable optimized video background playback on mobile viewports */
  .booking-bg-video {
    display: block !important;
    opacity: 0.45 !important;
    object-fit: cover !important;
  }
  .booking-video-overlay {
    display: block !important;
    background: radial-gradient(circle at center, rgba(3, 7, 18, 0.25) 0%, rgba(3, 7, 18, 0.65) 100%) !important;
  }
  .booking-section {
    background: var(--space-bg) !important;
    padding: 30px 0 !important;
  }
  /* Remove the booking container outer box on mobile viewports but keep horizontal padding alignment */
  .booking-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 20px !important; /* Align form inputs perfectly with the section headers */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .booking-form-card {
    padding: 10px 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }
  /* Force mobile form fields to stack vertically in a clean 1-column layout */
  .form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
  }
  .form-group {
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  .form-input, .form-select {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Leave space below the submit button on mobile so it is not covered by the floating contact bar */
  #booking-form button[type="submit"] {
    margin-bottom: 60px !important;
  }

  /* Restrict reveal animations to vertical shifts only (prevents horizontal scroll wiggles before elements fade in) */
  body.reveal-init .reveal-left {
    opacity: 0;
    transform: translateY(30px);
  }
  body.reveal-init .reveal-right {
    opacity: 0;
    transform: translateY(30px);
  }
  body.reveal-init .reveal {
    opacity: 0;
    transform: translateY(30px);
  }

  /* Define the active visible state overrides for mobile scroll triggers */
  body.reveal-init .reveal-left.visible,
  body.reveal-init .reveal-right.visible,
  body.reveal-init .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Service Modal Mobile Optimizations (stops content & buttons from being cut off) */
  .service-modal-content {
    padding: 24px 20px !important;
    max-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 20px !important;
  }
  
  .service-modal-header {
    margin-bottom: 15px !important;
    gap: 12px !important;
  }
  
  .service-modal-icon-wrap {
    width: 44px !important;
    height: 44px !important;
  }
  
  .service-modal-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }
  
  .service-modal-text {
    max-height: 250px !important; /* Compact scroll box height to guarantee buttons fit */
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    padding-right: 8px !important;
  }
  
  .service-modal-cta {
    margin-top: 20px !important;
    gap: 10px !important;
  }
  
  .service-modal-cta .btn-book,
  .service-modal-cta .btn-secondary {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    flex: 1 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
  }

  /* Enlarge the mobile header bar and its text sizes */
  header {
    top: 8px !important;
    padding: 10px 18px !important;
    width: 94% !important;
  }
  .logo-title,
  .logo-subtitle {
    font-size: 1.02rem !important;
    letter-spacing: 0.5px !important;
  }
  .mobile-menu-toggle {
    font-size: 1.8rem !important;
  }
}
/* WhatsApp Button Component Styling */
.btn-whatsapp {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 22px !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  cursor: pointer !important;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45) !important;
  color: #ffffff !important;
}

.btn-whatsapp svg {
  fill: #ffffff !important;
  stroke: none !important;
  flex-shrink: 0 !important;
}

/* --- Vashikaran Section Styling --- */
.vashikaran-section {
  padding: 90px 24px;
  background: var(--space-bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.vashikaran-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vashikaran-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.vashikaran-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s ease;
}

.vashikaran-image:hover {
  transform: scale(1.03);
}

.vashikaran-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.vashikaran-text.lead-para {
  color: var(--text-light);
  font-size: 1.12rem;
}

.vashikaran-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.v-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(226, 183, 85, 0.15);
  padding: 16px 20px;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.v-feature-item:hover {
  transform: translateX(6px);
  background: rgba(226, 183, 85, 0.05);
}

.v-feature-icon {
  color: var(--cosmic-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.v-feature-item h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--font-serif);
}

.v-feature-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* --- Awards & Certifications Section Styling --- */
.awards-section {
  padding: 100px 24px;
  background: radial-gradient(circle at 50% 30%, rgba(226, 183, 85, 0.05) 0%, rgba(3, 7, 18, 0.98) 100%);
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.awards-container {
  max-width: 1200px;
  margin: 0 auto;
}

.awards-intro-box {
  background: rgba(10, 16, 32, 0.5);
  border: 1px solid var(--glass-border);
  padding: 30px 35px;
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

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

.cert-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: var(--cosmic-gold);
  box-shadow: 0 20px 45px rgba(226, 183, 85, 0.2);
}

.cert-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cert-card:hover .cert-img {
  transform: scale(1.05);
}

.cert-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(3, 7, 18, 0.85);
  color: var(--cosmic-gold);
  border: 1px solid var(--cosmic-gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
}

.cert-info {
  padding: 25px;
  flex-grow: 1;
}

.cert-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

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

/* Mobile Responsiveness for Vashikaran and Awards */
@media (max-width: 768px) {
  .vashikaran-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .certifications-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  .awards-intro-box {
    padding: 20px 22px !important;
  }
}

/* Top Astrologer Badge above Portrait Photo */
.top-astrologer-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(226, 183, 85, 0.25) 0%, rgba(3, 7, 18, 0.9) 100%);
  border: 1px solid var(--cosmic-gold);
  color: var(--cosmic-gold);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 8px 22px;
  border-radius: 30px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(226, 183, 85, 0.3);
}

/* Redesigned Vashikaran Section (Large Image, SVG icons) */
.vashikaran-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(226, 183, 85, 0.2), 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(226, 183, 85, 0.3);
  background: #000;
}

.vashikaran-image-large {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.vashikaran-image-card:hover .vashikaran-image-large {
  transform: scale(1.04);
}

.vashikaran-image-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(3, 7, 18, 0.88);
  border: 1px solid var(--cosmic-gold);
  padding: 10px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.v-feature-icon-svg {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(226, 183, 85, 0.1);
  border: 1px solid rgba(226, 183, 85, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Awards Carousel Track & Navigation Controls */
.awards-carousel-track {
  display: flex !important;
  gap: 25px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 15px 10px 25px 10px !important;
  scrollbar-width: thin;
  scrollbar-color: var(--cosmic-gold) transparent;
}

.awards-carousel-track::-webkit-scrollbar {
  height: 6px;
}
.awards-carousel-track::-webkit-scrollbar-thumb {
  background: var(--cosmic-gold);
  border-radius: 10px;
}

.awards-carousel-track .cert-card {
  flex: 0 0 350px !important;
  max-width: 350px !important;
}

.awards-carousel-btn {
  position: absolute !important;
  top: 45% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: rgba(3, 7, 18, 0.88) !important;
  border: 1px solid var(--cosmic-gold) !important;
  color: var(--cosmic-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(8px) !important;
}

.awards-carousel-btn:hover {
  background: var(--cosmic-gold) !important;
  color: #030712 !important;
  box-shadow: 0 0 22px rgba(226, 183, 85, 0.5) !important;
}

.awards-btn-prev {
  left: -18px !important;
}

.awards-btn-next {
  right: -18px !important;
}

@media (max-width: 768px) {
  .awards-carousel-track .cert-card {
    flex: 0 0 290px !important;
    max-width: 290px !important;
  }
  .awards-btn-prev {
    left: -8px !important;
  }
  .awards-btn-next {
    right: -8px !important;
  }
}

/* Vertical Sticky Stacking Card Scroll Animation */
.awards-stack-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 35px !important;
  position: relative !important;
  max-width: 960px !important;
  margin: 45px auto 0 auto !important;
}

.cert-card-stacked {
  position: sticky !important;
  top: calc(110px + var(--card-index) * 20px) !important;
  background: rgba(10, 16, 32, 0.96) !important;
  border: 1px solid rgba(226, 183, 85, 0.3) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.7), 0 20px 50px rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  transition: transform 0.4s ease, border-color 0.4s ease !important;
  z-index: calc(10 + var(--card-index)) !important;
}

.cert-card-stacked:hover {
  border-color: var(--cosmic-gold) !important;
  transform: translateY(-4px) !important;
}

.cert-card-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr !important;
  align-items: center !important;
}

.cert-image-frame-stacked {
  position: relative !important;
  overflow: hidden !important;
  height: 420px !important;
  background: rgba(3, 7, 18, 0.98) !important;
  padding: 6px !important;
  box-sizing: border-box !important;
}

.cert-img-stacked {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Guarantees Guruji's face, trophy, and certificate are 100% visible */
  object-position: top center !important;
  display: block !important;
  border-radius: 12px !important;
  transition: transform 0.6s ease !important;
}

.cert-card-stacked:hover .cert-img-stacked {
  transform: scale(1.05) !important;
}

.cert-info-stacked {
  padding: 40px 45px !important;
  position: relative !important;
}

.cert-number {
  font-family: var(--font-serif) !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  color: rgba(226, 183, 85, 0.25) !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
  display: block !important;
}

.cert-info-stacked .cert-title {
  font-family: var(--font-serif) !important;
  font-size: 1.6rem !important;
  color: var(--text-light) !important;
  margin-bottom: 15px !important;
}

.cert-info-stacked .cert-desc {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
}

@media (max-width: 768px) {
  .cert-card-grid {
    grid-template-columns: 1fr !important;
  }
  .cert-image-frame-stacked {
    height: 280px !important;
  }
  .cert-info-stacked {
    padding: 25px 22px !important;
  }
  .cert-card-stacked {
    top: calc(90px + var(--card-index) * 15px) !important;
  }
}

/* Enlarge Temple Altar Visual Image */
.visual-frame {
  height: 480px !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6) !important;
  border: 1px solid var(--cosmic-gold) !important;
}

.legacy-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 480px !important;
  object-fit: cover !important;
  transform: scale(1.15) !important;
  transition: transform 0.8s ease !important;
}

.legacy-image:hover {
  transform: scale(1.25) !important;
}

/* Glowing Blink Pulse Animation for Top Astrologer Badge */
@keyframes goldBlinkPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(226, 183, 85, 0.5), 0 0 35px rgba(226, 183, 85, 0.2);
    border-color: var(--cosmic-gold);
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 35px rgba(226, 183, 85, 0.9), 0 0 50px rgba(226, 183, 85, 0.6);
    border-color: #ffffff;
    transform: scale(1.03);
  }
}

.top-astrologer-badge {
  display: inline-block !important;
  background: linear-gradient(135deg, rgba(226, 183, 85, 0.3) 0%, rgba(3, 7, 18, 0.95) 100%) !important;
  border: 1.5px solid var(--cosmic-gold) !important;
  color: var(--cosmic-gold) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.8px !important;
  padding: 8px 24px !important;
  border-radius: 30px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 0 20px rgba(226, 183, 85, 0.5) !important;
  animation: goldBlinkPulse 2s infinite ease-in-out !important;
}

/* Gallery Vertical Sticky Stacking Card Scroll Animation */
.gallery-stack-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 35px !important;
  position: relative !important;
  max-width: 960px !important;
  margin: 45px auto 0 auto !important;
}

.gallery-card-stacked {
  position: sticky !important;
  top: calc(110px + var(--card-index) * 18px) !important;
  background: rgba(10, 16, 32, 0.96) !important;
  border: 1px solid rgba(226, 183, 85, 0.3) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.7), 0 20px 50px rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  transition: transform 0.4s ease, border-color 0.4s ease !important;
  z-index: calc(10 + var(--card-index)) !important;
}

.gallery-card-stacked:hover {
  border-color: var(--cosmic-gold) !important;
  transform: translateY(-4px) !important;
}

.gallery-card-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr !important;
  align-items: center !alignment;
}

.gallery-image-frame-stacked {
  position: relative !important;
  overflow: hidden !important;
  height: 380px !important;
  background: #000 !important;
}

.gallery-img-stacked {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s ease !important;
}

.gallery-card-stacked:hover .gallery-img-stacked {
  transform: scale(1.05) !important;
}

.gallery-info-stacked {
  padding: 40px 45px !important;
  position: relative !important;
}

.gallery-number {
  font-family: var(--font-serif) !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  color: rgba(226, 183, 85, 0.25) !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
  display: block !important;
}

.gallery-info-stacked .gallery-card-title {
  font-family: var(--font-serif) !important;
  font-size: 1.6rem !important;
  color: var(--text-light) !important;
  margin-bottom: 15px !important;
}

.gallery-info-stacked .gallery-card-desc {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
}

@media (max-width: 768px) {
  .gallery-card-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-image-frame-stacked {
    height: 280px !important;
  }
  .gallery-info-stacked {
    padding: 25px 22px !important;
  }
  .gallery-card-stacked {
    top: calc(90px + var(--card-index) * 15px) !important;
  }
}

/* Center Legacy Stats & Call Button */
.legacy-features {
  justify-content: center !important;
  text-align: center !important;
  margin: 35px auto 25px auto !important;
  display: flex !important;
  gap: 30px !important;
}

.legacy-feature-item {
  text-align: center !important;
}

.legacy-cta {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  margin-top: 30px !important;
}

/* Testimonials Sticky Card Overlay Scroll Animation */
.testimonials-stack-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 30px !important;
  position: relative !important;
  max-width: 860px !important;
  margin: 40px auto 0 auto !important;
}

.testimonial-card-stacked {
  position: sticky !important;
  top: calc(110px + var(--card-index) * 20px) !important;
  background: rgba(10, 16, 32, 0.96) !important;
  border: 1px solid rgba(226, 183, 85, 0.35) !important;
  border-radius: 24px !important;
  padding: 35px 40px !important;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8), 0 25px 60px rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(16px) !important;
  z-index: calc(10 + var(--card-index)) !important;
  transition: transform 0.4s ease, border-color 0.4s ease !important;
}

.testimonial-card-stacked:hover {
  border-color: var(--cosmic-gold) !important;
  transform: translateY(-4px) !important;
}

.testimonial-card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
}

.testimonial-badge {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--cosmic-gold) !important;
  border: 1px solid rgba(226, 183, 85, 0.4) !important;
  background: rgba(226, 183, 85, 0.1) !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
}

@media (max-width: 768px) {
  .testimonial-card-stacked {
    padding: 25px 22px !important;
    top: calc(90px + var(--card-index) * 15px) !important;
  }
}

/* Blended Awards Intro Text (No Separate Box) */
.awards-intro-box {
  display: none !important;
}

.awards-blended-text {
  max-width: 840px !important;
  margin: 22px auto 0 auto !important;
  color: var(--text-muted) !important;
  font-size: 1.02rem !important;
  line-height: 1.8 !important;
  text-align: center !important;
}

.awards-blended-text p {
  margin-bottom: 14px !important;
}

.awards-blended-text p:last-child {
  margin-bottom: 0 !important;
}

/* Service Cards Font Size Increase & Styling */
.carousel-card-title {
  font-family: var(--font-serif) !important;
  font-size: 1.62rem !important;
  font-weight: 600 !important;
  color: var(--text-light) !important;
  margin-bottom: 15px !important;
  letter-spacing: 0.5px !important;
}

.carousel-card-desc {
  font-size: 1.02rem !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
  margin-bottom: 30px !important;
  flex-grow: 1 !important;
}

/* Enlarge Top Astrologer Badge */
.top-astrologer-badge {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  padding: 10px 28px !important;
}

/* Unified Identical Pure White Color for All Vashikaran Paragraphs */
.vashikaran-content p,
.vashikaran-text,
.vashikaran-content .lead-para {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  margin-bottom: 18px !important;
  text-shadow: none !important;
}

/* No. 1 Vashikaran Specialist Badge */
.vashikaran-specialist-badge {
  display: inline-block !important;
  background: linear-gradient(135deg, rgba(226, 183, 85, 0.3) 0%, rgba(3, 7, 18, 0.95) 100%) !important;
  border: 1.5px solid var(--cosmic-gold) !important;
  color: var(--cosmic-gold) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.8px !important;
  padding: 8px 24px !important;
  border-radius: 30px !important;
  margin-bottom: 18px !important;
  box-shadow: 0 0 22px rgba(226, 183, 85, 0.4) !important;
  animation: goldBlinkPulse 2s infinite ease-in-out !important;
}

/* Unique 3D Scroll Reveal Animation for Gallery Items */
.gallery-item.reveal {
  opacity: 0 !important;
  transform: translateY(45px) scale(0.9) rotate(-1.5deg) !important;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gallery-item.reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) rotate(0deg) !important;
}

.gallery-item:nth-child(even).reveal.visible {
  transition-delay: 0.12s !important;
}

.gallery-item:nth-child(3n).reveal.visible {
  transition-delay: 0.22s !important;
}

/* Fit Image Without Cropping */
.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Entire image fits inside box cleanly! */
  border-radius: 14px !important;
  display: block !important;
  transition: transform 0.6s ease, filter 0.6s ease !important;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 20px 45px rgba(226, 183, 85, 0.4) !important;
  border-color: var(--cosmic-gold) !important;
}

.gallery-item:hover img {
  transform: scale(1.04) !important;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .gallery-item {
    height: 240px !important;
    padding: 6px !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .gallery-item {
    height: 190px !important;
    padding: 4px !important;
  }
}

/* Staggered heights for a dynamic masonry look */
.gallery-item:nth-child(3n+1) {
  height: 330px !important;
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Full-bleed edge-to-edge photo fit */
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gallery-item::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.5) 0%, transparent 60%) !important;
  opacity: 0.6 !important;
  transition: opacity 0.4s ease !important;
  pointer-events: none !important;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 45px rgba(226, 183, 85, 0.4) !important;
  border-color: var(--cosmic-gold) !important;
  z-index: 5 !important;
}

.gallery-item:hover img {
  transform: scale(1.08) !important;
}

.gallery-item:hover::after {
  opacity: 0.2 !important;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .gallery-item, .gallery-item:nth-child(3n+1) {
    height: 220px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .gallery-item, .gallery-item:nth-child(3n+1) {
    height: 175px !important;
    border-radius: 12px !important;
  }
}


/* Minimal Desktop Carousel Scroll Navigation */
.services-carousel-wrapper {
  position: relative !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
}

.carousel-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 15 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(3, 7, 18, 0.85) !important;
  border: 1.5px solid var(--cosmic-gold) !important;
  color: var(--cosmic-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 15px rgba(226, 183, 85, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.carousel-nav-btn:hover {
  background: var(--cosmic-gold) !important;
  color: #030712 !important;
  box-shadow: 0 6px 22px rgba(226, 183, 85, 0.5) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.carousel-nav-btn svg {
  fill: currentColor !important;
}

.carousel-nav-btn.prev-btn {
  left: -22px !important;
}

.carousel-nav-btn.next-btn {
  right: -22px !important;
}

@media (max-width: 768px) {
  .carousel-nav-btn.prev-btn {
    left: 2px !important;
  }
  .carousel-nav-btn.next-btn {
    right: 2px !important;
  }
}

/* Prominent Left & Right Desktop Carousel Navigation Buttons */
.services-carousel-wrapper {
  position: relative !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.carousel-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 30 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: rgba(3, 7, 18, 0.92) !important;
  border: 1.5px solid var(--cosmic-gold) !important;
  color: var(--cosmic-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.8), 0 0 20px rgba(226, 183, 85, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.carousel-nav-btn:hover {
  background: var(--cosmic-gold) !important;
  color: #030712 !important;
  box-shadow: 0 6px 25px rgba(226, 183, 85, 0.6) !important;
  transform: translateY(-50%) scale(1.12) !important;
}

.carousel-nav-btn svg {
  fill: currentColor !important;
}

.carousel-nav-btn.prev-btn {
  left: -18px !important;
}

.carousel-nav-btn.next-btn {
  right: -18px !important;
}

@media (max-width: 768px) {
  .carousel-nav-btn {
    width: 38px !important;
    height: 38px !important;
  }
  .carousel-nav-btn.prev-btn {
    left: 2px !important;
  }
  .carousel-nav-btn.next-btn {
    right: 2px !important;
  }
}


/* Standard Normal Simple Gallery Grid Layout */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  max-width: 1100px !important;
  margin: 30px auto 0 auto !important;
}

.gallery-item,
.gallery-item:nth-child(n) {
  position: relative !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #000000 !important;
  border: 1px solid rgba(226, 183, 85, 0.25) !important;
  height: 240px !important;
  width: 100% !important;
  padding: 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  transform: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.gallery-item.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
  transform: none !important;
  transition: none !important;
}

.gallery-item:hover {
  border-color: var(--cosmic-gold) !important;
  transform: none !important;
  box-shadow: 0 6px 20px rgba(226, 183, 85, 0.3) !important;
}

.gallery-item:hover img {
  transform: none !important;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .gallery-item,
  .gallery-item:nth-child(n) {
    height: 165px !important;
    border-radius: 10px !important;
  }
}

/* Hide Service Carousel Navigation Buttons on Mobile Devices */
@media (max-width: 768px) {
  .carousel-nav-btn,
  .carousel-nav-btn.prev-btn,
  .carousel-nav-btn.next-btn {
    display: none !important;
  }
}
