/* ============================================
   NAVGRAH SHANTI – style.css
   Deep Cosmic Vedic Aesthetic
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #D4A843;
  --gold-light: #F0C060;
  --gold-dark: #A07830;
  --maroon: #5C0A14;
  --maroon-deep: #3A0008;
  --cosmic: #050A1A;
  --cosmic-mid: #0A1428;
  --cosmic-light: #0F1E3C;
  --fire-orange: #FF6B20;
  --fire-yellow: #FFD700;
  --fire-red: #CC2200;
  --text-light: #F5E8C8;
  --text-muted: #B8A080;
  --card-bg: rgba(10, 20, 40, 0.85);
  --border-gold: rgba(212, 168, 67, 0.3);
  --shadow-gold: 0 0 30px rgba(212, 168, 67, 0.2);
  --font-heading: 'Cinzel Decorative', serif;
  --font-subheading: 'Cinzel', serif;
  --font-devanagari: 'Noto Serif Devanagari', serif;
  --font-body: 'EB Garamond', serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 12px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cosmic);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== STARS CANVAS ===== */
#starsCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-subheading); line-height: 1.2; }
h4, h5, h6 { font-family: var(--font-subheading); }
.devanagari { font-family: var(--font-devanagari); display: block; font-size: 0.7em; color: var(--gold-light); }
.gold { color: var(--gold); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cosmic); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ============================================
   NAVIGATION
   ============================================ */
#mainHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition);
}

#mainHeader.scrolled {
  background: rgba(5, 10, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.brand-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px var(--gold));
  animation: pulse-glow 2s ease-in-out infinite;
}

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

.brand-main {
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-devanagari);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.nav-link:hover { color: var(--gold); background: rgba(212, 168, 67, 0.08); }
.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--maroon), var(--fire-red));
  color: var(--gold-light) !important;
  border: 1px solid var(--gold-dark);
  padding: 0.45rem 1rem;
}
.nav-link.nav-cta:hover { box-shadow: 0 0 15px rgba(212, 168, 67, 0.4); transform: translateY(-1px); }

.arrow { font-size: 0.65em; transition: transform 0.3s; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: rgba(5, 10, 26, 0.98);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212, 168, 67, 0.1);
  backdrop-filter: blur(20px);
}

.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover > .nav-link > .arrow { transform: rotate(180deg); }

.dropdown li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-subheading);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
  border-bottom: 1px solid rgba(212, 168, 67, 0.05);
}

.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { color: var(--gold); background: rgba(212, 168, 67, 0.06); padding-left: 1.5rem; }

/* Level 2 dropdown */
.dropdown .has-dropdown { position: relative; }
.dropdown .level-2 {
  top: 0;
  left: 100%;
  margin-left: 0.5rem;
}
.dropdown .has-dropdown:hover > .level-2 { opacity: 1; visibility: visible; transform: translateY(0); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--cosmic-mid);
  border-left: 1px solid var(--border-gold);
  z-index: 999;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 2rem 1.5rem;
}
.mobile-nav.active { right: 0; }

.mobile-close {
  position: absolute;
  top: 1rem; right: 1rem;
  color: var(--gold);
  font-size: 1.5rem;
  padding: 0.5rem;
}

.mobile-menu { margin-top: 3rem; }
.mobile-menu > li { border-bottom: 1px solid var(--border-gold); }
.mobile-menu > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-family: var(--font-subheading);
  color: var(--text-light);
  font-size: 0.95rem;
}
.mobile-menu > li > a:hover, .mobile-menu > li > a.m-cta { color: var(--gold); }
.m-cta {
  background: linear-gradient(135deg, var(--maroon), var(--fire-red)) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px solid var(--gold-dark);
  justify-content: center !important;
}

.m-dropdown {
  display: none;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}
