.hm-card-swiper {
    overflow: hidden;
}

.cards-swipe {
    background-color: var(--color-bg);
    padding: 100px 0;
}

.pagination {
    justify-content: center;
}

.cards {
    padding: 40px;
    background-color: var(--color-white);
    height: auto;
    display: flex;
    flex-direction: column;
}

.swiper-slide.cards.swiper-slide-active {
    background-color: var(--color-white);
    transition: all 0.5s ease;
    box-shadow: 0 3px 40px 0 rgba(0,0,0,0.06);
}

.swiper-pagination-bullet {
    background: #06572d;
    border: 1px solid gray;
    padding: 2px;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--color-heading);
}

.hm-card-swiper .desc {
    text-align: left;
    /* font-size: 19px; */
    /* line-height: 34px; */
    font-weight: 500;
    font-style: normal;
    margin-bottom: 50px;
    /* color: var(--color-heading); */
}

.author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author_subtitle {
    margin-top: 0;
    opacity: 0.8;
    font-size: 16px;
    line-height: 20px;
    text-align: left;
    color: #18372D;
}

.author_img img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    margin-right: 16px;
}

.author_title {
    margin: 0;
    color: #275B4B;
    font-size: 19px;
    line-height: 24px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
}

@media screen and (max-width: 1440px) {
    .cards {
        padding: 35px 40px 40px 80px;
    }
}

