@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bs-primary: #CE0135;
    --bs-secondary: #0D3D3E;
    --bs-body-font-family: "Libre Franklin", sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #666666;
    --bs-body-bg: #fff;
}

body {
    overflow-x: hidden
}

html {
    scroll-behavior: initial !important
}

img {
    max-width: 100%;
    height: auto
}

.section {
    padding: 50px 0
}

.btn {
    font-size: .875rem;
    border-radius: 4px;
    /* --bs-btn-padding-x: 1rem; */
}

.sec_head {
    font-size: 2.75rem;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #000;
}

.sec_head span {
    color: var(--bs-primary);
    font-weight: 500;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    color: #fff;
    border-color: transparent;
    padding: 10px 40px;

}

.btn-secondary {
    background-color: var(--bs-secondary);
    color: #fff;
    border-color: transparent;
}

.btn-primary:hover,
.btn-primary:active {
    background-color: #A5022B;
    color: #fff;
    border-color: #A5022B;
}

.navbar-brand img {
    max-width: 120px;
}

.banner_sec {
    /* padding: 60px 0 100px; */
    /* background: linear-gradient(180deg, rgba(251, 234, 228, 1) 18%, rgba(255, 210, 215, 1) 100%); */
}

.bannerimg {
    min-height: 630px;
    object-fit: cover;
    object-position: left;
}

.banner_content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}


/* .banner-content {
    position: absolute;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
} */

.banner-content .btn {
    font-weight: 600;
}

.banner-content .text {
    font-size: 0.8rem;
}

.banner-content .btn {
    font-weight: 600;
}

.banner-form-text .heading {
    font-weight: 500;
    font-size: 2.25rem;
    text-transform: capitalize;
}

.banner-list {
    padding: 0 0 10px;
}

.banner-list li {
    font-size: 1rem;
    font-weight: 500;
}

.banner-list li span {
    font-weight: 600;
    color: var(--bs-primary);
}

.consultation-form {
    background-color: #ffff;
    border-radius: 12px;
    padding: 20px;
}

.consultation-form .form-head {
    font-weight: 600;
    font-size: 1.25rem;
}

.bannerform .form-control,
.bannerform .form-select {
    padding: 12px 8px;
}