.m-dropdown.open { display: block; }
.m-dropdown li a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.m-dropdown li a:hover { color: var(--gold); }
.m-arrow { transition: transform 0.3s; display: inline-block; }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slider { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.02);
}
.slide.active { opacity: 1; transform: scale(1); z-index: 1; }

/* Slide Backgrounds */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide-1 .slide-bg {
  background: radial-gradient(ellipse at 30% 60%, rgba(200, 50, 0, 0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 40%, rgba(212, 168, 67, 0.15) 0%, transparent 50%),
              linear-gradient(180deg, var(--maroon-deep) 0%, var(--cosmic) 100%);
}
.slide-2 .slide-bg {
  background: radial-gradient(ellipse at 60% 50%, rgba(92, 10, 20, 0.6) 0%, transparent 70%),
              linear-gradient(135deg, var(--cosmic-mid) 0%, var(--maroon-deep) 100%);
}
.slide-3 .slide-bg {
  background: radial-gradient(ellipse at 40% 50%, rgba(10, 30, 80, 0.8) 0%, transparent 60%),
              linear-gradient(180deg, var(--cosmic-mid) 0%, var(--cosmic) 100%);
}

.slide-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
  padding: 2rem;
  margin-left: 8vw;
  margin-top: 72px;
}

.slide-tag {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.title-glow {
  color: var(--gold);
  display: block;
  text-shadow: 0 0 30px rgba(212, 168, 67, 0.5), 0 0 60px rgba(255, 180, 0, 0.2);
}

.slide-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.slide-points {
  margin-bottom: 2rem;
}
.slide-points li {
  font-size: 1.05rem;
  color: var(--text-light);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slide-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.slide-meta span {
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  color: var(--gold-light);
}

/* Buttons */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--cosmic);
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  letter-spacing: 0.05em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
  border: 1px solid var(--gold-light);
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(212, 168, 67, 0.5); }
.btn-gold:hover::before { opacity: 1; }
.btn-gold.large { font-size: 1rem; padding: 1rem 2.5rem; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(212, 168, 67, 0.1); border-color: var(--gold); transform: translateY(-2px); }
.btn-outline.large { font-size: 1rem; padding: 1rem 2.5rem; }

/* Fire Animation */
.fire-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 100, 0, 0.3) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.havan-kund-anim {
  position: absolute;
  bottom: 60px;
  right: 8vw;
  width: 180px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.havan-base {
  width: 140px;
  height: 40px;
  background: linear-gradient(180deg, #8B4513, #5D2E0C);
  border-radius: 4px 4px 8px 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 2px solid var(--gold-dark);
  position: relative;
}

.flame {
  position: absolute;
  bottom: 35px;
  width: 40px;
  height: 80px;
  border-radius: 50% 50% 35% 35%;
  animation: flicker 1.5s ease-in-out infinite alternate;
  transform-origin: bottom center;
}
.f1 { left: 50px; background: linear-gradient(0deg, var(--fire-red), var(--fire-orange), var(--fire-yellow)); height: 90px; animation-delay: 0s; }
.f2 { left: 30px; background: linear-gradient(0deg, var(--fire-red), var(--fire-orange)); height: 65px; width: 30px; animation-delay: 0.3s; }
.f3 { left: 75px; background: linear-gradient(0deg, var(--fire-red), var(--fire-orange)); height: 55px; width: 25px; animation-delay: 0.6s; }

.embers {
  position: absolute;
  bottom: 100px;
  left: 50px;
  width: 80px;
  height: 60px;
}
.embers span {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--fire-yellow);
  border-radius: 50%;
  animation: ember-rise 2s ease-out infinite;
  box-shadow: 0 0 6px var(--fire-orange);
}
.embers span:nth-child(1) { left: 10px; animation-delay: 0s; }
.embers span:nth-child(2) { left: 30px; animation-delay: 0.4s; }
.embers span:nth-child(3) { left: 50px; animation-delay: 0.8s; }
.embers span:nth-child(4) { left: 20px; animation-delay: 1.2s; }
.embers span:nth-child(5) { left: 60px; animation-delay: 1.6s; }

@keyframes flicker {
  0% { transform: scaleX(1) scaleY(1) rotate(-2deg); }
  100% { transform: scaleX(0.85) scaleY(1.1) rotate(2deg); }
}
@keyframes ember-rise {
  0% { transform: translateY(0) translateX(0); opacity: 1; }
  100% { transform: translateY(-60px) translateX(calc((var(--r, 0.5) - 0.5) * 40px)); opacity: 0; }
}

/* Slider Controls */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
.slider-prev:hover, .slider-next:hover {
  background: rgba(212, 168, 67, 0.3);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.3);
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.3);
  border: 1px solid var(--gold-dark);
  transition: var(--transition);
}
.dot.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* ===== SACRED STRIP ===== */
.sacred-strip {
  background: linear-gradient(90deg, var(--maroon-deep), var(--maroon), var(--maroon-deep));
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
  padding: 0.6rem 0;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

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

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-light);
  margin-bottom: 1rem;
}