@media screen and (max-width: 1300px) {
    .cards {
        padding: 30px 30px 30px 60px;
    }

    .desc {
        font-size: 18px;
        line-height: 30px;
    }

    .author_img img {
        width: 50px;
        height: 50px;
    }

    .author_title {
        font-size: 17px;
        line-height: 22px;
    }

    .author_subtitle {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .cards {
        padding: 0 35px;
    }

    .swiper-slide.cards.swiper-slide-active {
        background-color: transparent;
        box-shadow: none;
    }

    .author {
        justify-content: flex-start;
    }

    .hm-card-swiper .desc{
        margin-bottom: 0;
    }
}

/* ------Section 2------------- */

.about_us {
    padding: 10rem 0;
}

.about_head {
    font-size: 3.353em;
    font-weight: 600;
    line-height: 1em;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0px;
}

.accord_wrap {
    margin-top: 50px;
}

.about_img_wrap {
    display: flex;
    justify-content: flex-end;
}

.about_us .content_wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about_us .right {
    padding-left: 50px;
}

.counter-wrap {
    display: flex;
    gap: 25px;
    margin-top: -240px;
    justify-content: center;
}

.count-card {
    padding: 30px 37px 30px 37px;
    min-width: 250px;
}

    .count-card.bg-first {
        background-color: var(--color-heading);
        color: var(--color-white);
    }

    .count-card.bg-white {
        background-color: var(--color-white);
        color: var(--color-heading);
    }

    .count-card h5 {
        font-size: 19px;
        line-height: 1.4em;
        font-weight: 500;
        font-style: normal;
        text-transform: none;
        letter-spacing: 0;
        color: inherit;
    }

.counter-wrap .counter {
    margin: 0;
    font-size: 3.529em;
    line-height: 1em;
    font-weight: 500;
    letter-spacing: 0px;
    margin-bottom: 10px;
}

.count-card p {
    color: #FFFFFFC9;
    font-size: 17px;
    line-height: 1.2em;
}

.about_us .accordion-button.collapsed, .about_us .accordion-button.collapse {
    padding: 25px 0px 25px 0px;
    margin: 0;
    font-weight: 600 !important;
    line-height: 1;
    border-bottom: 2px solid #d4d4d4;
    cursor: pointer;
    outline: none;
    font-size: 19px;
    line-height: 22px;
}

.accordion-item {
    border: 0;
}

.accordion-body {
    padding: 0px 0px 20px 0px;
}

.accordion-button:not(.collapsed) {
    padding: 25px 0px 25px 0px;
    color: var(--color-heading);
    background-color: var(--color-white);
    box-shadow: none;
    font-size: 19px;
    line-height: 22px;
    font-weight: 600;
}

.accordion-button:focus {
    z-index: 3;
    border-color: 0;
    outline: 0;
    box-shadow: none;
}

.about_us .play-button {
    margin-bottom: 40px;
}

    .about_us .play-button a {
        color: var(--color-heading);
        font-size: 16px;
        padding: 19px 25px;
        border-style: solid;
        border-width: 1px 1px 1px 1px;
        border-color: #D9E3EB;
        border-radius: 50px 50px 50px 50px;
        box-shadow: 0px 0px 0px 5px #ECF4FA;
    }

@media screen and (max-width: 992px) {
    .accord_wrap {
        margin-top: 10px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 767px) {

    .count-card h5 {
        font-size: 1.4rem;
    }

    .counter-wrap .counter {
        font-size: 2.5rem;
    }

    .about_head {
        font-size: 32px;
        line-height: 34px;
    }

    .about_us {
        padding: 5rem 0;
    }

        .about_us .accordion-button.collapsed, .about_us .accordion-button.collapse {
            padding: 14px 0px 14px 0px;
            font-weight: 500;
        }

        .about_us .right {
            padding-left: 0.8rem;
        }

    .count-card {
        padding: 16px 15px 17px 15px;
        min-width: 47%
    }

    .counter-wrap {
        margin-top: -180px;
    }

    .count-card p {
        font-size: 1.4rem;
    }

    .about_us .play-button a {
        padding: 13px 17px;
    }
}

/* ---------our doctors-------------  */

.arrow-icon i {
    font-size: 40px;
    color: var(--color-heading);
}

.updates-subs {
    background-color: var(--color-bg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-wrap {
    width: 50%;
    margin: 0 auto;
}

.updates-wrap {
    padding: 80px 0;
}

.sub-head {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    opacity: 1;
    color: var(--color-heading);
}

.sub-heading {
    font-size: 3.353em;
    font-weight: 600;
    font-style: normal;
    line-height: 1em;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 1.04em;
    margin-bottom: .46em;
    color: var(--color-heading);
}

.email-input {
    padding: .7em 4em .7em 1.7em;
    font-size: 16px;
    line-height: 22px;
    width: 100%;
    margin: 0;
    height: 57px;
    border: none;
    background-color: var(--color-white) !important;
    border-radius: 30px;
    box-shadow: 0 3px 25px rgba(0,0,0,.05) !important;
}

    .email-input:focus {
        outline: 0;
    }

.form-lbl {
    position: relative;
    font-size: 14px;
    padding-left: 1em;
    line-height: 22px;
    display: inline-block;
    vertical-align: top;
}

.agree-wrap {
    margin: 26px auto 0;
}

    .agree-wrap label {
        color: #aebcd4;
    }

.email-form {
    position: relative;
}

    .email-form button {
        width: 51px;
        overflow: hidden;
        height: 51px;
        line-height: 51px;
        position: absolute;
        margin: 0;
        top: 3px;
        right: 3px;
        font-size: 16px;
        font-weight: 500;
        display: inline-block;
        white-space: normal;
        -webkit-border-radius: 50%;
        -ms-border-radius: 50%;
        border-radius: 50%;
        color: var(--color-white);
        border-color: #fd7959;
        background-color: #fd7959;
        color: transparent !important;
        padding: 0 !important;
    }

        .email-form button:before {
            content: '';
            font-family: 'FontAwesome';
            position: absolute;
            right: -2px;
            top: 0;
            z-index: 1;
            width: 100%;
            height: 100%;
            line-height: inherit;
            font-weight: 400;
            -webkit-transition: all .3s ease;
            -ms-transition: all .3s ease;
            transition: all .3s ease;
            margin: 0;
            text-align: center;
            font-size: 18px;
            color: var(--theme-color-inverse_link) !important;
        }

@media screen and (max-width: 767px) {

    .form-wrap {
        width: 80%;
        margin: 0 auto;
    }

    .sub-head {
        font-size: 13px;
        line-height: 16px;
    }

    .sub-heading {
        font-size: 2rem;
        line-height: 1em;
        margin-top: 0.04rem;
        margin-bottom: 1.5rem;
    }

    .updates-wrap {
        padding: 8rem 0;
    }

    .doctor-detail-wrap {
        text-align: center;
    }
}
/* ---------our doctors-------------  */

.doc-desg {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--color-heading);
}

.doc-name {
    margin: 0;
    font-size: 40px;
    line-height: 1.1em;
    font-weight: 600;
    color: var(--color-heading);
    margin-top: 16px;
    margin-bottom: 2.8rem;
}

.doc-img-wrap img {
    width: 100%;
}

.progress-widget {
    margin-top: 100px;
    padding: 39px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
}

.progress-name, .progress-percent {
    font-size: 19px;
    font-weight: 600;
    color: var(--color-heading);
}

.progres-wrap {
    margin-bottom: 26px;
}

.progres-cont {
    padding: 50px 45px 50px 45px;
    background-color: #ECF4FA;
    margin-left: -120px;
}

.doc-para {
    /*font-size: 19px;*/
    color: var(--color-heading);
}

.doc-social-icon {
    padding-top: 50px;
}

    .doc-social-icon a {
        display: inline-block;
        vertical-align: top;
        margin: 0 7px 7px 0;
        color: var(--color-heading);
        background-color: #ecf4fa;
        border: none;
        font-size: 16px;
        width: 45px;
        height: 45px;
        text-align: center;
        line-height: 45px;
        border-radius: 50%;
        transition: all .3s ease;
    }

        .doc-social-icon a:hover {
            color: var(--color-white);
            background-color: var(--color-heading);
        }

@media screen and (max-width:992px) {
    .progress-widget {
        margin-top: 0px;
    }

    .progres-cont {
        margin-left: 0px;
        padding: 6rem 0;
    }

    .doc-social-icon {
        padding-top: 15px;
    }

    .doc-para {
        font-size: 1.5rem;
    }
}

/* -------Medical Emergencies-----------  */

.about-section .img-wrap {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .about-section .img-wrap a {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        z-index: 1;
        background: var(--color-white);
        color: var(--color-dark);
        border-radius: 50%;
        width: 100px;
        height: 100px;
    }

        .about-section .img-wrap a i {
            font-size: 40px;
            margin-left: 12px;
        }

.img-wrap img {
    width: 100%;
}

.aboutCard-wrap {
    padding: 0 15%;
}

.about-cards {
    padding: 100px 0;
}

.patient-desc {
    margin-top: 30px;
    text-align: center;
    font-size: 19px;
    line-height: 34px;
    font-weight: 400;
    font-style: normal;
    color: var(--color);
}

.swiper-slide.about-cards i {
    font-size: 40px;
    color: var(--color-heading);
}

.modal-content {
    background-color: transparent;
    border: none;
    border-radius: none;
    outline: 0;
}

    .modal-content .btn-close {
        display: flex;
        align-self: end;
        outline: 0;
    }

        .modal-content .btn-close:hover {
            transform: rotate(360deg);
            transition: all 0.5s ease;
            color: var(--color-heading);
        }

@media screen and (max-width:992px) {
    .patient-desc {
        font-size: 16px;
        line-height: 27px;
    }

    .doc-name {
        font-size: 2rem;
    }

    .about-cards {
        padding: 8rem 0;
    }

    .doc-social-icon a {
        width: 35px;
        height: 35px;
        line-height: 2.2;
    }
}
/* -------Medical Emergencies-----------  */
