
: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);
  --clinic-teal: #00e6c3;
  --clinic-teal-dark: #00b39d;
  --clinic-teal-light: #00f7d6;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--light);
  line-height: 1.6;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

/* ===== 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); }
}

/* ===== GLOW EFFECTS ===== */
.glow-effect {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  z-index: -1;
}

.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;
}

/* ===== COMPONENT STYLES ===== */

/* Enhanced Container Glow Effects */
.main-container,
.footer-column,
.treatments-carousel,
.search-bar input,
.footer-cta,
.footer-social a,
.mobile-search input,
.footer-container,
.footer-bottom,
#cookie-banner {
  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,
.footer-column:hover,
.treatments-carousel:hover,
.footer-cta:hover,
.footer-social a: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 */
.cookie-item,
.cookie-list,
.popup-header,
.popup-actions,
.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,
.footer-column,
.treatments-carousel,
.mobile-nav,
.search-bar input,
.footer-cta,
.footer-social a,
.mobile-search input,
.footer-container,
.footer-bottom,
#cookie-banner,
.cookie-item,
.cookie-list,
.popup-header,
.popup-actions,
.btn,
.mobile-header,
.mobile-nav-links a,
.mobile-cta,
.mobile-bottom-nav a,
.nav-links a,
.contact-info a,
.social-icons a,
.medical-tourism {
  border-radius: var(--border-radius);
}

.search-bar input,
.mobile-search input,
.mobile-cta,
.btn,
.mobile-bottom-nav a,
.footer-cta {
  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);
}

/* ===== HEADER & NAVIGATION ===== */

/* Desktop Header */
@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: wrap;
  }

  .bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 1rem;
    background-color: transparent;
    flex-wrap: wrap;
  }

  .nav-menu,
  .contact-info,
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.3px;
  }

  .nav-links a {
    position: relative;
    color: var(--text-light);
    text-decoration: none;
    margin: 0 8px;
    padding: 4px 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.3px;
    border-radius: 4px;
    cursor: pointer;
  }

  .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;
  }

  .search-bar {
    position: relative;
    width: 200px;
  }

  .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);
  }

  .medical-tourism {
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(10px);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .medical-tourism:hover {
    color: var(--accent);
    transform: translateY(-2px);
    background: rgba(0, 200, 255, 0.1);
  }

  .treatments-carousel {
    width: 450px;
    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;
    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;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out, text-shadow 0.3s ease;
    transform: translateY(20px);
    color: var(--white);
    font-weight: 550;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0);
    cursor: pointer;
  }

  .carousel-item:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }

  .carousel-item.active {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 8px rgba(123, 45, 255, 0.5);
  }

  .carousel-item.active:hover {
    text-shadow: 0 0 12px rgba(123, 45, 255, 0.8);
  }

  .cta-buttons {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .footer-cta {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
  }

  .header-bottom-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.2rem 1rem;
    background-color: transparent;
    flex-wrap: nowrap;
    gap: 210px;
    min-height: 60px;
    width: 100%;
  }

  .desktop-content-container {
    display: block;
  }
}

/* Mobile Header & Navigation */
@media (max-width: 768px) {
  .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;
  }

  .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;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  #header,
  .site-footer {
    display: none !important;
  }

  .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 {
    bottom: 90px;
    right: 15px;
  }
  
  body {
    padding-top: 0;
    overflow-x: hidden;
  }
}

/* ===== 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%;
}

.search-bar input:focus, .mobile-search input:focus {
  outline: none;
  border-color: #007bff;
  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: #666;
  transition: color 0.3s ease;
}

.search-bar button:hover, .mobile-search button:hover {
  color: #007bff;
}

.search-bar.focused,
.mobile-search.focused {
  box-shadow: 0 0 10px rgba(123, 45, 255, 0.3);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(5, 8, 15, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--membrane-medium);
  border-radius: var(--border-radius);
  margin-top: 5px;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 10px 15px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.suggestion-item:hover {
  background: rgba(0, 200, 255, 0.1);
}

.suggestion-item i {
  color: var(--primary);
  width: 16px;
}

/* ===== HERO SECTION STYLES ===== */
.tab-hero {
  display: none;
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  height: 400px;
  margin-top: 110px;
}