.title-divider {
  font-size: 1.5rem;
  margin: 0.75rem 0;
  position: relative;
}
.title-divider::before, .title-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.title-divider::before { right: calc(50% + 1.5rem); }
.title-divider::after { left: calc(50% + 1.5rem); background: linear-gradient(90deg, var(--gold-dark), transparent); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.75rem auto 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { background: linear-gradient(180deg, var(--cosmic) 0%, var(--cosmic-mid) 100%); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.about-text strong { color: var(--gold-light); }
.about-text em { color: var(--text-light); font-style: italic; }
.about-lead { font-size: 1.1rem; color: var(--text-light) !important; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.af-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--text-light);
}
.af-icon { font-size: 1.2rem; }

/* Navagraha Wheel */
.about-visual { display: flex; justify-content: center; }

.navagraha-wheel {
  position: relative;
  width: 340px;
  height: 340px;
}

.wheel-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.3), rgba(200, 50, 0, 0.3));
  border: 2px solid var(--gold-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.2), inset 0 0 20px rgba(212, 168, 67, 0.1);
}
.wheel-center span {
  font-family: var(--font-devanagari);
  font-size: 0.9rem;
  color: var(--gold);
}

.center-flame {
  width: 30px; height: 40px;
  background: linear-gradient(0deg, var(--fire-red), var(--fire-orange), var(--fire-yellow));
  border-radius: 50% 50% 35% 35%;
  animation: flicker 1.2s ease-in-out infinite alternate;
  margin-bottom: 0.25rem;
}

.planet-orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(212, 168, 67, 0.2);
  border-radius: 50%;
  animation: orbit-rotate 40s linear infinite;
}

.planet-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transform: rotate(var(--angle)) translateY(-155px) rotate(calc(-1 * var(--angle)));
  top: 50%; left: 50%;
  margin: -30px 0 0 -30px;
  width: 60px;
}
.planet-icon { font-size: 1.4rem; filter: drop-shadow(0 0 8px rgba(212, 168, 67, 0.5)); }
.planet-name {
  font-family: var(--font-subheading);
  font-size: 0.6rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-align: center;
}

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

/* Dr Card */
.dr-card {
  display: flex;
  gap: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-gold);
}

.dr-avatar {
  flex-shrink: 0;
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--maroon), var(--gold-dark));
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.3);
}
.dr-avatar-inner { font-size: 3rem; }

.dr-info { flex: 1; }
.dr-tag { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
.dr-info h3 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--gold); margin-bottom: 0.25rem; }
.dr-title { color: var(--text-muted); font-size: 0.9rem; font-style: italic; margin-bottom: 1rem; }
.dr-info p { color: var(--text-muted); }

