/* LabLink Color Scheme */
:root {
  --primary-red: #E53935;
  --primary-blue: #1976D2;
  --primary-white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #1A2238;
  --text-gray: #5E6A85;
  --border-gray: #E0E0E0;
  --success-green: #4CAF50;
  --warning-orange: #FF9800;
  --navy: #0B1B3D;
  --purple-1: #6A1B9A;
  --purple-2: #8E24AA;
}

/* Lab Cards and Logos */
.lab-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.lab-card img {
  transition: all 0.3s ease;
  filter: grayscale(20%);
  display: block;
  margin: 0 auto;
}

.lab-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
  justify-items: center;
}

@media (max-width: 768px) {
  .labs-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .lab-card img {
    max-width: 100px !important;
    max-height: 60px !important;
  }
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background:
    radial-gradient(1200px 600px at -10% -10%, rgba(142,36,170,0.06), transparent 60%),
    radial-gradient(900px 500px at 110% 0%, rgba(11,27,61,0.08), transparent 60%),
    radial-gradient(900px 500px at 50% 120%, rgba(229,57,53,0.06), transparent 60%),
    var(--primary-white);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 1 !important;
  transform: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), var(--primary-red), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar:hover::before {
  opacity: 0.3;
}

/* Ensure navigation elements are always visible */
.nav-container,
.nav-logo,
.nav-menu,
.nav-link {
  opacity: 1 !important;
  transform: none !important;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 75px;
  position: relative;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.nav-logo:hover {
  transform: scale(1.02);
}

/* Image logo in navbar */
.nav-logo-img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.nav-logo-img:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* LabLink Logo */
.logo {
  width: 50px;
  height: 50px;
  position: relative;
}

.logo-house {
  width: 100%;
  height: 100%;
  position: relative;
}

.logo-house::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-blue);
  border-radius: 5px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.logo-flask {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 35px;
  border: 2px solid var(--primary-blue);
  border-radius: 0 0 15px 15px;
  border-top: none;
}

.logo-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--primary-red);
  border-radius: 0 0 13px 13px;
}

.logo-blood-drop {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 12px;
  background: var(--primary-red);
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
}

.logo-arrow {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--primary-blue);
  border-left: none;
  border-bottom: none;
  transform: rotate(45deg);
}

.logo-text {
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

.logo-lab {
  color: var(--primary-red);
}

.logo-link {
  color: var(--primary-blue);
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark-gray);
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
}

