/* ==========================================================================
   KOTE KANNECT - LUXURY DESIGN SYSTEM 2026
   ========================================================================== */

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

:root {
  /* Strictly Enforced Luxury Palette */
  --color-bg-primary: #0b0f1a;
  --color-bg-elevated: rgba(
    18,
    25,
    43,
    0.6
  ); /* Slightly lighter for cards, using transparency for depth */
  --color-bg-surface: #161d30;
  --color-text-primary: #e7e3d4;
  --color-text-secondary: #9ca3af;
  --color-accent: #c6a85a;
  --color-accent-hover: #dbc073;
  --color-border-subtle: rgba(198, 168, 90, 0.1); /* Reduced brightness */
  --color-border-strong: rgba(198, 168, 90, 0.2); /* Reduced brightness */

  /* Typography */
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Playfair Display", serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;

  /* Elevations - Softened */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 4px 15px rgba(198, 168, 90, 0.15);

  /* Motion */
  --transition-fast: 150ms ease-out;
  --transition-normal: 300ms ease-out;
  --transition-slow: 500ms ease-out;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300; /* Lighter weight for elegance */
  background-color: var(--color-bg-primary);
  color: var(--color-text-secondary);
  line-height: 1.7; /* Increased for readability */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--color-text-primary);
  line-height: 1.2;
  font-weight: 400; /* Maintained elegant serif, reduced weight */
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-accent-hover);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}

/* ==========================================================================
   GLOBAL BACKGROUND (CINEMATIC UNIVERSE)
   ========================================================================== */
.global-bg {
  position: fixed; /* Fixed background that doesn't scroll with content */
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none; /* Ensures background doesn't block clicks/interactions */
  transform: translateZ(0); /* Triggers GPU layer for smooth animation */
  background:
    radial-gradient(
      /* Ambient lighting/nebula effect */ circle at 70% 30%,
      rgba(198, 168, 90, 0.08),
      transparent 60%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(198, 168, 90, 0.04),
      transparent 50%
    ),
    linear-gradient(to bottom, #0b0f1a, #05070d);
  overflow: hidden;
}

/* Layer 1: Far Stars (Small, very slow, low opacity) */
/* Adapted from original code: Optimized to use translate3d and increased duration for luxury feel */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 200%;
  background-image:
    radial-gradient(
      1px 1px at 10% 10%,
      rgba(255, 255, 255, 0.5) 100%,
      transparent
    ),
    radial-gradient(
      1px 1px at 30% 50%,
      rgba(255, 255, 255, 0.4) 100%,
      transparent
    ),
    radial-gradient(
      1px 1px at 70% 20%,
      rgba(255, 255, 255, 0.5) 100%,
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 80% 80%,
      rgba(198, 168, 90, 0.8) 100%,
      transparent
    ),
    radial-gradient(
      1px 1px at 40% 80%,
      rgba(255, 255, 255, 0.4) 100%,
      transparent
    );
  background-size: 150px 150px;
  animation: far-drift 160s linear infinite; /* Extremely slow drift for depth */
  opacity: 0.15;
  will-change: transform;
}

/* Layer 2: Mid Stars (Slightly larger, slightly faster) */
.stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      1.5px 1.5px at 20% 30%,
      rgba(255, 255, 255, 0.6) 100%,
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 60% 60%,
      rgba(198, 168, 90, 0.6) 100%,
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 80% 10%,
      rgba(255, 255, 255, 0.6) 100%,
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 10% 90%,
      rgba(255, 255, 255, 0.5) 100%,
      transparent
    );
  background-size: 250px 250px;
  animation: mid-drift 100s linear infinite;
  opacity: 0.25;
  will-change: transform;
}

