@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0a2540;
  --secondary-color: #0d47a1;
  --accent-color: #d4af37;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --bg-light: #f1f5f9;
  --bg-white: #ffffff;
  --card-shadow: 0 15px 35px rgba(10, 37, 64, 0.08);
  --hover-shadow: 0 25px 50px rgba(13, 71, 161, 0.15);
  --border-radius: 20px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Care Mode (Dark Theme) Variables Removal */

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

/* Global Top Bar */
.top-bar {
  background: var(--primary-color);
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
}

.top-bar-item i,
.top-bar-item span[class^="icon-"] {
  color: var(--accent-color);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .top-bar {
    text-align: center;
  }

  .top-bar-content {
    justify-content: center;
  }

  .top-bar-item {
    margin: 4px 10px;
  }
}

/* Glassmorphism Utilities */
.glass-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.glass-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
  transition: var(--transition);
  font-size: 0.85rem;
  white-space: nowrap;
  /* Reduced by 1px from default/previous state */
}

.glass-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.glass-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.glass-nav .nav-link:hover::after {
  width: 100%;
}

/* Premium Mega Menu */
.glass-nav .container {
  position: relative;
}

.glass-nav .dropdown {
  position: static;
}

.glass-nav .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  width: 100%;
  left: 0;
  right: 0;

  /* Setup for delay / transition instead of display:none */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px 20px;

  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  transition-delay: 2s;
  /* 2 second delay before disappearing */
}

/* Apply 4-column grid when active with delay */
.glass-nav .dropdown-menu.show,
.glass-nav .dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
  /* appears immediately on mouse enter */
}

@media (max-width: 991px) {

  .glass-nav .dropdown-menu.show,
  .glass-nav .dropdown:hover .dropdown-menu {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 0;
  }
}

.glass-nav .dropdown-divider {
  grid-column: 1 / -1;
  margin: 15px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-nav .dropdown-item {
  color: var(--text-dark);
  font-weight: 500;
  padding: 10px 15px;
  transition: var(--transition);
  font-size: 0.95rem;
  border-radius: 8px;
  white-space: normal;
}

.glass-nav .dropdown-item:hover {
  background-color: rgba(13, 71, 161, 0.05);
  color: var(--primary-color);
  transform: translateX(5px);
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 176, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Multi-Layer Parallax */
.parallax-layer {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s ease-out;
}

.layer-1 {
  top: 10%;
  left: 5%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0.2;
  border-radius: 50%;
}

.layer-2 {
  bottom: 15%;
  right: 10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.layer-3 {
  top: 30%;
  right: 5%;
  width: 150px;
  height: 150px;
  border: 2px solid var(--accent-color);
  opacity: 0.1;
  border-radius: 50%;
}

/* Dark Mode Overrides Removal - The user requested removing the theme feature */

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.hero-buttons {
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
}

.btn-premium {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 10px 20px rgba(10, 37, 64, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(13, 71, 161, 0.3);
  color: white;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
  animation: fadeInRight 1s ease forwards;
}

.hero-image-wrapper img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Sections General */
.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

/* Profile / Celebrity Section */
.profile-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: var(--border-radius);
  padding: 50px 40px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--accent-color);
  z-index: 1;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(212, 175, 55, 0.1)" stroke-width="2" fill="none"/></svg>') no-repeat bottom right;
  z-index: -1;
  opacity: 0.5;
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--bg-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 25px;
}

.celeb-gallery img {
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  object-fit: cover;
  height: 250px;
  width: 100%;
}

.celeb-gallery img:hover {
  transform: scale(1.03);
}

/* Services / Blog Cards */
.feature-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(13, 71, 161, 0.1);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(0, 176, 255, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
  background: var(--primary-color);
  color: white;
}

.blog-image {
  border-radius: 12px;
  margin-bottom: 20px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* YouTube & Social Section */
.social-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 80px 0;
  border-radius: 30px;
  margin: 50px 0;
  position: relative;
  overflow: hidden;
}

.social-section .section-title,
.social-section .section-subtitle {
  color: white;
}

.youtube-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Massive Social Icons & Counters */
.massive-social-icon {
  font-size: 4rem;
  color: white;
  transition: var(--transition);
  display: inline-block;
  margin: 0 15px;
}

.massive-social-icon:hover {
  transform: translateY(-10px) scale(1.1);
  color: var(--accent-color);
}

.subscriber-counter-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.subscriber-count {
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.subscriber-label {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* The Gem Spine Advantage */
.advantage-section {
  background: var(--bg-light);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  border: 2px solid rgba(13, 71, 161, 0.1);
}

.advantage-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
}

.advantage-item p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Testimonials System */
.testimonial-badge {
  color: #f59e0b;
  /* Gold star color */
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 120px;
  color: rgba(0, 0, 0, 0.03);
  font-family: serif;
  line-height: 1;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.testimonial-treatment {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Turn Pain Into Power CTA */
.cta-power-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-power-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.02)"/></svg>') no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.cta-power-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Age-Wise Issues Section */
.age-tabs-container {
  background: var(--bg-white);
  padding: 60px 0;
}

.nav-pills-custom .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  margin: 0 5px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-pills-custom .nav-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  box-shadow: 0 10px 20px rgba(13, 71, 161, 0.2);
}

.age-issue-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--accent-color);
  height: 100%;
  transition: var(--transition);
}

.age-issue-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.age-issue-card h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.age-issue-list {
  list-style: none;
  padding: 0;
}

.age-issue-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.age-issue-list li::before {
  content: '\e900';
  /* icon-check or similar from font-icon */
  font-family: 'icomoon' !important;
  font-weight: bold;
}

/* FAQ Accordion Premium */
.faq-section {
  background: var(--bg-light);
}

.faq-accordion .card {
  border: none;
  margin-bottom: 15px;
  border-radius: 12px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.faq-accordion .card-header {
  background: white;
  border: none;
  padding: 0;
}

.faq-accordion .btn-link {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.faq-accordion .btn-link:after {
  content: '\e911';
  /* icon-chevron-down */
  font-family: 'icomoon' !important;
  transition: transform 0.3s ease;
}

.faq-accordion .btn-link:not(.collapsed) {
  color: var(--primary-color);
  background: rgba(13, 71, 161, 0.02);
}

.faq-accordion .btn-link:not(.collapsed):after {
  transform: rotate(180deg);
}

.faq-accordion .card-body {
  padding: 20px 25px 30px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Footer (Original) */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 80px 0 30px;
}

.footer a {
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  margin-right: 10px;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Anti-Scam Modal Professional Design */
.scam-modal .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.scam-modal .modal-header {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  color: white;
  border-bottom: none;
  padding: 15px 25px;
  position: relative;
}

.scam-modal .modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
}

.scam-modal .modal-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.pulse-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }

  100% {
    transform: scale(1);
  }
}

.scam-modal .close {
  color: white;
  opacity: 0.8;
  font-size: 1.5rem;
  text-shadow: none;
  transition: transform 0.3s;
}

.scam-modal .close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.scam-modal .modal-body {
  padding: 20px 25px 15px;
  font-size: 1rem;
  line-height: 1.5;
  color: #2d3748;
}

.scam-modal .modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 25px;
  background: #f8fafc;
}

