  /* ===== CSS VARIABLES ===== */
:root {
  --primary: #00c8ff;
  --secondary: #7b2dff;
  --accent: #ff2d7b;
  --dark: #0a0e17;
  --darker: #030609;
  --light: #f8fbff;
  --gray: #7a8da9;
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', 'Arial Narrow', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 10px;
  --border-radius-sm: 6px;
  --membrane-medium: rgba(123, 45, 255, 0.3);
  --hover-blueish-black: rgba(3, 6, 9, 0.95);
  --white: #ffffff;
  --glow: 0 0 15px rgba(0, 200, 255, 0.5);
}

/* ===== GLOBAL STYLES & RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--light);
  background-color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-size: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== ANIMATIONS & EFFECTS ===== */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(0, 200, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 255, 0); }
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes iconRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(90deg); }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes cardStagger {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes backgroundZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes carouselSlide {
  0% { opacity: 0; transform: translateY(20px); }
  5% { opacity: 1; transform: translateY(0); }
  15% { opacity: 1; transform: translateY(0); }
  20% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* ===== PARTICLE NETWORK STYLES ===== */
.particle-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  pointer-events: none;
}

/* ===== GLOW EFFECTS ===== */
.glow-effect {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -150px;
  right: -100px;
  animation: float 10s ease-in-out infinite 2s;
}

.glow-3 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  animation: float 12s ease-in-out infinite 4s;
}

/* ===== ENHANCED CONTAINER GLOW EFFECTS ===== */
.main-container,
.treatments-carousel,
.search-bar input,
.mobile-search input {
  box-shadow: 0 0 6px rgba(123, 45, 255, 0.15), 
              0 0 10px rgba(0, 200, 255, 0.1);
  transition: box-shadow 0.3s ease;
  border: 1px solid rgba(0, 100, 255, 0.4);
}

.main-container:hover,
.treatments-carousel:hover {
  box-shadow: 0 0 10px rgba(123, 45, 255, 0.25), 
              0 0 15px rgba(0, 200, 255, 0.15);
  border-color: rgba(0, 150, 255, 0.7);
}

.search-bar input:focus,
.mobile-search input:focus {
  box-shadow: 0 0 8px rgba(123, 45, 255, 0.2), 
              0 0 12px rgba(0, 200, 255, 0.12),
              inset 0 0 3px rgba(123, 45, 255, 0.1);
  outline: none;
  border-color: rgba(0, 150, 255, 0.8);
}

/* ===== BORDER STYLES ===== */
.btn,
.mobile-header,
.mobile-nav-links a,
.mobile-cta,
.mobile-bottom-nav a,
.social-icons a {
  border: 1px solid rgba(0, 100, 255, 0.3);
}

/* ===== BORDER RADIUS ===== */
.main-container,
.treatments-carousel,
.mobile-nav,
.search-bar input,
.mobile-search input,
.btn,
.mobile-header,
.mobile-nav-links a,
.mobile-cta,
.mobile-bottom-nav a {
  border-radius: var(--border-radius);
}

.search-bar input,
.mobile-search input,
.mobile-cta,
.btn,
.mobile-bottom-nav a {
  border-radius: var(--border-radius-sm);
}

.top-section,
.bottom-section {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

img, svg {
  border-radius: var(--border-radius-sm);
}

/* ===== SEARCH BAR STYLES ===== */
.search-bar, .mobile-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-bar form, .mobile-search form {
  display: flex;
  width: 100%;
  position: relative;
}

.search-bar input, .mobile-search input {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
  background: rgba(5, 8, 15, 0.5);
  color: var(--light);
}

.search-bar input:focus, .mobile-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.search-bar button, .mobile-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: var(--gray);
  transition: color 0.3s ease;
}

.search-bar button:hover, .mobile-search button:hover {
  color: var(--primary);
}

.search-bar.focused,
.mobile-search.focused {
  box-shadow: 0 0 10px rgba(123, 45, 255, 0.3);
}

/* ===== STRATEGIC LINK STYLES ===== */
/* Internal Links - Brand Engagement */
.internal-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 200, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.internal-link:hover {
    color: #ffffff;
    background: rgba(0, 200, 255, 0.1);
    border-bottom: 1px solid var(--primary);
    border-radius: 3px;
    padding: 0 2px;
}

/* External Links - Trust Building */
.external-link {
    color: #3b82f6;
    text-decoration: none;
    border-bottom: 1px dotted rgba(59, 130, 246, 0.3);
    position: relative;
    padding-right: 15px;
}