/* step_inside_sec */
.back_ground {
    background-image: url('../images/back.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
    position: relative;
}

.step_text {
    font-size: 1.35rem;
}

.step_card {
    padding: 0 30px;
    height: 100%;
}

.step_img {
    margin-bottom: 16px;
    width: 50px;
}

.step_card .text {
    font-size: 1.35rem;
    color: #000;
}

.step_block .border-end {
    opacity: 1;
    border-right: 2px solid var(--bs-primary) !important;
}

.doc_list {
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 20px;
    width: 310px;
    max-width: 100%;
}

.doc_list li i {
    width: 40px;
    display: inline-block;
}

.btn_book {
    width: fit-content;
}

.personalized_block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.personalized_card {
    background-color: #F2BBA7;
    border-radius: 12px;
    padding: 16px 30px;
    height: 340px;
    position: relative;
    width: 22%;
}

.personalized_card:not(:nth-child(1)) {
    margin-left: -2%;
}

.personalized_card:nth-child(2) {
    background-color: #F5C9B9;
}

.personalized_card:nth-child(3) {
    background-color: #F7D6CA;
}

.personalized_card:nth-child(4) {
    background-color: #FBEBE5;
}

.personalized_card .number {
    font-size: 4rem;
    font-weight: 200;
    color: #666666;
    margin-bottom: 80px;
    line-height: 1.2;
    transition: .5s ease;
}

.personalized_card .per_content .head,
.personalized_card .per_content .subhead {
    font-size: 1.25rem;
    font-weight: 500;
}

.personalized_card .per_content .subhead {
    color: #7A7A7A;
    font-weight: 700;
}

.per_img {
    background-color: #fff;
    padding: 7px;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    box-shadow: 0px 2.23px 2.23px 0px #00000040;
    margin-bottom: 12px;
}

.per_img img.img_black {
    display: flex !important;
}

.result_hover .img_white {
    display: flex !important;
}

.result_hover .per_img img.img_black,
.img_white {
    display: none !important;
}

.result_hover .per_img img {
    filter: brightness(0) invert(1);
}

.per_img img {
    width: 36px;
    height: 36px;
    margin: auto;
    align-items: center;
    display: flex;
    justify-content: center;
}

.personalized_card .per_text {
    font-size: 1.125rem;
    display: none;
    transition: all .5s ease-in-out;
}

.personalized_card.result_hover {
    /* background-color: #F2BBA7; */
    width: 40%;
}

.result_hover .number {
    font-size: 10rem;
    line-height: 1;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0px;
    text-shadow: 2px 2px #9a9999;
}

.result_hover .per_img {
    background-color: var(--bs-primary);
    padding: 10px;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50px;
    left: 100px;
    transition: all .5s ease-in-out;
}

.result_hover .per_img img {
    width: 44px;
    height: 44px;
}

.result_hover .per_text {
    display: block;
}

.result_hover .per_content .subhead {
    color: var(--bs-primary);
    font-weight: 500;
}

.result_hover .per_content .head,
.result_hover .per_content .subhead {
    font-size: 1.5rem;
}

.clinioc {
    border-right: 1px solid var(--bs-primary);
    font-size: 1.75rem;
}

.address h5 {
    font-size: 1.75rem;
}

.address h5 {
    font-size: 1.75rem;
}

.footer {
    background-color: #F2D7C299;
    padding: 40px 0 30px;
}

.footer_bottom {
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer_bottom a {
    text-decoration: none;
    color: #000000b1;
    font-size: 14px;
}

.popup-form .btn-close {
    opacity: 1;
    position: absolute;
    top: 10px;
    right: 20px;
    border-radius: 30px;
    padding: 12px;
}

.popup-form .modal-body {
    padding: 30px;
}

.popup-form .modal-content {
    border-radius: 22px;
}

.popup-form .form-control {
    padding: 12px 16px;
}

.bottom-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    margin: auto;
    z-index: 999;
    padding: 20px 0 40px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 100%);
}

.bottom-action .btn-primary.book {
    border-radius: 52px;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 60px;
    width: fit-content;
    margin: auto;
}

.whatsapp_btn {
    display: flex;
    justify-content: flex-end;
}

.whatsapp_btn .btn-primary {
    padding: 8px;
    border-radius: 30px;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
}

.accordion-item {
    border: none;
    margin-bottom: 36px;

}

