/* Design Tokens & Core Variables */
:root {
  /* Color Palette */
  --bg-charcoal: #1c1c1f;
  --bg-darker: #111114;
  --bg-ivory: #f8f6f0;
  --primary-gold: #d4af37;
  --primary-gold-hover: #b5952f;
  --gold-glow: rgba(212, 175, 55, 0.4);

  /* Text Colors */
  --text-main: #eaeaea;
  --text-muted: #a0a0a5;
  --text-dark: #222222; /* For ivory sections */
  --text-white: #ffffff;

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --font-nav: "Manrope", sans-serif;

  /* Layout Spacing */
  --section-spacing: 120px;

  /* Animations */
  --hover-transition: all 0.3s ease-in-out;
}

/* Base Reset & Global Styles */
html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  scroll-behavior: smooth;
}

/* Luxury Matte Grain Texture */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 50; /* Lower than UI but over content background */
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

h1 {
  font-size: 4.5rem;
  letter-spacing: -2px;
  line-height: 1.1;
}
h2 {
  font-size: 3rem;
  letter-spacing: -1px;
}
h3 {
  font-size: 2rem;
  letter-spacing: -0.5px;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: var(--hover-transition);
}
a:hover {
  color: var(--text-white);
}

/* Utility Classes */
.text-gold {
  color: var(--primary-gold) !important;
}
.bg-ivory {
  background-color: var(--bg-ivory);
  color: var(--text-dark);
}
.bg-ivory h2,
.bg-ivory h3,
.bg-ivory h4 {
  color: var(--bg-darker);
}

/* Button System */
.btn-gold {
  background-color: var(--primary-gold);
  color: var(--bg-darker);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  transition: var(--hover-transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-nav);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none !important;
}

.btn-gold:hover {
  background-color: #f3ca45;
  color: var(--bg-darker);
  box-shadow: 0 4px 20px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-gold i {
  transition: transform 0.3s ease;
}
.btn-gold:hover i {
  transform: translateX(4px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  font-weight: 600;
  padding: 13px 31px;
  border-radius: 50px;
  transition: var(--hover-transition);
  text-transform: uppercase;
  font-family: var(--font-nav);
  font-size: 0.9rem;
  text-decoration: none !important;
  letter-spacing: 1.5px;
}

.btn-outline-gold:hover {
  background: var(--primary-gold);
  color: var(--bg-darker) !important;
  text-decoration: none;
}

/* ── FIXED FLOATING HEADER ─────────────────────────────── */

/* Fix .top-bar in place at the very top (desktop only — hidden on mobile) */
.top-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9991 !important;
  background-color: var(--bg-darker);
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* Smooth collapse transition */
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease;
}

/* Collapse top-bar on scroll (class toggled by global.js on body) */
body.header-scrolled .top-bar {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0 !important;
}

.top-bar-social a {
  color: var(--text-muted);
  margin-left: 15px;
  transition: var(--hover-transition);
}
.top-bar-social a:hover {
  color: var(--primary-gold);
}

/* Main Navigation & Fixed Header logic */

/* MOBILE-FIRST HEADER (Targets all mobile devices) */
@media (max-width: 1024px) {
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100000 !important;
    background-color: #111114 !important;
    /* This fills Safari notch space */
    padding-top: env(safe-area-inset-top, 0) !important;
    margin: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }

  /* Explicitly hide top bar on mobile as per user request */
  .top-bar {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .navbar {
    position: relative !important;
    top: 0 !important;
    background-color: transparent !important;
    border: none !important;
    padding: 8px 15px !important;
  }
  
  /* Ensure logo is appropriately sized on mobile */
  .nav-logo {
    height: 40px !important;
    width: auto !important;
  }
}

/* DESKTOP (1025px+) */
@media (min-width: 1025px) {
  .top-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    height: 40px !important;
    background-color: #111114 !important;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .navbar {
    position: fixed !important;
    top: 40px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99998 !important;
    background-color: #111114 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
    transition: all 0.4s ease;
    padding: 12px 0 !important;
  }

  body.header-scrolled .top-bar {
    transform: translateY(-40px);
    opacity: 0;
  }

  body.header-scrolled .navbar {
    top: 0 !important;
    background-color: #0c0c0e !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    padding: 6px 0 !important;
  }
}

