/* ==========================================================================
   VERITY NUMBERS - VIKRAM RAJPAL SHAH
   Design System & Master Stylesheet
   Palette:
     - Background: #F5EDDE
     - Primary Blue: #212D3E
     - Gold: #D4AF37
     - Dark Gold: #9B866B
     - Cream: #EFE2CF
   Typography: Trajan Pro / Cinzel / Marcellus / Cormorant Garamond
   ========================================================================== */

/* Load Google Fonts as fallback for Trajan Pro */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Marcellus&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Local Trajan Pro Definition if available */
@font-face {
  font-family: 'Trajan Pro';
  src: local('Trajan Pro'), local('TrajanPro-Regular'), local('Trajan Pro Bold');
  font-display: swap;
}

:root {
  /* Brand Color Palette */
  --bg-color: #F5EDDE;
  --primary-blue: #212D3E;
  --primary-blue-dark: #151D2A;
  --primary-blue-light: #2C3C52;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --dark-gold: #9B866B;
  --cream: #EFE2CF;
  --cream-light: #FAF5ED;
  --text-dark: #1B2330;
  --text-muted: #5C5245;

  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5E6AD 50%, #9B866B 100%);
  --gold-text-gradient: linear-gradient(135deg, #E6C258 0%, #FFF3BF 50%, #B89640 100%);
  --blue-gradient: linear-gradient(135deg, #212D3E 0%, #151D2A 100%);
  --blue-glass: rgba(33, 45, 62, 0.85);
  --cream-glass: rgba(245, 237, 222, 0.9);

  /* Shadows & Glows */
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  --card-shadow: 0 15px 35px rgba(33, 45, 62, 0.08);
  --card-shadow-hover: 0 22px 45px rgba(33, 45, 62, 0.16);
  --blue-shadow: 0 15px 35px rgba(21, 29, 42, 0.3);

  /* Typography */
  --font-heading: 'Trajan Pro', 'Cinzel', 'Marcellus', 'Cormorant Garamond', serif;
  --font-subheading: 'Cinzel', 'Marcellus', serif;
  --font-body: 'Inter', sans-serif;
  --font-sans: 'Montserrat', sans-serif;

  /* Layout */
  --max-width: 1280px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Universal Rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-blue);
  line-height: 1.3;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Gold Text Accent */
.gold-text {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-solid {
  color: var(--gold);
}

/* Decorative Divider */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 1.5rem 0;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider .star {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Base Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Section Padding & Titles */
.section {
  padding: 45px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px auto;
}

.section-subtitle {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  color: var(--dark-gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-blue);
  position: relative;
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-dark {
  background: linear-gradient(rgba(33, 45, 62, 0.88), rgba(21, 29, 42, 0.96)), url('space_bg.png') no-repeat center center / cover;
  color: var(--bg-color);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark .section-title {
  color: var(--bg-color);
}

.section-dark .section-desc {
  color: rgba(245, 237, 222, 0.85);
}

.section-dark p {
  color: rgba(245, 237, 222, 0.9);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  border: 1px solid #E6C258;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
  background: linear-gradient(135deg, #E6C258 0%, #FFF3BF 50%, #D4AF37 100%);
}

.btn-blue {
  background: var(--primary-blue);
  color: var(--bg-color);
  border: 1px solid var(--gold);
}

.btn-blue:hover {
  background: var(--primary-blue-light);
  color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--blue-shadow);
}

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

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 237, 222, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  transition: var(--transition);
  padding: 12px 0;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 25px rgba(33, 45, 62, 0.1);
  background: rgba(245, 237, 222, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 15px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 25px;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(33, 45, 62, 0.12));
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.nav-menu li {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-menu li.mobile-only-link,
.mobile-only-link {
  display: none !important;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--primary-blue);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 20px;
}

.nav-cta .btn {
  padding: 11px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 170px;
  padding-bottom: 110px;
  background: linear-gradient(rgba(33, 45, 62, 0.8), rgba(15, 21, 31, 0.9)), url('space_bg.png') no-repeat center center / cover;
  color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

/* Celestial Background FX */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(155, 134, 107, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 8px 22px;
  border-radius: 50px;
  font-family: var(--font-subheading);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 25px;
  white-space: nowrap;
  max-width: max-content;
}

.hero-title {
  font-size: 3.2rem;
  color: var(--bg-color);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(245, 237, 222, 0.85);
  margin-bottom: 35px;
  font-weight: 400;
  line-height: 1.8;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-card {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(245, 237, 222, 0.7);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 5px;
}

/* Celestial Visual in Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.celestial-artwork-box {
  position: relative;
  width: 440px;
  height: 440px;
  max-width: 100%;
  border-radius: 50%;
  padding: 6px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.3) 0%, rgba(33, 45, 62, 0.95) 75%);
  border: 3px solid var(--gold);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.5), 0 20px 40px rgba(15, 21, 31, 0.7);
  overflow: hidden;
  transition: var(--transition);
}

.celestial-artwork-box::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.45);
  animation: rotateClockwise 60s linear infinite;
  pointer-events: none;
}

.celestial-artwork-box:hover {
  transform: scale(1.03);
  box-shadow: 0 0 75px rgba(212, 175, 55, 0.75), 0 25px 50px rgba(15, 21, 31, 0.9);
}

.hero-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateCounter {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* ==========================================================================
   INTERACTIVE LIFE PATH CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  margin-top: -60px;
  position: relative;
  z-index: 20;
}

.calc-card {
  background: var(--cream-light);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--gold);
  box-shadow: var(--card-shadow-hover);
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-info h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.calc-info p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--primary-blue);
  font-weight: 700;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid rgba(155, 134, 107, 0.4);
  border-radius: var(--border-radius-sm);
  background: var(--bg-color);
  color: var(--primary-blue);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Calc Result Drawer/Box */
.calc-result-box {
  display: none;
  background: var(--primary-blue);
  color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gold);
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.calc-result-box.active {
  display: block;
}

.num-badge {
  width: 80px;
  height: 80px;
  background: var(--gold-gradient);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: var(--gold-glow);
}

.calc-result-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.calc-result-desc {
  font-size: 1rem;
  color: rgba(245, 237, 222, 0.85);
  margin-bottom: 20px;
}

.calc-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
}

.calc-detail-item {
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

.calc-detail-item strong {
  display: block;
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SERVICES SECTION (7 SERVICES)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px 35px;
}

.service-card {
  background: var(--cream-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--border-radius-md);
  padding: 40px 35px 35px 35px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  overflow: visible;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--gold);
}

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

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  background: var(--primary-blue);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(33, 45, 62, 0.15);
  flex-shrink: 0;
}

.service-tag {
  position: absolute;
  top: -15px;
  right: 25px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 15px;
  background: var(--cream);
  color: var(--dark-gold);
  border-radius: 50px;
  border: 1px solid rgba(155, 134, 107, 0.5);
  box-shadow: 0 4px 12px rgba(33, 45, 62, 0.12);
  white-space: nowrap;
  z-index: 10;
}

.service-tag.gold-tag {
  background: var(--gold-gradient);
  color: var(--primary-blue);
  border: 1px solid #FFF;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(155, 134, 107, 0.3);
  line-height: 1;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.45rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.7;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
  padding-top: 15px;
  border-top: 1px dashed rgba(155, 134, 107, 0.3);
}

.service-features li {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}

.service-features li i {
  color: var(--gold);
  font-size: 0.85rem;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  margin-top: auto;
  width: 100%;
}

.service-card-footer .btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-align: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Highlighted Featured Card */
.service-card.featured {
  background: linear-gradient(135deg, #212D3E 0%, #1A2433 100%);
  color: var(--bg-color);
  border: 2px solid var(--gold);
}

.service-card.featured .service-title {
  color: var(--bg-color);
}

.service-card.featured .service-desc {
  color: rgba(245, 237, 222, 0.8);
}

.service-card.featured .service-features li {
  color: var(--cream);
}

.service-card.featured .service-number {
  color: rgba(212, 175, 55, 0.3);
}

/* Service Card 7 VIP Full-Width Banner */
.service-card.vip-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #212D3E 0%, #151D2A 100%);
  color: var(--bg-color);
  border: 2px solid var(--gold);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px 45px;
}

.service-card.vip-banner .service-title {
  color: var(--bg-color);
  font-size: 1.75rem;
}

.service-card.vip-banner .service-desc {
  color: rgba(245, 237, 222, 0.85);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.service-card.vip-banner .service-features {
  padding-top: 0;
  border-top: none;
  margin-bottom: 15px;
}

.service-card.vip-banner .service-features li {
  color: var(--cream);
}

.service-card.vip-banner .service-number {
  color: rgba(212, 175, 55, 0.2);
}

@media (max-width: 992px) {
  .service-card.vip-banner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ==========================================================================
   ABOUT VIKRAM RAJPAL SHAH
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--blue-shadow);
  background: var(--primary-blue-dark);
  padding: 8px;
  text-align: center;
  transition: var(--transition);
}

.about-image-card:hover {
  box-shadow: var(--gold-glow);
  transform: translateY(-3px);
}

.founder-img {
  width: 100%;
  height: 649px;
  object-fit: cover;
  object-position: center 58%;
  border-radius: var(--border-radius-md);
  display: block;
}

.about-experience-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--gold-gradient);
  color: var(--primary-blue);
  padding: 12px 20px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), var(--gold-glow);
  border: 1px solid #E6C258;
}

.about-experience-badge .years {
  font-size: 2rem;
  line-height: 1;
  display: block;
}

.about-experience-badge .text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-content .section-title {
  text-align: left;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 12px rgba(33, 45, 62, 0.15);
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 4px;
}

.trust-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Dark section support (e.g. index.html #about) */
.section-dark .trust-icon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border-color: var(--gold);
}

.section-dark .trust-text h4 {
  color: var(--gold-light);
}

.section-dark .trust-text p {
  color: rgba(245, 237, 222, 0.85);
}

/* ==========================================================================
   LIFE PATH EXPLORER TABS
   ========================================================================== */
.lifepath-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-light);
  border: 1px solid var(--dark-gold);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--gold-gradient);
  color: var(--primary-blue);
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
  transform: scale(1.1);
}