/* Layer 3: Near Stars (Largest, fastest, brightest) */
.stars::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      2px 2px at 15% 45%,
      rgba(255, 255, 255, 0.7) 100%,
      transparent
    ),
    radial-gradient(
      2px 2px at 85% 75%,
      rgba(198, 168, 90, 0.9) 100%,
      transparent
    ),
    radial-gradient(
      2px 2px at 50% 15%,
      rgba(255, 255, 255, 0.7) 100%,
      transparent
    );
  background-size: 400px 400px;
  animation: near-drift 60s linear infinite; /* Fastest layer for parallax effect */
  opacity: 0.4;
  will-change: transform;
}

@keyframes far-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -150px, 0);
  } /* Matches background-size for seamless loop */
}

@keyframes mid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -250px, 0);
  }
}

@keyframes near-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -400px, 0);
  }
}

@media (max-width: 768px) {
  .stars {
    animation-duration: 200s;
  }
  .stars::before {
    animation-duration: 150s;
  }
  .stars::after {
    animation-duration: 100s;
  }
  .hero-moon-wrapper::before {
    animation-duration: 40s;
  }
  .eclipse-system,
  .eclipse-system::before,
  .eclipse-system::after,
  .eclipse-moon::after,
  .eclipse-moon::before {
    animation-duration: 60s;
  }
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}
.section-padding {
  padding-block: 100px; /* Increased padding */
}
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Typography Utils */
.hero-accent-line {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-accent);
}
.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: var(--space-md);
}
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  /* margin-bottom: var(--space-2xl); */
  margin-bottom: 20px;
  max-width: 800px;
  margin-inline: auto;
}
.service-section-image {
  margin-bottom: 20px;
  text-align: center;
}
.service-section-image img.service-header-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-inline: auto;
}
.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: var(--space-md);
}
.glow-text {
  text-shadow: 0 0 10px rgba(198, 168, 90, 0.1); /* Reduced glow */
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-accent);
  color: #0b0f1a;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #0b0f1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(198, 168, 90, 0.2); /* Softened glow */
}
.btn-outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-outline:hover {
  background: rgba(198, 168, 90, 0.1);
  color: var(--color-text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(198, 168, 90, 0.1);
}

/* Premium Cards */
.premium-card {
  background: var(--color-bg-elevated);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px; /* Clean, minimal radius */
  padding: var(--space-xl);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.premium-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Softer shadow */
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}
.card-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-accent);
  opacity: 0.5;
}
.card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
  transition: all var(--transition-normal);
}
.card-icon img {
  width: 40px;
  height: 40px;
  filter: sepia(1) hue-rotate(10deg) saturate(2) brightness(1.2); /* Gold tint */
}
.premium-card:hover .card-icon {
  transform: scale(1.1);
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}
.card-link {
  margin-top: auto;
  padding-top: var(--space-md);
  font-family: var(--font-body);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 12px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-subtle);
  border-radius: 6px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}
.form-control::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.7;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(18, 25, 43, 1);
  box-shadow: 0 0 10px rgba(198, 168, 90, 0.2);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}
.nav-links {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}
.nav-link {
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--color-accent);
}

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

/* ==========================================================================
   SPECIFIC SECTIONS
   ========================================================================== */

/* Cinematic Eclipse Hero */
.premium-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b0f1a;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 40px 70px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 50px 160px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 90px 40px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 130px 80px, #ffffff, rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.15;
}
.premium-hero .hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
  padding-top: 5vh;
}
.premium-hero .hero-content {
  text-align: left;
  max-width: 600px;
}
.hero-title {
  font-size: clamp(3rem, 5.5vw, 5rem);
  margin-bottom: var(--space-md);
  line-height: 1.05;
  color: var(--color-text-primary);
}
.hero-desc {
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

/* Counters */
.counter-card {
  text-align: center;
  align-items: center;
  justify-content: center;
}
.counter-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1;
}
.counter-label {
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* About / Best Astrologer */
.best-astro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-2xl);
  align-items: center;
}
.astro-image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.astro-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 26, 0.9), transparent);
}
.astro-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inner Page Headers */
.inner-page-header {
  position: relative;
  text-align: center;
  padding: 120px 0 60px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  background: transparent;
  overflow: hidden;
}