.dr-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-subheading);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: linear-gradient(180deg, var(--cosmic-mid) 0%, var(--cosmic) 100%);
}
.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 50%, rgba(92, 10, 20, 0.2) 0%, transparent 50%),
                    radial-gradient(circle at 75% 50%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-gold), 0 20px 40px rgba(0,0,0,0.4); border-color: var(--gold-dark); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(212, 168, 67, 0.4));
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  font-family: var(--font-subheading);
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.btn-card {
  display: inline-block;
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 0.45rem 1.2rem;
  border-radius: 20px;
  transition: var(--transition);
  letter-spacing: 0.05em;
}
.btn-card:hover { background: rgba(212, 168, 67, 0.1); border-color: var(--gold); }

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process-section {
  background: linear-gradient(180deg, var(--cosmic) 0%, var(--maroon-deep) 50%, var(--cosmic) 100%);
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-dark), transparent);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.process-step:nth-child(even) { flex-direction: row-reverse; }

.step-bubble {
  flex-shrink: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--maroon), var(--cosmic-mid));
  border: 2px solid var(--gold-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.2);
}
.step-icon { font-size: 1.5rem; line-height: 1; }
.step-num {
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.step-content {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(15px);
}
.step-content h3 { font-size: 1.05rem; color: var(--gold-light); margin-bottom: 0.5rem; font-family: var(--font-subheading); }
.step-content p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
  background: linear-gradient(135deg, var(--cosmic-mid) 0%, var(--maroon-deep) 50%, var(--cosmic-mid) 100%);
  overflow: hidden;
}
.benefits-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 168, 67, 0.05) 0%, transparent 70%);
}

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

.benefit-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(5, 10, 26, 0.6);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(92, 10, 20, 0.2);
  box-shadow: var(--shadow-gold);
}
.benefit-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.benefit-item h4 { font-size: 1rem; color: var(--gold-light); margin-bottom: 0.5rem; font-family: var(--font-subheading); }
.benefit-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section { background: var(--cosmic); }

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-gold);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-gold); }

.gallery-img {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}