.tab-content-panel {
  display: none;
  background: var(--cream-light);
  border: 2px solid var(--gold);
  border-radius: var(--border-radius-md);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
  animation: fadeIn 0.4s ease;
}

.tab-content-panel.active {
  display: block;
}

.tab-panel-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(155, 134, 107, 0.3);
}

.tab-num-display {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}

.tab-panel-title h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
}

.tab-panel-title p {
  font-family: var(--font-subheading);
  color: var(--dark-gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--cream-light);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--border-radius-md);
  padding: 35px;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--gold);
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--primary-blue);
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.8;
  font-weight: 500;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(33, 45, 62, 0.15);
  border: 1px solid var(--gold);
}

.user-info h5 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.user-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 500;
}

/* Dark section support (e.g. index.html #testimonials) */
.section-dark .testimonial-card {
  background: rgba(33, 45, 62, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 35px rgba(21, 29, 42, 0.25);
}

.section-dark .testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(21, 29, 42, 0.4);
}

.section-dark .testimonial-quote {
  color: rgba(245, 237, 222, 0.92);
}

.section-dark .user-info h5 {
  color: var(--gold-light);
}

.section-dark .user-info span {
  color: rgba(245, 237, 222, 0.65);
}

/* ==========================================================================
   CONSULTATION BOOKING MODAL & FORM
   ========================================================================== */
