/* --- Theme Variables --- */
 :root {
    --primary:0, 181, 226;
    /* Healthians-style Cyan Blue */
    --primary-dark: 0, 140, 176;
    --secondary: #2c3e50;
    /* Dark Slate for Text */
    --accent: #ff9f43;
    /* Orange for urgent buttons */
    --light-bg: #f4f9fc;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 181, 226, 0.1);
    --white-bg: 255, 255, 255;
    --black-color: 0, 0, 0;
    --what-app: 37, 211, 102;
    --black-primary: 33, 37, 41;
}

html {
    scroll-behavior:smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    overflow-x: hidden;
    /* padding-top: 76px; */
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: rgb(var(--primary));
    border-radius: 5px;
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
}

.navbar-brand {
    font-weight: 700;
    color:  rgb(var(--primary))!important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--secondary);
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: rgb(var(--primary));
}

.btn-nav {
    background-color: rgb(var(--primary));
    color: white;
    border-radius: 50px;
    padding: 8px 25px;
}

.btn-nav:hover {
    background-color: rgb(var(--primary-dark));
    color: white;
}

/* --- Hero Section --- */
#hero {
    /* background-image: url('https://img.freepik.com/free-vector/scientists-working-laboratory-medical-research-lab-science-chemical-pharmacy-education-concept_33099-1707.jpg?w=900'); */
    background: url('../images/hero_section.webp') no-repeat center / cover;
    padding: 0px 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--black-color), 0.5);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: rgb(var(--white-bg));
}

.hero-title span {
    color: rgb(var(--primary));
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Hero Buttons */
.btn-main {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s;
}

.btn-whatsapp {
    background-color:rgb(var(--what-app));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    color: white;
    transform: translateY(-2px);
}

/* Service section */

#services{
    /* background-color: rgba(var(--primary), 0.7); */
    background-color: var(--light-bg);
    position: relative;
    h6{
        color: rgb(var(--primary-dark));
        font-size: 20px;
        font-weight: 700
    }
    h2{
        /* color: rgb(var(--white-bg)); */
        color:rgb(var(--primary-dark)) ;
    }
}


/* --- Section Titles --- */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h6 {
    color: rgb(var(--primary));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-weight: 700;
    margin-top: 10px;
}

/* --- Cards General --- */
.custom-card {
    background: white;
    border-radius: var(--radius);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* --- Services --- */
.service-icon-box {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: rgb(var(--primary));
    font-size: 1.8rem;
}

/* --- Swiper Styles --- */
.servicesSwiper {
    padding: 20px 0 60px 0;
    overflow: hidden;
}

.servicesSwiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.servicesSwiper .swiper-slide {
    height: auto;
    display: flex;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.servicesSwiper .swiper-slide .custom-card {
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicesSwiper .swiper-slide-active .custom-card {
    transform: scale(1.08);
    box-shadow: 0 10px 40px rgba(0, 181, 226, 0.25);
}

/* Swiper Navigation Buttons */
.servicesSwiper .swiper-button-next,
.servicesSwiper .swiper-button-prev {
    color: rgb(var(--primary));
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.servicesSwiper .swiper-button-next:after,
.servicesSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
}

.servicesSwiper .swiper-button-next:hover,
.servicesSwiper .swiper-button-prev:hover {
    background: rgb(var(--primary));
    color: white;
    transform: scale(1.1);
}

/* Swiper Pagination */
.servicesSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgb(var(--primary-dark));
    opacity: 1;
    transition: all 0.3s ease;
}

.servicesSwiper .swiper-pagination-bullet-active {
    background: rgb(var(--primary-dark));
    width: 30px;
    border-radius: 10px;
    opacity: 0.8;
}

/* Hide navigation on mobile */
@media (max-width: 768px) {
    .servicesSwiper .swiper-button-next,
    .servicesSwiper .swiper-button-prev {
        display: none;
    }
}

/* --- How It Works --- */

.step-circle{
    background-color: rgb(var(--primary-dark));
    padding: 30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center; 
}

.steps {
    max-width: 300px;
    width: 100%;
    position: relative;
    text-align: center;
    justify-content: center;
    align-items: center;
}
/* --- Pricing --- */
.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--primary));
    span{
        font-size: 1.5rem;
        font-weight: 400;
    }
    span:nth-child(1){
        margin-right: 10px;
    }
}

.popular-badge {
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

/* --- Map --- */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
}

footer a:hover {
    color: rgb(var(--primary));
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    #hero {
        text-align: center;
    }

    .btn-main {
        width: 100%;
        margin-bottom: 10px;
    }
}

.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 250px;
}

.service-card .service-card-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('../images/tests/cbp.webp');
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s ease;
  opacity: 1;
  h5{
    color: rgb(var(--white-bg));
    z-index: 2;
    font-size: 26px;
  }
  p{
    z-index: 2;
    background-color: rgb(var(--primary));
    color: rgb(var(--white-bg));
    border-radius: 50px;
    padding: 6px 25px
  }
  .btn{
    z-index: 2;
    background-color: rgb(var(--primary));
    color: rgb(var(--white-bg));
    border-radius: 50px;
    padding: 6px 25px
  }
}

.service-card .service-card-front::before{
    background: rgba(var(--black-color), 0.5);
     backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.modal-header{
    background-color: rgba(var(--primary), 0.7);
    color: rgb(var(--white-bg));
    padding: 5px 20px;
    .btn i{
        font-size: 30px;
        color: rgb(var(--white-bg));
    }
}
footer{
    ul{
        li{
            margin-bottom: 10px;
        }
    }
}

#progress {
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
}

#progress-value {
    display: block;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    background-color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    color: #001a2e;
}

.packages-cards{
    max-height: 460px !important;
    height: 100% !important;
    background-color: rgb(var(--white-bg));
    border-radius: 15px;
}
.tests{
    font-size: 0.75rem;
}
