@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* Define the fade-in animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* Start slightly below */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* End at the original position */
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: white;
    animation: fadeUp 1.5s ease-in-out;

}

.hero {
    position: relative;
    height: 90vh;
    /* Adjust as needed */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../images/service_page/service_hero_img.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-text {
    position: absolute;
    font-size: 4rem;
    font-weight: bold;
    z-index: 1;
    margin: 0 10px;
}

@media screen and (max-width: 590px) {
    .hero-text {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 430px) {
    .hero-text {
        font-size: 3rem;
        padding: 20px;
    }
}

@media screen and (max-width:340px) {
    .hero-text {
        font-size: 2.5rem;
        /* padding: 20px; */
    }
}

/* Service slider Section -------------------------------------------*/
#service-cards {
    /* display: flex; */
    transition: transform 1s ease-in-out;
}

.service-detail-head {
    font-size: 3rem;
    color: #061d3c;
    text-align: center;
    font-weight: bolder;
    max-width: 800px;
    margin: 60px auto 40px;
}

.service-slider {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 0 auto;
    /* remove this */
    margin-bottom: 100px;
}

.service-slider-container {
    overflow: hidden;
    width: 100%;
    height: auto;
}

.service-cards {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.service-card {
    min-width: 100%;
    padding: 50px 100px;
    /* padding-top: 50px; */
    box-sizing: border-box;
    text-align: center;
}

.service-card#Radiology {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic1.jpg') no-repeat center center/cover;
}

.service-card#ICU-NICU {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic2.jpg') no-repeat center center/cover;
}

.service-card#Pediatrics {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic3.jpg') no-repeat center center/cover;
}

.service-card#Neurology {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic4.jpg') no-repeat center center/cover;
}

.service-card#Cardiology {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic5.jpg') no-repeat center center/cover;
}

.service-card#OrthopedicTreatments {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic6.jpg') no-repeat center center/cover;
}

.service-card#PathologyServices {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic7.jpg') no-repeat center center/cover;
}

.service-card#Gynecology-Delivery {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic8.jpg') no-repeat center center/cover;
}

.service-card#OperationFacilities {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic9.jpg') no-repeat center center/cover;
}

.service-card#OutpatientDepartment {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/service_page/slider_pic10.jpg') no-repeat center center/cover;
}

/* if using image then remove top bottom padding of testimonial card */
/* .service-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px;
} */

.service-card blockquote {
    font-size: 1rem;
    color: #ffffff;

    /* font-style: italic; */
}

.service-card .service-card-author {
    font-size: 2rem;
    font-weight: bold;
    color: #c9c9c9;
    margin-bottom: 20px;
}

/* .service-card .service-card-role {
    font-size: 12px;
    color: #777;
} */

/* Dots */
.service-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
}

.service-dots span {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.service-dots span.active {
    background: #4caf50;
    transform: scale(1.2);
}

/* Navigation Buttons */
.service-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.service-nav-btn:hover {
    background: #4caf50;
}

.service-nav-btn.left-0 {
    left: 10px;
}

.service-nav-btn.right-0 {
    right: 10px;
}

@media screen and (max-width: 960px) {
    .service-detail-head {
        font-size: 2.7rem;
        padding: 0 20px;
    }
}

@media screen and (max-width: 480px) {
    .service-detail-head {
        font-size: 2.2rem;
    }

    .service-card {
        padding: 50px 20px;
    }

}

/* same present in home_style,css */
/* home general info section ----------------------------------- */
.hero_gen_info {
    width: 100%;
    height: auto;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('../images/home_page/home_general_info_cta.webp') no-repeat center center/cover;
    color: #fff;
    display: flex;
    justify-content: left;
    align-items: left;
    padding: 150px 20px 50px 200px;
    text-align: left;
    margin-bottom: 100px;
    margin-top: 0;
}

.hero_gen_info_content {
    max-width: 800px;
    /* margin: 200px auto 50px 200px; */
    /* padding: 200px; */
}

.hero_gen_info h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero_gen_info p {
    font-size: 1rem;
    margin-bottom: 10px;
    max-width: 500px;
}

.hero_gen_info ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 1rem;
}

.hero_gen_info ul li {
    margin: 10px 0;
}

.hero_gen_info button {
    background: #3cc2b0;
    color: #fff;
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero_gen_info button:hover {
    background: #061d3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


@media screen and (max-width: 1380px) {
    .highlights {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cards per row */
    }
}

/* Responsive */
@media screen and (max-width: 1360px) {
    .hero_gen_info {
        padding-left: 100px;
    }
}

@media screen and (max-width: 1080px) {
    .hero_gen_info {
        padding-left: 50px;
    }
}

@media screen and (max-width: 960px) {
    .hero_gen_info {
        justify-content: center;
        align-items: center;
        /* text-align: center; */
        padding-left: 20px;
    }

    .hero_gen_info_content {
        margin: 0 auto;
    }

    .hero_gen_info h1 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .hero_gen_info p {
        font-size: 0.9rem;
    }

    .hero_gen_info button {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    .hero_gen_info ul {
        font-size: 0.9rem;
    }
}