.booking-section {
  background: var(--cream);
  border-top: 1px solid var(--gold);
}

.booking-box {
  background: var(--cream-light);
  border: 2px solid var(--gold);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--card-shadow-hover);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.booking-form-grid .full-width {
  grid-column: 1 / -1;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 29, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.modal-card {
  background: var(--cream-light);
  border: 2px solid var(--gold);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-blue);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* ==========================================================================
   NEWSLETTER SECTION
   ========================================================================== */
.newsletter-section {
  padding: 45px 0;
  background-color: var(--bg-color);
  position: relative;
}

.newsletter-card {
  background: linear-gradient(135deg, rgba(33, 45, 62, 0.96) 0%, rgba(15, 21, 31, 0.98) 100%), url('space_bg.png') no-repeat center center / cover;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--border-radius-lg);
  padding: 60px 45px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(15, 21, 31, 0.25), 0 0 35px rgba(212, 175, 55, 0.12);
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-decorative-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-light);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 2;
}

.newsletter-header {
  position: relative;
  z-index: 2;
}

.newsletter-title {
  font-size: 2.4rem;
  color: var(--bg-color);
  margin-top: 10px;
  margin-bottom: 15px;
}

.newsletter-desc {
  color: rgba(245, 237, 222, 0.85);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 35px auto;
  line-height: 1.7;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter-input-group {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.newsletter-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.newsletter-input-wrap .input-icon {
  position: absolute;
  left: 18px;
  color: var(--gold);
  font-size: 1.1rem;
  pointer-events: none;
}

.newsletter-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  background: rgba(245, 237, 222, 0.08);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--border-radius-sm);
  color: var(--bg-color);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(245, 237, 222, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245, 237, 222, 0.14);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.newsletter-btn {
  padding: 16px 32px;
  white-space: nowrap;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.newsletter-message {
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  animation: fadeIn 0.4s ease;
}

.newsletter-message.success {
  display: block;
  background: rgba(39, 174, 96, 0.2);
  border: 1px solid rgba(39, 174, 96, 0.6);
  color: #6fcf97;
}

.newsletter-message.error {
  display: block;
  background: rgba(235, 87, 87, 0.2);
  border: 1px solid rgba(235, 87, 87, 0.6);
  color: #eb5757;
}

.newsletter-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 35px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.nl-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 237, 222, 0.8);
  font-size: 0.88rem;
  font-family: var(--font-sans);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--cream-light, #F5EDE2);
  color: var(--primary-blue);
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand img,
.footer-brand .footer-logo-img {
  height: 70px;
  margin-bottom: 20px;
  display: block;
  filter: none;
}

.footer-brand p {
  color: rgba(33, 45, 62, 0.85);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1.1rem;
  color: var(--gold-dark, #8B6914);
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(33, 45, 62, 0.75);
  font-size: 0.95rem;
}

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

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-blue);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.contact-info-list li a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.contact-info-list li a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.contact-info-list i {
  color: var(--gold);
  flex-shrink: 0;
}

/* Footer & Dark Section Support */
.footer .contact-info-list li {
  color: rgba(33, 45, 62, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

.section-dark .contact-info-list li {
  color: rgba(245, 237, 222, 0.85);
  font-weight: 400;
  font-size: 0.95rem;
}

.footer .contact-info-list li a {
  color: rgba(33, 45, 62, 0.85);
  font-weight: 500;
}

.section-dark .contact-info-list li a {
  color: rgba(245, 237, 222, 0.85);
  font-weight: 400;
}

.footer .contact-info-list li a:hover,
.section-dark .contact-info-list li a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.9rem;
  color: rgba(33, 45, 62, 0.55);
  font-family: var(--font-sans);
}

/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 35px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .calc-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #111823;
    flex-direction: column;
    padding: 40px 20px 100px 20px;
    transition: var(--transition);
    border-top: 1px solid var(--gold);
    overflow-y: auto;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-bottom: 10px;
  }

  .nav-menu .nav-link {
    color: var(--cream);
    font-size: 1.2rem;
    padding: 15px 0;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    color: var(--gold);
  }

  .nav-menu.active {
    left: 0;
  }

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

  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    text-align: center;
  }

  .hero-highlights .stat-card {
    text-align: center;
  }

  .hero-highlights .stat-number {
    font-size: 1.4rem;
  }

  .hero-highlights .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0;
  }

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

  .booking-form-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-points {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    padding: 40px 20px;
  }

  .newsletter-title {
    font-size: 1.8rem;
  }

  .newsletter-input-group {
    flex-direction: column;
    gap: 15px;
  }

  .newsletter-btn {
    width: 100%;
  }

  .newsletter-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* ==========================================================================
   FLOATING PLANETS EFFECTS & ANIMATIONS
   ========================================================================== */

