.banner {
    /* height: 100vh; */
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    display: flex;
    background-position: center center;
    padding: 100px 0 150px;
    position: relative;
    overflow: hidden;
}

.banner:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.banner-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.banner-img {
    position: relative;
}

.banner-img:before {
    content: "";
    position: absolute;
    background-color: rgb(204 144 54);
    height: 100%;
    width: 100%;
    left: -20px;
    right: 0;
    top: -20px;
    bottom: 0;
}

.banner-img:after {
    content: "";
    position: absolute;
    background-color: rgba(20, 20, 20, 0.8);
    height: 100%;
    width: 100%;
    left: 20px;
    right: 0;
    top: 20px;
    bottom: 0;
}

.banner-title {
    font-size: 32px;
    line-height: 42px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 0 20px;
    color: var(--second-color);
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.banner-title span {
    color: var(--first-color);
}

.banner-dsc p {
    font-size: 18px;
    line-height: 28px;
    color: var(--third-color);
    padding: 0 0 5px;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.banner-btn a {
    margin: 0 5px;
}

.home-cta-1,
.home-cta-2 {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

#my-carousel .item img {
    width: 100%;
}

.banner-img .owl-next,
.banner-img .owl-prev {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    position: absolute;
    top: 50%;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    background-color: var(--white-color);
    /* border-radius: 50%; */
    color: var(--second-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none !important;
}

.owl-next i,
.owl-prev i {
    font-weight: 500;
}

.banner-img .owl-prev {
    left: 10px;
    transform: translateX(-70px);
}

.banner-img .owl-next {
    right: 10px;
    transform: translateX(70px);
}

.navigation-img-wrapper {
    margin-top: 4px;
    position: relative;
}

.navigation-img-wrapper .navigator {
    display: none;
}

.navigator {
    display: none;
}

.navigation-img-wrapper .navigator.active {
    display: block;
}

.banner-img .owl-next:hover,
.banner-img .owl-prev:hover {
    background-color: var(--first-color);
    color: var(--white-color);
    opacity: 1;
}

.banner-img:hover .owl-prev,
.banner-img:hover .owl-next {
    transform: translateX(0px);
    opacity: 1;
    pointer-events: fill;
}

.heading {
    font-size: 24px;
    line-height: 34px;
    margin: 0 0 25px;
    text-transform: uppercase;
    position: relative;
    font-weight: 900;
    color: var(--first-color);
}

.sub-heading {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    padding: 10px 0 0 0;
}

.home-slider .carousel-inner {
    overflow: visible;
}

.heading.left-heading:before {
    left: 0;
    right: auto;
}

.heading:after {
    content: "";
    background-image: url(../images/828-thumb.png);
    background-size: 100%;
    background-position: left;
    width: 50px;
    height: 50px;
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: -1;
    opacity: 0.1;
}

.heading.left-heading:after {
    right: auto !important;
}


/******ul-li-list******/

.inner-list li {
    padding: 0 0 8px 15px;
    position: relative;
    overflow: hidden;
    list-style: none;
}

.inner-list li:before {
    content: "";
    position: absolute;
    font-family: 'Font Awesome 6 Pro';
    color: var(--first-color);
    font-size: 16px;
    top: 0;
    left: 0;
}


/******service-boxes******/

.services-panel-main a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
    position: relative;
}

.services-panel-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.services-panel-main a {
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.services-panel-main:before {
    content: "";
    position: absolute;
    background-color: var(--first-color);
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.serv-heading p {
    text-align: center;
    font-size: 18px;
    line-height: 28px;
    padding: 10px 0 0 0;
    color: var(--white-color);
}

.services-panel-main i {
    color: var(--white-color);
    font-size: 35px;
    line-height: 45px;
}

.services-panel-main:nth-child(1):before {
    opacity: 0.95;
}

.services-panel-main:nth-child(2):before {
    opacity: 0.9;
}

.services-panel-main:nth-child(3):before {
    opacity: 0.85;
}

.services-panel-main:nth-child(4):before {
    opacity: 0.8;
}

.services-panel-main:nth-child(5):before {
    opacity: 0.75;
}

.services-panel-main:hover:before {
    background-color: var(--second-color);
    opacity: 1;
}

.services-panel-main:hover a {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/******about-us**********/

.section-divider.about-section {
    background: no-repeat;
    background-position: center center;
}

.aboutus1 {
    margin: 0px 15px 15px 0;
    overflow: hidden;
    border-radius: 100px 0px 0px 0px;
}

.aboutus2 {
    border-radius: 0px 0px 100px 0px;
}

.aboutus3 {
    border-radius: 0px 100px 0px 0px;
}

.aboutus4 {
    border-radius: 0px 0px 0px 100px;
}


/*****patient-services*******/

.red-bg {
    background-color: rgb(229 186 19 / 21%);
    padding: 100px 0 50px;
    z-index: -1;
    position: relative;
}

.banner-bottom.top-ban-bot {
    top: 0;
    bottom: auto;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    z-index: -9;
}

.banner-bottom.top-left-bg {
    position: absolute;
    right: 0;
    z-index: -9;
    bottom: 0;
    left: auto;
}

.service-sec {
    background-color: var(--white-color);
    box-shadow: 5px 1px 11px rgb(0 0 0 / 7%);
    position: relative;
}

.services-image {
    overflow: hidden;
    position: relative;
    text-align: center;
}

.service-dsc {
    min-height: 100%;
    margin: 0 0 30px;
}

.service-sec:hover {
    box-shadow: none;
}

.service-head .sub-heading {
    color: var(--second-color);
    padding: 15px 0;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
}

.service-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    color: var(--white-color);
    font-weight: 600;
}

.service-sec:hover .service-btn {
    transform: translateY(0%);
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--first-color);
}

.service-sec:hover .sub-heading {
    color: var(--first-color);
}


/******testimonial*******/

.testimonials {
    padding: 100px 0;
    position: relative;
    background-attachment: fixed;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.doctor-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35%;
}

.doctor-img img {
    width: 100%;
}

.testi-main {
    background-color: var(--white-color);
    padding: 30px 10px 30px;
    -webkit-box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 7%);
    box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 7%);
    position: relative;
}

.testi-main:before {
    content: "";
    position: absolute;
    background-color: rgba(20, 20, 20, 0.8);
    height: 100%;
    width: 100%;
    left: 20px;
    right: 0;
    top: 20px;
    bottom: 0;
    z-index: -1;
}

.testi-image {
    display: block;
    text-align: right;
}

.testi-title .sub-heading {
    padding: 20px 0 10px;
    position: relative;
}

.testi-title .sub-heading:before {
    position: absolute;
    content: "";
    font-family: "Font Awesome 5 Pro";
    font-size: 40px;
    line-height: 50px;
    right: 0;
    top: 0;
    color: var(--first-color);
}


/*******home-form********/

.home-form-block {
    padding: 30px;
    background-color: rgb(255 255 255);
    margin: 0 0 -110px 0;
    position: relative;
    z-index: 1;
    -webkit-box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 7%);
    box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 7%);
}

