   *{
      font-family: "Poppins", sans-serif;
   }
    html,body{
      font-family: "Poppins", sans-serif;
      width: 100%;
      overflow-x: hidden;
   }
   .top-bar {
      background: #009fa8;
      color: #fff;
      font-size: 0.94rem;
      font-weight: 500;
    }
    .top-bar a {
      color: #fff;
      text-decoration: none;
    }
    .navbar-brand img {
      height: auto;
      width: 140px;
    }
    /* Top bar styles - override duplicate definition */
    .top-bar {
      background: #009fa8 !important;
      color: #fff;
      font-size: 0.94rem;
      font-weight: 500;
      border-bottom: 1px solid #dee2e6;
      transition: all 0.3s ease;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1031;
      transform: translateY(0);
    }

    .top-bar-hidden {
      transform: translateY(-100%);
    }

    /* Navbar styles */
    .navbar {
      background: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      position: fixed;
      top: 50px; /* Initially below top-bar */
      left: 0;
      right: 0;
      z-index: 1030;
    }

    .navbar-fixed {
      top: 0; /* Move to top when top-bar is hidden */
      box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }

    /* Add top padding to body to compensate for fixed elements */
    body {
      padding-top: 130px; /* Top-bar + Navbar height */
    }

    .body-navbar-only {
      padding-top: 80px; /* Only navbar height when top-bar is hidden */
    }

    /* Hero Slider Styles */
    .heroslider {
      height: 500px;
      overflow: hidden;
    }

    .heroslider-item {
      height: 500px;
      position: relative;
    }

    .heroslider-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Slick Slider Arrow Styles */
    .heroslider .slick-prev,
    .heroslider .slick-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      font-size: 18px;
      z-index: 10;
      transition: all 0.3s ease;
    }

    .heroslider .slick-prev:hover,
    .heroslider .slick-next:hover {
      background: rgba(0, 0, 0, 0.8);
    }

    .heroslider .slick-prev {
      left: 20px;
    }

    .heroslider .slick-next {
      right: 20px;
    }

    /* Slick Dots Styles */
    .heroslider .slick-dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex !important;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .heroslider .slick-dots li {
      margin: 0 5px;
    }

    .heroslider .slick-dots li button {
      background: rgba(255, 255, 255, 0.5);
      border: none;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      font-size: 0;
      transition: all 0.3s ease;
    }

    .heroslider .slick-dots li.slick-active button {
      background: white;
      transform: scale(1.2);
    }

    @media (max-width: 768px) {
      .heroslider,
      .heroslider-item {
        height: 300px;
      }

      .heroslider .slick-prev,
      .heroslider .slick-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
      }

      .heroslider .slick-prev {
        left: 10px;
      }

      .heroslider .slick-next {
        right: 10px;
      }
    }
    /* Styling for hover and active states */
.navbar-nav .nav-link {
  transition: all 0.3s ease;
  padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
  background-color: #f8f9fa;
  color: #007bff;
  border-radius: 5px;
}

.navbar-nav .nav-link.active {
  background-color: #007bff;
  color: white !important;
  border-radius: 5px;
}

/* Mobile menu styles */
.offcanvas-body .nav-link {
  transition: all 0.3s ease;
  padding: 10px 15px;
}

.offcanvas-body .nav-link:hover {
  background-color: #f8f9fa;
  color: #007bff;
  border-radius: 5px;
}

.offcanvas-body .nav-link.active {
  background-color: #007bff;
  color: white !important;
  border-radius: 5px;
}