.scam-alert-box {
  background: #fff5f5;
  border-left: 5px solid #e53e3e;
  padding: 12px 15px;
  border-radius: 8px;
  margin: 15px 0;
  box-shadow: 0 4px 6px rgba(229, 62, 62, 0.05);
}

.scam-alert-box h6 {
  color: #c53030;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.scam-alert-box ul li {
  color: #4a5568;
  margin-bottom: 5px;
}

.scam-alert-box ul li:last-child {
  margin-bottom: 0;
}

.scam-contact-highlight {
  background: #ebf8ff;
  border: 1px dashed #4299e1;
  padding: 15px;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(66, 153, 225, 0.1);
}

.btn-danger-premium {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  border: none;
  color: white;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-danger-premium:hover {
  background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(229, 62, 62, 0.3);
  color: white;
}

/* Body Map Interactive System */
.body-map-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 30px;
  background: white;
  box-shadow: var(--card-shadow);
  overflow: visible;
  /* Changed from hidden to show popups */
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 5;
}

.anatomy-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: radial-gradient(circle, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 20px;
}

.anatomy-map-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* Hotspot Design */
.hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 15px rgba(10, 37, 64, 0.4);
  transition: var(--transition);
}

.hotspot::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: rgba(10, 37, 64, 0.2);
  border-radius: 50%;
  animation: hotspot-pulse 2s infinite;
}

.hotspot:hover {
  transform: scale(1.3);
  background: var(--accent-color);
  z-index: 100;
}

@keyframes hotspot-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Info Popup */
.hotspot-info {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 300px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  /* Slight delay to catch mouse movement */
  z-index: 9999;
  border-bottom: 5px solid var(--primary-color);
  text-align: left;
  pointer-events: auto;
  /* Allow interaction with links */
}

/* Hover Bridge: ensures focus isn't lost between dot and popup */
.hotspot::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 50px;
  background: transparent;
  pointer-events: none;
}

.hotspot:hover::after {
  pointer-events: auto;
}

.hotspot:hover .hotspot-info {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hotspot-info h5 {
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-family: 'Outfit', sans-serif;
}

.hotspot-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.5;
}