.home-form-sec {
    position: relative;
}

.map-sec iframe {
    height: 350px;
}

.map-sec {
    position: relative;
    z-index: -1;
}

.map-sec:before {
    content: "";
    position: absolute;
    background-color: rgba(20, 20, 20, 0.8);
    height: 100%;
    width: 100%;
    left: 20px;
    right: 0;
    top: 20px;
    bottom: 0;
}


/****form****/

.home-form-block .form-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 30px;
}

.form-icon {
    color: var(--first-color);
    width: 35px;
}

.form-field {
    width: 100%;
}

.home-form-block label {
    text-transform: uppercase;
    color: var(--second-color);
}

.form-control {
    background-color: transparent;
    color: #fff;
    padding: 6px 0 8px;
    border: none;
    height: auto;
    border-bottom: 1px solid #fff;
    border-radius: 0;
}

.form-control:focus {
    box-shadow: none;
    border: none;
}

/***********gallery**********/
.gallery-single {
    position: relative;

}

.gallery-border {
    box-shadow: 4px 7px 14px rgb(50 50 50 / 22%);
    border: 5px solid #fff;
    margin: 0px 0 25px;
    position: relative;
}

@media(max-width:1400px) {
    .doctor-img {
        width: 35%;
    }


}

@media(max-width:1024px) {
    .banner {
        padding: 80px 0 120px;
    }

    .banner-title {
        font-size: 26px;
        line-height: 36px;
    }

}

@media(max-width:990px) {
    .banner {
        padding: 40px 0 100px;
    }

    .navigation-img-wrapper {
        text-align: center;
        padding: 0 0 50px;
    }

    .banner-img .owl-prev,
    .banner-img .owl-next {
        transform: translateX(0px);
        opacity: 1;
        pointer-events: fill;
    }

    .aboutus-main {
        justify-content: center;
        padding: 0 0 30px;
    }

    .red-bg {
        background-color: var(--gray-color);
        padding: 60px 0 40px;
    }

    .testimonials {
        padding: 50px 0 70px;
    }
}