.external-link:after {
    content: "↗";
    position: absolute;
    font-size: 0.8em;
    margin-left: 4px;
    opacity: 0.7;
}

.external-link:hover {
    color: #60a5fa;
    border-bottom: 1px solid #3b82f6;
}

.external-link:hover:after {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Hub Page Links - Content Ecosystem */
.hub-link {
    color: #8b5cf6;
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    font-weight: 500;
    transition: all 0.3s ease;
}

.hub-link:hover {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), transparent);
    padding: 0 4px;
    border-radius: 4px;
}

/* Phone Links */
.phone-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted rgba(255, 45, 123, 0.3);
}

.phone-link:hover {
    color: #ff6ba3;
    border-bottom: 1px solid var(--accent);
}

/* Small note text */
.small-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.5;
}

/* Treatment CTA Container */
.treatment-cta-container {
    background: linear-gradient(135deg, rgba(5, 9, 17, 0.8), rgba(10, 14, 23, 0.9));
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 200, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.treatment-cta-container h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

/* ===== ABOUT US TAG STYLES ===== */
.about-us-tag {
  padding: 12px 24px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  justify-content: center;
  height: 44px;
  box-sizing: border-box;
  
  /* Desktop only - responsive width */
  width: clamp(140px, 15vw, 200px);
  min-width: 140px;
  max-width: 200px;
}

/* Optimize for different desktop screen sizes */
@media (min-width: 1400px) {
  .about-us-tag {
    width: 15%; /* Use percentage on very large screens */
    min-width: 160px;
    max-width: 220px;
    font-size: 0.95rem;
    padding: 12px 28px;
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .about-us-tag {
    width: 180px; /* Fixed width for standard desktop */
    font-size: 0.9rem;
    padding: 11px 24px;
  }
}

@media (max-width: 1199px) and (min-width: 1024px) {
  .about-us-tag {
    width: 170px;
    font-size: 0.9rem;
    padding: 10px 22px;
  }
}

@media (max-width: 1023px) and (min-width: 769px) {
  .about-us-tag {
    width: 160px;
    font-size: 0.85rem;
    padding: 9px 20px;
    height: 42px;
  }
}

/* Mobile hidden - this matches your existing media query */
@media (max-width: 768px) {
  .about-us-tag {
    display: none !important;
  }
}

/* Hover effects */
.about-us-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.about-us-tag:hover::before {
  transform: translateX(100%);
}

.about-us-tag:hover {
  animation: pulse 2s infinite;
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.info-text {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  opacity: 0.5;
  z-index: 10;
  letter-spacing: 0.5px;
  font-weight: 300;
}

.desktop-content-container {
  display: none;
}

/* ===== SECTION HEADER ===== */
.section-header {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1.5rem;
  padding: 1rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  box-sizing: border-box;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
  padding-bottom: 8px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
  padding: 0 1rem;
}

/* ===== MOBILE HEADER & NAVIGATION ===== */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 8, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1100;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(0, 200, 255, 0.1);
  box-sizing: border-box;
  height: 60px;
  display: flex;
  align-items: center;
}

.mobile-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mobile-logo {
  height: 35px;
  display: flex;
  align-items: center;
}

.mobile-logo svg {
  height: 100%;
  width: auto;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  background: rgba(0, 200, 255, 0.1);
  transform: scale(1.1);
}

.mobile-nav {
  position: fixed;
  top: 60px;
  right: -100%;
  width: 100%;
  height: calc(100vh - 60px);
  background: var(--darker);
  padding: 1.5rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 1101;
  box-sizing: border-box;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: none;
}

.mobile-search {
  position: relative;
  margin-bottom: 1.5rem;
}

.mobile-search input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray);
  border-radius: 2rem;
  background: rgba(5, 8, 15, 0.5);
  color: var(--light);
  font-size: 0.9rem;
}

.mobile-search button {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 2rem;
}

.mobile-nav-links li {
  margin-bottom: 0.5rem;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 0.8rem 0;
  color: var(--light);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.mobile-nav-links a:hover {
  color: var(--primary);
  background: rgba(0, 200, 255, 0.1);
}

.mobile-nav-links i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.mobile-nav-links a:hover i {
  transform: translateX(3px);
}

.mobile-social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
}