/* Prevent overflow in sections containing floating background elements */
.hero,
.calculator-section,
#services,
#about,
#explorer {
  overflow: hidden;
}

/* Base Floating Planet Container */
.floating-planet {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  /* Keep above plain section backgrounds, but behind active content containers */
  user-select: none;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.floating-planet img.planet-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Individual Planet Placements, Sizes, Glows & Animations */

/* 1. Hero Section Planets */
.planet-sun {
  top: 20%;
  left: 0%;
  width: 175px;
  height: 175px;
  opacity: 0.5;
  filter: drop-shadow(0 0 35px rgba(255, 170, 0, 0.6)) drop-shadow(0 0 65px rgba(212, 175, 55, 0.35));
  animation: floatSlow-1 16s ease-in-out infinite alternate, rotatePlanet-CW 90s linear infinite;
}

.planet-jupiter {
  top: 12%;
  right: 5%;
  width: 180px;
  height: 180px;
  opacity: 0.45;
  filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.45));
  animation: floatSlow-1 18s ease-in-out infinite alternate, rotatePlanet-CW 80s linear infinite;
}

.planet-mars {
  bottom: 10%;
  left: 3%;
  width: 130px;
  height: 130px;
  opacity: 0.4;
  filter: drop-shadow(0 0 25px rgba(235, 87, 87, 0.4));
  animation: floatSlow-2 22s ease-in-out infinite alternate, rotatePlanet-CCW 60s linear infinite;
}

.planet-neptune {
  top: 45%;
  left: 45%;
  width: 90px;
  height: 90px;
  opacity: 0.35;
  filter: drop-shadow(0 0 25px rgba(47, 128, 237, 0.4));
  animation: floatSlow-3 20s ease-in-out infinite alternate, rotatePlanet-CW 100s linear infinite;
}

/* 2. Calculator Section Planets */
.planet-venus {
  top: -5%;
  left: -5%;
  width: 170px;
  height: 170px;
  opacity: 0.25;
  filter: drop-shadow(0 0 30px rgba(155, 134, 107, 0.3));
  animation: floatSlow-3 25s ease-in-out infinite alternate, rotatePlanet-CW 90s linear infinite;
}

.planet-mercury {
  bottom: 5%;
  right: -3%;
  width: 110px;
  height: 110px;
  opacity: 0.25;
  filter: drop-shadow(0 0 20px rgba(111, 207, 151, 0.25));
  animation: floatSlow-1 16s ease-in-out infinite alternate, rotatePlanet-CCW 50s linear infinite;
}

/* 3. Services Section Planets */
.planet-saturn {
  top: 15%;
  left: -4%;
  width: 210px;
  height: 150px;
  /* Saturn is wider due to rings */
  opacity: 0.25;
  filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.3));
  animation: floatSlow-2 28s ease-in-out infinite alternate;
  /* Skip full rotation due to angled rings */
}

.planet-uranus {
  bottom: 10%;
  right: -4%;
  width: 130px;
  height: 130px;
  opacity: 0.2;
  filter: drop-shadow(0 0 25px rgba(86, 204, 242, 0.3));
  animation: floatSlow-1 24s ease-in-out infinite alternate, rotatePlanet-CW 110s linear infinite;
}

/* 4. About Section Planets */
.planet-pluto {
  top: 30%;
  right: 5%;
  width: 140px;
  height: 140px;
  opacity: 0.2;
  filter: drop-shadow(0 0 30px rgba(155, 134, 107, 0.25));
  animation: floatSlow-3 26s ease-in-out infinite alternate, rotatePlanet-CCW 95s linear infinite;
}

/* 5. Explorer Section Planets */
.planet-moon {
  top: 5%;
  left: -2%;
  width: 120px;
  height: 120px;
  opacity: 0.3;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.35));
  animation: floatSlow-2 19s ease-in-out infinite alternate, rotatePlanet-CW 75s linear infinite;
}

/* Animations */
@keyframes floatSlow-1 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(15px, -25px);
  }

  100% {
    transform: translate(-10px, 15px);
  }
}

@keyframes floatSlow-2 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-20px, 20px);
  }

  100% {
    transform: translate(10px, -15px);
  }
}

@keyframes floatSlow-3 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(25px, 15px);
  }

  100% {
    transform: translate(-15px, -20px);
  }
}

