
/* Global Variables */
:root {
  --primary: #00c8ff;
  --secondary: #7b2dff;
  --accent: #ff2d7b;
  --dark: #0a0e17;
  --darker: #05080f;
  --light: #f0f5ff;
  --gray: #8a9bb8;
  --text-light: #ffffff;
  --text-muted: #b0b0b0;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 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(5, 8, 15, 0.95);
  --white: #ffffff;
  --glow: 0 0 15px rgba(0, 200, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  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;
}

/* Particle Background */
.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%);
}

/* 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;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

/* ===== MOBILE HEADER ===== */
@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);
  }

  .mobile-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-logo {
    height: 40px;
  }

  .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;
  }

  .mobile-menu-toggle:hover {
    background: rgba(0, 200, 255, 0.1);
    transform: scale(1.1);
  }

  /* Mobile Navigation */
  .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;
  }

  .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);
  }

  /* Overlay when menu is open */
  .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;
  }

  /* Hide desktop elements on mobile */
  #header,
  .site-footer {
    display: none !important;
  }
}

/* ===== DESKTOP HEADER ===== */
@media (min-width: 769px) {
  /* Hide mobile elements on desktop */
  .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);
  }

  .treatments-carousel:focus-within {
    outline: 2px solid var(--accent);
  }

  .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%;
  }
}

@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;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Main Content Container */
.main-container {
  background: rgba(5, 9, 17, 0.85);
  backdrop-filter: blur(.2px);
  min-height: calc(80vh - 60px);
  position: relative;
  top: 100px;
  margin-bottom: 80px;
  margin: 40px 0 20px;
  padding: 1.15rem;
  border-radius: var(--border-radius);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(0, 200, 255, 0.1);
}

/* ===== 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;
}

/* Pulse animations */
@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);
  }
}

/* ===== NEW FOOTER STYLES ===== */
.site-footer {
  background: var(--darker);
  color: var(--light);
  margin-top: 0rem;
  position: relative;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
}

/* Footer SVG Logo Height Control */
.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;
}

.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);
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--darker);
  z-index: 1000;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
}

.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);
}

.mobile-bottom-nav a i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mobile-bottom-nav a:hover {
  color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-container {
    margin: 20px 0 40px;
    padding: 1rem;
    border-radius: 0;
  }
  
  .mobile-bottom-nav {
    display: flex;
  }

  .site-footer {
    display: none;
  }

  /* Floating CTA adjustments for mobile */
  .floating-cta-container {
    bottom: 80px;
    right: 15px;
  }
  
  .floating-cta {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
}

/* ===== APPOINTMENT SETTER STYLES ===== */
.appointment-setter-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.92rem;
  width: 100%;
  margin-bottom: 0.851rem;
  padding-right: 0.92rem;
}

/* Form sections in columns */
.section-1, .section-2, .section-3 {
  background: rgba(10, 14, 23, 0.6);
  border-radius: 7.36px;
  padding: 0.851rem;
  border: 1px solid rgba(0, 200, 255, 0.1);
  transition: all 0.3s ease;
  min-height: 187.22px;
  height: 100%;
}

.section-1 { grid-column: 1; }
.section-2 { grid-column: 2; }
.section-3 { grid-column: 3; }

/* ===== FORM STYLES ===== */
.form-group input,
.form-group select,
.form-group textarea,
#email {
  box-sizing: border-box;
  width: 100%;
  padding: 0.5106rem 0.736rem;
  background: rgba(10, 14, 23, 0.7);
  border: 1px solid #2a3a5a;
  border-radius: 7.36px;
  color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  transition: all 0.3s ease;
}

/* Email-specific styles */
.email-input-container {
  position: relative;
  width: 100%;
}

.email-hint {
  font-size: 0.736rem;
  color: #8a9bb8;
  margin-top: 3.404px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

#email:focus + .email-hint {
  color: #00c8ff;
  opacity: 1;
}

/* Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
#email:focus {
  outline: none;
  border-color: #00c8ff;
  box-shadow: 0 0 0 2px rgba(0, 200, 255, 0.2);
}

/* Form group spacing */
.form-group {
  margin-bottom: 0.851rem;
  position: relative;
}

.form-group label {
  display: block;
  color: #e0e0e0;
  margin-bottom: 0.4255rem;
  font-size: 0.828rem;
  font-weight: 500;
}

/* Textarea specific */
.form-group textarea {
  min-height: 93.61px;
  resize: vertical;
}