.mobile-social-icons a {
  color: var(--primary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.mobile-social-icons a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.mobile-cta {
  display: block;
  margin-top: 1.5rem;
  padding: 0.8rem;
  background: var(--primary);
  color: var(--dark);
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-cta:hover {
  background: #00b4e6;
  transform: translateY(-2px);
}

.mobile-nav-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--darker);
  z-index: 1000;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  justify-content: space-around;
  align-items: center;
  height: 70px;
}

.mobile-bottom-nav a {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  box-sizing: border-box;
  min-width: 0;
  border-radius: 6px;
  margin: 0 0.25rem;
}

.mobile-bottom-nav a i {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active {
  color: var(--primary);
  background: rgba(0, 200, 255, 0.1);
}

.mobile-bottom-nav a:hover i {
  transform: translateY(-2px);
}

.floating-cta-container {
  position: fixed;
  bottom: 90px;
  right: 15px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.floating-cta {
  padding: 12px 20px;
  color: var(--text-light);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.floating-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.floating-cta:hover::before {
  transform: translateX(100%);
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.floating-cta-glow {
  animation: pulse 2s infinite;
}

.whatsapp-cta {
  background-color: rgba(37, 211, 102, 0.2);
  border-color: #25D366;
}

.whatsapp-cta:hover {
  background-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
  animation: pulse-whatsapp 1.5s infinite;
  transform: translateY(-3px) scale(1.03);
}

.schedule-cta {
  background-color: rgba(0, 200, 255, 0.15);
  border-color: var(--primary);
}

.schedule-cta:hover {
  background-color: rgba(0, 200, 255, 0.25);
  box-shadow: var(--glow);
  animation: pulse 1.5s infinite;
  transform: translateY(-3px) scale(1.03);
}

.cta-text {
  display: inline;
}

/* ===== MOBILE-FIRST RESPONSIVE DESIGN ===== */
.main-container {
  background: rgba(5, 9, 17, 0.85);
  backdrop-filter: blur(10px);
  min-height: calc(80vh - 60px);
  margin: 10px auto 30px;
  padding: 1rem;
  border-radius: 12px;
  width: 97%;
  max-width: 100%;
  border: 1px solid rgba(0, 200, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 50, 100, 0.5);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
  width: 100%;
}

.contact-title {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
  font-family: var(--font-heading);
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
}

.contact-info-container, 
.contact-form-container {
  flex: 1;
  min-width: 0;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--membrane-medium);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.contact-info-container:hover,
.contact-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 200, 255, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--light);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 14, 23, 0.5);
  border: 1px solid var(--membrane-medium);
  border-radius: 6px;
  color: var(--light);
  font-family: var(--font-main);
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 200, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.phone-time-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.phone-time-container > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.time-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

/* ===== BUTTON STYLES ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.cta-button.primary {
  background: var(--primary);
  color: var(--dark);
}

.cta-button.primary:hover {
  background: #00b4e6;
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.cta-button.secondary {
  background: rgba(0, 200, 255, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.cta-button.secondary:hover {
  background: rgba(0, 200, 255, 0.2);
  transform: translateY(-2px);
}

.submit-btn {
  background: var(--primary);
  color: var(--dark);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-family: var(--font-heading);
  width: 100%;
  min-width: 150px;
  font-size: 1rem;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #00b4e6;
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.mobile-cta:hover {
  background: #00b4e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 200, 255, 0.3);
}

.cta-link {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.cta-link:hover {
  text-decoration: underline;
}

/* ===== FLOATING CTAs ===== */
.floating-cta-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

/* ===== Content Section Styles ===== */
.content-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(10, 15, 25, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(0, 150, 255, 0.1);
}

.content-section h2 {
  color: #00c8ff;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  border-bottom: 2px solid #00c8ff;
  padding-bottom: 0.5rem;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.neuro-highlight {
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.1), transparent);
  padding: 0.4rem 0.8rem;
  border-left: 3px solid #00c8ff;
  margin: 0.8rem 0;
  font-style: italic;
}

.stat-highlight {
  background: rgba(46, 204, 113, 0.1);
  padding: 0.4rem 0.8rem;
  border-left: 3px solid #27ae60;
  margin: 0.8rem 0;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

/* ===== TAB SYSTEM STYLES ===== */
.tabs-container {
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.tabs-nav-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tabs-nav-scrollable {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
  margin: 0 40px;
}

.tabs-nav-scrollable::-webkit-scrollbar {
  display: none;
}

.tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 200, 255, 0.2);
  flex-wrap: nowrap;
  min-width: max-content;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--gray);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.tab-btn:hover::before {
  left: 100%;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(0, 200, 255, 0.1);
  transform: translateY(-2px);
}

.tab-btn.active {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.2), rgba(0, 200, 255, 0.3));
  border-bottom: 3px solid var(--primary);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 200, 255, 0.2);
}