@keyframes rotatePlanet-CW {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotatePlanet-CCW {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* ==========================================================================
   NAME ANALYZER SECTION & CALC RESULT
   ========================================================================== */
.analyzer-card {
  background: var(--cream-light);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--gold);
  box-shadow: var(--card-shadow-hover);
  padding: 45px;
  margin-top: 40px;
}

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

.analyzer-result-box {
  display: none;
  background: var(--primary-blue);
  color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gold);
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.analyzer-result-box.active {
  display: block;
}

.vibration-badge {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.compatibility-meter {
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 15px 0;
  overflow: hidden;
  position: relative;
}

.compatibility-fill {
  height: 100%;
  background: var(--gold-gradient);
  width: 0%;
  transition: width 1s ease-in-out;
}

/* Vedic Reference Table */
.vedic-table-container {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--border-radius-md);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.vedic-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: rgba(21, 29, 42, 0.75);
}

.vedic-table th,
.vedic-table td {
  padding: 15px 20px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.vedic-table th {
  background: rgba(15, 21, 31, 0.95);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vedic-table td {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(245, 237, 222, 0.95);
}

.vedic-table td:first-child {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.15rem;
}

.vedic-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.vedic-table tr:hover {
  background: rgba(212, 175, 55, 0.08);
}

/* ==========================================================================
   FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--cream-light);
  border: 1px solid rgba(155, 134, 107, 0.35);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--gold);
  box-shadow: var(--card-shadow);
}

.faq-trigger {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary-blue);
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

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

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-content-inner {
  padding: 0 25px 25px 25px;
  color: var(--text-muted);
  font-size: 1.05rem;
  border-top: 1px solid rgba(155, 134, 107, 0.1);
  line-height: 1.7;
}

/* ==========================================================================
   CASE STUDIES & EXPANDED TESTIMONIALS
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.case-card {
  background: var(--cream-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius-md);
  padding: 35px;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--card-shadow-hover);
}

.case-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.case-title {
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.case-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.case-result {
  background: rgba(33, 45, 62, 0.03);
  border-left: 3px solid var(--gold);
  padding: 10px 15px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  font-size: 0.95rem;
  color: var(--primary-blue);
}

/* Numbers detailed grid card layout */
.numbers-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.number-detail-card {
  background: var(--cream-light);
  border: 1px solid rgba(155, 134, 107, 0.35);
  border-radius: var(--border-radius-md);
  padding: 35px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
}

.number-detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--card-shadow-hover);
}

.num-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.num-large-badge {
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: var(--gold-glow);
}

.num-meta {
  flex: 1;
}

.num-meta h3 {
  font-size: 1.25rem;
  color: var(--primary-blue);
}

.num-meta span {
  font-size: 0.85rem;
  color: var(--dark-gold);
  font-family: var(--font-subheading);
  text-transform: uppercase;
}

.num-planet-img-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.num-detail-body p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.num-traits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(155, 134, 107, 0.15);
}

.num-trait-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--dark-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}

.num-trait-item span {
  font-size: 0.88rem;
  color: var(--primary-blue);
}

/* Responsive Handling - Scale down / hide planets on smaller devices */
@media (max-width: 1024px) {
  .floating-planet {
    opacity: 0.18;
    /* Make background planets extra subtle on tablets */
  }

  .planet-sun {
    width: 120px;
    height: 120px;
    left: 2%;
    top: 6%;
  }

  .planet-jupiter {
    width: 130px;
    height: 130px;
    right: 2%;
  }

  .planet-mars {
    width: 90px;
    height: 90px;
    left: 1%;
  }

  .planet-saturn {
    width: 150px;
    height: 110px;
  }
}

@media (max-width: 768px) {

  /* Hide smaller/secondary floating planets to avoid cluttered layout and save performance */
  .planet-neptune,
  .planet-mercury,
  .planet-pluto,
  .planet-uranus {
    display: none;
  }

  .floating-planet {
    opacity: 0.12;
    /* Keep active ones extremely faint */
  }

  .planet-sun {
    width: 80px;
    height: 80px;
    top: 4%;
    left: 2%;
  }

  .planet-jupiter {
    width: 90px;
    height: 90px;
    top: 5%;
    right: 2%;
  }

  .planet-mars {
    width: 70px;
    height: 70px;
    bottom: 5%;
    left: 2%;
  }

  .planet-venus {
    width: 100px;
    height: 100px;
    top: -2%;
    left: -5%;
  }

  .planet-saturn {
    width: 120px;
    height: 90px;
    left: -8%;
  }

  .planet-moon {
    width: 80px;
    height: 80px;
    left: -5%;
  }
}

/* ==========================================================================
   ADDITIONAL MOBILE RESPONSIVENESS TUNING
   ========================================================================== */

/* Base overrides for mobile CTA links */
.mobile-only-link {
  display: none;
}