.breadcrumb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: -1;
  filter: none;
  pointer-events: none;
}
.inner-page-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--space-sm);
}

/* FAQs */
details {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  margin-bottom: var(--space-sm);
}
summary {
  padding: var(--space-lg);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--color-accent);
  font-size: 1.5rem;
  transition: transform var(--transition-normal);
}
details[open] summary::after {
  transform: rotate(45deg);
}
details[open] summary {
  border-bottom: 1px solid var(--color-border-subtle);
}
.faq-content {
  padding: var(--space-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--color-bg-elevated);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--color-border-subtle);
  margin-top: var(--space-3xl);
}
.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: var(--space-3xl);
}
.footer-logo img {
  height: 80px;
  margin-bottom: var(--space-md);
}
.footer-heading {
  font-family: var(--font-serif);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  font-size: 1.4rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-links a {
  color: var(--color-text-secondary);
}
.footer-links a:hover {
  color: var(--color-accent);
}
.footer-bottom {
  text-align: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.9rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--color-bg-elevated);
    flex-direction: column;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border-subtle);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }

  .best-astro-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ECLIPSE ANIMATION SYSTEM
   ========================================================================== */
.hero-moon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  width: 100%;
}

/* Subtle glowing halo behind the entire eclipse system */
.hero-moon-wrapper::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(198, 168, 90, 0.08) 0%,
    transparent 70%
  );
  filter: blur(2rem);
  z-index: 0;
  animation: halo-pulse 25s ease-in-out infinite;
}

@keyframes halo-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
}

.eclipse-system {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  animation: eclipse-system-spin 40s ease-in-out infinite; /* Slowed down */
  z-index: 1;
}

.eclipse-system::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #ffebd7;
  filter: blur(2px);
  box-shadow: 0px 0px 10px rgba(255, 235, 215, 0.1); /* Reduced brightness */
  transform: rotateX(9deg);
  animation: eclipse-sun 40s linear infinite reverse;
  z-index: -1;
}

.eclipse-system::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background-image: linear-gradient(to bottom, #d5dbff, #ffebd7, #d5dbff);
  filter: blur(2rem);
  z-index: -1;
  animation: eclipse-scatter 40s linear infinite;
  opacity: 0.4; /* Reduced intensity */
}

.eclipse-moon {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(0.5px);
  overflow: hidden;
}

.eclipse-moon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow:
    inset 0px 0px 60px #000,
    inset 0px 0px 20px #000,
    inset 0px 0px 10px #000;
  border-radius: 50%;
  background-image: url("https://images-assets.nasa.gov/image/GSFC_20171208_Archive_e001982/GSFC_20171208_Archive_e001982~orig.jpg");
  background-position: center;
  background-size: 202%;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  animation: eclipse-brightness 40s ease infinite;
}

.eclipse-moon::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  background-color: #0b0f1a;
  border-radius: 50%;
  animation: eclipse-rotate 40s linear infinite;
  animation-delay: -20s;
  filter: blur(1px);
  opacity: 0.95;
}

/* Keyframes */
@keyframes eclipse-system-spin {
  0% {
    transform: rotateZ(-9deg);
  }
  50% {
    transform: rotateZ(9deg);
  }
  100% {
    transform: rotateZ(-9deg);
  }
}

@keyframes eclipse-brightness {
  0% {
    filter: brightness(1.2);
  } /* Subdued */
  50% {
    filter: brightness(0.6);
  }
  100% {
    filter: brightness(1.2);
  }
}

@keyframes eclipse-sun {
  0% {
    transform: rotate(9deg) translateX(250px);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: rotate(-9deg) translateX(-250px);
  }
}