/* Body and Global Content logic */
body {
    margin: 0 !important;
    padding: 0 !important;
}

#outer-wrap, 
.site-main,
.hero {
    position: relative;
    z-index: 1;
}

/* Kill iOS elastic bounce exposing white background */
html {
  background-color: #111114 !important;
  overscroll-behavior-y: none !important;
}

/* Navigation bar styling */
/* Navigation bar visual styling */
.navbar {
  /* Nuche filters to ensure 100% solid background on mobile */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: #111114 !important;
}

/* Remove old #shakhile-header-wrap styles if DOM still has them */
#shakhile-header-wrap {
  all: unset;
  display: contents;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-gold) !important;
  letter-spacing: 1px;
}
.navbar-brand span {
  color: var(--text-white);
  font-weight: 400;
}
.nav-link {
  color: var(--text-main) !important;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin: 0 12px;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-gold);
  transition: var(--hover-transition);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: auto;
  min-height: 95vh; /* Increased for deeper cinematic presence with more content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  overflow: hidden;
  background-color: #000;
  padding-bottom: 100px;
}

.hero-content {
  width: 100%;
  z-index: 5;
  position: relative;
}

.slide-content-wrap {
  margin: 0 auto !important;
  max-width: 900px; /* Tighter width for focus and safe text zones */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px;
}

/* Cinematic Hero Background */
.hero-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7);
    animation: ken-burns 40s infinite alternate ease-in-out;
}

/* Cinematic Ken Burns Effect and Overlays */

@keyframes ken-burns {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); } /* Subtler scale for focus */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, 
    rgba(17, 17, 20, 0.95) 0%, 
    rgba(17, 17, 20, 0.2) 25%, 
    rgba(17, 17, 20, 0.2) 70%, 
    rgba(17, 17, 20, 0.95) 100%),
    linear-gradient(90deg, rgba(17, 17, 20, 0.4) 0%, transparent 40%, transparent 60%, rgba(17, 17, 20, 0.4) 100%);
  z-index: 1;
}

.emotional-hook span {
  letter-spacing: 3px;
}

.trust-strip {
  width: 100%;
  max-width: 800px;
}

.trust-item span {
  font-size: 0.75rem !important;
}

.cta-reassurance {
  font-family: var(--font-nav);
  letter-spacing: 0.5px;
}

.social-proof-snippet {
  transform: translateY(-50%);
}