@media(max-width:767px) {
    .banner-img {
        margin: 0 20px 0 10px;
    }

    .banner-dsc {
        padding: 10px 0;
    }

    .banner-img:before {
        left: -15px;
        top: -15px;
    }

    .banner-img:after {
        left: 15px;
        top: 15px;
    }

    .banner-title {
        font-size: 22px;
        line-height: 32px;
    }

    .banner-btn {
        flex-direction: column;
    }

    .banner-dsc p {
        font-size: 16px;
        line-height: 26px;
    }

    .banner-btn a {
        margin: 5px 0;
    }

    .banner-dsc .inner-list {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }




    .heading {
        font-size: 22px;
        line-height: 32px;
        margin: 0 0 10px !important;
    }

    .services-panel-block {
        flex-wrap: wrap;
    }

    .services-panel-main {
        width: 100%;
        flex: none;
    }

    .testi-main {
        padding: 0px;
        margin: 0 40px 0 0;
    }

    .testi-main:before {
        left: 15px;
        top: 15px;
    }

    .home-form-sec {
        margin: 0 0px 40px 0;
    }

    .home-form-block {
        padding: 15px;
        margin: 0 0 40px;
    }

    .service-sec {
        margin: 15px 0 15px;
    }

    .map-sec:before {
        left: 10px;
        top: 10px;
    }

    .footer-left-block {
        flex-direction: column;
    }

    .testi-title .sub-heading {
        padding: 40px 0 10px;
    }
}


/*****inner*****/

.inner-banner-bg {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 160px 0;
}

.inner-banner-bg:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    opacity: 0.5;
}

.inner-banner-heading {
    font-size: 30px;
    line-height: 40px;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    font-weight: 900;
    color: var(--first-color);
    position: relative;
}

.inner-banner-heading:before {
    content: "";
    background-image: url(../images/828-thumb.png);
    background-size: 100%;
    background-position: left;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: -1;
    opacity: 0.1;
}

.inner-banner-heading span {
    color: var(--second-color);
}


/* .inner-banner-bg .heading {
    margin: 0;
} */

.inner-thumb {
    box-shadow: 5px 1px 11px rgb(0 0 0 / 7%);
    background-color: rgba(20, 20, 20, 0.8);
    overflow: visible;
    margin: 0 0 0 50PX;
}

.inner-thumb img {
    /* border-radius: 100px 0px 0px 0px; */
    margin: -30px 30px 30px -30px;
}

.aboutus1 {
    border-radius: 0 !important;
}

.form-group:hover .form-icon,
.form-group:focus .form-icon {
    animation: toBottomFromTop10 0.3s forwards;
}

@media(max-width:990px) {
    .inner-banner-bg {
        padding: 100px 0;
    }

    .inner-thumb {
        margin: 0 0 30px;
    }

    .section-divider {
        margin: 0 0 40px;
    }

    .inner-thumb img {
        border-radius: 0;
        margin: -15px 15px 15px -15px;
    }

    .inner-banner-heading {
        font-size: 24px;
        line-height: 34px;
    }
}

@media(max-width:767px) {
    .inner-banner-bg {
        padding: 60px 0;
    }

    .inner-thumb img {
        border-radius: 0;
        margin: -15px 15px 15px -15px;
    }

    .contact-address-single {
        padding: 15px 10px;
    }
}


/*******contactus****/

.contact-icon-desc-area {
    display: flex;
    padding: 0 0 15px;
}

.contact-icon-desc-area:last-child {
    padding: 0 0 0px;
}

.contact-desc {
    flex: 1;
}

.contact-icon {
    width: 60px;
    text-align: center;
}

.contact-icon-desc-area:hover .contact-icon {
    animation: toBottomFromTop10 0.3s forwards;
}

.contact-address-single {
    background-color: var(--white-color);
    padding: 30px;
    position: relative;
    border: 1px solid #eee;
}

@media(max-width:767px) {
    .contact-address-single {
        padding: 15px 10px;
    }
}


/**************/

.heading span {
    color: #000;
}