/* Gallery placeholder backgrounds */
.gi-1 { background: linear-gradient(135deg, #8B0000 0%, #CC4400 40%, #FF8C00 70%, #FFD700 100%); }
.gi-2 { background: linear-gradient(135deg, #1a0040 0%, #3d0080 40%, #8000ff 70%, #d4a843 100%); }
.gi-3 { background: linear-gradient(135deg, #0a1428 0%, #1a3060 40%, #2040a0 70%, #4080ff 100%); }
.gi-4 { background: linear-gradient(135deg, #002800 0%, #006000 40%, #80cc00 70%, #ffff00 100%); }
.gi-5 { background: linear-gradient(135deg, #400000 0%, #800020 40%, #cc0040 70%, #ff8060 100%); }
.gi-6 { background: linear-gradient(135deg, #281400 0%, #604000 40%, #c08000 70%, #ffd700 100%); }

/* Decorative patterns on gallery imgs */
.gi-1::before, .gi-2::before, .gi-3::before, .gi-4::before, .gi-5::before, .gi-6::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
                    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.5); }

.gallery-overlay span {
  font-family: var(--font-subheading);
  color: var(--gold);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s 0.1s;
  text-align: center;
  padding: 0 1rem;
}
.gallery-item:hover .gallery-overlay span { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--gold);
  font-size: 1.8rem;
  padding: 0.5rem;
  transition: var(--transition);
}
.lightbox-close:hover { transform: rotate(90deg); color: var(--gold-light); }

.lightbox-content { text-align: center; max-width: 800px; padding: 2rem; width: 100%; }
.lightbox-img-area {
  width: 100%;
  min-height: 400px;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 1rem;
}
.lightbox-caption {
  font-family: var(--font-subheading);
  color: var(--gold-light);
  font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: linear-gradient(180deg, var(--cosmic-mid) 0%, var(--cosmic) 100%); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonials-grid > :nth-child(4), .testimonials-grid > :nth-child(5) {
  grid-column: span 1;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid > :nth-child(4) { grid-column: 1 / span 1; margin-left: calc(50% + 0.75rem); }
  .testimonials-grid > :nth-child(5) { grid-column: span 1; margin-right: calc(50% + 0.75rem); }
}

.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(15px);
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }

.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testi-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--maroon), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 700;
  flex-shrink: 0;
}
.testi-author strong { display: block; color: var(--text-light); font-family: var(--font-subheading); font-size: 0.9rem; }
.testi-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section { background: var(--cosmic); }

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

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(15px);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }

.blog-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.blog-meta { margin-bottom: 0.75rem; }
.blog-tag {
  font-family: var(--font-subheading);
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid var(--border-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-card h3 { font-size: 1.05rem; color: var(--gold-light); margin-bottom: 0.75rem; font-family: var(--font-subheading); }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.blog-link {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.blog-link:hover { gap: 0.5rem; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 50%, var(--maroon-deep) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
}
.cta-fire {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 100, 0, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-tag { font-family: var(--font-subheading); font-size: 0.8rem; color: var(--gold-light); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.cta-content h2 { font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--text-light); margin-bottom: 1rem; }
.cta-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section { background: linear-gradient(180deg, var(--cosmic-mid) 0%, var(--cosmic) 100%); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.map-wrap {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gold);
}
.contact-item:last-of-type { border-bottom: none; }
.ci-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--gold-light); font-family: var(--font-subheading); font-size: 0.85rem; margin-bottom: 0.25rem; }
.contact-item a { color: var(--gold); font-size: 1.1rem; }
.contact-item p, .contact-item div { font-size: 0.95rem; color: var(--text-muted); }

/* Form */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(15px);
}
.contact-form h3 { font-family: var(--font-subheading); color: var(--gold); margin-bottom: 1.5rem; font-size: 1.1rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: rgba(5, 10, 26, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 15px rgba(212, 168, 67, 0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(184, 160, 128, 0.5); }
.form-group select option { background: var(--cosmic-mid); color: var(--text-light); }

.btn-gold.full { width: 100%; text-align: center; }

.form-success {
  text-align: center;
  padding: 0.75rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-family: var(--font-subheading);
  font-size: 0.9rem;
}
.form-success.show {
  background: rgba(0, 180, 80, 0.15);
  border: 1px solid rgba(0, 180, 80, 0.3);
  color: #80ff80;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
}
.social-icon:hover {
  background: rgba(212, 168, 67, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 168, 67, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer { background: var(--maroon-deep); border-top: 1px solid var(--border-gold); }

.footer-top { padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

.footer-col h4 {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 0.25rem; }

.footer-contact p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.5; }
.footer-contact a { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-gold);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-mantra { font-family: var(--font-devanagari); color: var(--gold) !important; font-size: 1rem !important; margin-top: 0.5rem; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--maroon), var(--gold-dark));
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--gold-dark);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 0 20px rgba(212, 168, 67, 0.3); }

/* ============================================
   ANIMATIONS & REVEAL
   ============================================ */
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(212, 168, 67, 0.5)); }
  50% { filter: drop-shadow(0 0 12px rgba(212, 168, 67, 0.9)); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal classes applied by JS */
.reveal-up, .reveal-left, .reveal-right, .reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-fade { transform: scale(0.97); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible, .reveal-fade.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Hero slide reveal */
.slide.active .reveal-up {
  animation: fadeInUp 0.8s ease forwards;
}
.slide.active .reveal-up.delay-1 { animation-delay: 0.2s; }
.slide.active .reveal-up.delay-2 { animation-delay: 0.4s; }
.slide.active .reveal-up.delay-3 { animation-delay: 0.6s; }


/* ============================================
   POSTS FEED SECTION
   ============================================ */
.posts-feed-section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--cosmic) 0%, var(--cosmic-mid) 100%);
}

.feed-header { text-align: center; margin-bottom: 3rem; }

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

/* ── Post Card ── */
.post-card {
  background: rgba(10, 20, 40, 0.92);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dark);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 24px rgba(212,168,67,0.15);
}

/* Header */
.post-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.75rem;
}

.post-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--maroon), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 2px solid var(--gold-dark);
  box-shadow: 0 0 10px rgba(212,168,67,0.2);
}

.post-meta { flex: 1; min-width: 0; }
.post-author {
  display: block;
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-time {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.post-badge {
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  background: rgba(212,168,67,0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Body */
.post-body { padding: 0 1.1rem 0.75rem; flex: 1; }

.post-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-text strong { color: var(--text-light); }
.post-more {
  color: var(--gold);
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  cursor: pointer;
}

/* Visual panel */
.post-visual {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.1rem;
}

.pv-fire    { background: linear-gradient(135deg, #3a0000 0%, #8b1a00 40%, #cc4400 70%, #ff8c00 90%, #ffd700 100%); }
.pv-shani   { background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 40%, #2a2a6a 70%, #4040aa 100%); }
.pv-success { background: linear-gradient(135deg, #1a0028 0%, #4a0060 40%, #8000c0 70%, #d4a843 100%); }
.pv-navagraha { background: linear-gradient(135deg, #0a1428 0%, #122040 40%, #1e3060 70%, #2a4880 90%, #d4a843 100%); }
.pv-consult { background: linear-gradient(135deg, #280800 0%, #601800 40%, #a03000 70%, #d46000 100%); }
.pv-moon    { background: linear-gradient(135deg, #040818 0%, #08102a 40%, #101830 70%, #1a2448 100%); }

/* decorative shimmer on post visuals */
.pv-fire::before, .pv-shani::before, .pv-success::before,
.pv-navagraha::before, .pv-consult::before, .pv-moon::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.pv-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 1rem;
}
.pv-icon { font-size: 2.8rem; filter: drop-shadow(0 0 12px rgba(212,168,67,0.5)); }
.pv-label {
  font-family: var(--font-subheading);
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-align: center;
}

/* Reactions row */
.post-reactions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-top: 1px solid rgba(212,168,67,0.08);
  border-bottom: 1px solid rgba(212,168,67,0.08);
}
.reaction-summary { display: flex; align-items: center; gap: 0.4rem; }
.react-icons { font-size: 0.9rem; }
.react-count { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-subheading); }
.comment-count { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-subheading); }

/* Actions */
.post-actions {
  display: flex;
  justify-content: space-around;
  padding: 0.4rem 0.5rem;
}

.paction {
  display: flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-subheading);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
  flex: 1; justify-content: center;
  cursor: pointer;
}
.paction-icon { font-size: 1rem; }
.paction:hover { background: rgba(212,168,67,0.08); color: var(--gold); }
.paction.liked { color: var(--gold); }
.paction.liked .paction-icon { animation: bounce-like 0.4s ease; }

@keyframes bounce-like {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* ============================================
   POST POPUP MODAL
   ============================================ */
.post-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(6px);
}
.post-modal-overlay.active { opacity: 1; visibility: visible; }

.post-modal {
  background: var(--cosmic-mid);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 40px rgba(212,168,67,0.12);
}
.post-modal-overlay.active .post-modal { transform: scale(1) translateY(0); }

/* Scrollbar inside modal */
.post-modal::-webkit-scrollbar { width: 4px; }
.post-modal::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

.post-modal-close {
  position: sticky;
  top: 0.75rem; 
  float: right;
  margin: 0.75rem 0.75rem 0 0;
  width: 36px; height: 36px;
  background: rgba(212,168,67,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: var(--transition);
}
.post-modal-close:hover { background: rgba(212,168,67,0.25); transform: rotate(90deg); }

.post-modal-inner { padding: 0 1.5rem 1.5rem; clear: both; }

/* Modal Header */
.modal-post-header {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 0 0.85rem;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 1rem;
}
.modal-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--maroon), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  border: 2px solid var(--gold-dark);
  box-shadow: 0 0 16px rgba(212,168,67,0.25);
  flex-shrink: 0;
}
.modal-meta { flex: 1; }
.modal-author {
  font-family: var(--font-subheading);
  font-size: 1rem;
  color: var(--gold-light);
  font-weight: 700;
  display: block;
}
.modal-time { font-size: 0.78rem; color: var(--text-muted); }
.modal-badge {
  font-family: var(--font-subheading);
  font-size: 0.7rem;
  background: rgba(212,168,67,0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

/* Modal Visual */
.modal-visual {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-gold);
}
.modal-visual .pv-icon { font-size: 5rem; }
.modal-visual .pv-label { font-size: 0.9rem; }

/* Modal Text */
.modal-post-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.modal-post-text strong { color: var(--text-light); }

/* Modal Tags */
.modal-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.modal-tag {
  font-family: var(--font-subheading);
  font-size: 0.72rem;
  background: rgba(212,168,67,0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

/* Modal Reactions */
.modal-reactions {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(212,168,67,0.1);
  border-bottom: 1px solid rgba(212,168,67,0.1);
  margin-bottom: 0.5rem;
}

/* Modal Actions */
.modal-actions {
  display: flex; justify-content: space-around;
  margin-bottom: 1rem;
}
.modal-actions .paction { font-size: 0.88rem; }

/* Comments section */
.modal-comments { margin-top: 0.5rem; }
.modal-comments h4 {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.comment-item {
  display: flex; gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}
.comment-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cosmic-light), var(--maroon));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
}
.comment-bubble {
  background: rgba(5,10,26,0.7);
  border: 1px solid rgba(212,168,67,0.1);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  flex: 1;
}
.comment-name {
  font-family: var(--font-subheading);
  font-size: 0.78rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.25rem;
}
.comment-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* Comment input */
.comment-input-row {
  display: flex; gap: 0.6rem;
  align-items: center;
  margin-top: 1rem;
}
.comment-self-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--maroon), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--gold-dark);
}
.comment-input-wrap { flex: 1; position: relative; }
.comment-input-wrap input {
  width: 100%;
  background: rgba(5,10,26,0.8);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 0.55rem 3rem 0.55rem 1rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}
.comment-input-wrap input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 12px rgba(212,168,67,0.15);
}
.comment-input-wrap input::placeholder { color: rgba(184,160,128,0.5); }
.comment-send-btn {
  position: absolute;
  right: 0.6rem; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.2rem;
}
.comment-send-btn:hover { transform: translateY(-50%) scale(1.2); }

/* Booking strip in modal */
.modal-book-strip {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.modal-book-strip p { font-size: 0.9rem; color: var(--text-light); }
.modal-book-strip p strong { color: var(--gold); display: block; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post-modal-inner { padding: 0 1rem 1rem; }
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid > :nth-child(4) { margin-left: 0; grid-column: auto; }
  .testimonials-grid > :nth-child(5) { margin-right: 0; grid-column: auto; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-timeline::before { left: 40px; }
  .process-step, .process-step:nth-child(even) { flex-direction: row; }
  .dr-card { flex-direction: column; }
  .dr-avatar { margin: 0 auto; }
}

/* ============================================
   RESPONSIVE – MOBILE
   ============================================ */
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .havan-kund-anim { display: none; }
  .slide-content { margin-left: 5vw; margin-right: 5vw; }
  .slide-title { font-size: 1.75rem; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-features { grid-template-columns: 1fr; }
  .dr-stats { gap: 1.25rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .process-timeline::before { display: none; }
  .navagraha-wheel { width: 280px; height: 280px; }
  .slider-prev { left: 0.5rem; }
  .slider-next { right: 0.5rem; }
  .navbar { padding: 0 1rem; }
  .brand-main { font-size: 0.95rem; }
}