@keyframes eclipse-scatter {
  0% {
    width: 0;
    height: 0;
    transform: rotate(9deg);
  }
  45% {
    transform: translateX(-30px);
  }
  50% {
    width: 260px;
    height: 260px;
  }
  55% {
    transform: translateX(30px);
  }
  100% {
    width: 0;
    height: 0;
    transform: rotate(-9deg);
  }
}

@keyframes eclipse-rotate {
  2.5% {
    border-right: 0 solid rgba(253, 253, 253, 0.2); /* Reduced edge light */
    border-left: 150px solid #0b0f1a;
    background-color: #0b0f1a;
    transform: rotate(9deg);
  }
  24.9999% {
    background-color: #0b0f1a;
  }
  25% {
    border-right: 150px solid rgba(253, 253, 253, 0.2);
    border-left: 150px solid #0b0f1a;
    background-color: rgba(253, 253, 253, 0.2);
  }
  47.5% {
    border-right: 0 solid rgba(253, 253, 253, 0.2);
    border-left: 0 solid #0b0f1a;
    background-color: rgba(253, 253, 253, 0.2);
    transform: rotate(0deg);
  }
  47.500001% {
    border-right: 0 solid #0b0f1a;
  }
  52.5% {
    border-right: 0 solid #0b0f1a;
  }
  74.99999% {
    background-color: rgba(253, 253, 253, 0.2);
    border-left: 0 solid rgba(253, 253, 253, 0.2);
  }
  75% {
    border-right: 150px solid #0b0f1a;
    border-left: 150px solid rgba(253, 253, 253, 0.2);
    background-color: #0b0f1a;
  }
  97.5% {
    border-right: 150px solid #0b0f1a;
    border-left: 0 solid rgba(253, 253, 253, 0.2);
    background-color: #0b0f1a;
    transform: rotate(-9deg);
  }
}

@media (max-width: 992px) {
  .premium-hero .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 15vh;
  }
  .premium-hero .hero-content {
    margin: 0 auto;
  }
  .premium-hero .hero-buttons {
    justify-content: center;
  }
  .hero-moon-wrapper {
    margin-top: var(--space-2xl);
    height: 350px;
  }
  .eclipse-system {
    transform: scale(0.8);
  }
  .best-astro-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PREMIUM NAVIGATION
   ========================================================================== */
.premium-navbar {
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.premium-navbar .nav-link {
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  padding: 8px 0;
}

.premium-navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

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

.premium-navbar .dropdown {
  position: relative;
}

.premium-navbar .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: 4px;
  padding: var(--space-sm) 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
}

.premium-navbar .dropdown:hover .dropdown-menu,
.premium-navbar .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  color: var(--color-accent);
  background: rgba(198, 168, 90, 0.05);
}

.btn-outline {
  background: transparent !important;
  border: 1px solid var(--color-accent) !important;
  color: var(--color-accent) !important;
}

.btn-outline:hover {
  background: var(--color-accent) !important;
  color: var(--color-bg-primary) !important;
  box-shadow: 0 0 15px rgba(198, 168, 90, 0.3);
}

/* ==========================================================================
   PREMIUM FOOTER
   ========================================================================== */
.premium-footer {
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-subtle);
  padding: var(--space-2xl) 0 var(--space-md) 0;
}

.premium-footer .footer-heading {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.premium-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-footer .footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.premium-footer .footer-links a:hover {
  color: var(--color-accent);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   EDITORIAL TYPOGRAPHY & REFERENCE CARDS
   ========================================================================== */
.accent-italic {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
}

.small-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.reference-card {
  background: rgba(
    18,
    25,
    43,
    0.6
  ); /* Minimal dark background to ensure text contrast */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-subtle);
  border-radius: 6px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.reference-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 168, 90, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}

.rc-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  opacity: 0.7;
}

.rc-icon svg {
  color: var(--color-accent);
  opacity: 0.8;
}

.rc-middle {
  flex-grow: 1;
  margin-bottom: var(--space-xl);
}

.rc-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

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

.rc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-subtle);
}

.rc-price {
  color: var(--color-accent);
  font-weight: 500;
}