/* Responsive Overrides (preserving centered mobile) */
@media (max-width: 991px) {
  .hero-overlay {
    background: radial-gradient(circle, rgba(17, 17, 20, 0.4) 0%, #111114 100%);
  }
}

/* Custom premium badge for cohesive slide headers */
.subtitle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
.bg-gold-transparent {
  background-color: rgba(212, 175, 55, 0.1) !important;
  color: var(--primary-gold) !important;
  border: 1px solid rgba(212, 175, 55, 0.2);
  font-family: var(--font-nav);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.seo-sub-headline {
  letter-spacing: 2px;
  line-height: 1.4;
}

/* Trust Metrics System */
.trust-metrics {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}
.metric-item .h4 {
  font-family: var(--font-heading);
  letter-spacing: 0;
}
.metric-item span.text-muted {
  font-family: var(--font-nav);
  letter-spacing: 1px;
  font-size: 0.75rem !important;
}

@media (max-width: 991px) {
  .trust-metrics {
    justify-content: center;
    border-top: none;
    padding-top: 0;
  }
  .metric-divider {
    display: none !important;
  }
}

/* Elegant Carousel Transitions */
.carousel-fade .carousel-item {
  transition-duration: 1.2s !important;
}
@keyframes elegantSlideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.carousel-item.active .slide-content-wrap {
  opacity: 0;
  animation: elegantSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 17, 20, 0.9) 0%,
    rgba(28, 28, 31, 0.7) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 0;
}
.subtitle-badge {
  color: var(--primary-gold);
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.subtitle-badge::before,
.subtitle-badge::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: var(--primary-gold);
}
.hero p {
  font-size: 1.25rem;
  color: #ffffff;
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Service Quick Cards (Overlapping Hero) */
.quick-cards-wrapper {
  margin-top: -120px; /* Stronger overlap for premium feel */
  position: relative;
  z-index: 10;
}

@media (max-width: 991px) {
  .quick-cards-wrapper {
    margin-top: -60px; /* Subtler overlap for tablets */
  }
}

@media (max-width: 576px) {
  .quick-cards-wrapper {
    margin-top: 0; /* No overlap for mobile */
    padding-top: 40px;
  }
}
.quick-card {
  background: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid transparent;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.quick-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 1; /* Show by default */
  transition: all 0.6s ease;
  z-index: -1;
  filter: grayscale(40%) brightness(0.3); /* Premium cinematic look, darker for text readability */
}

.quick-card:hover::after {
  opacity: 0; /* Hide on hover */
  transform: scale(1.1);
}

.quick-card.card-rel::after { background-image: url('../images/card_relationship.png'); }
.quick-card.card-en::after { background-image: url('../images/card_energy.png'); }
.quick-card.card-pe::after { background-image: url('../images/card_peace.png'); }
.quick-card.card-ma::after { background-image: url('../images/card_marriage.png'); }

.quick-card:hover {
  transform: translateY(-15px);
  border-top-color: var(--primary-gold);
  border-left-color: rgba(212, 175, 55, 0.2);
  border-right-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: #111114; /* Pure dark on hover */
}

.quick-card * {
  position: relative;
  z-index: 2;
  pointer-events: none; /* Let the link click go through */
}
.quick-card .icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  transition: var(--hover-transition);
}
.quick-card:hover .icon-wrapper {
  background: var(--primary-gold);
  color: var(--bg-darker);
}
.quick-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Section Decorators */
.section-pd {
  padding: var(--section-spacing) 0;
}
.section-header {
  margin-bottom: 60px;
}
.section-header .subtitle-badge {
  justify-content: flex-start;
}
.section-header.text-center .subtitle-badge {
  justify-content: center;
}

/* About Section */
.about-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.about-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary-gold);
  border-radius: 12px;
  transform: translate(15px, 15px);
  z-index: -1;
  opacity: 0.5;
}
.experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary-gold);
  color: var(--bg-darker);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-heading);
  transform: translate(25%, 25%);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  border: 5px solid var(--bg-charcoal);
}
.experience-badge h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: var(--bg-darker);
}
.experience-badge span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.mission-item i {
  color: var(--primary-gold);
  font-size: 28px;
  margin-bottom: 15px;
}
.mission-item h5 {
  font-size: 1.1rem;
}

/* Services Section */
.service-card {
  background: var(--bg-darker);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: var(--hover-transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
}
.service-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(30%) brightness(0.8);
}
.service-card:hover .service-img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}
.service-img-wrapper {
  overflow: hidden;
  position: relative;
}
.service-content {
  padding: 30px;
  position: relative;
  z-index: 2;
  background: var(--bg-darker);
}
.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gold);
  transform: scaleX(0);
  transform-origin: left pointer;
  transition: transform 0.4s ease;
  z-index: 3;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