.accordion-item .per_img {
    margin-right: 30px;
    margin-bottom: 0;
    background-color: var(--bs-primary);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-header {
    display: flex;
    align-items: center;
}

.accordion-button {
    padding: 16px 20px;
    background-color: #FFF6F1;
    border-radius: 60px !important;
    box-shadow: 0px 2.23px 2.23px 0px #00000040;
}

.accordion-button .per_content {
    color: #000;
    font-weight: 500;
    font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f0f8ff;
}


.accordion-button:not(.collapsed) .per_content {
    color: #000;
}
.accordion-item:has(.accordion-collapse.show) .per_img {
    transform: scale(1.2);
    transition: all 0.1s ease-in-out;
    box-shadow: 0 4px 16px rgba(206,1,53,.5);
}
.accordion-button:not(.collapsed)::after {
    /* filter: invert(1); */
}

.accordion-body {
    padding: 20px 20px 20px 70px;
}

.accordion .per_img img {
    filter: brightness(0) invert(1);
}

.accordion-item .per_img {
    /* position: absolute; */
    z-index: 99;
}

.personalized_acc {
    position: relative;
}

.personalized_acc::after {
    content: '';
    background: linear-gradient(180deg, rgba(207, 3, 55, 1) 12%, rgb(217, 85, 113) 56%, rgba(204, 90, 114, 0.94) 94%);
    width: 6px;
    position: absolute;
    top: 8px;
    bottom: 8px;
    border-radius: 51px;
    left: 36px;
    z-index: 1;
}

@media (max-width: 991px) {

    .banner_head_row {
        top: 50px;
        right: 16%;
        left: auto;
    }

    .consultation-form {
        padding: 30px;
    }

    .banner_content {
        position: relative;
        transform: none;
    }

    .banner-form-text {
        position: absolute;
        right: auto;
        top: 0;
        margin-top: -160px;
    }

    .banner_head_row {
        position: absolute;
        top: 0;
        right: 50%;
        left: auto;
    }

    .bannerimg {
        min-height: auto;
        width: 100%;
    }

    .banner-content {
        left: auto;
        top: 86%;
        right: 0;
        text-align: end;
    }

    .sec_head {
        font-size: 2.25rem;
    }

    .step_text,
    .step_card .text {
        font-size: 1rem;
    }

    .step_card {
        padding: 12px;
    }

    .step_block .border-end {
        border-right: 1px solid var(--bs-primary) !important;
    }
    .banner_form {
        padding: 0 16px;
    }
    .consultation-form {
        padding: 20px;
    }
    .doc_section,.doctor_block ,.personaliazed_sec p,.step_text,.accordion {
        padding: 0 16px;
    }
}

@media (max-width: 767px) {
    .navbar .btn {
        padding: 0 0 0 2px;
    }
    .navbar-brand img {
    max-width: 100px;
}
    .step_card {
        padding: 6px 10px;
    }
    .banner_head_row {
        left: 20px;
    }

    .sec_head {
        font-size: 2rem;
    }

    .banner-form-text {
        position: absolute;
        right: 0;
        top: 20px;
        margin-top: auto;
        left: 20px;
    }

    .consultation-form {
        margin-top: -50px;
    }

    .power_sec .sec_head {
        flex-wrap: wrap;
    }

    .section {
        padding: 30px 0;
    }

    .doc_list {
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        width: auto;
    }

    .personalized_card .head {
        font-size: 1.125rem;
    }

    .personalized_card img {
        width: 60px;
    }

    .meet_card .card-body {
        min-height: inherit;
    }

    .treatment_card .subtitle {
        min-height: inherit;
    }

    .treatment_img {
        margin-top: -10px;
    }

    .personalized_acc::after {
        left: 33px;
        width: 5px;
        top: 20px;
    }
    .lead_row {
        flex-direction: column-reverse;
    }

}

@media (max-width: 575px) {
    .bannerform .form-control, .bannerform .form-select {
        padding: 8px;
    }
    p{font-size: 0.9rem;}
    .section {
        padding: 20px 0;
    }
    .sec_head {
        font-size: 1.75rem;
        display: grid;
    }

    .bannerimg {
        width: 230px;
    }

    .banner-form-text .heading {
        font-size: 1.125rem;
    }

    .banner-list {
        padding: 0;
    }

    .banner-list li {
        font-size: 0.9rem;
        line-height: 1.2;
        font-weight: 400;
    }

    .banner-content .text {
        font-size: 0.7rem;
    }

    .personalized_card {
        padding: 16px;
    }

    .personalized_card .text {
        font-size: 0.9rem;
    }

    .personalized_card img {
        width: 50px;
    }

    .doc_ediu {
        font-size: 1rem;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .footer {
        padding: 20px 0 90px;
    }

    .footer_bottom {
        gap: 2px;
    }

    .footer_bottom a {
        font-size: 12px;
    }

    .address h5,
    .address .h5 {
        font-size: 1.25rem;
    }

    .accordion-item .per_img {
        margin-right: 12px;
        width: 46px;
        max-height: 40px;

    }

    .accordion .per_img img {
        width: 26px;
        height: 26px;
    }
    .step_block {
        position: relative;
    }
    .bng_1 {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: -1;
    }
    .nav_btn {
        display: flex;
        gap: 10px;
    }
    .popup-form .modal-body {
    padding: 20px 30px;
}
  .step_img {
        margin-bottom: 10px;
        width: 36px;
    }

    .step_card {
        padding: 0 6px;
    }

    .step_text,
    .step_card .text {
        font-size: 0.8rem;
    }
    .consultation-form {
        margin-top: -90px;
    }
    .navbar .btn {
        font-size: 12px;
    }
       .navbar-brand img {
        max-width: 80px;
    }
}

.otpInput .form-control.is-valid {
    background-image: none !important;
}