.tab-btn i {
  font-size: 0.8rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.tab-btn:hover i {
  opacity: 1;
  animation: iconPulse 0.6s ease;
}

.tab-btn.active i {
  opacity: 1;
  color: #ffffff;
  transform: rotate(90deg);
  animation: iconRotate 0.3s ease;
}

.tab-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 8, 15, 0.9);
  border: 1px solid var(--membrane-medium);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  color: var(--primary);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tab-nav-arrow:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 200, 255, 0.3);
}

.tab-nav-arrow.prev {
  left: 0;
}

.tab-nav-arrow.next {
  right: 0;
}

.tab-nav-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.tab-nav-arrow.disabled:hover {
  background: rgba(5, 8, 15, 0.9);
  color: var(--primary);
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tab-content {
  display: none;
  position: relative;
  z-index: 5;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== COMPARISON TAB - MOBILE ACCORDION ===== */
.comparison-mobile-accordion {
  display: none;
}

.comparison-accordion-item {
  margin-bottom: 10px;
  border: 1px solid rgba(0, 200, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.comparison-accordion-item:hover {
  border-color: rgba(0, 200, 255, 0.3);
  transform: translateY(-1px);
}

.comparison-accordion-question {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: none;
  color: var(--light);
  padding: 15px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.comparison-accordion-question:hover {
  background: rgba(0, 200, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 200, 255, 0.2);
}

.comparison-accordion-question:hover i {
  color: var(--primary);
  transform: rotate(90deg);
}

.comparison-accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: rgba(10, 15, 25, 0.5);
}

.comparison-accordion-answer > div {
  padding: 15px 20px;
  margin: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease 0.1s;
}

.comparison-accordion-question.active + .comparison-accordion-answer > div {
  opacity: 1;
  transform: translateY(0);
}

.comparison-accordion-question.active i {
  transform: rotate(180deg);
  color: var(--primary);
}

.comparison-accordion-question i {
  transition: all 0.3s ease;
}

/* Mobile Comparison Treatment Details */
.comparison-treatment-details {
  padding: 0;
}

.treatment-comparison-row {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 200, 255, 0.1);
}

.treatment-comparison-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.treatment-option-mobile {
  background: rgba(0, 200, 255, 0.1);
  border-radius: 6px;
  padding: 10px 15px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.treatment-option-mobile:hover {
  background: rgba(0, 200, 255, 0.2);
  transform: translateY(-1px);
}

.treatment-option-mobile h5 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.treatment-option-mobile p {
  color: var(--light);
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

/* Comparison Table - Desktop Only */
.comparison-table {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 255, 0.1);
  display: block;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: rgba(0, 200, 255, 0.1);
  border-bottom: 1px solid rgba(0, 200, 255, 0.2);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.treatment-type, .feature {
  padding: 15px;
  font-weight: 600;
  background: rgba(10, 15, 25, 0.5);
}

.treatment-option, .treatment-value {
  padding: 15px;
  text-align: center;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.treatment-option.active, .treatment-value.active {
  opacity: 1;
  display: block;
}

.treatment-option {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.treatment-option:hover {
  background: rgba(0, 200, 255, 0.15);
  opacity: 0.9;
  transform: translateY(-1px);
}

.treatment-option.active {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.2), rgba(0, 200, 255, 0.3));
  color: var(--primary);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 200, 255, 0.2);
}

.treatment-option.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  animation: slideIn 0.3s ease;
}

.comparison-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 200, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.comparison-cta:hover {
  background: rgba(0, 200, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 200, 255, 0.1);
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 1.5rem;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid rgba(0, 200, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 200, 255, 0.3);
  transform: translateY(-1px);
}

.faq-question {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: none;
  color: var(--light);
  padding: 15px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 200, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 200, 255, 0.2);
}

.faq-question:hover i {
  color: var(--primary);
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: rgba(10, 15, 25, 0.5);
}

.faq-answer p {
  padding: 15px 20px;
  margin: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease 0.1s;
}

.faq-question.active + .faq-answer p {
  opacity: 1;
  transform: translateY(0);
}

.faq-question.active i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-question i {
  transition: all 0.3s ease;
}

/* Content animations */
.medical-treatment-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.medical-treatment-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  animation: cardStagger 0.5s ease forwards;
}

/* Focus states for accessibility */
.tab-btn:focus,
.tab-nav-arrow:focus,
.comparison-accordion-question:focus,
.faq-question:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
  .tab-btn:active,
  .medical-treatment-card:active,
  .treatment-option:active,
  .mobile-bottom-nav a:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  
  .mobile-bottom-nav a:active {
    background: rgba(0, 200, 255, 0.2);
  }
}