.tab-hero.active {
  display: block;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 8, 15, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  color: var(--light);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  width: fit-content;
}

.hero-cta:hover {
  background: #00b4e6;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
  transform: translateY(-2px);
}

/* ===== TAB ROTATOR STYLES ===== */
.tab-rotator-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  padding: 0 120px;
  height: 102px;
}

.rotator-title {
  position: absolute;
  text-align: center;
  transition: all 0.5s ease;
  opacity: 0.3;
  transform: scale(0.8);
  width: 200px;
}

.rotator-title.prev {
  left: 0;
  transform: translateX(30px) scale(0.8);
}

.rotator-title.next {
  right: 0;
  transform: translateX(-30px) scale(0.8);
}

.rotator-title.active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
  width: 300px;
}

.rotator-title h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 700;
}

.rotator-title p {
  font-size: 0.9rem;
  color: var(--gray);
}

.rotator-title.active h2 {
  font-size: 2rem;
  text-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
}

.rotator-title.active p {
  font-size: 1rem;
  color: var(--light);
}

/* Rotator Controls & Arrows */
.rotator-arrows-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 20;
}

.rotator-arrows-overlay .rotator-btn {
  pointer-events: all;
  background: rgba(0, 200, 255, 0.1);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.rotator-arrows-overlay .rotator-btn:hover {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
  transform: translateY(-2px);
}

.rotator-arrows-overlay .rotator-btn:active {
  transform: translateY(0);
}

.rotator-arrows-overlay .rotator-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.rotator-arrows-overlay .rotator-btn:disabled:hover {
  background: rgba(0, 200, 255, 0.1);
  color: var(--primary);
  box-shadow: none;
}

.rotator-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.rotator-btn {
  background: rgba(0, 200, 255, 0.1);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.rotator-btn:hover {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
  transform: translateY(-2px);
}

.rotator-btn:active {
  transform: translateY(0);
}

.rotator-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.rotator-btn:disabled:hover {
  background: rgba(0, 200, 255, 0.1);
  color: var(--primary);
  box-shadow: none;
}

.rotator-indicator {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.indicator-dot {
  width: 13.2px;
  height: 13.2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator-dot.active {
  background: var(--primary);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE ROTATOR POSITIONING ===== */
@media (max-width: 768px) {
    /* Hide rotator titles and subtitles on mobile */
    .rotator-title h2,
    .rotator-title p {
        display: none;
    }
    
    /* Adjust rotator container to pull arrows and dots up */
    .tab-rotator-container {
        height: 60px;
        margin-top: -40px;
        margin-bottom: 0;
        padding: 0;
    }
    
    /* Position arrows closer beneath hero */
    .rotator-arrows-overlay {
        top: 30%;
    }
    
    /* Position dots closer beneath hero */
    .rotator-controls {
        margin-top: -3px;
        margin-bottom: 1.5rem;
    }
    
    /* Reduce hero bottom margin to bring elements closer */
    .tab-hero.active {
        margin-bottom: -100px;
    }
}

/* ===== DESKTOP: KEEP ORIGINAL LAYOUT ===== */
@media (min-width: 769px) {
    /* Ensure titles remain visible on desktop */
    .rotator-title h2,
    .rotator-title p {
        display: block;
    }
}

/* ===== 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;
}

.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;
}

.treatment-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

.card-content {
  padding: 25px;
}

.treatment-description {
  color: #5d6d7e;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.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;
  text-align: justify;
  text-justify: inter-word;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn {
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  width: 100%;
}

.btn-secondary {
  background: transparent;
  color: #3498db;
  border: 1px solid #3498db;
}

.btn-secondary:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
}

.btn-primary {
  background: #3498db;
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* ===== 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;
}

/* ===== DIVIDER ===== */
.divider {
  border: none;
  height: 3.5px;
  background: linear-gradient(to right, transparent, #3498db, transparent );
  margin: 20px 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: #3498db;
  border-radius: 50%;
  top: 50%;
}

.divider::before {
  left: 30%;
}

.divider::after {
  right: 30%;
}

/* ===== CONTACT SECTION ===== */
.contact {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 0;
  width: 92.5%;
}

.contact-container {
  display: flex;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem;
  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: 1rem;
  border: 1px solid var(--membrane-medium);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.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);
  cursor: pointer;
  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;
  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:hover,
.submit-btn:hover,
.header-cta:hover,
.footer-cta:hover,
.mobile-cta:hover {
  background: #00b4e6;
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.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: auto;
  min-width: 150px;
  font-size: 1rem;
}

.mobile-cta {
  display: block;
  text-align: center;
  padding: 15px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 16px;
  margin-top: 15px;
  cursor: pointer;
}

.mobile-cta:hover {
  background: #00b4e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 200, 255, 0.3);
}

/* ===== 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;
}

.floating-cta {
  padding: 14px 28px;
  color: var(--text-light);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  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;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background: var(--darker);
  color: var(--light);
  margin-top: 1rem;
  position: relative;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
  width: 100%;
}

.footer-logo svg {
  height: 58px;
  width: auto;
  max-width: none;
}

.footer-logo {
  display: inline-block;
  margin-bottom: .5rem;
}

.footer-container {
  max-width: 100%;
  margin: 0;
  padding: 0 1rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.footer-column {
  padding: 1rem;
}

.footer-about {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--primary);
  background: rgba(0, 200, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.footer-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.footer-cta::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;
}

.footer-cta:hover {
  animation: pulse 1.5s infinite;
  transform: translateY(-3px) scale(1.03);
}

.footer-cta:hover::before {
  transform: translateX(100%);
}

.footer-bottom {
  border-top: 1px solid rgba(138, 155, 184, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--gray);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ===== COOKIE CONSENT STYLES ===== */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  background: white;
  color: #2c3e50;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  overflow: hidden;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

#cookie-banner.visible {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

#cookie-banner .popup-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cookie-banner .popup-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #2c3e50;
}

#cookie-banner .cookie-list {
  max-height: 200px;
  overflow-y: auto;
  padding: 10px 15px;
}

#cookie-banner .cookie-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

#cookie-banner .cookie-name {
  font-size: 0.9rem;
  font-weight: 500;
}

#cookie-banner .toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

#cookie-banner .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#cookie-banner .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  transition: .4s;
  border-radius: 20px;
}

#cookie-banner .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

#cookie-banner input:checked + .slider {
  background-color: #2ecc71;
}

#cookie-banner input:checked + .slider:before {
  transform: translateX(20px);
}