.nav-actions {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.nav-actions:hover {
  transform: translateY(-50%) scale(1.05);
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary-red);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

/* Phlebotomist Login Link Styling */
.phlebotomist-login {
  background: linear-gradient(135deg, #1976D2, #1565C0) !important;
  color: var(--primary-white) !important;
  padding: 11px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(25, 118, 210, 0.25);
  border: 2px solid transparent;
}

.phlebotomist-login:hover {
  background: linear-gradient(135deg, #1565C0, #0D47A1) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(25, 118, 210, 0.35);
  color: var(--primary-white) !important;
  border-color: rgba(255, 255, 255, 0.3);
}

.phlebotomist-login::after {
  display: none;
}

.phlebotomist-login i {
  margin-right: 6px;
  font-size: 1em;
}

/* Desktop: Position at extreme right */
@media (min-width: 769px) {
  .nav-container {
    justify-content: space-between;
  }
  
  .nav-menu {
    flex: 1;
    justify-content: center;
    max-width: calc(100% - 400px); /* Prevent overlap with button */
  }
  
  .phlebotomist-login {
    position: static;
    margin-top: 0;
    margin-left: auto;
    padding: 12px 24px;
    white-space: nowrap;
    font-size: 0.95rem;
    order: 999; /* Ensure it's last */
  }
  
  .phlebotomist-login:hover {
    transform: translateY(-2px) scale(1.03);
  }
  
  .phlebotomist-login i {
    margin-right: 8px;
    font-size: 1.1em;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
main {
  margin-top: 75px;
  min-height: calc(100vh - 75px);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--primary-white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
/* Hero modern layout */
.hero-modern .hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; justify-content: center; }
.hero-modern .hero-col.content { text-align: center; }
.hero-modern .hero-title { font-size: 3.2rem; margin-bottom: 10px; }
.hero-modern .hero-subtitle { font-size: 1.2rem; opacity: 0.95; margin-bottom: 22px; }
.hero-modern .hero-actions { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; justify-content: center; }
.hero-modern .hero-contacts { display: flex; gap: 18px; opacity: 0.9; font-weight: 600; justify-content: center; }
.hero-modern .hero-contacts i { margin-right: 6px; }
.hero-modern .hero-col.visual { display: flex; justify-content: center; }
.hero-modern .hero-card { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 20px; width: 100%; max-width: 360px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.hero-modern .hero-stat { display:flex; align-items:center; gap:12px; margin-bottom: 14px; }
.hero-modern .hero-stat i { font-size: 26px; }
.hero-modern .hero-badges { display:flex; flex-wrap:wrap; gap:8px; }
.hero-modern .badge { background:#fff; color: var(--dark-gray); border-radius: 999px; padding:6px 10px; font-weight:600; font-size: 0.9rem; }
/* New hero decorative elements */
.hero-decor { position:absolute; inset:0; pointer-events:none; z-index:0; }
.hero-decor::before, .hero-decor::after { content:''; position:absolute; filter: blur(40px); opacity:0.35; }
.hero-decor::before { width:360px; height:360px; top:10%; left:5%; background: radial-gradient(circle at center, rgba(142,36,170,0.6), transparent 60%); }
.hero-decor::after { width:420px; height:420px; bottom:5%; right:8%; background: radial-gradient(circle at center, rgba(25,118,210,0.5), transparent 60%); }
/* Trust row */
.hero-trust { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin: 16px 0; }
.hero-trust .trust-item { display:flex; align-items:center; gap:8px; padding:8px 12px; background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.18); border-radius: 999px; font-weight:600; }
/* Visual chip card */
.hero-visual-card { position: relative; background: rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.18); border-radius: 18px; padding: 18px; width:100%; max-width: 380px; min-height: 200px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); display:flex; flex-direction:column; gap:10px; align-items:flex-start; justify-content:center; }
.hero-visual-card .chip { background:#fff; color: var(--dark-gray); border-radius: 12px; padding:8px 12px; font-weight:700; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.hero-visual-card .chip i { margin-right:6px; color: var(--primary-blue); }
.hero-visual-card .chip.accent { background: linear-gradient(135deg, var(--primary-red), var(--purple-2)); color:#fff; }
@media (max-width: 900px) { .hero-modern .hero-grid { grid-template-columns: 1fr; } .hero-modern .hero-col.content { text-align: center; } .hero-modern .hero-contacts { justify-content: center; } }

/* Hero video background */
/* Remove video background; add wave pattern */
.hero .video-bg { display: none; }

/* Gradient overlay on top of video for contrast */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400" preserveAspectRatio="none"><path d="M0,180 C240,260 960,80 1200,180 L1200,400 L0,400 Z" fill="%23FFFFFF" opacity="0.06"/><path d="M0,130 C260,220 940,20 1200,130 L1200,400 L0,400 Z" fill="%23FFFFFF" opacity="0.08"/></svg>') no-repeat center/cover;
}

/* Ensure hero content is always visible */
.hero-content {
  opacity: 1 !important;
  transform: none !important;
}

.hero-content h1,
.hero-content .tagline,
.hero-content .discount-badge,
.hero-content .contact-info,
.hero-content .cta-button {
  opacity: 1 !important;
  transform: none !important;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Glassmorphism card for hero content */
.hero .hero-content {
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  margin: 0 auto;
  max-width: 900px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Hero Logo Styles */
.hero-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.hero-logo {
  transition: all 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
}

.hero h1 .accent {
  position: relative;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 8px;
  background: linear-gradient(90deg, rgba(229,57,53,0.9), rgba(25,118,210,0.9));
  border-radius: 999px;
  filter: blur(6px);
}

.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-style: italic;
  opacity: 0.9;
}

.hero .discount-badge {
  display: inline-block;
  background: var(--primary-white);
  color: var(--primary-red);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero .contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero .contact-item .phone-number {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.hero .contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero .contact-item i {
  font-size: 1.3rem;
}

.cta-button {
  display: inline-block;
  background: var(--primary-white);
  color: var(--primary-red);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  color: var(--primary-red);
  text-decoration: none;
}

/* Secondary CTA */
.cta-button.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.cta-button.secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* Wavy shape divider under hero */
.shape-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.shape-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.shape-divider .shape-fill {
  fill: var(--primary-white);
}

/* Services Section */
.services {
  padding: 80px 0;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(11,27,61,0.05), transparent 60%),
    radial-gradient(900px 500px at 100% 50%, rgba(142,36,170,0.06), transparent 60%),
    var(--primary-white);
}
/* Middle two-column section */
.middle { padding: 60px 0; }
.section-grid-two { display:grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items:start; }
.section-title.compact { margin-bottom: 18px; }
.section-title.compact h2 { font-size: 1.8rem; }
@media (max-width: 992px) { .section-grid-two { grid-template-columns: 1fr; } }
/* Modern services */
.services-modern .services-modern-grid, .middle .services-modern-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; justify-content: center; }
.service-modern-card { background: #fff; border: 1px solid var(--border-gray); border-radius: 14px; padding: 20px; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; max-width: 320px; margin: 0 auto; position: relative; overflow: hidden; }
.service-modern-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,0.1); }
.service-modern-card .icon { width:54px; height:54px; display:flex; align-items:center; justify-content:center; border-radius:14px; background: linear-gradient(135deg, var(--primary-red), var(--purple-2)); color:#fff; margin-bottom: 12px; box-shadow: 0 10px 20px rgba(229,57,53,0.25); }
.service-modern-card h3 { margin: 6px 0 6px; }
.service-modern-card p { color: var(--text-gray); }
.service-modern-card .card-link { display:inline-block; margin-top:8px; color: var(--primary-blue); text-decoration:none; font-weight:700; }
.service-modern-card .card-link:hover { text-decoration: underline; }
/* Why choose tiles */
.why-grid { display:grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 14px; }
.why-card { display:flex; align-items:center; gap:10px; padding:12px; background:#fff; border:1px solid var(--border-gray); border-radius:12px; box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.why-card i { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--primary-blue), var(--purple-1)); color:#fff; }
.why-card strong { display:block; }
.why-card small { color: var(--text-gray); }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
/* How modern */
.how-modern { padding: 80px 0; background: #fff; }
.row-two { display:grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items:start; }
.row-two .col { min-width: 0; }
@media (max-width: 992px) { .row-two { grid-template-columns: 1fr; } }
.how-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:18px; margin-top: 20px; justify-content: center; }
.how-card { background:#fff; border:1px solid var(--border-gray); border-radius:14px; padding:20px; text-align:center; box-shadow:0 10px 20px rgba(0,0,0,0.06); max-width: 320px; margin: 0 auto; }
.how-card .num { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:12px; background: linear-gradient(135deg, var(--purple-1), var(--primary-blue)); color:#fff; font-weight:700; margin-bottom:10px; box-shadow: 0 10px 20px rgba(25,118,210,0.25); }
/* Testimonials */
.testimonials-grid { display:grid; grid-template-columns: 1fr; gap:12px; }
.testimonial-card { background:#fff; border:1px solid var(--border-gray); border-radius:14px; padding:16px; box-shadow:0 10px 20px rgba(0,0,0,0.06); display:grid; grid-template-columns: 40px 1fr; gap:10px; align-items:center; }
.testimonial-card .avatar { width:40px; height:40px; border-radius:50%; background: linear-gradient(135deg, var(--primary-red), var(--purple-2)); color:#fff; display:flex; align-items:center; justify-content:center; }
.testimonial-card .stars { color: #f6b100; font-weight:700; }
/* Labs modern */
.labs-modern { background: var(--light-gray); padding: 80px 0; }
.labs-modern-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; justify-content: center; }
.lab-modern-card { background:#fff; border:1px solid var(--border-gray); border-radius: 12px; padding: 16px; text-align:center; box-shadow: 0 10px 20px rgba(0,0,0,0.06); max-width: 280px; margin: 0 auto; }
.lab-modern-card h4 { color: var(--primary-blue); margin-bottom: 6px; }
.lab-modern-card p { color: var(--text-gray); font-size: 0.95rem; }
/* CTA modern */
.cta-modern { padding: 80px 0; background: linear-gradient(135deg, var(--primary-red), var(--primary-blue)); color:#fff; text-align:center; }
.cta-modern .cta-box { background:#fff; color: var(--dark-gray); padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); max-width: 640px; margin: 0 auto; }
.cta-modern .cta-icon { width:80px; height:80px; background: var(--primary-red); border-radius: 50%; display:flex; align-items:center; justify-content:center; margin: 0 auto 16px; color:#fff; font-size: 2rem; }
.cta-modern .phones { margin: 10px 0 14px; display:flex; align-items:center; justify-content:center; gap: 12px; }
.cta-modern .phone { color: var(--primary-red); font-size: 1.3rem; font-weight: 700; text-decoration: none; }

/* Modern service cards */
.service-card {
  border: 1px solid rgba(0,0,0,0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transform-origin: center;
}

.service-card .service-icon {
  position: relative;
}

.service-card .service-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,118,210,0.25) 0%, transparent 60%);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02) rotateX(1deg);
  border-color: rgba(25,118,210,0.2);
}

/* How-it-works step numbers glow */
.step-number {
  box-shadow: 0 10px 30px rgba(25,118,210,0.25);
}

/* How it works cards */
.how-it-works .step-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.how-it-works .process-icon, .how-it-works .step-number {
  box-shadow: 0 10px 25px rgba(11, 27, 61, 0.15);
}

/* Section divider utility (top wave) */
.section-divider-top {
  position: relative;
}

.section-divider-top::before {
  content: '';
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.22-168.06-16.33-250.45.39C406.9,34.71,324,72,243.72,95.62,163.83,119.11,83.38,129.21,0,120V0H1200V27.35C1111.4,66.24,1045.7,108.36,985.66,92.83Z" fill="%23FFFFFF"/></svg>') no-repeat center/cover;
}

/* CTA polish */
.cta-section .cta-box {
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(4px) saturate(130%);
  -webkit-backdrop-filter: blur(4px) saturate(130%);
}

.cta-section .btn.btn-primary {
  border-radius: 999px;
}

/* Floating Support (WhatsApp + Chatbot) */
.support-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  border: none;
  cursor: pointer;
  color: #fff;
}

.fab-btn i { font-size: 22px; }

.fab-btn.whatsapp { background: #25D366; }
.fab-btn.whatsapp:hover { filter: brightness(0.95); }

.fab-btn.bot { background: linear-gradient(135deg, var(--purple-1), var(--purple-2)); }
.fab-btn.bot:hover { filter: brightness(1.05); }

.chatbot-widget {
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: 320px;
  max-width: calc(100vw - 36px);
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  display: none;
  overflow: hidden;
}

.chatbot-widget.open { display: flex; flex-direction: column; }

.chatbot-header {
  background: linear-gradient(135deg, var(--navy), var(--purple-1));
  color: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header .chatbot-close { background: transparent; border: none; color: #fff; cursor: pointer; }

.chatbot-body {
  padding: 10px;
  height: 260px;
  overflow-y: auto;
  background: linear-gradient(180deg, #fafafa, #ffffff);
}

.chatbot-message { padding: 8px 10px; border-radius: 10px; margin: 6px 0; max-width: 80%; font-size: 0.95rem; }
.chatbot-message.bot { background: rgba(142, 36, 170, 0.08); color: var(--dark-gray); }
.chatbot-message.user { background: rgba(25, 118, 210, 0.1); margin-left: auto; }
.chatbot-message.hint { background: rgba(11,27,61,0.06); font-size: 0.85rem; }

.chatbot-input { display: flex; gap: 8px; padding: 8px; border-top: 1px solid var(--border-gray); }
.chatbot-input input { flex: 1; padding: 10px 12px; border: 1px solid var(--border-gray); border-radius: 8px; }
.chatbot-input button { padding: 10px 14px; border: none; border-radius: 8px; background: var(--primary-blue); color: #fff; cursor: pointer; }

@media (max-width: 480px) {
  .chatbot-body { height: 220px; }
}

/* Minor responsive improvements */
@media (max-width: 768px) {
  .hero .hero-content { padding: 24px 18px; }
  .shape-divider svg { height: 50px; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--primary-white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-white);
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.service-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Booking Section */
.booking {
  padding: 80px 0;
  background: var(--primary-white);
}

/* Booking modern container and steps */
.booking .booking-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.booking .booking-container h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.booking .booking-step {
  background: var(--primary-white);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 24px;
  margin-bottom: 24px;
  animation: fadeIn 0.5s ease;
  display: block; /* Visible by default; individual steps are controlled by ng-if */
}

.booking .booking-step.active {
  display: block; /* Show only active step */
}

.booking .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.booking input[type="text"],
.booking input[type="email"],
.booking input[type="date"],
.booking select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.booking input:focus,
.booking select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(25,118,210,0.08);
}

.booking .actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

/* Filters */
.booking .filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 10px 0 16px 0;
}

.booking .category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking .category-tab {
  border: 1px solid var(--border-gray);
  background: var(--primary-white);
  color: var(--dark-gray);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.booking .category-tab.active {
  background: var(--primary-blue);
  color: var(--primary-white);
  border-color: var(--primary-blue);
}

.booking .filters input[type="text"] {
  padding: 12px 14px;
  border: 1px solid var(--border-gray);
  border-radius: 10px;
}

/* Tests grid */
.booking .tests-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.booking .test-card {
  background: var(--primary-white);
  border: 1px solid var(--border-gray);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.booking .test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: var(--primary-blue);
}

.booking .test-card.selected {
  border-color: var(--primary-red);
  box-shadow: 0 12px 28px rgba(229,57,53,0.12);
}

.booking .test-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.booking .test-header h4 {
  margin: 0 0 4px 0;
}

.booking .test-header small {
  color: var(--text-gray);
}

.booking .price {
  font-weight: 700;
  color: var(--primary-red);
}

.booking .description {
  color: var(--text-gray);
  margin: 8px 0 12px 0;
}

.booking .selection-summary {
  background: var(--light-gray);
  border: 1px dashed var(--border-gray);
  border-radius: 12px;
  padding: 12px;
  margin-top: 16px;
}

.booking .selection-summary ul {
  margin: 8px 0;
  padding-left: 18px;
}

.booking .selection-summary .total {
  font-weight: 700;
  margin-top: 6px;
}

/* Button variants used in booking template */
.btn.primary { background: var(--primary-red); color: var(--primary-white); }
.btn.primary:hover { background: #c62828; box-shadow: 0 5px 15px rgba(229,57,53,0.3); transform: translateY(-2px); }
.btn.success { background: var(--success-green); color: var(--primary-white); }
.btn.success:hover { background: #3d9141; box-shadow: 0 5px 15px rgba(76,175,80,0.3); transform: translateY(-2px); }
.btn.danger { background: #e53935; color: var(--primary-white); }
.btn.danger:hover { background: #c62828; box-shadow: 0 5px 15px rgba(229,57,53,0.3); transform: translateY(-2px); }
.btn.link { background: transparent; color: var(--primary-blue); text-decoration: underline; padding: 0; }

/* Responsive: booking */
@media (max-width: 768px) {
  .booking .form-grid { grid-template-columns: 1fr; }
  .booking .actions { flex-direction: column; }
  
  /* Mobile-specific booking improvements */
  .booking {
    padding: 40px 0;
  }
  
  /* Progress indicator */
  .progress-indicator {
    margin-bottom: 30px;
    padding: 0 10px;
  }
  
  /* Enhanced Date/Time Picker Styles */
  .date-picker-container, .time-picker-container {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .date-input, .time-select {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .date-input:focus, .time-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
  }
  
  .date-picker-icon, .time-picker-icon {
    position: absolute;
    right: 15px;
    color: var(--primary-blue);
    pointer-events: none;
    font-size: 1.1rem;
  }
  
  .date-suggestions, .time-suggestions {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--primary-blue);
  }
  
  .date-suggestions p, .time-suggestions p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
  }
  
  .date-suggestions i, .time-suggestions i {
    margin-right: 6px;
    color: var(--primary-blue);
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
  }
  
  /* Step-by-step booking layout */
  .booking-step {
    margin-bottom: 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f0f8ff;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.1);
  }
  
  .step-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
    margin: 0;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .step-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
  }
  
  .step-content {
    padding: 25px;
  }
  
  .step-actions {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
  }
  
  .step-actions .btn {
    min-width: 120px;
  }
  
  /* Mobile responsive for step layout */
  @media (max-width: 768px) {
    .step-header {
      padding: 15px;
    }
    
    .step-number {
      width: 35px;
      height: 35px;
      font-size: 1rem;
      margin-right: 12px;
    }
    
    .step-header h3 {
      font-size: 1.1rem;
    }
    
    .step-content {
      padding: 20px;
    }
    
    .step-actions {
      padding: 15px 20px;
      flex-direction: column;
    }
    
    .step-actions .btn {
      width: 100%;
    }
  }
  
  .progress-bar {
    width: 100%;
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
  }
  
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    border-radius: 3px;
    transition: width 0.3s ease;
  }
  
  .progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
  }
  
  .booking .booking-container {
    padding: 0 15px;
  }
  
  .booking .booking-container h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .booking .booking-step {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .booking .booking-step h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .booking .booking-step h4 {
    font-size: 1.1rem;
    margin: 20px 0 15px 0;
    color: var(--primary-blue);
  }
  
  /* Mobile form improvements */
  .booking input[type="text"],
  .booking input[type="email"],
  .booking input[type="date"],
  .booking input[type="number"],
  .booking select {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 12px;
    min-height: 48px; /* Touch-friendly minimum height */
    -webkit-appearance: none; /* Remove iOS styling */
    appearance: none;
  }
  
  /* Mobile select styling */
  .booking select {
    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='currentColor' 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 12px center;
    background-size: 16px;
    padding-right: 40px;
  }
  
  /* Mobile map improvements */
  .booking .map-wrapper {
    margin: 20px 0;
  }
  
  #addressMap {
    height: 200px !important;
    border-radius: 12px;
  }
  
  /* Mobile test cards */
  .booking .tests-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .booking .test-card {
    padding: 15px;
    min-height: 80px; /* Ensure minimum touch target */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .booking .test-header h4 {
    font-size: 1rem;
  }
  
  /* Mobile test card buttons */
  .booking .test-card .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-height: 40px;
    margin-top: 10px;
  }
  
  /* Mobile lab selection */
  .booking .labs-selection-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .booking .lab-option {
    padding: 15px !important;
  }
  
  .booking .lab-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .booking .lab-header img {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* Mobile step navigation */
  .booking .actions {
    gap: 10px;
    margin-top: 25px;
    display: flex;
    flex-direction: row;
  }
  
  .booking .actions .btn {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 10px;
    flex: 1;
    min-height: 48px; /* Touch-friendly minimum height */
  }
  
  /* Mobile action buttons for single button */
  .booking .actions .btn:only-child {
    width: 100%;
  }
  
  /* Mobile category tabs */
  .booking .category-tabs {
    justify-content: center;
    gap: 6px;
  }
  
  .booking .category-tab {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  /* Mobile filters */
  .booking .filters {
    margin: 15px 0 20px 0;
  }
  
  .booking .filters input[type="text"] {
    padding: 14px 16px;
    font-size: 16px;
  }
  
  /* Mobile selection summary */
  .booking .selection-summary {
    padding: 15px;
    margin-top: 20px;
  }
  
  .booking .selection-summary h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .booking .selection-summary ul {
    margin: 10px 0;
    padding-left: 20px;
  }
  
  .booking .selection-summary .total {
    font-size: 1.1rem;
    margin-top: 10px;
  }
  
  /* Mobile total amount card */
  .booking .total-amount-card {
    padding: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .booking .total-amount-card h4 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }
  
  .booking .total-amount-card div {
    font-size: 1.5rem !important;
  }
  
  /* Mobile lab pricing */
  .booking .lab-pricing {
    padding-top: 12px !important;
  }
  
  .booking .lab-pricing div {
    margin-bottom: 6px !important;
    font-size: 0.9rem !important;
  }
  
  .booking .lab-pricing .final-price {
    font-size: 1.1rem !important;
  }
  
  /* Mobile file upload */
  .booking .file {
    padding: 10px;
    margin: 10px 0;
    background: var(--light-gray);
    border-radius: 8px;
  }
  
  /* Mobile payment section */
  .booking .payment-methods {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .booking .payment-option {
    padding: 15px;
  }
  
  /* Mobile confirmation */
  .booking .confirmation-details {
    padding: 15px;
  }
  
  .booking .confirmation-details h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .booking .confirmation-details p {
    margin-bottom: 8px;
  }
  
  /* Mobile viewport improvements */
  .booking {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }
  
  /* Mobile keyboard handling */
  .booking input:focus,
  .booking select:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25,118,210,0.15);
  }
  
  /* Mobile step transitions */
  .booking .booking-step {
    transition: all 0.3s ease;
  }
  
  /* Mobile loading states */
  .booking .loading {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  /* Mobile error messages */
  .booking .error-message {
    font-size: 0.9rem;
    padding: 8px 12px;
    margin: 10px 0;
    border-radius: 8px;
  }
  
  /* Mobile success messages */
  .booking .success-message {
    font-size: 0.9rem;
    padding: 8px 12px;
    margin: 10px 0;
    border-radius: 8px;
  }
  
  /* Mobile confirmation sections */
  .booking .confirmation-section {
    margin-bottom: 20px !important;
    padding: 15px !important;
  }
  
  .booking .confirmation-section h4 {
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
  }
  
  .booking .selected-lab-info {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }
  
  .booking .selected-lab-info img {
    width: 40px !important;
    height: 40px !important;
    margin-right: 0 !important;
  }
  
  .booking .payment-methods {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .booking .payment-option {
    padding: 12px !important;
  }
  
  .booking .payment-option i {
    font-size: 1.5rem !important;
  }
  
  .booking .payment-option h5 {
    font-size: 1rem !important;
  }
  
  .booking .payment-option p {
    font-size: 0.8rem !important;
  }
}

.booking-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--light-gray);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.test-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.test-item {
  background: var(--primary-white);
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.test-item:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.test-item.selected {
  border-color: var(--primary-red);
  background: rgba(229, 57, 53, 0.1);
}

.test-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--dark-gray);
}

.test-item .price {
  font-weight: bold;
  color: var(--primary-red);
}

.test-item .code {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 5px;
}

.file-upload {
  border: 2px dashed var(--border-gray);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload:hover {
  border-color: var(--primary-blue);
  background: rgba(25, 118, 210, 0.05);
}

.file-upload.dragover {
  border-color: var(--primary-red);
  background: rgba(229, 57, 53, 0.1);
}

.file-upload i {
  font-size: 3rem;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.payment-option {
  background: var(--primary-white);
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  border-color: var(--primary-blue);
}

.payment-option.selected {
  border-color: var(--primary-red);
  background: rgba(229, 57, 53, 0.1);
}

.payment-option i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.15); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), #d32f2f);
  color: var(--primary-white);
}

.btn-primary:hover {
  background: #c62828;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  color: var(--primary-white);
}

.btn-secondary:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--primary-white);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--primary-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: var(--primary-red);
  color: var(--primary-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--primary-white);
  padding: 50px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 20px;
  color: var(--primary-white);
  transition: all 0.3s ease;
}

.footer-section h3:hover,
.footer-section h4:hover {
  transform: scale(1.05);
  color: var(--primary-red);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-red);
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #555;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
    height: 70px;
  }
  
  .nav-logo-img {
    height: 45px;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--primary-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 25px 0;
    margin-right: 0;
    gap: 0;
  }
  
  .nav-link {
    padding: 15px 20px;
    width: 100%;
    font-size: 1rem;
  }
  
  .nav-link:hover {
    transform: none;
    background: rgba(25, 118, 210, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
  }

  .nav-actions {
    position: static;
    transform: none;
    margin-left: auto;
  }
  
  /* Mobile: Keep in menu, reset positioning */
  .phlebotomist-login {
    position: static !important;
    transform: none !important;
    margin: 10px 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    width: calc(100% - 40px);
    order: initial !important;
  }
  
  .phlebotomist-login:hover {
    transform: translateY(-2px) !important;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    background-attachment: scroll;
    min-height: 80vh;
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .hero-logo {
    max-width: 250px !important;
  }

  .hero .contact-info {
    flex-direction: column;
    gap: 20px;
  }

  .hero .hero-content {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .booking-form {
    padding: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-logo {
    max-width: 200px !important;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .form-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Extra small mobile booking improvements */
  .booking {
    padding: 30px 0;
  }
  
  .booking .booking-container {
    padding: 0 10px;
  }
  
  .booking .booking-container h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
  
  .booking .booking-step {
    padding: 15px 10px;
    margin-bottom: 15px;
  }
  
  .booking .booking-step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .booking .booking-step h4 {
    font-size: 1rem;
    margin: 15px 0 10px 0;
  }
  
  /* Extra small form inputs */
  .booking input[type="text"],
  .booking input[type="email"],
  .booking input[type="date"],
  .booking input[type="number"],
  .booking select {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 10px;
  }
  
  /* Extra small map */
  #addressMap {
    height: 180px !important;
  }
  
  /* Extra small test cards */
  .booking .test-card {
    padding: 12px;
  }
  
  .booking .test-header h4 {
    font-size: 0.9rem;
  }
  
  .booking .test-header small {
    font-size: 0.8rem;
  }
  
  .booking .price {
    font-size: 1rem;
  }
  
  .booking .description {
    font-size: 0.9rem;
  }
  
  /* Extra small lab selection */
  .booking .lab-option {
    padding: 12px !important;
  }
  
  .booking .lab-header img {
    width: 35px !important;
    height: 35px !important;
  }
  
  .booking .lab-header h4 {
    font-size: 1rem;
  }
  
  .booking .lab-header p {
    font-size: 0.8rem;
  }
  
  /* Extra small buttons */
  .booking .actions .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  /* Extra small category tabs */
  .booking .category-tab {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
  
  /* Extra small services page fixes */
  .test-card {
    padding: 18px !important;
  }
  
  .test-card .test-header {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  
  .test-card .test-header > div:first-child {
    max-width: calc(100% - 95px) !important;
  }
  
  .test-card .test-header .test-price {
    width: 85px !important;
    min-width: 85px !important;
  }
  
  .test-card .test-header h3 {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
  }
  
  .test-card .test-header .test-price div {
    font-size: 1.1rem !important;
  }
  
  .test-card .test-header .test-price p {
    font-size: 0.65rem !important;
    margin-top: 3px !important;
  }
  
  /* Extra small total amount card */
  .booking .total-amount-card {
    padding: 12px !important;
    margin-bottom: 15px !important;
  }
  
  .booking .total-amount-card h4 {
    font-size: 1rem !important;
  }
  
  .booking .total-amount-card div {
    font-size: 1.3rem !important;
  }
  
  /* Extra small lab pricing */
  .booking .lab-pricing div {
    font-size: 0.8rem !important;
  }
  
  .booking .lab-pricing .final-price {
    font-size: 1rem !important;
  }
  
  /* Extra small selection summary */
  .booking .selection-summary {
    padding: 12px;
  }
  
  .booking .selection-summary h4 {
    font-size: 1rem;
  }
  
  .booking .selection-summary .total {
    font-size: 1rem;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
}

.alert-success {
  background: rgba(76, 175, 80, 0.1);
  color: var(--success-green);
  border: 1px solid var(--success-green);
}

.alert-error {
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Ensure content is visible by default */
.no-js .scroll-animate,
.no-js .scroll-animate-hidden {
  opacity: 1 !important;
  transform: none !important;
}

/* Fallback for when animations don't load */
.scroll-animate,
.scroll-animate-hidden {
  opacity: 1;
  transform: translateY(0);
}

/* Only hide elements if JavaScript is working and they should be hidden */
.js .scroll-animate-hidden {
  opacity: 0;
  transform: translateY(50px);
}

/* Enhanced Animations and Effects */

/* Text Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(229, 57, 53, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.8), 0 0 30px rgba(229, 57, 53, 0.6);
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%, 50% {
    border-color: transparent;
  }
  51%, 100% {
    border-color: var(--primary-red);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Animation Classes */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
  opacity: 1;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease-out;
  opacity: 1;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease-out;
  opacity: 1;
}

.animate-zoomIn {
  animation: zoomIn 0.6s ease-out;
  opacity: 1;
}

.animate-slideInDown {
  animation: slideInDown 0.8s ease-out;
  opacity: 1;
}

.animate-bounceIn {
  animation: bounceIn 0.8s ease-out;
  opacity: 1;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.animate-delay-3 {
  animation-delay: 0.6s;
}

.animate-delay-4 {
  animation-delay: 0.8s;
}

/* Hover Effects */
.hover-zoom {
  transition: transform 0.3s ease;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(229, 57, 53, 0.6);
}

.hover-rotate {
  transition: transform 0.3s ease;
}

.hover-rotate:hover {
  transform: rotate(5deg);
}

.hover-slide {
  transition: transform 0.3s ease;
}

.hover-slide:hover {
  transform: translateX(10px);
}

/* Text Effects */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-red), var(--purple-2), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.text-glow {
  text-shadow: 0 0 10px rgba(229, 57, 53, 0.8);
}

/* Loading Animations */
.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% {
    content: '';
  }
  40% {
    content: '.';
  }
  60% {
    content: '..';
  }
  80%, 100% {
    content: '...';
  }
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Modern booking layout */
.booking-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.booking-sidebar {
  flex: 0 0 320px;
  background: var(--primary-white);
  border: 1px solid var(--border-gray);
  border-radius: 20px;
  padding: 24px;
  position: sticky;
  top: 110px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.booking-sidebar__section + .booking-sidebar__section {
  margin-top: 28px;
}

.booking-sidebar__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.booking-stepper {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-stepper li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--light-gray);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.booking-stepper li.is-complete {
  background: rgba(40, 167, 69, 0.08);
  border-color: rgba(40, 167, 69, 0.25);
}

.booking-stepper li.is-active {
  background: rgba(33, 150, 243, 0.1);
  border-color: rgba(33, 150, 243, 0.6);
  transform: translateX(4px);
}

.stepper__index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--primary-white);
  color: var(--primary-blue);
  border: 2px solid rgba(33, 150, 243, 0.4);
}

.booking-stepper li.is-complete .stepper__index {
  background: var(--success-green);
  color: #fff;
  border-color: var(--success-green);
}

.stepper__copy strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.stepper__copy small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(229, 57, 53, 0.08);
  color: var(--primary-red);
}

.badge--outline {
  background: transparent;
  border: 1px solid rgba(33, 150, 243, 0.35);
  color: var(--primary-blue);
}

.booking-summary {
  border-radius: 16px;
  border: 1px solid var(--border-gray);
  background: #f9fafb;
  padding: 18px;
}

.booking-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.booking-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-summary li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.booking-summary__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-weight: 600;
  color: var(--dark-gray);
}

.lab-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lab-summary strong {
  display: block;
  font-size: 1rem;
  color: var(--dark-gray);
}

.lab-summary small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0;
  cursor: pointer;
}

.btn-link:hover {
  text-decoration: underline;
}

.booking-main {
  flex: 1 1 auto;
  background: transparent;
}

.booking-header {
  margin-bottom: 24px;
}

.booking-header__eyebrow {
  font-size: 0.85rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.booking-header h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--dark-gray);
}

.booking-header__lead {
  margin: 8px 0 0;
  color: var(--text-gray);
  max-width: 560px;
}

.booking-main .progress-indicator {
  margin-bottom: 24px;
}

.booking-main .progress-bar {
  height: 8px;
  background: var(--light-gray);
  border-radius: 999px;
  overflow: hidden;
}

.booking-main .progress-fill {
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 999px;
}

.booking-main .progress-text {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.booking-content {
  display: block;
}

.step-panel {
  border: 1px solid var(--border-gray);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.step-panel__header {
  padding: 28px;
  border-bottom: 1px solid var(--border-gray);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.08), rgba(229, 57, 53, 0.08));
}

.step-panel__header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--dark-gray);
}

.step-panel__header p {
  margin: 10px 0 0;
  color: var(--text-gray);
}

.step-panel__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-panel__footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border-gray);
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  color: var(--dark-gray);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-gray);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(33, 150, 243, 0.6);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
}

.field-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon input,
.input-icon select {
  padding-right: 44px;
}

.input-icon i {
  position: absolute;
  right: 14px;
  color: var(--primary-blue);
  font-size: 1rem;
}

.btn-primary,
.btn-secondary {
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: #fff;
  box-shadow: 0 12px 24px rgba(33, 150, 243, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(33, 150, 243, 0.28);
}

.btn-primary--ghost {
  background: rgba(33, 150, 243, 0.12);
  color: var(--primary-blue);
  border: 1px solid rgba(33, 150, 243, 0.3);
  padding: 10px 22px;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.06);
  color: var(--dark-gray);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--border-gray);
  background: #fff;
  color: var(--dark-gray);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip.is-active {
  background: rgba(33, 150, 243, 0.1);
  border-color: rgba(33, 150, 243, 0.6);
  color: var(--primary-blue);
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-gray);
  padding: 12px 16px 12px 42px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field input:focus {
  outline: none;
  border-color: rgba(33, 150, 243, 0.6);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
}

.search-field i {
  position: absolute;
  left: 16px;
  color: var(--text-gray);
}

.tests-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.test-card {
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.test-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.test-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--dark-gray);
}

.test-card small {
  color: var(--text-gray);
}

.test-card .price {
  font-weight: 700;
  color: var(--primary-red);
}

.test-card p {
  margin: 0;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.test-card__actions {
  display: flex;
  justify-content: flex-end;
}

.test-card:hover,
.test-card.is-selected {
  transform: translateY(-4px);
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: 0 20px 45px rgba(229, 57, 53, 0.15);
}

.btn-pill {
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(33, 150, 243, 0.12);
  color: var(--primary-blue);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-2px);
}

.btn-pill--remove {
  background: rgba(229, 57, 53, 0.12);
  color: var(--primary-red);
}

.empty-state {
  text-align: center;
  padding: 40px 24px;
  border: 1px dashed var(--border-gray);
  border-radius: 16px;
  color: var(--text-gray);
}

.empty-state i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.empty-state--loading {
  color: var(--primary-blue);
}

.highlight-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(33, 150, 243, 0.12), rgba(229, 57, 53, 0.12));
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.highlight-card strong {
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.lab-card {
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lab-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lab-card__identity {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lab-card__identity img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
  background: #f8fafc;
  padding: 8px;
}

.lab-card__identity h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--dark-gray);
}

.lab-card__identity small {
  color: var(--text-gray);
}

.lab-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.lab-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-gray);
  padding-top: 12px;
}

.lab-card.is-selected,
.lab-card:hover {
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: 0 20px 45px rgba(229, 57, 53, 0.15);
  transform: translateY(-4px);
}

.location-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.location-tools small {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.btn-secondary i,
.btn-primary i {
  margin-right: 6px;
}

.map-card {
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  overflow: hidden;
  height: 260px;
}

.map-card__canvas {
  width: 100%;
  height: 100%;
}

.upload-card {
  border: 1px dashed rgba(33, 150, 243, 0.4);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  background: rgba(33, 150, 243, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.upload-card input[type="file"] {
  display: none;
}

.upload-card__icon i {
  font-size: 2.5rem;
  color: var(--primary-blue);
}

.upload-card__title {
  margin: 0;
  font-weight: 600;
  color: var(--dark-gray);
}

.inline-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(33, 150, 243, 0.08);
  color: var(--primary-blue);
  font-size: 0.9rem;
}

.inline-note i {
  font-size: 1rem;
  margin-top: 4px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.summary-card {
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-card header i {
  font-size: 1.6rem;
  color: var(--primary-blue);
}

.summary-card header h3 {
  margin: 0;
  font-size: 1rem;
}

.summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-list li,
.summary-card dl div {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.summary-card dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-card dl dt {
  font-weight: 600;
  color: var(--text-gray);
}

.summary-card dl dd {
  margin: 0;
  text-align: right;
  color: var(--dark-gray);
}

.summary-lab {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.payment-options {
  display: grid;
  gap: 12px;
}

.payment-chip {
  border: 1px solid var(--border-gray);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-chip input {
  accent-color: var(--primary-blue);
}

.payment-chip.is-active {
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: 0 16px 35px rgba(229, 57, 53, 0.12);
}

.summary-total {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-gray);
  background: #fff;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.summary-total__grand {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-gray);
}

.booking-help p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.booking-help a {
  color: var(--primary-blue);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .booking-shell {
    flex-direction: column;
  }

  .booking-sidebar {
    position: static;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .booking-shell {
    padding: 0 16px;
    gap: 24px;
  }

  .form-grid--two,
  .form-grid--three {
    grid-template-columns: 1fr;
  }

  .step-panel__header,
  .step-panel__body,
  .step-panel__footer {
    padding: 20px;
  }

  .step-panel__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .lab-grid,
  .tests-list,
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Alternative scroll animation for elements that should start hidden */
.scroll-animate-hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-animate-hidden.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Particle Effect Background */
.particles {
  position: relative;
  overflow: hidden;
}

.particles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(229, 57, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(25, 118, 210, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(229, 57, 53, 0.05) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

/* Interactive Elements */
.interactive {
  cursor: pointer;
  transition: all 0.3s ease;
}

.interactive:hover {
  transform: scale(1.02);
}

.interactive:active {
  transform: scale(0.98);
}

/* Magnetic Effect */
.magnetic {
  transition: transform 0.3s ease;
}

.magnetic:hover {
  transform: scale(1.1);
}

/* Shimmer Effect */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

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

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
  width: 300px;
  height: 300px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* Loading button styles */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn .fa-spinner {
  margin-right: 8px;
}

.btn .fa-map-marker-alt {
  margin-right: 8px;
}

/* Reports Page Specific Styles */
.reports {
  min-height: 100vh;
}

.report-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 118, 210, 0.1), transparent);
  transition: left 0.5s;
}

.report-card:hover::before {
  left: 100%;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.status-badge {
  position: relative;
  overflow: hidden;
}

.status-completed {
  background: rgba(76, 175, 80, 0.2);
  color: var(--success-green);
  border: 1px solid var(--success-green);
}

.status-processing {
  background: rgba(255, 152, 0, 0.2);
  color: var(--warning-orange);
  border: 1px solid var(--warning-orange);
}

.status-pending {
  background: rgba(158, 158, 158, 0.2);
  color: var(--text-gray);
  border: 1px solid var(--text-gray);
}

.quick-link {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quick-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.quick-link:hover::before {
  left: 100%;
}

.quick-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Loading states for buttons */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Report search form enhancements */
.search-form {
  position: relative;
}

.search-form .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

/* Info items hover effects */
.info-item {
  transition: all 0.3s ease;
  border-radius: 10px;
}

.info-item:hover {
  background: rgba(25, 118, 210, 0.05);
  transform: translateY(-2px);
}

/* Services Page Specific Styles */
.services {
  min-height: 100vh;
}

/* Test card header fix for overlapping */
.test-card .test-header {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
}

.test-card .test-header > div:first-child {
  overflow: hidden;
}

.test-card .test-header h3 {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

.category-tab {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.category-tab:hover::before {
  left: 100%;
}

.category-tab.active {
  background: var(--primary-red) !important;
  color: white !important;
  border-color: var(--primary-red) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.test-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.test-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 118, 210, 0.1), transparent);
  transition: left 0.5s;
}

.test-card:hover::before {
  left: 100%;
}

.test-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-tag {
  transition: all 0.3s ease;
}

.feature-tag:hover {
  transform: scale(1.05);
}

.package-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(229, 57, 53, 0.1), transparent);
  transition: left 0.5s;
}

.package-card:hover::before {
  left: 100%;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.package-icon {
  transition: all 0.3s ease;
}

.package-card:hover .package-icon {
  transform: scale(1.1);
}

/* Search and filter enhancements */
.search-box {
  position: relative;
}

.search-box .form-control {
  padding-left: 45px;
  transition: all 0.3s ease;
}

.search-box .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

/* Test selection styles */
.test-item {
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.test-item:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.test-item.selected {
  border-color: var(--primary-red);
  background: rgba(229, 57, 53, 0.05);
}

/* Responsive adjustments for reports page */
@media (max-width: 768px) {
  .reports-grid {
    grid-template-columns: 1fr !important;
  }
  
  .report-actions {
    flex-direction: column !important;
  }
  
  .report-actions .btn {
    margin-bottom: 10px;
  }
  
  .quick-access {
    grid-template-columns: 1fr !important;
  }
  
  .report-info {
    grid-template-columns: 1fr !important;
  }
  
  /* Services page responsive */
  .category-tabs {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .category-tab {
    width: 100% !important;
  }
  
  .search-filter {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .tests-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Mobile test card header fix */
  .test-card .test-header {
    gap: 12px !important;
  }
  
  .test-card .test-header > div:first-child {
    max-width: calc(100% - 110px) !important;
  }
  
  .test-card .test-header .test-price {
    width: 100px !important;
    min-width: 100px !important;
  }
  
  .test-card .test-header h3 {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }
  
  .test-card .test-header .test-price div {
    font-size: 1.2rem !important;
  }
  
  .test-card .test-header .test-price p {
    font-size: 0.7rem !important;
  }
  
  .packages-grid {
    grid-template-columns: 1fr !important;
  }
  
  .features-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Process Images Styling */
.process-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  margin-bottom: 20px;
  height: 280px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
  padding: 4px;
}

.process-image-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.process-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
  border-radius: 16px;
}

.process-image-container:hover .process-image {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.2);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(229,57,53,0.8), rgba(25,118,210,0.8));
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.process-image-container:hover .image-overlay {
  opacity: 1;
}

.image-overlay i {
  color: white;
  font-size: 3rem;
  transform: scale(0.8);
  transition: all 0.3s ease;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.process-image-container:hover .image-overlay i {
  transform: scale(1);
}

/* Process Card Animations */
.process-card {
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
}

/* Mobile Responsive for Process Images */
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .process-image-container {
    height: 220px;
  }
  
  .process-image-container:hover {
    transform: translateY(-5px) scale(1.01);
  }
}

/* Call to Action Section Background */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/actionbackground.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Lab Selection Styles */
.lab-option {
  position: relative;
  transition: all 0.3s ease;
}

.lab-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-color: var(--primary-blue) !important;
}

.lab-option.selected {
  border-color: var(--primary-blue) !important;
  background: linear-gradient(135deg, rgba(25,118,210,0.05), rgba(229,57,53,0.05)) !important;
  box-shadow: 0 5px 20px rgba(25,118,210,0.2);
}

.lab-option.selected:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(25,118,210,0.3);
}

.labs-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Booking Confirmation Styles */
.booking .confirmation-section {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.booking .confirmation-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.booking .confirmation-section h4 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.booking .confirmation-section h4 i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.booking .selected-lab-info {
  display: flex;
  align-items: center;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.booking .selected-lab-info:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.booking .selected-lab-info img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.booking .selected-lab-info:hover img {
  transform: scale(1.1);
}

.booking .tests-summary {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.booking .tests-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.booking .tests-summary div:hover {
  background: var(--light-gray);
  padding-left: 10px;
  border-radius: 5px;
}

.booking .payment-summary {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.booking .payment-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.booking .payment-summary div:hover {
  background: var(--light-gray);
  padding: 5px 10px;
  border-radius: 5px;
  margin: 5px -10px;
}

.booking .payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.booking .payment-option {
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  text-align: center;
}

.booking .payment-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: var(--primary-blue);
}

.booking .payment-option.selected {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(25,118,210,0.05), rgba(229,57,53,0.05));
  box-shadow: 0 5px 15px rgba(25,118,210,0.2);
}

.booking .payment-option.selected:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(25,118,210,0.3);
}

.booking .payment-option i {
  font-size: 2rem;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.booking .payment-option:hover i {
  transform: scale(1.1);
}

.booking .payment-option h5 {
  margin: 0 0 5px 0;
  color: var(--dark-gray);
  font-size: 1.1rem;
}

.booking .payment-option p {
  margin: 0;
  color: var(--text-gray);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .labs-selection-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .lab-option {
    padding: 15px !important;
  }
}

/* MediQuery Page Styles */
.mediquery-page {
  min-height: 100vh;
}

.mediquery-hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  padding: 100px 0;
  text-align: center;
}

.mediquery-hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.mediquery-hero .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.hero-features .feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-features .feature-item i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-features .feature-item span {
  font-weight: 500;
}

.mediquery-integration {
  padding: 80px 0;
  background: var(--light-gray);
}

.integration-header {
  text-align: center;
  margin-bottom: 50px;
}

.integration-header h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.integration-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.mediquery-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  min-height: 600px;
  position: relative;
}

.mediquery-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background: white;
}

.loading-spinner {
  text-align: center;
}

.loading-spinner i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.loading-spinner p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.mediquery-iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.mediquery-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background: white;
}

.fallback-content {
  text-align: center;
  padding: 40px;
}

.fallback-content i {
  font-size: 4rem;
  color: var(--warning-orange);
  margin-bottom: 20px;
}

.fallback-content h3 {
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.fallback-content p {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.mediquery-features {
  padding: 80px 0;
  background: white;
}

.mediquery-features h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 15px;
  background: var(--light-gray);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  color: var(--dark-gray);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

.how-it-works {
  padding: 80px 0;
  background: var(--light-gray);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 50px;
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.step-content h3 {
  color: var(--dark-gray);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.step-content p {
  color: var(--text-gray);
  line-height: 1.6;
}

.mediquery-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn.large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Leaflet Map Styles */
#addressMap {
  height: 400px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-gray);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.leaflet-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  padding: 0;
}

.leaflet-popup-content {
  margin: 10px;
  font-size: 14px;
  line-height: 1.5;
}

/* Enhanced landmark popup */
.landmark-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border: 2px solid rgba(229, 57, 53, 0.3);
}

.landmark-popup .leaflet-popup-content {
  margin: 0;
  width: auto !important;
}

.landmark-popup .leaflet-popup-tip {
  border-top-color: rgba(229, 57, 53, 0.3);
}

.leaflet-popup-tip {
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Custom marker styling */
.custom-marker {
  background: transparent;
  border: none;
  cursor: grab;
}

.custom-marker:active {
  cursor: grabbing;
}

/* Marker icon bounce on load */
@keyframes markerBounce {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.custom-marker {
  animation: markerBounce 0.6s ease-out;
}

/* Recenter button hover effect */
#recenter-btn:hover {
  background: #f0f8ff !important;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

#recenter-btn:hover i {
  color: #E53935 !important;
}

/* Location accuracy circle */
.leaflet-interactive {
  transition: opacity 0.3s ease;
}

/* Autocomplete Results Styling */
#autocomplete-results {
  margin-top: 5px;
  max-width: 100%;
}

#autocomplete-results::-webkit-scrollbar {
  width: 6px;
}

#autocomplete-results::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#autocomplete-results::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 10px;
}

#autocomplete-results::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* Mobile app-like tweaks */
@media (max-width: 768px) {
  main { padding-bottom: 70px; }
  .service-card { border-radius: 18px; }
  .btn { border-radius: 12px; }
  .hero { padding: 80px 0; }
  
  #addressMap {
    height: 300px;
  }
  
  .cta-section {
    background-attachment: scroll;
  }
  
  .mediquery-hero .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 20px;
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .mediquery-iframe {
    height: 500px;
  }
  
  /* Hide toaster notifications in mobile view to prevent UI interference */
  .toaster-container {
    display: none !important;
  }
}