/* Ensure dropdown items also have hover and active states */
.dropdown-item {
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.dropdown-item.active {
  background-color: #007bff;
  color: white;
}
    .nav-link {
      font-weight: 600;
      color: #000;
      font-size:1rem;
    }
    .offcanvas-header {
      border-bottom: 1px solid #ddd;
    }
    .offcanvas .nav-link {
      padding: 10px 0;
    }

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

.menu-logo{
    width: 110px;
}


/* logo slider start here  */

.logo-slider .slick-slide {
  padding: 15px;
}

.logo-slider .logo-item {
  background: #fff;
  border-radius: 10px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.logo-slider .logo-item:hover {
  transform: scale(1.05);
}

.logo-slider .logo-item img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* logo slider end here  */

/* test card start here  */

.service-card {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-height: 300px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.test-slider .slick-slide {
  padding: 10px;
}
.image-wrapper {
  position: relative;
}

.image-wrapper img {
  height: 200px;
  object-fit: contain;
  width: 90%;
  margin: 0 auto;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: all 0.3s ease;
}

.service-card:hover .image-wrapper img {
  transform: scale(1.1);
}

.discount-badge {
  position: absolute;
  bottom: -0.75rem; /* Adjust based on badge height */
  left: 50%;
  transform: translateX(-50%);
  background-color: #0d6efd;
  color: #fff;
  padding: 5px 15px;
  font-size: 0.75rem;
  border-radius: 50px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.service-card:hover .discount-badge {
  background-color: #28a745;
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.card-footer {
  background-color: #e9ecef;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: all 0.3s ease;
}

.service-card:hover .card-footer {
  background-color: #f8f9fa;
}

.service-card .btn {
  transition: all 0.3s ease;
}

.service-card:hover .btn {
  background-color: #0d6efd !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}
.heroslider-img{
 width:100%;
 min-height: 500px;
 max-height: 500px;
 object-fit: cover;
}
/* test card end here  */

/* CTA Section Styles */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  color: white;
}

.cta-section::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="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-buttons {
  position: relative;
  z-index: 3;
}

.cta-buttons a {
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #fff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
  100% { text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.3); }
}

.cta-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.feature-item {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 0.5rem;
  animation: slideInLeft 0.6s ease-out;
}

.feature-item i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

.btn-cta-primary {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  border: none;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.btn-cta-primary:hover::before {
  left: 100%;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(238, 90, 36, 0.6);
  background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4); }
  50% { box-shadow: 0 8px 25px rgba(238, 90, 36, 0.8), 0 0 0 10px rgba(238, 90, 36, 0.1); }
  100% { box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4); }
}

.btn-cta-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.8);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.offer-badge {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #333;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(1deg); }
  75% { transform: rotate(-1deg); }
}

.cta-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  color: rgba(255,255,255,0.2);
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.floating-icon-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}
.btn-cta-primary:hover,
  .btn-cta-secondary:hover {
    color:#fff !important;
  }
  

.floating-icon-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .floating-icon {
    font-size: 1.5rem;
  }
}

/* CTA Section End */

/* Statistics Counter Section Styles */
.stats-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.stats-section::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,123,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,123,255,0.1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

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

.stat-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  color: #0056b3;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #007bff, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stat-card {
    padding: 2rem 1rem;
  }
  
  .stat-icon {
    font-size: 2.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
}

/* Statistics Counter Section End */

/* AOS Fallback - Ensure elements are visible if AOS fails to load */
.no-js [data-aos],
[data-aos]:not(.aos-init) {
  opacity: 1 !important;
  transform: none !important;
}

/* AOS Fallback End */


/* slick next and prev start here  */

.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  background-color: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 50%;
  z-index: 20;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* Left arrow */
.slick-prev {
  left: -20px;
}

/* Right arrow */
.slick-next {
  right: -20px;
}

/* Icon style (Slick uses ::before content) */
.slick-prev::before,
.slick-next::before {
  font-family: 'slick';
  font-size: 18px;
  line-height: 1;
  opacity: 1;
  color: white;
}

/* Hover effect */
.slick-prev:hover,
.slick-next:hover {
  background-color: #0a58ca;
}

/* Fix for clicked/active state */
.slick-prev:focus,
.slick-next:focus,
.slick-prev:active,
.slick-next:active {
  background-color: #0d6efd !important;
  outline: none;
}

/* Ensure background stays on focus */
.slick-prev:focus:hover,
.slick-next:focus:hover {
  background-color: #0a58ca !important;
}

/* slick and next and prev end here  */


/* Popular test card start here  */