#cookie-banner .popup-actions {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  background: #f9f9f9;
}

#cookie-banner .btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
  font-size: 0.85rem;
}

#cookie-banner .btn-primary {
  background: #2ecc71;
  color: white;
}

#cookie-banner .btn-primary:hover {
  background: #27ae60;
}

#cookie-banner .btn-secondary {
  background: #95a5a6;
  color: white;
}

#cookie-banner .btn-secondary:hover {
  background: #7f8c8d;
}

#cookie-banner .btn-accept-all {
  background: #3498db;
  color: white;
}

#cookie-banner .btn-accept-all:hover {
  background: #2980b9;
}

#cookie-banner .cookie-policy-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #3498db;
  text-decoration: none;
  font-size: 0.85rem;
}

#cookie-banner .cookie-policy-link:hover {
  text-decoration: underline;
}

/* ===== TREATMENT GRID LAYOUTS ===== */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  width: 100%;
}

.treatment-grid.multi-column {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 1.5rem;
}

.treatment-grid.multi-column .medical-treatment-card {
  margin-bottom: 1rem;
}

/* ===== REEL NAVIGATION STYLES ===== */
.reel-navigation {
  width: 100%;
  background: rgba(5, 8, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--membrane-medium);
  position: sticky;
  top: 0;
  z-index: 100;
}

.reel-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.reel-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
}

.reel-tabs::-webkit-scrollbar {
  display: none;
}

.reel-tab {
  flex: 1;
  min-width: 180px;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  position: relative;
}

.reel-tab:hover {
  color: var(--primary);
  background: rgba(0, 200, 255, 0.1);
}

.reel-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(0, 200, 255, 0.05);
}

.reel-tab span {
  position: relative;
  z-index: 2;
}

/* ===== FULL WIDTH HERO STYLES ===== */
.full-width-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  border-radius: 0 !important;
  display: none;
}

.full-width-hero.active {
  display: flex;
}

.full-width-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.full-width-content {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== 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;
}

.technical {
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
}