/* ===== CALENDAR STYLES ===== */
.calendar-container {
  position: relative;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.06375rem;
}

.month-year {
  font-weight: 600;
  color: #e0e0e0;
  font-size: 1.012rem;
}

.nav-button {
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid #00c8ff;
  color: #00c8ff;
  width: 33.12px;
  height: 30.636px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: #00c8ff;
  color: #0a0e17;
}

.calendar {
  margin-bottom: 1.2765rem;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.276rem;
}

.day-header {
  color: #00c8ff;
  font-weight: 600;
  text-align: center;
  padding: 0.4255rem;
  font-size: .828rem;
}

.empty-day {
  background: transparent;
}

.available-day {
  background: rgba(0, 200, 255, 0.1);
  color: #e0e0e0;
  text-align: center;
  padding: 0.4255rem 0;
  border-radius: 7.36px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.available-day:hover {
  background: #00c8ff;
  color: #0a0e17;
  transform: translateY(-2px);
}

.unavailable-day {
  color: #8a9bb8;
  text-align: center;
  padding: 0.4255rem 0;
  opacity: 0.5;
}

.current-day {
  background: #0088ff;
  color: #0a0e17;
  font-weight: 600;
  box-shadow: 0 0 0 2px #00c8ff;
}

/* ===== TIME SLOTS STYLES ===== */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.46rem;
  margin-top: 0.851rem;
}

.time-slot {
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid #00c8ff;
  color: #e0e0e0;
  padding: 0.5957rem;
  text-align: center;
  border-radius: 7.36px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-slot:hover {
  background: #00c8ff;
  color: #0a0e17;
}

.time-slot.inactive {
  opacity: 0.5;
  pointer-events: none;
}

.time-slot.active {
  opacity: 1;
  pointer-events: auto;
}

.time-slot.chosen {
  background: #00c8ff;
  color: #0a0e17;
  font-weight: 600;
}

.time-slot.hidden {
  display: none;
}

/* Time slots container */
.time-slots-container {
  display: flex;
  flex-direction: column;
}

/* Selected time confirmation section */
.time-slot-confirmation {
  display: flex;
  flex-direction: column;
  gap: 0.851rem;
  margin-top: 1.0212rem;
  background: rgba(0, 200, 255, 0.1);
  border-radius: 7.36px;
  padding: 1.0212rem;
  border: 1px solid rgba(0, 200, 255, 0.2);
}

.time-slot-confirmation h3 {
  color: #00c8ff;
  font-size: 0.92rem;
  margin: 0 0 0.4255rem 0;
}

.selected-time-display,
.local-time-display {
  color: #e0e0e0;
  font-weight: 500;
  padding: 0.6808rem;
  background: rgba(10, 14, 23, 0.6);
  border-radius: 5.52px;
  text-align: center;
}

.confirmation-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6808rem;
  margin-top: 0.851rem;
}

#confirm-button,
#back-button {
  padding: 0.6808rem;
  border-radius: 7.36px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

#confirm-button {
  background: #00c8ff;
  color: #0a0e17;
  border: none;
}

#confirm-button:hover {
  background: #00b4e6;
}

#back-button {
  background: transparent;
  color: #e0e0e0;
  border: 1px solid #00c8ff;
}

#back-button:hover {
  border-color: #00c8ff;
  color: #00c8ff;
}

/* ===== TIME ZONE SECTION ===== */
.time-zone-section {
  margin-top: 0.851rem;
  padding-top: 0.851rem;
  border-top: 1px dashed rgba(138, 155, 184, 0.3);
}

.time-zone-section label {
  display: block;
  color: #e0e0e0;
  margin-bottom: 0.851rem;
  font-size: 0.828rem;
}

.time-zone-section select {
  width: 100%;
  padding: 0.851rem 0.92rem;
  background: rgba(10, 14, 23, 0.7);
  border: 1px solid #2a3a5a;
  border-radius: 7.36px;
  color: #e0e0e0;
  font-family: 'Arial', sans-serif;
}

#dynamic-clock {
  margin-top: 0.851rem;
  margin-bottom: 1.0212rem;
  font-size: .874rem;
  color: #e0e0e0;
  line-height: 1.38;
}

/* Chosen date display */
#chosen-date,
#guadalajara-clock {
  color: #00c8ff;
  font-weight: 500;
  margin-bottom: 0.4255rem;
}