@media (max-width: 1024px) {
  .calc-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {

  /* Base section spacing */
  .section {
    padding: 45px 0;
  }

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

  .hero {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  /* Aspect ratio fix for circular celestial artwork to maintain circular shape */
  .celestial-artwork-box {
    height: auto;
    aspect-ratio: 1 / 1;
    width: 280px;
    /* Sensible mobile size */
    margin: 0 auto;
  }

  /* Clean up the crowded navbar on mobile by hiding the button and showing it in the menu */
  .nav-cta .btn {
    display: none !important;
  }

  .nav-container {
    justify-content: space-between;
  }

  /* Mobile CTA styling inside the navigation drawer */
  .nav-menu li.mobile-only-link,
  .mobile-only-link {
    display: block !important;
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  .mobile-only-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gold-gradient);
    color: var(--primary-blue) !important;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--gold-glow);
    border: 1px solid #E6C258;
    transition: var(--transition);
  }

  .mobile-only-link a:hover {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  }

  /* Form & card padding fixes to prevent screen squeezing */
  .calc-card {
    padding: 25px 20px;
  }

  .booking-box {
    padding: 30px 20px;
  }

  /* Founder Image proportions */
  .founder-img {
    height: 380px !important;
  }

  .about-experience-badge {
    top: 15px;
    right: 15px;
    padding: 8px 14px;
  }

  .about-experience-badge .years {
    font-size: 1.5rem;
  }

  /* VIP Full-width service card banner padding */
  .service-card.vip-banner {
    padding: 30px 20px;
  }

  /* Testimonial grid responsiveness safeguard */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Prevent button and grid content overflow on mobile */
  .btn {
    white-space: normal !important;
    text-align: center;
    padding: 12px 18px !important;
  }

  .calc-info,
  .calc-form-wrap,
  .calc-form,
  .form-group {
    min-width: 0 !important;
    width: 100% !important;
  }

  .form-control {
    max-width: 100% !important;
  }

  .analyzer-grid,
  .numbers-detailed-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 576px) {

  /* Stack the tab headers vertically for very small mobile screens */
  .tab-panel-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .tab-content-panel {
    padding: 25px 20px;
  }

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

  .hero-tagline {
    font-size: 0.72rem;
    padding: 6px 14px;
  }
}

/* ==========================================================================
   FOUNDER PHILOSOPHY / "WHAT NUMEROLOGY MEANS TO ME"
   ========================================================================== */
.philosophy-card {
  background: rgba(21, 29, 42, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--border-radius-lg);
  padding: 50px 45px;
  box-shadow: var(--blue-shadow), 0 0 35px rgba(212, 175, 55, 0.12);
  position: relative;
  overflow: hidden;
  max-width: 1050px;
  margin: 0 auto;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.philosophy-quote-mark {
  font-size: 3.5rem;
  color: rgba(212, 175, 55, 0.28);
  line-height: 1;
  margin-bottom: -15px;
  display: block;
}

.philosophy-lead-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--gold-light);
  margin-bottom: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.philosophy-story-body {
  font-size: 1.125rem;
  line-height: 1.85;
  color: rgba(245, 237, 222, 0.92);
  margin-bottom: 35px;
}

.philosophy-story-body p {
  margin-bottom: 18px;
}

.philosophy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 35px 0;
}

.philosophy-pillar-item {
  background: rgba(33, 45, 62, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--border-radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: var(--transition);
}

.philosophy-pillar-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow);
  background: rgba(33, 45, 62, 0.9);
}

.philosophy-pillar-icon {
  font-size: 1.85rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.philosophy-pillar-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.philosophy-pillar-desc {
  font-size: 0.88rem;
  color: rgba(245, 237, 222, 0.78);
  line-height: 1.45;
  margin: 0;
}

.philosophy-creed-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(33, 45, 62, 0.85) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  padding: 28px 32px;
  margin-top: 35px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.philosophy-creed-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFF3BF;
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}

.philosophy-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.philosophy-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.philosophy-author-info h5 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.philosophy-author-info span {
  font-size: 0.85rem;
  color: rgba(245, 237, 222, 0.75);
}

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

@media (max-width: 576px) {
  .philosophy-card {
    padding: 30px 20px;
  }

  .philosophy-pillars-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-creed-box {
    padding: 20px 18px;
  }

  .philosophy-lead-text {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   DEDICATED NUMEROLOGY PAGES (NUMBERS 1 TO 9)
   ========================================================================== */

.num-page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 22, 33, 0.94) 0%, rgba(33, 45, 62, 0.96) 100%),
    url('space_bg.png') no-repeat center center / cover;
  padding: 120px 0 60px 0;
  color: var(--bg-color);
  overflow: hidden;
  border-bottom: 2px solid rgba(212, 175, 55, 0.25);
}

.num-hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.num-hero-info {
  z-index: 2;
}

.num-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.num-hero-archetype-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.num-hero-dob-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 237, 222, 0.2);
  color: var(--cream);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
}

.num-hero-title {
  font-size: 3rem;
  line-height: 1.15;
  color: var(--bg-color);
  margin-bottom: 18px;
}

.num-hero-desc {
  font-size: 1.12rem;
  color: rgba(245, 237, 222, 0.88);
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 620px;
}

/* Personalized User Welcome Banner */
.personalized-banner {
  display: none;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(33, 45, 62, 0.8) 100%);
  border: 1px solid var(--gold);
  border-radius: var(--border-radius-md);
  padding: 16px 22px;
  margin-bottom: 25px;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
  animation: fadeInDown 0.6s ease;
}

.personalized-banner.active {
  display: flex;
}