/* Stats / Testimonials Grid */
.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  transition: var(--hover-transition);
}
.stat-box:hover {
  background: rgba(212, 175, 55, 0.05);
}
.stat-box h2 {
  color: var(--primary-gold);
  font-size: 3rem;
  margin-bottom: 10px;
}
.testimonial-card {
  background: var(--bg-charcoal);
  padding: 40px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.testimonial-card i.fa-quote-left {
  font-size: 40px;
  color: rgba(212, 175, 55, 0.2);
  position: absolute;
  top: 30px;
  right: 30px;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.client-info h5 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-gold);
}

/* CTA Split Section */
.cta-split {
  display: flex;
  flex-wrap: wrap;
}
.cta-block {
  flex: 1 1 50%;
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}
.cta-charcoal {
  background-color: #111114;
  color: #a1a1aa;
}
.cta-dark {
  background-color: var(--bg-darker);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.cta-charcoal h2 {
  color: #ffffff;
}

/* Footer */
.site-footer {
  background-color: #0a0a0c;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}
.footer-widget h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-gold);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-links a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-gold);
  font-size: 0.8rem;
  transition: transform 0.3s;
}
.footer-links a:hover {
  color: var(--primary-gold);
}
.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  margin-top: 60px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Animations */
[data-aos] {
  transition-duration: 800ms;
}

@media (max-width: 991px) {
  h1 {
    font-size: 3rem;
  }
  .quick-cards-wrapper {
    margin-top: 40px;
  }
  .about-image-wrapper {
    margin-bottom: 60px;
  }
  .cta-block {
    flex: 1 1 100%;
  }
}

/* Float & Logo Improvements */
.nav-logo {
  height: 60px;
  object-fit: contain;
  transition: var(--hover-transition);
  filter: drop-shadow(0 0 2px rgba(212,175,55,0.2));
}
.nav-logo:hover {
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.6)) brightness(1.2);
}
.floating-menu {
  position: fixed;
  bottom: 20px;
  right: 15px !important;
  left: auto !important;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
  color: #fff !important;
  backdrop-filter: blur(8px); /* Premium Top 1% feel */
  -webkit-backdrop-filter: blur(8px);
}
.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.7);
}
.btn-whatsapp { background-color: #25D366; position: relative; }
.btn-whatsapp:hover { background-color: #128C7E; }

/* Status Pulse for WhatsApp */
.btn-whatsapp::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #00ff00;
  border: 2px solid #111114;
  border-radius: 50%;
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(0.9); opacity: 1; }
}
.btn-call { background-color: var(--primary-gold); color: #111 !important; animation: pulse 2s infinite; }
.btn-call:hover { background-color: var(--primary-gold-hover); }

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212,175,55,1); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(212,175,55,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}
@keyframes pulse-green {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,1); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* FAQ fixes */
.accordion-item,
.accordion-item * {
  border-color: rgba(212, 175, 55, 0.2) !important;
}
.accordion-item {
  background-color: #111114 !important;
}
.accordion-button {
  color: #ffffff !important;
  background-color: #111114 !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  color: #d4af37 !important;
  background-color: #1c1c1f !important;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125) !important;
}
.accordion-button::after {
  filter: brightness(0) invert(1) !important;
}
.accordion-button:not(.collapsed)::after {
  filter: invert(72%) sepia(30%) saturate(885%) hue-rotate(5deg) brightness(97%) contrast(89%) !important;
}
.accordion-body, .accordion-collapse {
  background-color: #111114 !important;
  color: #b5b5ba !important;
}