.test-card {
  background: #eafcff;
  border-radius: 12px;
  padding: 20px 10px 50px;
  margin: 0 10px; 
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

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

.test-card img {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.test-card:hover img {
  transform: scale(1.05);
}

.test-label {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 6px 15px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  color: #0d3c72;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.test-card:hover .test-label {
  background: #00b7b1;
  color: white;
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 183, 177, 0.4);
}


/* Popular test card end here  */

/* Test Card Details (scoped for .test-card-details) */
.test-card-details .test-card-labname {
  font-size: 1.15rem;
  color: #003774;
}
.test-card-details .test-card-params {
  margin-bottom: 1rem;
  font-size: 0.98em;
  color: #333;
  justify-content: center;
}
.test-card-details .test-card-badges {
  margin-bottom: 1rem;
}
.test-card-details .test-badge-info {
  background: #e3f2fd;
  color: #1976d2;
  font-weight: 500;
}
.test-card-details .test-badge-primary {
  background: #1976d2;
  color: #fff;
  font-weight: 500;
}
.test-card-details .test-badge-discount {
  background: #e53935;
  color: #fff;
  font-size: 0.85em;
  padding: 0.35em 0.7em;
  font-weight: 600;
  border-radius: 1em;
  letter-spacing: 0.5px;
}
.test-card-details .test-card-price {
  margin-bottom: 1.2rem;
}
.test-card-details .test-card-price .fw-bold.text-success {
  font-size: 1.1rem;
}


/* Popular packages section start here */

/* Section and Slick spacing */
.popular-packages {
  background: #f4f4f4;
}
.package-slider .slick-slide {
  margin: 0 10px;
}

/* Package Card */
.package-card {
  background: linear-gradient(to bottom, #00bcd4 0%, #b2ebf2 100%);
  border-radius: 12px;
  min-height: 360px;
  padding-bottom: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateY(0);
}

/* Package Card Hover Effects */
.package-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, #00acc1 0%, #a7e6f0 100%);
}

/* Header */
.package-header {
  background-color: #0097a7;
  padding: 25px 8px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: all 0.3s ease;
}

.package-card:hover .package-header {
  background-color: #00838f;
}
.package-header h6 {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Price Circle */
.price-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #00bcd4, #80deea);
  line-height: 90px;
  font-size: 16px;
  font-weight: bold;
  color: #003b73;
  text-align: center;
  margin: -10px auto 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.package-card:hover .price-circle {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(to bottom, #00acc1, #4dd0e1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Description */
.package-desc {
  font-size: 13px;
  color: #000;
  padding: 0 10px;
}

/* Book Now Button */
.btn-book {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #002f6c, #005cb2);
  color: white;
  padding: 6px 20px;
  font-size: 12px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.package-card:hover .btn-book {
  transform: translateX(-50%) translateY(-3px);
  background: linear-gradient(to right, #1b7400, #28a745);
  box-shadow: 0 5px 15px rgba(27, 116, 0, 0.4);
}

/* NEW Badge */
.badge-new {
  position: absolute;
  left: -10px;
  bottom: 50px;
  transform: translateY(-50%);
  background-color: #002f6c;
  color: white;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 0 8px 8px 0;
  font-weight: bold;
  transition: all 0.3s ease;
}

.package-card:hover .badge-new {
  background-color: #ff6b35;
  transform: translateY(-50%) scale(1.05);
}


/* Popular packages section end here  */

/* health test section start here  */

.health-tests {
  background-color: #ffffff;
}

/* Card */
.health-test-card {
  border-radius: 12px;
  overflow: hidden;
}

.health-test-card img {
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Button */
.btn-features {
  background-color: #004aad;
  color: white;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 6px;
  margin-top: 10px;
}

/* health test section end here  */

/* medicine section start here  */

.medicine-slider .medicine-card {
  padding: 20px;
}
/* added width and height */
.medicine-slider img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  background-color: #f8f8f8;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.medicine-slider img:hover {
  transform: scale(1.05);
}

.disease-placeholder {
  width: 160px;
  height: 160px;
  background-color: #f8f8f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

/* medicine section end here  */

/* home healthcare section start here  */

.homecare-slider .card {
  border-radius: 16px;
  transition: all 0.3s ease;
}

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

.homecare-slider img {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* home healthcare section end here  */

/* why choose us section start here  */

.bg-teal {
  background-color: #247F89;
}

/* Why Choose Us Card Hover Effects */
section .card {
  transition: all 0.3s ease;
  cursor: pointer;
}

section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

section .card .fs-1 {
  transition: all 0.3s ease;
}

section .card:hover .fs-1 {
  transform: scale(1.15);
}

section .card h5 {
  transition: all 0.3s ease;
}

section .card:hover h5 {
  transform: translateY(-2px);
}

/* why choose us section end here  */

/* testimonial section start here  */

.testimonial-section {
    padding: 4rem 0;
    background: #f0f7f9; /* light background */
}

.testimonial-slider {
    display: flex;
}

.testimonial-card {
    background: linear-gradient(135deg, #00467d, #00b7b1);
    color: #fff;
    border-radius: 15px;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
}

.testimonial-card .profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0rem auto 1rem auto;
    border: 3px solid #fff;
}

.testimonial-card .profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .quote {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.5;
}

.testimonial-card .name {
    font-weight: bold;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-card .designation {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.testimonial-card .stars {
    color: #ffdd57;
}

.slick-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00467d;
    opacity: 0.4;
    border: none;
}

.slick-dots li.slick-active button {
    background: #00b7b1;
    opacity: 1;
}

/* testimonial section end here  */

.btn-primary, .bg-primary {
  background-color: #003774 !important;
  border-color: #003774 !important;
}

.text-primary {
  color: #003774 !important;
}

/* Booking Form Styling */
.booking-form-wrapper {
  position: absolute;
  top: 5%;
  right: 6%;
  padding: 1.5rem;
  z-index: 10;
}

.booking-form-box {
  max-width: 360px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.form-subtitle {
  margin-bottom: 1rem;
}

.form-icon-box {
  background-color: #17a2b8;
  color: #fff;
  flex: 1;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
}

.form-icon-box i {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  display: block;
}

.form-icon-box small {
  display: block;
  font-size: 0.75rem;
}

.hero-flex-section {
  width: 100vw;
  min-height: 500px;
  margin: 0;
  padding: 0;
  background: transparent;
}
.heroslider-col {
  width: 100vw;
  min-width: 0;
}
.heroslider-section {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.heroslider-item {
  width: 100vw;
  overflow: hidden;
}
.heroslider-img {
  width: 100vw;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
@media (max-width: 991px) {
  .hero-flex-section {
    width: 100vw;
  }
}
@media (max-width: 768px) {
  .heroslider-img {
    max-height: 250px;
  }
}

/* Hero Section: Book Your Test */
.hero-book-test {
  position: relative;
  min-height: 320px;
  background: #eaf6fb;
}
.hero-book-test .hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 320px;
  background: url('../images/test-hero-section.jpg') center center/cover no-repeat;
  filter: blur(2px) brightness(0.7);
  z-index: 0;
}
.hero-book-test .hero-overlay {
  display: none;
}
.hero-book-test .hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 100%;
}
.hero-book-test .hero-title h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hero-book-test .hero-searchbar {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  width: 90%;
  z-index: 3;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 12px 18px;
}
@media (max-width: 768px) {
  .hero-book-test .hero-title h1 { font-size: 1.5rem; }
  .hero-book-test .hero-searchbar { flex-direction: column; padding: 10px 5px; }
  .hero-book-test .hero-bg { height: 180px; }
}

/* footer code start here  */

.footer {
    background: linear-gradient(135deg, #003774 0%, #00467d 50%, #00AAB2 100%);
    position: relative;
    overflow: hidden;
}

.footer::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="medical-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><path d="M20 25h10M25 20v10" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23medical-pattern)"/></svg>');
    opacity: 0.3;
}

.footer-main {
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 50px;
    filter: brightness(1.2);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00AAB2, #fff);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #00AAB2;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #00AAB2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 170, 178, 0.4);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 170, 178, 0.2);
    border-radius: 8px;
    color: #00AAB2;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #00AAB2;
}

.footer-newsletter {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.newsletter-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px 0 0 8px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00AAB2;
    box-shadow: none;
    color: #fff;
}

.newsletter-btn {
    background: linear-gradient(45deg, #00AAB2, #003774);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: linear-gradient(45deg, #003774, #00AAB2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 170, 178, 0.3);
    color:#fff;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.partner-link {
    color: #00AAB2;
    text-decoration: none;
    font-weight: 500;
}

.partner-link:hover {
    color: #fff;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #00AAB2;
}

@media (max-width: 768px) {
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-input,
    .newsletter-btn {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* footer code end here  */

/* Sticky filter sidebar */
.sticky-filter {
  position: sticky;
  top: 90px; /* Adjust for your header/navbar height */
  z-index: 2;
}
.sticky-parent {
  position: relative;
}
@media (max-width: 991.98px) {
  .sticky-filter {
    position: static;
    top: auto;
  }
}

.test-card-details img{
  max-width: 200px;
  margin: 0 auto;
}

#search-suggestions.autocomplete-results {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-height: 320px;
  overflow-y: auto;
  margin-top: 2px;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
}
#search-suggestions .autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f2f2f2;
  background: #fff;
  transition: background 0.15s;
  cursor: pointer;
}
#search-suggestions .autocomplete-item:last-child {
  border-bottom: none;
}
#search-suggestions .autocomplete-item:hover, #search-suggestions .autocomplete-item.active {
  background: #f5faff;
}
#search-suggestions .suggestion-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 1rem;
}
#search-suggestions .suggestion-title {
  font-weight: 600;
  color: #003774;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#search-suggestions .suggestion-meta {
  font-size: 0.92em;
  color: #888;
  margin-top: 2px;
}
#search-suggestions .suggestion-price {
  color: #28a745;
  font-weight: 500;
  margin-left: 0.5rem;
}
#search-suggestions .book-btn {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.98em;
  padding: 0.45em 1.1em;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,55,116,0.07);
}
@media (max-width: 600px) {
  #search-suggestions .autocomplete-item {
    padding: 0.65rem 0.7rem;
  }
  #search-suggestions .suggestion-title {
    font-size: 0.98rem;
  }
  #search-suggestions .book-btn {
    padding: 0.35em 0.8em;
    font-size: 0.93em;
  }
}

.icon-link {
  display: inline-block;
  font-size: 1.5rem;
  color: #333;
  transition: all 0.3s ease-in-out; /* Smooth transition for all effects */
}

/* Pulse Effect */
.pulse:hover {
  animation: pulse 0.6s ease-in-out;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  text-decoration:none;
}

.whatsapp-icon {
  display:flex !important;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-size: 30px;
  animation: zoomInOut 1.5s ease-in-out infinite; /* Continuous animation */
}

/* Zoom-in Zoom-out Animation */
@keyframes zoomInOut {
  0%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.2);
  }
}
.package-card a:hover{
 color:#fff !important;
 background-color: #1b7400 !important;
}