.gallery-preview {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-preview a {
    width: 10%;
    display: inline-block;
    margin: 5px;
}

.table>thead {
    background-color: var(--first-color);
}

.table>thead th {
    color: var(--white-color);
    vertical-align: middle;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: rgb(239 0 0 / 5%);
}

tr td:first-child {
    font-weight: 700;
}

.cards-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.cards-block p {
    flex: 1;
    text-align: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin: 5px;
    font-size: 20px;
    line-height: 35px;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.cards-block p:hover {
    animation: toBottomFromTop10 0.3s forwards;
    color: var(--first-color);
    border-color: var(--first-color);
}

.cards-block p i {
    font-size: 30px;
    line-height: 30px;
}

@media(max-width:990px) {
    .gallery-preview a {
        width: 15%;
    }

    .banner-img .owl-next,
    .banner-img .owl-prev {
        width: 25px;
        height: 25px;
        font-size: 12px;
        top: 0;
        bottom: 0;
        margin: auto 0;
    }
}

@media(max-width:767px) {
    .cards-block p span {
        display: block;
    }

    .cards-block p {
        flex: auto;
        padding: 10px;
        font-size: 16px;
        line-height: 26px;
        width: 40%;
    }
}

.nav-tabs .nav-item {
    margin: 0;
}

.nav-tabs .nav-item .nav-link {
    font-size: 15px;
    color: var(--second-color);
    border: none;
    margin: 0;
    padding: 15px 15px !important;
}

.nav-tabs .nav-item:last-child {
    padding: 0 !important;
    text-align: left;
}

.nav-tabs .nav-item .nav-link:hover {
    color: var(--second-color);
}

.nav-tabs {
    border: none;
    flex-direction: column;
    background-color: var(--red-bg-color);
}

.tab-content {
    background-color: var(--red-bg-color);
    padding: 20px;
    border-radius: 5px;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: var(--white-color);
    background-color: var(--first-color);
    border-color: transparent;
    position: relative;
}

.nav-tabs .nav-link.active {
    position: relative;
}

.nav-tabs .nav-link:before {
    position: absolute;
    content: "";
    right: 0px;
    top: 0;
    bottom: 0;
    border-bottom: 25px solid transparent;
    border-left: 15px solid var(--first-color);
    border-top: 30px solid transparent;
    opacity: 0;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.nav-tabs .nav-link.active:before {
    right: -15px;
    opacity: 1;
}

.testimonials-inner .testi-main {
    margin: 0 0 30px;
}

.testimonials-inner .row .col-lg-6.col-md-12:last-child .testi-main {
    margin: 0 0 0px;
}

.testimonials-inner .testi-main:before {
    content: none;
}

.testi-image i {
    color: #ffcc44;
}

.custom-control.custom-radio.custom-control-inline {
    margin: 0 10px 0 0px;
}

.em-form {
    padding: 30px;
    background-color: rgb(255 255 255);
    position: relative;
    -webkit-box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 7%);
    box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 7%);
}

.em-form .form-group {
    border: none;
}

.em-form .form-group input {
    border: 1px solid rgb(199, 199, 199);
}

.em-form .form-group label {
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    padding: 0 0 10px;
}

.em-form h4 {
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: var(--first-color);
}

@media(min-width:767px) {
    .inner-list.inner-colum-list {
        column-count: 2;
    }
}

@media (max-width: 1199px) {
    .nav-tabs .nav-item {
        padding: 0;
    }
}

@media(max-width:767px) {
    .nav-tabs {
        margin: 0 0 15px;
    }

    .em-form {
        padding: 15px;
    }

    /* .nav-tabs .nav-link.active:before {
        right: 0;
        opacity: 1;
    } */
    .nav-tabs .nav-link:before {
        content: none;
    }
}

/*******testimonials********/
.rep-testimonial-footer p strong:last-child {
    color: var(--first-color) !important;
}


.rep-testimonial-stars {
    color: var(--second-color) !important;
}


#Review-ow {}

.tns-controls button {
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
    position: absolute !important;
    top: 50% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    -webkit-transition: 0.3s all ease-in-out !important;
    transition: 0.3s all ease-in-out !important;
    background-color: var(--white-color) !important;
    color: var(--second-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tns-controls button:hover {
    background-color: var(--first-color);
    color: var(--white-color);
}

.rep-testimonial-slider-single {
    border: 1px solid var(--gray-color) !important;
    padding: 5px !important;
    margin: 0 5px !important;
}

.preg-sec p {
    font-size: 12px;
    line-height: 22px;
    padding: 0 0 10px;
}