/* Loading states */
.tab-content.loading {
  position: relative;
  min-height: 200px;
}

.tab-content.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 200, 255, 0.3);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Print styles */
@media print {
  .tabs-nav-wrapper,
  .tab-nav-arrow {
    display: none;
  }
  
  .tab-content {
    display: block !important;
    page-break-inside: avoid;
  }
  
  .medical-treatment-card {
    break-inside: avoid;
  }
}

/* Mobile optimization */
.tab-nav-arrow {
  display: flex;
}

/* NEW: Enhanced Medical Treatment Card Styles */
.medical-treatment-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: 100%;
  border: 1px solid #e1e8ed;
  position: relative;
  color: #333;
}

.medical-treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(10px);
}

.badge.evidence {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge.popular {
  background: rgba(155, 89, 182, 0.15);
  color: #8e44ad;
  border: 1px solid rgba(155, 89, 182, 0.3);
}

.card-image {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.medical-treatment-card:hover .card-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  color: white;
}

.treatment-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.treatment-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  color: white;
}

.card-content {
  padding: 25px;
}

.treatment-description {
  color: #5d6d7e;
  margin-bottom: 20px;
  line-height: 1.6;
}

.treatment-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.8rem;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.treatment-benefits {
  margin-bottom: 20px;
}

.benefits-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #5d6d7e;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.benefit-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.benefit-item i {
  color: #27ae60;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.benefit-text {
  font-weight: 500;
}

.clinical-rationale {
  background: #f0f7ff;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid #3498db;
}

.rationale-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rationale-text {
  font-size: 0.85rem;
  color: #5d6d7e;
  line-height: 1.5;
}

.related-conditions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
}

.related-conditions h4 {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.condition-link {
  display: inline-block;
  background: rgba(0, 200, 255, 0.1);
  color: var(--light);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 5px;
  margin-bottom: 5px;
  text-decoration: none;
  transition: var(--transition);
}

.condition-link:hover {
  background: rgba(0, 200, 255, 0.2);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Treatment Grid Styles for Mobile */
.conditions-grid,
.treatment-approach-grid,
.symptoms-card-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0;
  margin: 0;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.conditions-grid::-webkit-scrollbar,
.treatment-approach-grid::-webkit-scrollbar,
.symptoms-card-grid::-webkit-scrollbar {
  display: none;
}

.medical-treatment-card {
  min-width: 85%;
  max-width: 85%;
  scroll-snap-align: start;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Multi-column layout for desktop */
.conditions-grid.multi-column,
.treatment-approach-grid.multi-column,
.symptoms-card-grid.multi-column {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 1.5rem;
}

.conditions-grid.multi-column .medical-treatment-card,
.treatment-approach-grid.multi-column .medical-treatment-card,
.symptoms-card-grid.multi-column .medical-treatment-card {
  margin-bottom: 1rem;
}

/* Reduce comparison table padding */
.treatment-type, .feature, .treatment-option, .treatment-value {
  padding: 10px;
}

/* Reduce FAQ padding */
.faq-question {
  padding: 12px 15px;
}

.faq-answer p {
  padding: 12px 15px;
}

/* MOBILE-ONLY: Text wrapping and overflow fixes */
.medical-treatment-card p,
.neuro-highlight,
.stat-highlight,
.comparison-cta p,
.faq-answer p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.medical-treatment-card h3,
.treatment-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, rgba(5, 9, 17, 0.95) 0%, rgba(10, 14, 23, 0.9) 100%);
  padding: 2rem 1rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 200, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 50, 100, 0.3);
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.background-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.slide-image.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(5, 9, 17, 0.92) 0%, rgba(10, 14, 23, 0.88) 100%),
    linear-gradient(45deg, rgba(0, 200, 255, 0.1) 0%, transparent 50%),
    linear-gradient(225deg, rgba(123, 45, 255, 0.05) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  width: 100%;
}