.package-card:hover .btn-book {
background: linear-gradient(to right, #009fa8, #009fa8);
}
.p-60{
  padding: 60px;
}
.cta-padding{
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Contact Page Styles - Scoped to contact page only */
.contact-page .contact-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 50px 0 50px;
  position: relative;
  overflow: hidden;
}

.contact-page .contact-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="contactgrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23contactgrain)"/></svg>');
  opacity: 0.3;
}

.contact-page .contact-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #fff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-page .contact-hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-page .contact-hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-page .hero-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.contact-page .hero-feature i {
  width: 20px;
  color: #ffd700;
}

.contact-page .contact-hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Contact Info Cards */
.contact-page .contact-info-section {
  background: #f8f9fa;
}

.contact-page .contact-info-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-page .contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-page .contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.contact-page .contact-info-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.contact-page .contact-info-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-page .contact-info-card a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.contact-page .contact-info-card a:hover {
  color: #764ba2;
}

.contact-page .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-page .contact-link:hover {
  color: #764ba2 !important;
  transform: translateX(5px);
}

.contact-page .contact-hours {
  font-size: 0.9rem;
  color: #999 !important;
  font-style: italic;
}

/* Contact Form */
.contact-page .contact-form-section {
  background: white;
}

.contact-page .contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-page .section-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.contact-page .section-header .section-subtitle {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.contact-page .contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-page .contact-form .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-page .contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.contact-page .contact-form .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  background: white;
}