.rc-duration {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .premium-navbar .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-bg-primary);
    flex-direction: column;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border-subtle);
  }
  .premium-navbar .nav-links.active {
    display: flex;
  }
  .premium-navbar .dropdown-menu {
    position: relative;
    top: 0;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    border-left: 1px solid var(--color-border-subtle);
    margin-left: 10px;
    padding-left: 10px;
    display: none;
  }
  .premium-navbar .dropdown-menu.show {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ==========================================================================
   GSAP SCROLL-DRIVEN SERVICE REVEAL
   ========================================================================== */
.services-scroll {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-inner {
  position: relative;
  width: 100%;
  max-width: 680px; /* Width of the card */
  height: 540px;
}

.service_item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-elevated);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(60px);
  pointer-events: none;
  will-change: transform, opacity;
  /* GSAP handles transitions directly, no CSS transition needed */
}

.service_item.active {
  pointer-events: auto;
  box-shadow:
    0 0 40px rgba(198, 168, 90, 0.15),
    inset 0 0 20px rgba(198, 168, 90, 0.05);
  border-color: var(--color-border-strong);
  /* The active scaling class will be toggled by GSAP, but the actual scale is animated */
}

.service_item .card-icon img {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  filter: sepia(1) hue-rotate(10deg) saturate(2) brightness(1.2);
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-surface);
}

.service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service_item .card-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.service_item p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

.service_item .card-link {
  margin-top: auto;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.service_item .card-link:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 992px) {
  .services-scroll {
    height: auto;
    display: block;
    padding: var(--space-xl) 0;
    overflow: visible;
  }
  .services-inner {
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  .service_item {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   ZODIAC VIDEO CAROUSEL & MODAL
   ========================================================================== */
.zodiac-carousel-section {
  position: relative;
  overflow: hidden;
}

.zodiac-swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 60px;
}

.zodiac-slide {
  width: 300px;
  height: 400px;
  transition: all 0.4s ease;
  opacity: 0.5;
  transform: scale(0.85);
  cursor: pointer;
}

.zodiac-slide.swiper-slide-active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 2;
}

.zodiac-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(198, 168, 90, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  background: var(--color-bg-elevated);
}

.zodiac-slide.swiper-slide-active .zodiac-card {
  border-color: var(--color-accent);
  box-shadow: 0 0 30px rgba(198, 168, 90, 0.3);
}

.zodiac-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zodiac-card:hover .zodiac-thumb {
  transform: scale(1.05);
}

.zodiac-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.2) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.zodiac-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-top: auto;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background: rgba(198, 168, 90, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

.zodiac-slide.swiper-slide-active .zodiac-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: rgba(198, 168, 90, 1);
  box-shadow: 0 0 20px rgba(198, 168, 90, 0.6);
}

/* Swiper Nav Buttons */
.zodiac-next,
.zodiac-prev {
  color: var(--color-accent) !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .zodiac-slide {
    width: 260px;
    height: 350px;
  }
}

/* Video Modal */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.video-modal-container {
  width: 90%;
  max-width: 1000px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

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

.video-modal-close {
  position: absolute;
  top: -40px;
  right: -20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

.video-modal-close:hover {
  color: var(--color-accent);
}

.video-responsive-iframe {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(198, 168, 90, 0.3);
  background: #000;
}

.video-responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   ENQUIRY FORM MODAL (CTA SYSTEM)
   ========================================================================== */
.enquiry-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.enquiry-modal-container {
  width: 92%;
  max-width: 420px; /* Compact design */
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

.enquiry-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.enquiry-close-btn:hover {
  color: var(--color-accent);
}

.enquiry-modal-header {
  margin-bottom: 24px;
  text-align: center;
}

.enquiry-modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-text-primary);
  margin-bottom: 0;
}

/* Inline CTA Style */
.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 2px;
}

.inline-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.inline-cta:hover::after {
  width: 100%;
}