.personalized-banner-icon {
  font-size: 1.8rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.personalized-banner-text h4 {
  color: #FFF3BF;
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.personalized-banner-text p {
  color: var(--cream);
  font-size: 0.9rem;
  margin: 0;
}

/* Hero Celestial Visual */
.num-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.num-celestial-orb {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.num-celestial-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(212, 175, 55, 0.5);
  animation: spinSlow 35s linear infinite;
}

.num-celestial-planet-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.5));
  animation: floatPlanet 6s ease-in-out infinite alternate;
}

.num-hero-badge-overlay {
  position: absolute;
  bottom: -10px;
  right: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--primary-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), var(--gold-glow);
  border: 3px solid #FFF3BF;
}

.num-hero-badge-overlay .badge-num {
  font-size: 2.3rem;
  line-height: 1;
}

.num-hero-badge-overlay .badge-sub {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes floatPlanet {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-12px) scale(1.03);
  }
}

/* Number Switcher Bar (1-9 Quick Jump) */
.number-switcher-container {
  background: var(--primary-blue-dark);
  padding: 15px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.number-switcher-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.switcher-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}

.number-switcher-list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.num-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.num-switch-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold);
  color: #FFF;
  transform: translateY(-2px);
}

.num-switch-btn.active {
  background: var(--gold-gradient);
  color: var(--primary-blue-dark);
  border-color: #FFF3BF;
  box-shadow: var(--gold-glow);
  transform: scale(1.1);
}

/* Cosmic Quick-Facts Matrix */
.cosmic-matrix-section {
  padding: 60px 0;
  background-color: var(--cream-light);
}

.cosmic-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cosmic-matrix-card {
  background: #FFF;
  border-radius: var(--border-radius-md);
  padding: 22px 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.cosmic-matrix-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--gold);
}

.cosmic-matrix-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cosmic-matrix-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(33, 45, 62, 0.06);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cosmic-matrix-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-heading);
  margin: 0;
}

.cosmic-matrix-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.35;
  margin-bottom: 4px;
}

.cosmic-matrix-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Color Swatches inside card */
.color-swatches-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.color-swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

/* Detailed Content Layout */
.num-details-section {
  padding: 80px 0;
  background: var(--bg-color);
}

.num-details-layout {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 45px;
  align-items: flex-start;
}

.num-main-content {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.num-content-block {
  background: #FFF;
  border-radius: var(--border-radius-md);
  padding: 38px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(212, 175, 55, 0.18);
  position: relative;
}

.num-content-block h2 {
  font-size: 1.85rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--cream);
  padding-bottom: 12px;
}

.num-content-block h2 i {
  color: var(--gold);
}

.num-content-block p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 18px;
}

/* Strengths Grid */
.traits-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.trait-card {
  background: var(--cream-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--border-radius-sm);
  padding: 18px 20px;
}

.trait-card h4 {
  font-size: 1.05rem;
  color: var(--primary-blue);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trait-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Shadow Aspects Warning Card */
.shadow-aspects-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(245, 237, 222, 0.4) 100%);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-left: 4px solid #DC2626;
  border-radius: var(--border-radius-sm);
  padding: 24px 26px;
  margin-top: 20px;
}

.shadow-aspects-box h4 {
  color: #991B1B;
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shadow-aspects-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.shadow-aspects-box li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.shadow-aspects-box li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
  top: 2px;
}

