/********** Template CSS **********/
:root {
    --primary: #0e4e7e;
    --secondary: #00a24f;
    --light: #EEF9FF;
    --dark: #00a24f;
}

body {
    font-family: "Roboto Slab", serif;
    color: #000;
}

.desc {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 16px;
    color: #000;
}

p {
    text-align: justify;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
    font-family: "Roboto Slab", serif;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
    font-family: "Roboto Slab", serif;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
    font-family: "Roboto Slab", serif;
}

.btn {
    font-family: "Roboto Slab", serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 30px;
    height: 30px;
    line-height: 27px;
    padding: 2px;
    border-radius: 50px;
    margin-top: 5px;
}
.btn-lg{
    font-size: 16px !important;
}
.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.font {
    font-family: "Roboto", sans-serif;
}

#card {
    border-radius: 10px;
    border: 2px solid #1469a6;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

a.navbar-brand img {
    width: 220px;
}

/* counter */
#counter {
    background: rgba(black, .05);
    padding: 25px;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    border-radius: 10px;
    color: #fff;
    justify-content: space-between;

    li {
        flex: 1;
        text-align: center;
        font-size: 50px;
        color: #fff;
        list-style-type: none;
    }

    span.percent:after {
        content: " +";
        display: inline-block;
    }
}


@media only screen and (max-width:580px) {

    #counter {
        background: rgba(black, .05);
        padding: 25px;
        width: 800px;
        max-width: 100%;
        margin: 0 auto;
        display: block;
        border-radius: 10px;
        color: #fff;
        justify-content: space-between;

    }

}


#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.fa-user-nurse {
    color: #fff;
    text-align: center;
    font-size: 53px;
    margin-bottom: 20px;
}

.fa-heartbeat {
    color: #fff;
    text-align: center;
    font-size: 53px;
    margin-bottom: 20px;
}

.fa-plus-square {
    color: #fff;
    text-align: center;
    font-size: 53px;
    margin-bottom: 20px;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    right: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: "Roboto Slab", serif;
    padding: 15px 15px;
    font-size: 18px;
    color: #1469a6;
    outline: none;
    transition: .5s;
    font-weight: 600;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #1469a6;
}

.navbar-nav .dropdown-menu {
    width: auto;
    padding: 0px 20px 0px 0px;
}



@media (max-width: 768px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        width: 100%;
    }



}

@media (max-width: 991.98px) {

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}



.display-3 {
    font-size: 44.93px;
    font-family: "Roboto Slab", serif;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

/*.section-title h5::before {*/
/*    position: absolute;*/
/*    content: "";*/
/*    width: 45px;*/
/*    height: 3px;*/
/*    right: -55px;*/
/*    bottom: 11px;*/
/*    background: var(--primary);*/
/*}*/

/*.section-title h5::after {*/
/*    position: absolute;*/
/*    content: "";*/
/*    width: 15px;*/
/*    height: 3px;*/
/*    right: -75px;*/
/*    bottom: 11px;*/
/*    background: var(--secondary);*/
/*}*/

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .5), rgba(9, 30, 62, .5)), url(../img/banner/about-us-mobile.png) center center no-repeat;
    background-size: cover;
}

@media (max-width: 576px) {
    .hero-header {
        background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/about-us-desk.png) center center no-repeat;
        background-size: cover;
    }
}

.service-detail-header {
    background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/servicee-detail.png) center center no-repeat;
    background-size: cover;
}

@media (max-width: 576px) {
    .service-detail-header {
        background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/service-detail.png) center center no-repeat;
        background-size: cover;
    }
}

.medical-header {
    background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/Medical.png) center center no-repeat;
    background-size: cover;
}

@media (max-width: 576px) {
    .medical-header {
        background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/Medical-mobile.png) center center no-repeat;
        background-size: cover;
    }
}

.blog-header {
    background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/blog.png) center center no-repeat;
    background-size: cover;
}

@media (max-width: 576px) {
    .blog-header {
        background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/blog-mobile.png) center center no-repeat;
        background-size: cover;
    }
}

.contact-header {
    background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/contac-us.png) center center no-repeat;
    background-size: cover;
}

@media (max-width: 576px) {
    .contact-header {
        background: linear-gradient(rgba(20, 105, 166, .5), rgba(20, 105, 166, .5)), url(../img/banner/contact-mobile.png) center center no-repeat;
        background-size: cover;
    }
}

.bg-appointment {
    background: url(../img/banner/nurse2.png) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius: 100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-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: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
    border-radius: 20px !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 50px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

/* feature */
.service-section .icon-box {
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: 4px solid #1469a6;
}

.service-section .icon-box:hover .service-title a {
    color: #41A1FD;
}

.service-section .icon-box .service-icon {
    float: left;
    color: #41A1FD;
    font-size: 40px;
}

.service-section .icon-box .service-title {
    margin-left: 70px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.2;
}

.service-section .icon-box .service-title a {
    color: #556270;
    transition: 0.3s;
    text-decoration: none;
}

.service-section .icon-box .service-para {
    margin-left: 70px;
    line-height: 24px;
    font-size: 14px;
}

.service-section .service-main-heading {
    color: #556270;
    padding: 0;
    margin-bottom: 20px;
    line-height: 1;
    font-size: 60px;
    font-weight: 600;
}

@media only screen and (max-width:580px) {

    #counter {
        background: rgba(black, .05);
        padding: 25px;
        width: 800px;
        max-width: 100%;
        margin: 0 auto;
        display: block;
        border-radius: 10px;
        color: #fff;
        justify-content: space-between;

    }

    .title {
        font-size: 24px;
    }


    #header-carousel .carousel-inner .carousel-item img {
        height: 160px;
        width: 100%;
    }


    #header-carousel .carousel-inner .carousel-item .carousel-caption {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0px;
        /*background: rgba(20, 105, 166, .1);*/
        z-index: 1;
    }

    .navbar-brand {
        width: 20%;
    }

    .blog-header #blog-img {
        repeat: no-repeat;
        background-size: cover;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 90px;
    /*background: rgba(20, 105, 166, .1);*/
    z-index: 1;
}


#header-carousel .carousel-inner .carousel-item img {
    filter: brightness(0.5);
    width: 100%;
}

#blog-img {
    repeat: no-repeat;
    background-size: cover;
    padding-top: 9rem;
    padding-bottom: 9rem;
}

.wrapper {
    /* max-width: 1100px; */
    width: 100%;
    position: relative;
    display: flex;
    padding: 0 35px;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    /* background: linear-gradient(to left top, #031a9a, #8b53ff); */
}


.wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.wrapper i:first-child {
    left: -22px;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .card {
    scroll-snap-align: start;
    height: 350px;
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.carousel .card .img {
    background: #8b53ff;
    height: 148px;
    width: 148px;
    border-radius: 50%;
}

.card .img img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.carousel .card p {
    line-height: 15px;
}

.carousel .card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 10px 0 5px;
}

.carousel .card span {
    color: #6a6d78;
    font-size: 1.31rem;
}

@media screen and (max-width: 900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}

@media screen and (max-width: 600px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }


    .wrapper {
        /* max-width: 1100px; */
        width: 100%;
        position: relative;
        display: flex;
        padding: 0 35px;
        align-items: center;
        justify-content: center;
        min-height: 60vh;
        /* background: linear-gradient(to left top, #031a9a, #8b53ff); */
    }


    .wrapper i:first-child {
        left: -10px;
    }

    .wrapper i:last-child {
        right: 0px;
    }

}