/********** Template CSS **********/
:root {
    --primary: #3BB8AE;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.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;
    }
}

.brandlogo{
    width: 84px;
}
.hero-header {
    background-size: cover;

}

.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);
    margin-top: 14px;
}

.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: 788px) {
    .brandlogo{
        width: 150px;
    }
    .text-lg-start{
        font-size: small !important;
    }


}
@media (max-width: 788px) {

    .text-lg-end{
        display: none !important;
    }
    .text-lg-start{
        font-size: small !important;
    }
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}
@media (max-width: 576px) {
    .hero-header {
        background-repeat: no-repeat;
        background-size: cover;
    }
    .team-carousel .owl-nav {
        padding: 0 24px !important;
        top: 175px !important;
    }
    .first_element{
        text-align: center;
        display: block !important;
    }
    .synex{
        text-align: center;
        float: none !important;
    }
    .custom-p {
        padding: 0 !important;
    }
    .text-lg-start{
        font-size: small !important;
    }

}

.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: 100%;
    height: 150px;
}

.doctor-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-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;
}

.doctor-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.doctor-carousel .owl-item img {
    width: 100%;
    height: 150px;
}
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    padding-left: 0;
    color: lightgrey;
}

#progressbar .active {
    color: #000000;
}

#progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 25%;
    float: left;
    text-align: center;
    position: relative;
}

/*Icons in the ProgressBar*/
#progressbar #account:before {
    font-family: FontAwesome;
    content: "\f0f0";
}

#progressbar #personal:before {
    font-family: FontAwesome;
    content: "\f023";
}

#progressbar #payment:before {
    font-family: FontAwesome;
    content: "\f09d";
}

#progressbar #confirm:before {
    font-family: FontAwesome;
    content: "\f00c";
}

/*ProgressBar before any progress*/
#progressbar li:before {
    width: 45px;
    height: 45px;
    line-height: 45px;
    display: block;
    font-size: 18px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
}

/*ProgressBar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before, #progressbar li.active:after {
    background: #3CBDB2;
}

/* .contact_img{
    background: url("../bg_header1.png") no-repeat center;
    background-size: cover;
    width: 100%;
    height: 200px;
} */




.contact_img {
    position: relative; /* Ensure positioning context for absolute positioning */
    background: url("../doctor.png") no-repeat center;
    background-size: cover;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact_img h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}



/* sdfas */
/* sdfas */
.service-item:hover{
    box-shadow: 0px 13px 20px 0px rgba(0, 0, 0, 0.5);
    transition: 0.4s;
    transform: translateY(-10px) ;
    z-index: 1;
    color: white;
    background-color: #3BB8AE  !important    ;
}
.hospital-card {
    overflow: hidden;
    transition: 0.5s;
}

.image-container {
    position: relative;
    width: 100%;
    height: 192px;
}

.image-container .first-image, .image-container .second-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}

.image-container .second-image {
    opacity: 0;
    z-index: 1;
}

.image-container:hover .first-image {
    opacity: 0;
}

.image-container:hover .second-image {
    opacity: 1;
}

.hospital-card:hover{
    box-shadow: 0px 13px 20px 0px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    transform: translateY(-10px) ;
    z-index: 1;
    color: white;
    background-color: #3BB8AE  !important    ;
}

.service-icon{
    position: absolute;
    top: 6px;
}
.nav-item{
    margin-left: 20px !important;
}
/* .doctor-card:hover{
    color:rebeccapurple;
} */
/* sdfas */


.disabled {
    pointer-events: none; /* Disable click events */
    opacity: 0.65; /* Make it look disabled */
    cursor: not-allowed; /* Show a not-allowed cursor */
}