.layman {
  color: var(--gray);
}

img[data-src] {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

img.lazyloaded {
  opacity: 1;
}

.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;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Search Bar Responsive */
@media (min-width: 769px) {
  .mobile-search {
    display: none;
  }
  
  .search-bar {
    display: flex;
  }

  .mobile-carousel {
    display: none;
  }
}

@media (max-width: 768px) {
  .search-bar {
    display: none;
  }
  
  .mobile-search {
    display: block;
    margin: 10px 0;
  }
  
  .mobile-search input {
    font-size: 16px;
  }
}

/* Header Bottom Container Responsive */
@media (max-width: 1200px) {
  .header-bottom-container {
    gap: 60px;
  }
  
  .treatments-carousel {
    width: 400px;
  }
}

@media (max-width: 1024px) {
  .header-bottom-container {
    gap: 40px;
  }
  
  .treatments-carousel {
    width: 350px;
  }
  
  .medical-tourism {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
  
  .footer-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .contact-container {
    gap: 2rem;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer Columns Responsive */
@media (min-width: 481px) and (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer-column > div:not(h3) {
    display: block !important;
  }

  .footer-column h3::after {
    display: none;
  }
}

/* Main Container Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-container {
    width: 95%;
    padding: 1rem;
    margin: 30px auto;
  }
}

/* Small Screen Responsive */
@media (max-width: 576px) {
  body {
    padding: 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }

  .cta-button {
    width: 100%;
  }

  .footer-column h3 {
    font-size: 1.1rem;
  }
  
  .submit-btn {
    padding: 1.3rem 1.5rem;
  }
  
  .process-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-item {
    flex-direction: row;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 20px;
    margin: 20px auto;
  }
  
  .divider {
    margin: 30px 0;
  }
}

/* Large Desktop */
@media (min-width: 1401px) {
  .main-container {
    max-width: 1600px;
  }
}

/* Footer Bottom Responsive */
.footer-bottom {
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-legal {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--darker);
  z-index: 1000;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
  box-sizing: border-box;
  padding: 0.5rem;
  justify-content: space-around;
  align-items: center;
  height: 70px;
}

.mobile-bottom-nav a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  box-sizing: border-box;
  min-width: 0;
}

.mobile-bottom-nav a i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mobile-bottom-nav a:hover {
  color: var(--primary);
}

/* ===== MOBILE SPECIFIC STYLES ===== */
@media (max-width: 768px) {
  .hero {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0;
    margin: 0 !important;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-header {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 1rem;
  }
  
  .image-holders,
  .therapy-grid,
  .process-steps,
  .msc-benefits-grid {
    width: 100vw;
    overflow-x: hidden;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  
  .hero-title,
  .subtitle,
  .image-holder__title,
  .image-holder__desc {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  /* Ensure all containers respect viewport boundaries */
  .main-container,
  .hero,
  .secondary-hero,
  .image-holders,
  .contact,
  .section-header {
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box !important;
  }
  
  .hero {
    border-radius: 0 !important;
    margin: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .hero-container {
    padding: 0 0.5rem !important;
  }
  
  .hero-content {
    padding: 1rem !important;
  }
  
  .image-holders {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0.5rem !important;
    margin: 0 !important;
  }
  
  .contact {
    padding: 2rem 0.5rem !important;
    width: 100% !important;
  }
  
  .contact-container {
    padding: 0 !important;
  }
  
  .floating-cta-container {
    right: 10px !important;
    left: auto !important;
  }
  
  .floating-cta {
    max-width: calc(100vw - 20px) !important;
    white-space: normal !important;
  }

  .secondary-hero-content {
    flex-direction: column;
  }
  
  .secondary-image-holder-right {
    order: 2;
    margin-top: 1.5rem;
  }
  
  .secondary-text-holder {
    order: 1;
  }
  
  .secondary-hero-image {
    max-width: 100%;
  }

  .secondary-hero-container {
    width: 100% !important;
    margin: 0 0.5rem !important;
  }
  
  .secondary-hero-content {
    padding: 1rem !important;
  }

  .desktop-treatment-grid {
    display: none;
  }
  
  .mobile-carousel {
    display: block;
  }

  .site-footer {
    display: none;
  }

  .floating-cta-container {
    bottom: 80px;
    right: 15px;
  }
  
  .floating-cta {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .msc-benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  .therapy-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  .image-holders {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .contact-container {
    flex-direction: column;
  }
  
  .phone-time-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .phone-time-container > div {
    width: 100%;
  }

  /* MOBILE HERO & ROTATOR CONTROLS */
  .tab-hero {
    height: auto;
    min-height: 250px;
    margin-top: 20px;
    width: 100%;
    margin-bottom: 1rem;
  }

  .hero-content {
    padding: 2rem;
    height: auto;
    min-height: 200px;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 1.88rem;
    margin-bottom: 0.6rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .tab-rotator-container {
    height: auto;
    min-height: 150px;
    width: 95vw;
    padding: 0 80px;
    margin-top: -0.5rem;
  }

  .rotator-title {
    width: 100%;
  }

  .rotator-title.active {
    width: 100%;
  }

  .rotator-title h2 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }

  .rotator-title.active h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .rotator-title p {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }

  .rotator-title.active p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  /* HIDE NON-ACTIVE TAB TITLES ON MOBILE */
  .rotator-title:not(.active) {
    display: none;
  }

  /* ARROWS FURTHER APART AND LOWER */
  .rotator-arrows-overlay {
    width: 92.5%;
    top: 97.5%;
    transform: translateX(-50%) translateY(-50%);
  }

  .rotator-arrows-overlay .rotator-btn {
    width: 40px;
    height: 40px;
    padding: 0.6rem;
  }

  /* DOTS MOVED UP - CLOSER TO SUBTITLE */
  .rotator-indicator {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    margin-top: -0.5rem;
  }

  .rotator-controls {
    flex-direction: column;
    gap: 1rem;
  }

  /* MOBILE BUTTON STYLES - REMOVED ARROW, INCREASED WIDTH */
  .hero-cta {
    padding: 0.5rem 2.5rem;
    height: auto;
    min-height: 44px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
    gap: 0;
  }

  /* Remove the arrow icon from hero CTA button */
  .hero-cta::after {
    display: none;
  }

  .btn {
    padding: 12px 24px;
    min-height: 44px;
  }

  /* MOBILE TREATMENT GRID */
  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .treatment-grid.multi-column {
    grid-template-columns: 1fr;
  }

  /* MOBILE CARD STYLES - STATS IN 2x2 FORMAT AND BENEFITS LIKE DESKTOP */
  .treatment-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .benefit-item {
    font-size: 0.8rem;
    padding: 6px;
    gap: 8px;
  }

  .benefit-item i {
    font-size: 0.75rem;
  }

  .treatment-description,
  .rationale-text {
    text-align: left;
    text-justify: auto;
  }
}

/* ===== TABLET STYLES ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .treatment-grid.multi-column {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== LARGE DESKTOP STYLES ===== */
@media (min-width: 1400px) {
  .treatment-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ===== PERFORMANCE & ACCESSIBILITY ===== */
@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;
  }

  .rotator-title,
  .tab-content,
  .rotator-btn,
  .medical-treatment-card {
    transition: none;
  }

  .medical-treatment-card:hover .card-image img {
    transform: none;
  }
}

/* Animation for Page Transitions */
.treatment-cards-grid.active {
  animation: fadeIn 0.5s ease;
}

.full-width-hero.active {
  animation: fadeIn 0.5s ease;
}

/* ===== MOBILE CAROUSEL STYLES ===== */
@media (max-width: 768px) {
  .treatment-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: .65rem;
    padding: 1rem 0.5rem;
    margin: 0 -0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100vw;
    cursor: grab;
  }

  .treatment-grid:active {
    cursor: grabbing;
  }

  .treatment-grid::-webkit-scrollbar {
    display: none;
  }

  .treatment-grid .medical-treatment-card {
    flex: 0 0 96%;
    scroll-snap-align: start;
    margin: 0;
  }

  .mobile-carousel-nav {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin: .5rem 0;
    padding: 0 .5rem;
  }
}

@media (min-width: 769px) {
  .mobile-carousel-indicators,
  .mobile-carousel-nav {
    display: none;
  }
}

/* ===== AUTO-SCROLL STYLES ===== */
.treatment-grid {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .treatment-grid.auto-scroll-paused {
    scroll-behavior: auto;
  }
}