.contact-page .contact-form .form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.contact-page .contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-page .contact-form .form-check {
  margin: 1.5rem 0;
}

.contact-page .contact-form .form-check-input {
  margin-top: 0.25rem;
}

.contact-page .contact-form .form-check-label {
  color: #666;
  line-height: 1.5;
}

.contact-page .contact-form .form-check-label a {
  color: #667eea;
  text-decoration: none;
}

.contact-page .contact-form .form-check-label a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.contact-page .btn-contact-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-page .btn-contact-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
  color: white;
}

/* FAQ Section */
.contact-page .faq-section {
  background: #f8f9fa;
}

.contact-page .faq-section .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-page .faq-section .accordion-button {
  background: white;
  border: none;
  padding: 1.5rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  border-radius: 15px;
}

.contact-page .faq-section .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: none;
}

.contact-page .faq-section .accordion-button:focus {
  box-shadow: none;
}

.contact-page .faq-section .accordion-body {
  padding: 1.5rem 2rem;
  background: white;
  color: #666;
  line-height: 1.6;
}

/* Map Section */
.contact-page .map-section {
  position: relative;
}

.contact-page .map-wrapper {
  position: relative;
  overflow: hidden;
}

.contact-page .map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.contact-page .map-wrapper:hover iframe {
  filter: grayscale(0%);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-page .contact-hero {
    padding: 80px 0 60px;
  }
  
  .contact-page .contact-hero-title {
    font-size: 2.5rem;
  }
  
  .contact-page .contact-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-page .contact-hero-features {
    margin-top: 2rem;
  }
  
  .contact-page .hero-feature {
    font-size: 1rem;
  }
  
  .contact-page .contact-info-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-page .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .contact-page .section-header .section-title {
    font-size: 2rem;
  }
  
  .contact-page .section-header .section-subtitle {
    font-size: 1rem;
  }
  
  .contact-page .btn-contact-primary {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

.btn-outline-info:hover {
  color: #fff;
  background-color: #0dcaf0;
  border-color: #0dcaf0;
}
.fa-phone{
  transform: rotate(115deg) !important;
  }
  .test-card-details:hover .test-badge-info {
    color:#fff !important;
}