.hero-text h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: var(--font-heading);
  text-align: center;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
}

.hero-features {
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--light);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
  color: var(--primary);
}

.feature-item i {
  color: var(--primary);
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.feature-item:hover i {
  transform: scale(1.2);
  animation: iconPulse 0.6s ease;
}

.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hip-animation {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hip-animation img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.5s ease;
}

.hip-animation:hover img {
  transform: scale(1.02);
}

.treatment-highlights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.highlight-point {
  position: absolute;
  cursor: pointer;
  z-index: 10;
}

.point-marker {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.7);
  transition: all 0.3s ease;
}

.highlight-point:hover .point-marker {
  transform: scale(1.3);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.8);
}

.point-label,
.point-description {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 6px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(0, 200, 255, 0.3);
  min-width: 160px;
  width: auto;
  text-align: center;
  z-index: 100;
}

.point-label {
  top: -30px;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.point-description {
  top: 40px;
  padding: 12px 16px;
  background: rgba(0, 10, 20, 0.95);
  min-width: 220px;
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: 0 5px 20px rgba(0, 200, 255, 0.2);
  backdrop-filter: blur(10px);
  z-index: 101;
  white-space: normal;
  text-align: left;
}

.highlight-point:hover .point-label,
.highlight-point:hover .point-description {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Push mobile contact form up to make CTA visible */
.contact-section {
  padding-bottom: 100px !important;
}

/* Ensure contact form CTA is visible above mobile bottom nav */
.contact-form-container {
  margin-bottom: 80px;
}

/* Adjust floating CTAs to not overlap with contact form */
.floating-cta-container {
  bottom: 100px;
}

/* ===== DESKTOP CAROUSEL FIXES ===== */
.treatments-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.treatments-carousel .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: carouselSlide 27s infinite ease-in-out;
  pointer-events: none;
}

.treatments-carousel .carousel-item.active {
  pointer-events: auto;
}

@keyframes carouselSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
    z-index: 0;
  }
  6.67% {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
  }
  10% {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
  }
  13.33% {
    opacity: 0;
    transform: translateY(-20px);
    z-index: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
    z-index: 0;
  }
}

.treatments-carousel .carousel-item:nth-child(1) {
  animation-delay: 0s;
}

.treatments-carousel .carousel-item:nth-child(2) {
  animation-delay: 3s;
}

.treatments-carousel .carousel-item:nth-child(3) {
  animation-delay: 6s;
}

.treatments-carousel .carousel-item:nth-child(4) {
  animation-delay: 9s;
}

.treatments-carousel .carousel-item:nth-child(5) {
  animation-delay: 12s;
}

.treatments-carousel .carousel-item:nth-child(6) {
  animation-delay: 15s;
}

.treatments-carousel .carousel-item:nth-child(7) {
  animation-delay: 18s;
}

.treatments-carousel .carousel-item:nth-child(8) {
  animation-delay: 21s;
}

.treatments-carousel .carousel-item:nth-child(9) {
  animation-delay: 24s;
}

/* ===== DESKTOP HEADER OVERFLOW PREVENTION ===== */
/* Add overflow prevention for all desktop header sections */
@media (min-width: 769px) {
  /* Ensure header container doesn't overflow */
  #header {
    max-width: 100vw;
    overflow: hidden;
  }
  
  .header-container {
    max-width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  /* Top section overflow prevention */
  .top-section {
    max-width: 100%;
    overflow: hidden;
    flex-wrap: nowrap;
    min-width: 0; /* Allow flex item to shrink */
  }
  
  /* Navigation overflow prevention */
  .nav-menu {
    max-width: 100%;
    overflow: hidden;
    min-width: 0; /* Allow flex item to shrink */
  }
  
  /* Nav links overflow prevention */
  .nav-links {
    flex-wrap: nowrap;
    overflow: hidden;
    min-width: 0;
    justify-content: flex-start;
  }
  
  .nav-links a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    flex-shrink: 1;
    min-width: 0;
  }
  
  /* Logo and search bar fixed sizes */
  .logo {
    flex-shrink: 0;
  }
  
  .search-bar {
    flex-shrink: 0;
    min-width: 200px;
  }
  
  /* Bottom section overflow prevention */
  .header-bottom-container {
    max-width: 100%;
    overflow: hidden;
    flex-wrap: nowrap;
    min-width: 0;
  }
  
  /* Ensure all elements in bottom container don't overflow */
  .about-us-tag,
  .treatments-carousel,
  .cta-buttons {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }
  
  /* Specific adjustments for smaller screens */
  @media (max-width: 1024px) {
    .nav-links a {
      padding: 4px 12px;
      font-size: 0.85rem;
      margin: 0 4px;
    }
    
    .search-bar {
      width: 180px;
      min-width: 180px;
    }
    
    .about-us-tag {
      min-width: 120px;
      font-size: 0.8rem;
      padding: 10px 16px;
    }
    
    .treatments-carousel {
      min-width: 250px;
      font-size: 0.85rem;
    }
  }
}