.appointment-time-display {
  color: #e0e0e0;
  font-weight: 500;
  margin: 0.851rem 0;
  padding: 0.6808rem;
  background: rgba(0, 200, 255, 0.1);
  border-radius: 7.36px;
}

/* ===== BUTTON STYLES ===== */
#next-button {
  background: #00c8ff;
  color: #0a0e17;
  border: none;
  padding: 0.6808rem 1.38rem;
  border-radius: 7.36px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.851rem;
  display: inline-block;
}

#next-button:hover {
  background: #00b4e6;
  transform: translateY(-2px);
}

#next-button:disabled {
  background: #8a9bb8;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ===== INFORMATIONAL SECTIONS ===== */
.text-section-1,
.text-section-2 {
  background: rgba(10, 14, 23, 0.6);
  padding: 0.851rem;
  border-radius: 7.36px;
  border: 1px solid rgba(0, 200, 255, 0.1);
}

.text-section-1 h2,
.text-section-2 h2 {
  color: #00c8ff;
  font-family: 'Arial', sans-serif;
  margin-bottom: 0.851rem;
  font-size: 1.196rem;
}

.text-section-1 p,
.text-section-2 p {
  color: #8a9bb8;
  margin-bottom: 0.851rem;
  line-height: 1.472;
}

.text-section-1 a,
.text-section-2 a {
  color: #00c8ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.text-section-1 a:hover,
.text-section-2 a:hover {
  text-decoration: underline;
}

.text-section-2 ul {
  margin: 0.851rem 0;
  padding-left: 1.38rem;
}

.text-section-2 li {
  margin-bottom: 0.6808rem;
  color: #8a9bb8;
  position: relative;
}

.text-section-2 li::before {
  content: "•";
  color: #00c8ff;
  position: absolute;
  left: -1.104rem;
}

.text-section-2 strong {
  color: #e0e0e0;
}

.available-day.selected {
  background: #00e1ff;
  color: #0a0e17;
  box-shadow: 0 0 10px rgba(0, 225, 255, 0.7);
  transform: scale(1.05);
}

/* ===== POPUP STYLES ===== */
#confirmation-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1008;
  overflow-y: auto;
  padding: 18.4px;
}

#confirmation-popup.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.popup-content {
  background: #0a0e17;
  padding: 1.84rem;
  border-radius: 7.36px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #00c8ff;
  position: relative;
  overflow-y: auto;
}

.popup-content h2 {
  color: #00c8ff;
  margin-bottom: 1.38rem;
  font-family: 'Arial', sans-serif;
  font-size: 1.38rem;
}

.popup-content p {
  margin-bottom: 0.736rem;
  color: #e0e0e0;
  line-height: 1.38;
}

.popup-content p strong {
  color: #00c8ff;
}

.popup-buttons {
  display: flex;
  gap: 0.92rem;
  margin-top: 1.84rem;
}

.popup-buttons button {
  flex: 1;
  padding: 0.736rem;
  border-radius: 7.36px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
}

.popup-buttons #confirm-button {
  background: #00c8ff;
  color: #0a0e17;
}

.popup-buttons #confirm-button:hover {
  background: #00b4e6;
}

.popup-buttons #cancel-button {
  background: transparent;
  color: #e0e0e0;
  border: 1px solid #2a3a5a !important;
}

.popup-buttons #cancel-button:hover {
  border-color: #00c8ff !important;
  color: #00c8ff;
}

/* ===== RESPONSIVE STYLES ===== */
/* Desktop column adjustments */
@media (min-width: 769px) {
  .appointment-setter-container {
    --col-1-width: 31%;
    --col-2-width: 34%;
    --col-3-width: 33%;
    grid-template-columns: var(--col-1-width) var(--col-2-width) var(--col-3-width);
  }
}

/* Mobile layout */
@media (max-width: 768px) {
  .appointment-setter-container {
    grid-template-columns: 1fr;
  }
  .section-1, .section-2, .section-3, .section-4 {
    grid-column: 1;
  }
  
  /* Mobile-specific popup adjustments */
  .popup-content {
    width: 95%;
    padding: 0.92rem;
  }
  
  .popup-buttons {
    flex-direction: column;
  }
  
  .popup-buttons button {
    width: 100%;
  }
}

/* ===== TIMEZONE SELECT STYLES ===== */
optgroup.mexican-timezone-group,
optgroup.canadian-timezone-group,
optgroup.us-timezone-group {
  color: #01d2ed !important;
  font-weight: bold;
  font-size: 1.058em;
  padding-top: 4.6px;
}