/* Navigation Hover States */
@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu { 
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 5px;
  }
  .navbar .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
  }
}
@media (max-width: 991px) {
  .navbar-collapse .dropdown-menu {
    background-color: transparent !important;
    border: none;
    padding-left: 20px;
    box-shadow: none !important;
  }
  .navbar-collapse .dropdown-item {
    color: #b5b5ba !important;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Contrast Enhancements for Readability */
.text-muted {
  color: #b5b5ba !important; /* Brighter default for dark theme */
}
.bg-ivory .text-muted, .cta-ivory .text-muted {
  color: #4a4a50 !important; /* Darker grey for light backgrounds */
}
.bg-charcoal .text-muted, .bg-darker .text-muted {
  color: #b5b5ba !important; /* Stand out more on dark backgrounds */
}

/* Premium Form Styles */
.contact-form-premium {
  background-color: #111114 !important;
  padding: 4rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
  position: relative;
  overflow: hidden;
}
.contact-form-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bg-darker) 0%, var(--primary-gold) 50%, var(--bg-darker) 100%);
}
.contact-form-premium .form-control {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  padding: 16px 20px !important;
  color: #eaeaea !important;
  transition: all 0.3s ease;
}
.contact-form-premium .form-control:focus {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--primary-gold) !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1) !important;
  color: #ffffff !important;
}
.contact-form-premium .form-control::placeholder {
  color: #b5b5ba !important;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.contact-form-premium select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
}
.contact-form-premium select.form-control option {
  background-color: #111114 !important;
  color: #eaeaea !important;
}
.contact-form-premium .btn-gold {
  border-radius: 8px;
  padding: 18px;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Tracking Fix for nav dropdowns */
.dropdown-item {
  letter-spacing: 1px;
}
.dropdown-menu-dark .dropdown-item {
  transition: all 0.2s ease;
}
.dropdown-menu-dark .dropdown-item:hover {
  background-color: transparent !important;
  color: var(--primary-gold) !important;
  transform: translateX(4px);
}

/* Mobile responsive hero sizing */
@media (max-width: 991px) {
  .hero {
    height: auto !important;
    min-height: 70vh !important;
    padding: 100px 15px 120px !important;
  }
  .hero .slide-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-content {
    padding-top: 0;
  }
  .hero h1.display-3 {
    font-size: 2.1rem;
    line-height: 1.1;
    margin-bottom: 25px !important;
    letter-spacing: -1px;
    text-align: center !important;
  }
  .hero p.lead {
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    margin-bottom: 40px !important;
    line-height: 1.6;
  }
  .hero .d-flex {
    justify-content: center;
    width: 100%;
    flex-direction: column !important; 
    gap: 20px !important; /* Extra gap to prevent overlap */
    padding: 0 15px; /* Side padding to avoid floating button collision */
  }
  .hero .btn-gold, .hero .btn-outline-gold {
    width: 90% !important;
    max-width: 240px !important; /* Guaranteed safety from stickers on 320px+ screens */
    margin: 0 auto !important;
    justify-content: center !important;
    padding: 16px 20px !important; 
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 75vh !important;
    padding: 120px 15px 80px !important;
  }
  .hero h1.display-3 {
    font-size: 1.9rem;
  }
}

/* Assessment Modal Styles */
.assessment-option {
  border-color: rgba(255,255,255,0.1) !important;
  color: #eaeaea !important;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}
.assessment-option:hover {
  background-color: rgba(212,175,55,0.1) !important;
  border-color: #d4af37 !important;
  transform: translateX(5px);
}
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

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

.pulse-btn {
  animation: pulse-gold 2s infinite;
  background: linear-gradient(90deg, #d4af37 0%, #f1d37a 50%, #d4af37 100%);
  background-size: 200% auto;
  border: 1px solid rgba(255,255,255,0.2) !important;
  transition: all 0.4s ease;
}

.pulse-btn:hover {
  animation: pulse-gold 2s infinite, shimmer-gold 2s linear infinite;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.4);
}

.navbar .nav-link {
  font-family: var(--font-nav) !important;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .floating-menu {
    right: 15px !important;
    left: 15px !important; 
    flex-direction: row;
    justify-content: space-between;
    width: calc(100% - 30px);
    pointer-events: none; /* Allow clicks to pass through empty space between buttons */
  }
  .floating-btn {
    pointer-events: auto; /* Re-enable clicks directly on the buttons */
  }
}