.hotspot-info .btn-learn {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.hotspot-info .btn-learn:hover {
  gap: 10px;
  color: var(--secondary-color);
}

/* Specific Positions for the 3D Skeleton Render */
.hotspot-neck {
  top: 12%;
  left: 50%;
}

.hotspot-shoulder-l {
  top: 18%;
  left: 38%;
}

.hotspot-shoulder-r {
  top: 18%;
  left: 62%;
}

.hotspot-elbow-l {
  top: 32%;
  left: 30%;
}

.hotspot-elbow-r {
  top: 32%;
  left: 70%;
}

.hotspot-wrist-l {
  top: 48%;
  left: 24%;
}

.hotspot-wrist-r {
  top: 48%;
  left: 76%;
}

.hotspot-upper-spine {
  top: 22%;
  left: 50%;
}

.hotspot-mid-spine {
  top: 35%;
  left: 50%;
}

.hotspot-lower-back {
  top: 48%;
  left: 50%;
}

.hotspot-navel {
  top: 52%;
  left: 50%;
}

.hotspot-hip-l {
  top: 52%;
  left: 42%;
}

.hotspot-hip-r {
  top: 52%;
  left: 58%;
}

.hotspot-knee-l {
  top: 74%;
  left: 44%;
}

.hotspot-knee-r {
  top: 74%;
  left: 56%;
}

.hotspot-ankle-l {
  top: 92%;
  left: 45%;
}

.hotspot-ankle-r {
  top: 92%;
  left: 55%;
}

@media (max-width: 991px) {
  .body-map-container {
    padding: 20px;
    border-radius: 0;
  }

  .hotspot-info {
    width: 260px;
  }
}

@media (max-width: 576px) {
  .hotspot {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }

  .hotspot-info {
    position: fixed;
    bottom: 20px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    transform: none;
    bottom: 80px;
  }

  .hotspot:hover .hotspot-info {
    transform: none;
  }
}

/* === WAVE 1: INTERACTIVE FEATURES === */

/* Smart Search */
.search-container {
  position: relative;
  min-width: 200px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(13, 71, 161, 0.05);
  border-radius: 50px;
  padding: 5px 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.search-box:focus-within {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
  width: 250px;
}

.search-icon {
  color: var(--text-muted);
  margin-right: 10px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  width: 100%;
}

.search-results-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--hover-shadow);
  margin-top: 10px;
  display: none;
  z-index: 1100;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-item {
  padding: 12px 20px;
  display: block;
  text-decoration: none;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.search-result-item:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  padding-left: 25px;
}

.search-result-item .category {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

/* Symptom Checker Wizard */
.symptom-checker-outer {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.symptom-card {
  background: white;
  border-radius: 30px;
  padding: 60px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.wizard-step {
  display: none;
  animation: symptomFadeIn 0.5s ease forwards;
}

.wizard-step.active {
  display: block;
}

.body-parts-grid,
.duration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {

  .body-parts-grid,
  .duration-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.body-part-btn,
.step-btn {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  padding: 25px 15px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.body-part-btn span {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.body-part-btn:hover,
.step-btn:hover {
  border-color: var(--primary-color);
  background: rgba(13, 71, 161, 0.02);
  transform: translateY(-5px);
}

.body-part-btn.selected,
.step-btn.selected {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.body-part-btn.selected span {
  color: white;
}

.wizard-progress {
  height: 6px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px;
}

.progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.4s ease;
}

.pulse-icon {
  animation: pulseShadow 2s infinite;
  display: inline-block;
  border-radius: 50%;
}

@keyframes pulseShadow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(13, 71, 161, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(13, 71, 161, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(13, 71, 161, 0);
  }
}

/* Before/After Slider */
.comparison-slider-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  /* 4:3 aspect ratio */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--hover-shadow);
}

.comparison-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-img,
.after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.after-img {
  width: 50%;
  z-index: 2;
  border-right: 2px solid white;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border: 4px solid white;
}

.label-before,
.label-after {
  position: absolute;
  bottom: 20px;
  padding: 5px 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
  z-index: 4;
  pointer-events: none;
}

.label-before {
  right: 20px;
}

.label-after {
  left: 20px;
}

@keyframes symptomFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === PROACTIVE WHATSAPP WIDGET === */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.chat-bubble {
  background: white;
  border-radius: 20px 20px 5px 20px;
  padding: 20px;
  box-shadow: var(--hover-shadow);
  width: 280px;
  display: none;
  animation: symptomFadeIn 0.5s ease forwards;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

[data-theme="dark"] .chat-bubble {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.05);
}

/* Proactive Chat Header Refinement */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.chat-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.chat-name span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-option-btn {
  background: var(--bg-light);
  border: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  text-align: left;
  color: var(--text-dark);
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
}

.chat-option-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(-5px);
}

.whatsapp-float-v2 {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.whatsapp-float-v2:hover {
  transform: scale(1.1) rotate(5deg);
}

.notification-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 15px;
  height: 15px;
  background: #ff3b30;
  border: 2px solid white;
  border-radius: 50%;
  animation: pulseShadow 2s infinite;
}

/* === INFINITE IMAGE MARQUEE === */
.marquee-section {
  background: white;
  padding: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
}

.marquee-content {
  display: flex;
  gap: 30px;
  animation: marquee-scroll 50s linear infinite;
  flex-shrink: 0;
}

.marquee-content img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  cursor: pointer;
}

.marquee-content img:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}