optgroup.mexican-timezone-group option,
optgroup.canadian-timezone-group option,
optgroup.us-timezone-group option {
  color: whitesmoke !important;
  font-weight: normal !important;
}

optgroup {
  color: #00c8ff;
  font-weight: bold;
  font-size: 0.828em;
  padding: 4.6px 0;
  border-bottom: 1px solid rgba(0,200,255,0.2);
}

optgroup option {
  color: #e0e0e0;
  font-weight: normal;
  padding: 4.6px 9.2px;
}

/* ===== SEARCH STYLES ===== */
.search-wrapper {
  position: relative;
}

#condition-search {
  width: 100%;
  padding: 11.04px;
  border: 1px solid #2a3a5a;
  border-radius: 7.36px;
  background: rgba(10, 14, 23, 0.7);
  color: #e0e0e0;
}

.search-results-dropdown {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 276px;
  overflow-y: auto;
  background: #0a0e17;
  border: 1px solid #00c8ff;
  border-radius: 0 0 7.36px 7.36px;
  z-index: 100;
}

.search-result {
  padding: 11.04px;
  cursor: pointer;
  border-bottom: 1px solid #2a3a5a;
}

.search-result:hover {
  background: rgba(0, 200, 255, 0.1);
  color: #00c8ff;
}

/* Country search styles */
.country-search-results {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 276px;
  overflow-y: auto;
  background: #0a0e17;
  border: 1px solid #00c8ff;
  border-radius: 0 0 7.36px 7.36px;
  z-index: 100;
}

.country-search-result {
  padding: 11.04px;
  cursor: pointer;
  border-bottom: 1px solid #2a3a5a;
}

.country-search-result:hover {
  background: rgba(0, 200, 255, 0.1);
  color: #00c8ff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== ACCESSIBILITY STYLES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

[aria-hidden="true"] {
  display: none;
}

/* ===== FIELD VISIBILITY CONTROL STYLES ===== */
.section-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: rgba(0, 200, 255, 0.1);
  border-radius: 7.36px;
  cursor: pointer;
}

.section-toggle h2 {
  margin: 0;
  color: #00c8ff;
  font-size: 1.196rem;
}

.section-toggle-button {
  background: transparent;
  border: none;
  color: #00c8ff;
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
}

.section-toggle-button:hover {
  background: rgba(0, 200, 255, 0.2);
}

.section-content {
  transition: all 0.3s ease;
  overflow: hidden;
}

.section-content.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.section-content.visible {
  max-height: 1000px;
  opacity: 1;
}

/* ===== CALL ME MODAL STYLES ===== */
#call-me-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1009;
  overflow-y: auto;
  padding: 18.4px;
}

#call-me-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.call-me-modal-content {
  background: #0a0e17;
  padding: 1.84rem;
  border-radius: 7.36px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #00c8ff;
  position: relative;
  overflow-y: auto;
}

.call-me-modal-content h2 {
  color: #00c8ff;
  margin-bottom: 1.38rem;
  font-family: 'Arial', sans-serif;
  font-size: 1.38rem;
}

.day-selection {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.day-option {
  padding: 0.5rem;
  border: 1px solid #2a3a5a;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  flex: 1;
  margin: 0 0.25rem;
}

.day-option.selected {
  background: rgba(0, 200, 255, 0.2);
  border-color: #00c8ff;
}

.time-range-options {
  margin: 1rem 0;
}

.time-range-option {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.time-range-option input {
  margin-right: 0.5rem;
}

.flexibility-options {
  margin: 1rem 0;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.modal-buttons button {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 0.5rem;
}

.modal-submit {
  background: #00c8ff;
  color: #0a0e17;
  border: none;
}

.modal-cancel {
  background: transparent;
  color: #e0e0e0;
  border: 1px solid #2a3a5a;
}

.modal-submit:hover {
  background: #00b4e6;
}

.modal-cancel:hover {
  border-color: #00c8ff;
  color: #00c8ff;
}

/* ===== APPOINTMENT DETAILS STYLES ===== */
.appointment-details {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 200, 255, 0.1);
  border-radius: 7.36px;
}

.appointment-details h3 {
  color: #00c8ff;
  margin-top: 0;
}

.appointment-details p {
  margin-bottom: 0.5rem;
}

.call-preference {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(138, 155, 184, 0.3);
}

#confirmation-popup {
  z-index: 9999;
  position: fixed;
}

/* Cookie Consent Styles - Isolated with High Specificity */
#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-color: #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;
}