/* ===== MEDIA QUERIES FOR LARGER SCREENS ===== */

/* Tablet and up */
@media (min-width: 481px) {
  .mobile-bottom-nav a {
    font-size: 0.85rem;
  }
}

/* ===== DESKTOP ONLY STYLES (769px and up) ===== */
@media (min-width: 769px) {
  .mobile-header,
  .mobile-nav,
  .mobile-nav-overlay,
  .mobile-bottom-nav {
    display: none !important;
  }

  #header {
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(62px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: opacity 0.3s ease;
    top: 0;
    left: 0;
    border-bottom: 1px solid var(--membrane-medium);
    display: block !important;
  }

  .header-container {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }

  .logo {
    height: 45px;
    display: flex;
    align-items: center;
  }

  .logo svg {
    height: 100%;
    width: auto;
  }

  .top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 1rem;
    background-color: transparent;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 1rem;
    background-color: transparent;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .nav-menu,
  .contact-info,
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.3px;
    width: 100%;
  }

  .nav-links a {
    position: relative;
    color: var(--text-light);
    text-decoration: none;
    margin: 0 8px;
    padding: 4px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.3px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
  }

  .nav-links a:hover {
    color: var(--primary);
    background-color: rgba(0, 200, 255, 0.1);
    transform: translateY(-2px);
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .search-bar {
    position: relative;
    width: 200px;
    flex-shrink: 0;
  }

  .search-bar input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray);
    border-radius: 2rem;
    background: rgba(5, 8, 15, 0.5);
    color: var(--white);
    transition: var(--transition);
    width: 100%;
    cursor: pointer;
  }

  .search-bar input:focus {
    border-color: var(--accent);
    outline: none;
  }

  .search-bar button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .search-bar button:hover {
    color: var(--primary);
    background: rgba(0, 200, 255, 0.1);
  }

  /* Desktop Header Bottom Section - UPDATED FOR CONSISTENT WIDTHS */
  .header-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 3rem;
    background-color: transparent;
    flex-wrap: nowrap;
    min-height: 60px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 20px; /* Reduced from 210px for better spacing */
  }

  /* About Us Tag - consistent with tab system width behavior */
  .about-us-tag {
    flex: 0 0 auto;
    min-width: 140px;
    max-width: 200px;
  }

  /* Treatments Carousel - fixed percentage width */
  .treatments-carousel {
    width: 50%; /* Fixed percentage width */
    max-width: 500px;
    min-width: 300px;
    height: 50px;
    overflow: hidden;
    position: relative;
    text-align: center;
    background-color: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Center it */
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(123, 45, 255, 0.3);
    border: 1px solid var(--membrane-medium);
    cursor: pointer;
    flex-shrink: 0;
  }

  .treatments-carousel:hover {
    background-color: var(--hover-blueish-black);
    box-shadow: 0 0 20px rgba(123, 45, 255, 0.5), 
                0 0 30px rgba(0, 200, 255, 0.3);
    transform: scale(1.02);
  }

  .carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    color: var(--white);
    font-weight: 550;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
  }

  .carousel-item:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }

  /* CTA Buttons - consistent width */
  .cta-buttons {
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 180px;
    max-width: 220px;
  }

  /* Main container - matches tab system width behavior */
  .main-container {
    width: 95%; /* Changed from 97% to match tab system */
    max-width: 1400px;
    margin: 120px auto 30px;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(5, 9, 17, 0.85);
    backdrop-filter: blur(10px);
    min-height: calc(80vh - 60px);
    border: 1px solid rgba(0, 200, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 50, 100, 0.5);
  }

  /* Tab System - make consistent with other sections */
  .tabs-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 10;
  }

  .tabs-nav-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
  }

  .tabs-nav-scrollable {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    margin: 0;
    width: 100%;
  }

  .tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 200, 255, 0.2);
    flex-wrap: nowrap;
    min-width: max-content;
    justify-content: center;
    width: 100%;
  }

  /* Hero section - consistent width */
  .hero-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 200, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 50, 100, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 500px;
  }

  /* Contact section - consistent width */
  .contact-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
    width: 100%;
  }

  .contact-container {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
  }

  /* Content sections - consistent width */
  .content-section {
    max-width: 1400px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: rgba(10, 15, 25, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(0, 150, 255, 0.1);
  }

  .desktop-content-container {
    display: block;
  }
  
  .tab-nav-arrow {
    display: none;
  }
  
  /* Convert card grids to proper grid layout on desktop */
  .conditions-grid,
  .treatment-approach-grid,
  .symptoms-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow-x: visible;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .medical-treatment-card {
    min-width: auto;
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .card-image {
    height: 200px;
  }
  
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
    text-align: left;
  }
  
  .hero-subtitle {
    text-align: left;
  }
  
  .hero-cta-buttons {
    flex-direction: row;
    width: auto;
  }
  
  .cta-button {
    width: auto;
  }
  
  .floating-cta-container {
    bottom: 30px;
    right: 30px;
  }
  
  .floating-cta {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  
  /* Desktop: Show table, hide mobile accordion */
  .comparison-table {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .comparison-mobile-accordion {
    display: none !important;
  }
  
  .symptoms-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop adjustments for different screen sizes */
@media (min-width: 1024px) {
  .conditions-grid,
  .treatment-approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .symptoms-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .card-image {
    height: 250px;
  }
  
  /* Adjust header bottom container for larger screens */
  .header-bottom-container {
    gap: 60px;
    padding: 0.2rem 4rem;
  }
  
  .treatments-carousel {
    width: 45%;
    max-width: 450px;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .header-bottom-container {
    gap: 80px;
    padding: 0.2rem 5rem;
  }
  
  .treatments-carousel {
    width: 40%;
    max-width: 400px;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  /* Adjust all containers for extra large screens */
  .main-container,
  .tabs-container,
  .hero-section,
  .contact-section,
  .content-section {
    max-width: 1400px;
  }
}

/* Adjust for tablet/desktop hybrid sizes */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-container {
    width: 95%;
    padding: 1rem;
    margin: 120px auto 30px;
  }
  
  .header-bottom-container {
    gap: 30px;
    padding: 0.2rem 2rem;
  }
  
  .treatments-carousel {
    width: 50%;
    max-width: 350px;
    min-width: 250px;
  }

  .contact-container {
    gap: 2rem;
  }
  
  /* Adjust card grid for tablet */
  .conditions-grid,
  .treatment-approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .symptoms-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile optimization */
@media (max-width: 768px) {
  .tabs-nav-scrollable {
    margin: 0 35px;
  }
  
  .tab-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    gap: 6px;
  }
  
  .tab-nav-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  /* MOBILE: Show accordion, hide table */
  .comparison-table {
    display: none !important;
  }
  
  .comparison-mobile-accordion {
    display: block !important;
    margin-top: 1.5rem;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .treatment-option,
  .treatment-value {
    display: none;
  }
  
  .treatment-option.active,
  .treatment-value.active {
    display: block;
  }
  
  body {
    padding-top: 0;
    overflow-x: hidden;
  }
  
  .hero-section {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    margin: 0 !important;
    padding: 1rem;
  }
  
  .section-header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem;
  }
  
  /* Adjust card styles for mobile */
  .medical-treatment-card {
    margin-bottom: 1.5rem;
  }
  
  .card-image {
    height: 180px;
  }
  
  .treatment-stats {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .background-video {
    display: none;
  }
  
  /* Fix mobile carousel animation */
  .treatments-carousel .carousel-item {
    animation: none;
  }
}

@media (max-width: 576px) {
  body {
    padding: 0;
  }
  
  .hero-section {
    padding: 1rem;
    min-height: auto;
  }
  
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .cta-button {
    width: 100%;
  }
  
  .submit-btn {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .medical-treatment-card {
    margin-bottom: 1.5rem;
  }
  
  .card-image {
    height: 150px;
  }
  
  .treatment-description,
  .rationale-text {
    font-size: 0.9rem;
  }
  
  .highlight-point .point-description {
    min-width: 180px;
    font-size: 0.8rem;
    padding: 10px;
  }
}