/* Compatibility Grid */
.compat-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.compat-card {
  border-radius: var(--border-radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compat-card.best-match {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-top: 4px solid #16A34A;
}

.compat-card.neutral-match {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-top: 4px solid #CA8A04;
}

.compat-card.challenging-match {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-top: 4px solid #DC2626;
}

.compat-badge-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.compat-numbers {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--primary-blue);
}

.compat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Sacred Mantra Box */
.sacred-mantra-card {
  background: linear-gradient(135deg, rgba(33, 45, 62, 0.95) 0%, rgba(15, 22, 33, 0.98) 100%);
  border: 2px solid var(--gold);
  border-radius: var(--border-radius-md);
  padding: 28px;
  color: var(--bg-color);
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.sacred-mantra-card::before {
  content: 'ॐ';
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 8rem;
  color: rgba(212, 175, 55, 0.08);
  pointer-events: none;
  font-family: serif;
}

.mantra-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mantra-text {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  color: #FFF3BF;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.mantra-translation {
  font-size: 0.92rem;
  color: rgba(245, 237, 222, 0.8);
  font-style: italic;
  margin-bottom: 12px;
}

.mantra-instructions {
  font-size: 0.85rem;
  background: rgba(212, 175, 55, 0.15);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  display: inline-block;
  color: var(--gold-light);
}

/* Famous Icons Grid */
.famous-icons-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.famous-icon-tag {
  background: var(--cream-light);
  border: 1px solid rgba(33, 45, 62, 0.12);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.famous-icon-tag:hover {
  background: var(--gold-gradient);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Sticky Sidebar in Number Details */
.num-sidebar {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.num-sidebar-card {
  background: #FFF;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.num-sidebar-card.consultation-cta {
  background: linear-gradient(135deg, rgba(33, 45, 62, 0.98) 0%, rgba(15, 22, 33, 0.98) 100%),
    url('space_bg.png') no-repeat center center / cover;
  color: var(--bg-color);
  border: 2px solid var(--gold);
  text-align: center;
}

.num-sidebar-card.consultation-cta h3 {
  color: #FFF3BF;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.num-sidebar-card.consultation-cta p {
  color: rgba(245, 237, 222, 0.85);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.founder-mini-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
}

.founder-mini-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.founder-mini-text h5 {
  color: var(--gold);
  font-size: 0.95rem;
  margin: 0;
}

.founder-mini-text span {
  font-size: 0.78rem;
  color: rgba(245, 237, 222, 0.7);
}

/* Responsive Rules for Number Pages */
@media (max-width: 1024px) {
  .num-hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .num-hero-desc {
    margin: 0 auto 25px auto;
  }

  .num-hero-badge-row {
    justify-content: center;
  }

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

  .num-details-layout {
    grid-template-columns: 1fr;
  }

  .num-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .num-hero-title {
    font-size: 2.2rem;
  }

  .traits-cards-grid {
    grid-template-columns: 1fr;
  }

  .compat-matrix-grid {
    grid-template-columns: 1fr;
  }

  .num-content-block {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .cosmic-matrix-grid {
    grid-template-columns: 1fr;
  }

  .num-celestial-orb {
    width: 240px;
    height: 240px;
  }

  .num-celestial-planet-img {
    width: 160px;
    height: 160px;
  }
}

/* ==========================================================================
   NAVIGATION HOVER DROPDOWN FOR NUMBERS 1-9
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}

.nav-chevron {
  font-size: 0.62rem;
  transition: transform 0.3s ease;
  color: var(--gold);
  display: inline-block;
  line-height: 1;
}

.nav-item-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 630px;
  max-width: calc(100vw - 30px);
  box-sizing: border-box;
  background: linear-gradient(180deg, #FFFDF9 0%, #FAF4EB 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 45px rgba(33, 45, 62, 0.14), 0 4px 16px rgba(212, 175, 55, 0.12);
  border-radius: var(--border-radius-md);
  padding: 16px 16px 18px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

/* Arrow pointer above dropdown */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #FFFDF9;
  border-left: 1px solid rgba(212, 175, 55, 0.45);
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  z-index: 1;
}

/* Invisible hover bridge to prevent menu disappearing during cursor transit */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 16px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.nav-dropdown-header span {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-header span i {
  color: var(--gold);
}

.nav-dropdown-header a {
  font-size: 0.76rem;
  color: #9B7811;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-header a:hover {
  color: var(--primary-blue);
  transform: translateX(2px);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-num-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(33, 45, 62, 0.04);
  transition: all 0.25s ease;
  min-width: 0;
  box-sizing: border-box;
}

.dropdown-num-item:hover {
  background: #FFFFFF;
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.22), 0 2px 6px rgba(33, 45, 62, 0.06);
  transform: translateY(-2px);
}

.dropdown-num-item.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(245, 230, 173, 0.3) 100%);
  border-color: var(--gold);
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.25);
}

.num-item-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #212D3E 0%, #151D2A 100%);
  color: var(--gold-light);
  border: 1.5px solid rgba(212, 175, 55, 0.7);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(33, 45, 62, 0.15);
  transition: all 0.25s ease;
}

.dropdown-num-item:hover .num-item-badge {
  background: var(--gold-gradient);
  color: #151D2A;
  border-color: #FFF;
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.4);
}

.num-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.num-item-text strong {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  color: var(--primary-blue);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.dropdown-num-item:hover .num-item-text strong {
  color: #9B7811;
}

.num-item-text span {
  font-size: 0.68rem;
  color: #7A6A55;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* Adjust dropdown shift on standard laptops to prevent viewport right overflow */
@media (max-width: 1320px) and (min-width: 992px) {
  .nav-dropdown-menu {
    left: auto;
    right: -80px;
    transform: translateY(8px);
  }

  .nav-dropdown-menu::before {
    left: auto;
    right: 125px;
    transform: rotate(45deg);
  }

  .nav-item-dropdown:hover .nav-dropdown-menu,
  .nav-item-dropdown:focus-within .nav-dropdown-menu {
    transform: translateY(0);
  }
}

/* Mobile Dropdown styles */
@media (max-width: 991px) {
  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .nav-item-dropdown .nav-chevron {
    transition: transform 0.3s ease;
  }

  .nav-item-dropdown.open .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    display: none;
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin-top: 15px;
    padding: 0;
    background: transparent;
  }

  .nav-item-dropdown.open .nav-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
  }

  .nav-dropdown-menu::before,
  .nav-dropdown-menu::after {
    display: none;
  }

  .nav-dropdown-header {
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
    margin-bottom: 0;
  }

  .nav-dropdown-header span,
  .nav-dropdown-header a {
    color: var(--gold-light);
    justify-content: center;
    text-align: center;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dropdown-num-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    box-shadow: none;
    padding: 12px 5px;
    justify-content: center;
  }

  .dropdown-num-item:hover {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    border-color: rgba(212, 175, 55, 0.3);
  }

  .dropdown-num-item .num-item-text strong {
    color: var(--cream);
  }

  .dropdown-num-item .num-item-text span {
    color: rgba(245, 237, 222, 0.6);
  }
}

@media (max-width: 576px) {
  .nav-dropdown-grid {
    grid-template-columns: 1fr;
  }
}