/********** Template CSS **********/
:root {
    --primary: #058d1c;
    --secondary: #024107;
    --light: #EFF5F9;
    --dark: #1f4f03;
}
.img-fluid {
    transition: transform 0.3s ease;
}
.img-fluid:hover {
    transform: scale(1.05);
}
.navbar-toggler {
    position: absolute; /* Fix the position */
    right: 15px;       /* Adjust distance from the right */
    top: 35px;         /* Adjust distance from the top */
    z-index: 1050;     /* Ensure it's above other elements */
}

.navbar-brand {
    margin-right: auto; /* Keep brand aligned to the left */
}



 .left-align {
    position: fixed;      /* Fixed position in the viewport */
    left: 10px;           /* Adjust the distance from the left */
    top: 50%;             /* Vertically center the button */
    transform: translateY(-50%); /* Ensure the button is perfectly centered vertically */
    z-index: 9999;        /* Ensure it stays on top */
}




/* डेस्कटॉपवरील स्थिती */
.navbar-brand img {
    max-width: 50px; /* इमेजचा आकार सेट करा */
    border-radius: 50%; /* इमेजला गोल बनविण्यासाठी */
}

/* मोबाइलवरील स्थिती - left alignment */
@media (max-width: 767px) {
    .navbar-brand img {
        float: left; /* इमेजला डाव्या बाजूस ठेवा */
        margin-right: 10px; /* इमेजला टेक्स्टपासून अंतर देण्यासाठी */
    }
}


/* मुख्य स्लायडर कंटेनर */
.image-slider {
    position: relative;
    max-width: 600px; /* स्लायडरची कमाल रुंदी कमी केली */
    width: 100%; /* लहान स्क्रीनसाठी 100% व्यापेल */
    margin: auto; /* स्लायडर मध्यभागी ठेवण्यासाठी */
    overflow: hidden; /* बाहेर जाणारी इमेज लपवा */
    background-color: #f5f5f5; /* स्लायडरचा पार्श्वभूमी रंग */
}


/* स्लायडर कंटेनर */
.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out; /* स्लायडरचे हलणे */
    width: 100%; /* स्लायडरची रुंदी */
}

/* प्रत्येक इमेज */
.slider-container img {
    flex-shrink: 0; /* इमेज कमी होऊ देऊ नका */
    width: 100%; /* प्रत्येक इमेज बॉक्सची 100% रुंदी व्यापेल */
    height: auto; /* उंची स्वयंचलित ठेवली जाईल */
    object-fit: contain; /* इमेज प्रमाण टिकवेल */
}

/* नेव्हिगेशन बटन्स */
button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* छोटे स्क्रीनसाठी सुधारणा (Media Queries) */
@media (max-width: 768px) {
    .slider-container img {
        width: 100%;
        height: auto;
        object-fit: cover; /* छोटे स्क्रीनसाठी जास्त चांगले फिट होईल */
    }
}








.highlight {
    font-weight: bold;
    color: green;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/Sai\ Sparsh\ Hospital.jpeg) center center no-repeat;
    background-size: cover;
    width: 100%;
    height: 600px; /* Default height for desktop */
}

/* Mobile Screen Styles */
@media screen and (max-width: 768px) {
    .hero-header {
        height: 300px; /* कमी उंची मोबाईलसाठी */
        background-position: center top; /* इमेज टॉपवर फोकस */
    }
}


.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
