/* =========================================================
   MEDI LIFE V REACH - RESPONSIVE OVERRIDES
   Load this file AFTER index.css / main styles.
   Uses ONLY existing classes from the supplied PHP/HTML.
   Breakpoints covered:
   1400+, 1200-1399, 992-1199, 768-991,
   576-767, 421-575, 361-420, 320-360
   ========================================================= */

/* ---------- Global responsive safety ---------- */
html,
body {
    max-width: 100%;
    /* overflow-x: hidden; */
}

img {
    max-width: 100%;
}

.appointment-section,
.bg-stats,
.about_main,
.why_choose_main,
.offer_main,
.section-space,
.how_works_main,
.doctors_main,
.hospital_logo_main,
.health_access_main,
.testimonial-section,
.form_main,
.medical-footer {
    width: 100%;
}

/* =========================================================
   LARGE DESKTOP - 1400px and above
   ========================================================= */
@media(max-width:1440px) {
    .offer_main {
        background-position: center;
    }
}

@media(max-width:1400px) {
    .footer-container {
        padding-top: 210px;
    }

    .medical-footer {
        min-height: 550px;
    }

    .testi-thumb {
        text-align: center;
    }

    .testi-thumb img {
        width: 60%;
    }

    .appointment-section {
        background-position: right;
    }

    .bg_stats_inn_text {
        align-items: unset;
    }
}

@media (min-width: 1400px) {

    .appointment-section .container,
    .bg-stats .container,
    .about_main .container,
    .why_choose_main .container,
    .section-space .container,
    .how_works_main .container,
    .doctors_main .container,
    .hospital_logo_main .container,
    .health_access_main .container,
    .testimonial-section .container,
    .form_main .container,
    .footer-container,
    .footer-bottom .container {
        max-width: 1320px;
    }

    .appt-text {
        width: 60%;
        padding: 90px 40px 75px 0;
    }

    .appt-heading {
        width: 88%;
        font-size: 38px;
        line-height: 1.35;
    }

    .steps-grid {
        gap: 18px;
    }

    .hospital_logo_column i {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =========================================================
   DESKTOP / SMALL DESKTOP - 1200px to 1399px
   ========================================================= */
@media(max-width:1366px) {
    .doctor_card_links {
        flex-direction: column;
        text-align: center;
    }

    .doctor_card_links a {
        width: 100%;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-navbar .navbar-nav {
        gap: 2px;
    }

    .main-navbar .nav-link {
        font-size: 14px;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .form_head h3,
    .testimonial_inn_text h3 {
        font-size: 35px;
    }

    .footer_top_bnr h2 {
        font-size: 45px;
    }

    .appt-text {
        width: 62%;
        padding: 72px 28px 58px 0;
    }

    .appt-heading {
        width: 83%;
        font-size: 33px;
        line-height: 1.4;
    }

    .index_head_sec h3 {
        font-size: 35px;
    }

    .why_choose_main .container {
        padding: 42px;
    }

    .why-card {
        padding: 20px 14px 16px;
    }

    .steps-grid {
        gap: 10px;
    }

    .step-card {
        min-height: 245px;
        padding: 25px 15px;
    }

    .step-number {
        font-size: 42px;
    }

    .hospital_logo_column i {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =========================================================
   LAPTOP / TABLET LANDSCAPE - up to 1199px
   ========================================================= */
@media (max-width: 1199.98px) {

    .section-space,
    .about_main,
    .testimonial-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .navbar .container {
        max-width: 1199px;
    }

    .appt-heading {
        width: 90%;
    }

    .step-card h3 {
        font-size: 18px;
    }

    .top-bar {
        background: linear-gradient(-135deg, var(--green) 72%, var(--white) 55%);
    }

    .index_head_sec h3,
    .form_head h3 {
        font-size: 34px;
        line-height: 1.3;
    }

    .index_head_sec h5 {
        font-size: 34px;
    }

    .offer_main .index_head_sec h3 {
        font-size: 46px;
    }

    .hospital_logo_column {
        width: 25%;
    }

    .hospital_logo_column i {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-content {
        row-gap: 35px !important;
    }

    .testimonial_inn_text h3 {
        font-size: 35px;
    }

    .testi-thumb img {
        width: 90%;
    }

    .footer-container {
        padding-top: 270px;
        padding-bottom: 20px;
    }

    .brand-badge {
        top: -40px;
    }

    .footer_top_bnr {
        margin-bottom: -320px;
    }
}

@media(max-width:1024px) {
    .footer_top_bnr {
        padding: 160px 100px 390px;
    }

    .navbar-brand {
        margin: 0;
    }

    .brand-logo {
        width: 250px;
    }

    .main-navbar .nav-link {
        padding: 8px 10px !important;
        font-size: 16px;
    }
}

/* =========================================================
   BOOTSTRAP NAV COLLAPSE / TABLET - up to 991px
   ========================================================= */
@media (max-width: 991.98px) {

    /* ----- Header / top bar ----- */
    .top-bar {
        position: relative !important;
        z-index: 1031;
        display: none;
    }

    .specialty-card span {
        font-size: 18px;
    }

    .top-bar .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .top-bar-inner {
        min-height: 48px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 0;
    }

    .top-bar-inner>.spl_lnks {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        text-align: center;
        line-height: 1.15;
        font-size: 13px;
        white-space: normal;
    }

    .top-bar-inner .socials,
    .top-bar-inner>a:not(.spl_lnks) {
        display: none !important;
    }

    /* ----- Navbar ----- */
    .main-navbar {
        margin-top: 0 !important;
        padding: 8px 0;
        position: relative;
        z-index: 1030;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    }

    .main-navbar .container {
        max-width: 100%;
    }

    .main-navbar .navbar-brand {
        margin-right: 10px;
    }

    .main-navbar .brand-logo {
        width: auto;
        max-width: 250px;
        /* max-height: 56px; */
        object-fit: contain;
    }

    .main-navbar .navbar-toggler {
        padding: 6px 8px;
        border: 0;
        box-shadow: none !important;
    }

    .main-navbar .navbar-collapse {
        width: 100%;
        margin-top: 10px;
        padding: 10px 0 14px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: #fff;
    }

    .main-navbar .navbar-nav {
        width: 100%;
    }

    .main-navbar .nav-item {
        width: 100%;
        position: relative;
    }

    .main-navbar .nav-link {
        width: 100%;
        padding: 11px 4px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .main-navbar .enquiry {
        display: inline-flex;
        width: auto;
        margin-top: 10px;
        padding: 9px 18px !important;
    }

    .dropdown_list {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: 320px;
        overflow-y: auto;
        transform: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 10px !important;
        display: none;
    }

    .nav-item:hover .dropdown_list,
    .nav-item:focus-within .dropdown_list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .dropdown_list ul {
        width: 100% !important;
        min-width: 0 !important;
    }

    .dropdown_list h3 {
        font-size: 16px !important;
    }

    .dropdown_list .menu-link {
        font-size: 13px;
    }

    /* ----- Hero ----- */
    .appointment-section {
        border-radius: 0 0 18px 18px;
        background-position: right;
    }

    .appointment-section .container {
        max-width: 100%;
    }

    .appt-text {
        width: 68%;
        padding: 58px 20px 55px 20px;
        text-align: left;
    }

    .appt-heading {
        width: 100%;
        max-width: 650px;
        font-size: 30px;
        line-height: 1.38;
    }

    .appt-para {
        margin-left: 0;
        margin-right: 0;
        max-width: 400px;
    }

    .appt-checklist {
        display: block;
    }

    .appt-cta-wrap {
        justify-content: flex-start;
    }

    /* ----- Stats ----- */
    .bg-stats {
        border-radius: 18px;
        padding: 28px 0;
    }

    .bg-stats .col-12.col-md-3 {
        margin-right: 0;
    }

    .bg_stats_text_sec {
        padding-right: 18px;
    }

    .bg_stats_inn_text {
        gap: 8px;
    }

    .bg_stats_inn_text img {
        width: 38px;
        height: 38px;
    }

    .bg_stats_inn_text h3 {
        font-size: 23px;
    }

    .bg_stats_inn_text p {
        font-size: 17px;
    }

    /* ----- About ----- */
    .about_main {
        padding: 65px 0;
    }

    .about_main .row {
        row-gap: 35px;
    }

    .about_main .index_head_sec .abt_lft_text {
        line-height: 1.8;
    }

    .brand-info {
        max-width: 600px;
        min-height: 0;
        margin: 0 auto;
    }

    /* ----- Why choose ----- */
    .why_choose_main {
        padding: 40px 0;
    }

    .why_choose_main .container {
        padding: 35px;
    }

    .why_choose_main .row {
        row-gap: 20px;
    }

    .why_choose_main .row>.col-lg-3 {
        width: 50%;
    }

    .why-card {
        min-height: 180px;
    }

    /* ----- Offer ----- */
    .offer_main {
        background-position: center;
        background-size: cover;
    }

    .offer_main .index_head_sec p {
        width: 65%;
    }

    /* ----- Specialty ----- */
    .section-space {
        padding: 65px 0;
    }

    .section-space .text-lg-end {
        text-align: left !important;
    }

    .specialty-card {
        padding: 18px 15px;
        min-height: 120px;
    }

    /* ----- How it works ----- */
    .how_works_main,
    .health_access_main {
        padding: 55px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr 30px 1fr;
        gap: 15px;
        row-gap: 40px;
    }

    .steps-grid .step-card:nth-of-type(1) {
        grid-column: 1;
    }

    .steps-grid .step-arrow:nth-of-type(2) {
        grid-column: 2;
    }

    .steps-grid .step-card:nth-of-type(3) {
        grid-column: 3;
    }

    .steps-grid .step-arrow:nth-of-type(4) {
        display: none;
    }

    .steps-grid .step-card:nth-of-type(5) {
        grid-column: 1;
    }

    .steps-grid .step-arrow:nth-of-type(6) {
        grid-column: 2;
    }

    .steps-grid .step-card:nth-of-type(7) {
        grid-column: 3;
    }

    .step-card {
        min-height: 230px;
    }

    /* ----- Doctors ----- */
    .doctors_main {
        padding-top: 55px;
    }

    /* .doc_slider_btns {
        margin-top: 35px;
    } */
    .form_main .form_head {
        display: none;
    }

    /* ----- Hospitals ----- */
    .hospital_logo_main {
        padding-bottom: 70px;
    }

    .hospital_logo_main .row {
        margin-top: 35px;
    }

    .hospital_logo_column {
        width: 33.3333%;
    }

    /* ----- Testimonial ----- */
    .testimonial-section {
        padding: 65px 0 55px;
    }

    .testi-thumb {
        text-align: center;
        margin-bottom: 30px;
    }

    .testi-thumb img {
        width: 65%;
        max-width: 360px;
    }

    .testimonial_slide_sec_inn {
        padding-left: 0;
    }

    /* ----- Enquiry form ----- */
    .form_main {
        padding: 55px 0 65px;
    }

    .form_main .row {
        row-gap: 35px;
    }

    .form_sec {
        margin-top: 0;
    }

    .contact-mini>span {
        width: 50px;
        height: 50px;
    }

    /* ----- Footer ----- */
    .footer_top_bnr {
        text-align: center;
        padding: 80px 0px 400px;
    }

    .footer-container {
        padding-top: 220px;
    }

    .footer-bottom-inner {
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer_top_bnr h2 {
        font-size: 45px;
    }
}

@media(max-width:768px) {
    .footer-container {
        padding-top: 260px;
    }

    .footer-bottom-inner {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* =========================================================
   TABLET PORTRAIT / LARGE MOBILE - up to 767px
   ========================================================= */
@media (max-width: 767.98px) {

    /* .container {
        padding-left: 18px;
        padding-right: 18px;
    } */
    .footer-container {
        padding-top: 0;
    }

    .index_head_sec h3,
    .form_head h3 {
        font-size: 30px;
    }

    .index_head_sec h5 {
        font-size: 30px;
    }

    .index_head_sec p {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .service-card h3 {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .index_head_sec .head_para {
        font-size: 18px;
        line-height: 1.7;
        margin-top: 15px;
    }

    .doctors_main .swiper {
        padding-bottom: 30px;
    }

    /* ----- Hero ----- */
    .appointment-section {
        background-image: unset;
        padding-top: 20px;
    }

    .appointment-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .banner_img_resp {
        display: block;
    }

    .appt-text {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 38px 0 45px;
        /* text-align: center; */
    }

    .appt-label {
        font-size: 18px;
        margin-bottom: 12px;
        letter-spacing: .2px;
    }

    .appt-heading {
        width: 100%;
        margin-left: 0;
        margin-right: auto;
        font-size: 30px;
        line-height: 1.43;
        margin-bottom: 18px;
    }

    .appt-heading span {
        display: inline;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .appt-para {
        max-width: 600px;
        margin-left: 0;
        margin-right: auto;
        font-size: 18px;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    .appt-checklist {
        width: max-content;
        max-width: 100%;
        margin: 0 auto 24px;
        text-align: left;
        margin-left: 0;
    }

    .appt-checklist li {
        font-size: 18px;
        gap: 9px;
        margin-bottom: 11px;
    }

    .appt-checklist li .tick {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
    }

    .appt-checklist li .tick svg {
        width: 10px;
        height: 10px;
    }

    .appt-cta-wrap {
        justify-content: left;
    }

    .appt-btn {
        gap: 10px;
        padding: 9px 15px 9px 8px;
        font-size: 16px;
        border-left-width: 5px;
        height: 100%;
    }

    .appt-btn i {
        width: 36px;
        height: 36px;
        padding: 10px;
        font-size: 14px;
    }

    /* ----- Stats exactly 2 x 2 ----- */
    .bg-stats {
        padding: 28px 0 22px;
        border-radius: 16px;
    }

    .bg-stats .row {
        --bs-gutter-x: 12px;
    }

    .bg-stats .col-12.col-md-3 {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .25);
        margin: 0 0 22px;
        padding-bottom: 20px;
    }

    .bg_stats_text_sec {
        padding-right: 0;
        text-align: center;
    }

    .bg_stats_text_sec h2 {
        font-size: 25px;
        margin-bottom: 6px;
    }

    .bg_stats_text_sec p {
        font-size: 18px;
    }

    .bg-stats .col-6.col-md-2 {
        width: 50%;
    }

    .bg_stats_inn_text {
        justify-content: flex-start;
        max-width: 135px;
        margin: 0 auto 18px;
        text-align: left;
        gap: 15px;
    }

    .bg_stats_inn_text img {
        width: 55px;
        height: 55px;
    }

    .bg_stats_inn_text h3 {
        font-size: 25px;
    }

    .bg_stats_inn_text p {
        font-size: 17px;
    }

    /* ----- About ----- */
    .about_main {
        padding: 50px 0;
    }

    .about_main .index_head_sec .abt_lft_text {
        font-size: 18px;
        line-height: 1.75;
        text-align: left;
    }

    .about_main .index_head_sec a {
        font-size: 18px;
        padding: 9px 20px;
        margin-top: 22px;
    }

    .brand-info .inner .content {
        padding: 20px 15px;
    }

    .brand-info .inner img {
        width: 170px;
    }

    .brand-info .inner .stars {
        margin: 18px 0;
    }

    /* ----- Why Choose ----- */
    .why_choose_main {
        padding: 28px 0;
    }

    .why_choose_main .container {
        /* width: calc(100% - 28px); */
        padding: 26px 18px;
        border-radius: 22px;
    }

    .why_choose_main .row>.col-lg-3 {
        width: 50%;
    }

    .why-card {
        min-height: 0;
        padding: 18px 13px 14px;
    }

    .why-card img {
        width: 36px;
        height: 36px;
    }

    .why-card h4 {
        font-size: 19px;
    }

    .why-card p {
        font-size: 16px;
    }

    /* ----- Offer ----- */
    .offer_main {
        padding: 42px 0;
        border-radius: 16px;
        background-image:
            linear-gradient(90deg, rgba(0, 121, 130, .95) 0%, rgba(0, 121, 130, .82) 58%, rgba(0, 0, 0, .08) 100%),
            url(../../images/index/offer.png);
    }

    .offer_main .index_head_sec {
        width: 68%;
    }

    .offer_main .index_head_sec h3 {
        font-size: 38px;
        margin: 14px 0;
    }

    .offer_main .index_head_sec p {
        width: 100%;
        font-size: 20px;
    }

    /* ----- Specialty ----- */
    .section-space {
        padding: 50px 0;
    }

    /* .section-space .row.align-items-end {
        row-gap: 18px !important;
    } */
    .section-space .text-lg-end {
        margin-top: 0;
    }

    .btn-outline-brand {
        padding: 10px 17px;
        font-size: 16px;
    }

    .specialty-grid {
        margin-top: 20px !important;
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }

    .specialty-card {
        min-height: 105px;
        padding: 14px 8px;
        border-radius: 14px;
    }

    .specialty-card i {
        font-size: 29px;
    }

    /* .specialty-card span {
        font-size: 16px;
    } */

    /* ----- How it Works ----- */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px !important;
    }

    .steps-grid .step-card,
    .steps-grid .step-arrow {
        grid-column: 1 !important;
    }

    .steps-grid .step-arrow:nth-of-type(4) {
        display: block;
    }

    .step-card {
        min-height: 0;
        padding: 22px 18px;
    }

    .step-number {
        font-size: 60px;
    }

    .step-icon {
        width: 58px;
        height: 58px;
        font-size: 25px;
        margin-bottom: 14px;
    }

    .step-card h3 {
        font-size: 20px;
    }

    .step-card p {
        font-size: 16px;
    }

    .step-arrow {
        text-align: center;
        line-height: 1;
        transform: rotate(90deg);
    }

    /* ----- Doctors ----- */
    .doctors_main {
        padding-top: 48px;
    }

    .doctors_main .swiper {
        margin-top: 22px;
    }

    .doctors_main .swiper-slide {
        padding: 15px;
    }

    .doctor_card_links {
        flex-wrap: wrap;
    }

    .doc_slider_btns {
        justify-content: center;
        margin-top: 28px;
    }

    .doc_nav {
        width: 40px;
        height: 40px;
    }

    /* ----- Hospital logos ----- */
    .hospital_logo_main {
        padding-bottom: 55px;
        padding-top: 50px;
    }

    .hospital_logo_main .row {
        margin-top: 26px;
        row-gap: 30px;
    }

    .hospital_logo_column {
        width: 50%;
        padding: 0 6px !important;
    }

    .hospital_logo_column img {
        padding: 12px;
    }

    .hospital_logo_column i {
        width: 42px;
        height: 23px;
        font-size: 14px;
    }

    /* ----- Health Access ----- */
    .health_access_main .row {
        row-gap: 18px;
    }

    .service-card img {
        height: auto !important;
    }

    .service-card-body {
        padding: 22px;
    }

    .service-icon {
        right: 18px;
    }

    /* ----- Testimonial ----- */
    .testimonial-section {
        padding: 50px 0;
    }

    .testi-thumb img {
        width: 52%;
    }

    .testimonial_inn_text h3 {
        font-size: 29px;
    }

    .testimonial_slide_text {
        margin-top: 25px;
    }

    .testimonial_slide_text p {
        font-size: 17px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 34px;
        height: 34px;
        bottom: 5px;
    }

    .carousel-control-prev {
        right: 48px;
    }

    /* ----- Form ----- */
    .form_main {
        padding: 45px 0 55px;
    }

    .form_head h3 br {
        display: none;
    }

    .form_sec {
        margin-top: 0;
    }

    .quote-form {
        padding: 22px 18px;
    }

    .quote-form h3 {
        font-size: 22px;
    }

    .contact-mini small {
        font-size: 14px;
    }

    .contact-mini strong {
        font-size: 16px;
    }

    /* ----- Footer top banner ----- */
    .footer_top_bnr {
        margin-top: 0;
        padding: 150px 0;
        margin-bottom: 0;
        border-radius: 0;
    }

    .let_your .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .footer_top_bnr h2 {
        font-size: 35px;
    }

    .footer_top_bnr p {
        font-size: 20px;
    }

    .footer_top_bnr br {
        display: none;
    }

    /* ----- Footer ----- */
    .brand-badge {
        position: unset !important;
        margin: 0 auto 50px;
        text-align: left;
        margin-left: 235px;
        width: 30%;
    }

    .footer-container .row>* {
        margin-top: 0;
    }

    .footer-logo-new {
        display: none;
    }

    .footer-company-title,
    .subscribe-panel h2 {
        font-size: 24px;
    }

    .subscribe-form {
        max-width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-wrap {
        justify-content: center;
        flex-wrap: wrap;
    }

    .copyright {
        text-align: center;
    }
}

@media(max-width:600px) {
    .bg_stats_text_sec {
        margin-bottom: 0;
    }

    .bg-stats .row {
        row-gap: 30px;
        justify-content: left;
    }

    .bg_stats_inn_text {
        max-width: 100%;
    }

    .bg_stats_text_sec {
        text-align: left;
    }

    .offer_main .index_head_sec {
        width: 100%;
    }

    .footer_top_bnr {
        background-size: cover;
        background-position: unset;
    }

    .brand-badge {
        margin-left: 125px;
    }
}

/* =========================================================
   STANDARD MOBILE - up to 575px
   Target is close to the supplied mobile screenshot.
   ========================================================= */
@media (max-width: 575.98px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* ----- Header matching screenshot ----- */
    .top-bar-inner {
        min-height: 46px;
    }

    .top-bar-inner>.spl_lnks {
        min-height: 46px;
        padding: 7px 8px;
        font-size: 10px;
        font-weight: 700;
    }

    .main-navbar {
        min-height: 72px;
        padding: 8px 0;
    }

    .main-navbar .brand-logo {
        max-width: 178px;
        max-height: 54px;
    }

    .main-navbar .navbar-toggler {
        width: 40px;
        height: 40px;
        padding: 4px;
    }

    .main-navbar .navbar-toggler-icon {
        width: 25px;
        height: 25px;
    }

    .nav-item:hover .dropdown_list,
    .nav-item:focus-within .dropdown_list {
        grid-template-columns: 1fr;
    }

    /* ----- Main typography ----- */
    .index_head_sec h3,
    .form_head h3 {
        font-size: 25px;
        line-height: 1.3;
    }

    .index_head_sec h5 {
        font-size: 25px;
    }



    .yellow_lines {
        padding: 3px !important;
    }

    /* ----- Hero screenshot proportions ----- */
    .appointment-section {
        border-radius: 0 0 14px 14px;
    }

    .appt-text {
        padding: 34px 0 36px;
    }

    .appt-checklist {
        margin-bottom: 20px;
    }

    /* ----- Stats screenshot proportions ----- */
    .bg-stats {
        padding: 26px 0 19px;
        border-radius: 14px;
    }

    .bg-stats .col-12.col-md-3 {
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .bg_stats_inn_text img {
        width: 30px;
        height: 30px;
    }

    /* ----- About ----- */
    .about_main {
        padding: 42px 0;
    }

    .brand-info .inner {
        border-width: 3px;
    }

    .brand-info .inner .content {
        padding: 18px 12px;
    }

    .brand-info .inner img {
        width: 150px;
    }

    /* ----- Why ----- */

    .why_choose_main .row {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }

    .why-card {
        padding: 15px 10px 12px;
    }

    /* ----- Offer ----- */
    .offer_main {
        padding: 36px 0;
    }

    .offer_main .index_head_sec h3 {
        font-size: 35px;
        margin: 12px 0;
    }

    /* ----- Specialty ----- */
    .section-space {
        padding: 42px 0;
    }

    /* ----- How / health ----- */
    .how_works_main,
    .health_access_main {
        padding: 42px 0;
    }

    .step-card {
        border-radius: 15px;
    }

    .service-card {
        border-radius: 18px;
    }

    .service-card-body {
        padding: 20px 16px;
    }

    /* ----- Hospital logos ----- */
    .hospital_logo_column img {
        padding: 9px;
    }

    /* ----- Testimonial ----- */
    .testi-thumb img {
        width: 58%;
    }

    /* ----- Form ----- */

    .quote-form {
        padding: 18px 14px;
    }

    .quote-form textarea.form-control {
        min-height: 95px;
    }

    .contact-mini {
        align-items: flex-start;
        margin-top: 20px;
    }

    /* .contact-mini>span {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
    } */

    /* ----- Footer ----- */

    .footer-container {
        padding-top: 40px;
    }

    /* .subscribe-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    } */

    .subscribe-form .form-control,
    .subscribe-btn {
        width: 100%;
    }

}

@media(max-width:540px) {
    .offer_main .index_head_sec p {
        font-size: 17px;
    }

    .step-number {
        font-size: 80px;
    }

    .form_main .row {
        row-gap: 10px;
    }

    .form_sec {
        margin-top: 20px;
    }

    .contact-mini strong {
        font-size: 18px;
    }

    .brand-badge {
        margin-left: 90px;
        margin-bottom: 20px;
    }

    .why-card img {
        width: 50px;
        height: 50px;
    }
}

@media(max-width:492px) {
    .appt-label {
        font-size: 16px;
    }

    .appt-heading {
        font-size: 25px;
    }

    .about_main .index_head_sec .abt_lft_text,
    .specialty-card span,
    .index_head_sec .head_para,
    .appt-checklist li,
    .bg_stats_text_sec p,
    .appt-para {
        font-size: 16px;
    }

    .bg_stats_inn_text img {
        width: 55px;
        height: 55px;
    }

    .bg_stats_inn_text h3,
    .bg_stats_text_sec h2 {
        font-size: 23px;
    }

    .dropdown_list ul {
        padding-top: 0;
        padding-bottom: 0;
    }

    .why_choose_main .row>.col-lg-3 {
        width: 100%;
    }
}

@media(max-width:425px) {
    .footer_top_bnr p {
        font-size: 16px;
    }

    .index_head_sec h3,
    .form_head h3 {
        font-size: 23px;
        line-height: 1.3;
    }

    .appt-cta-wrap {
        gap: 10px;
    }

    .bg_stats_inn_text h3,
    .bg_stats_text_sec h2 {
        font-size: 21px;
    }

    .testimonial_inn_text h3 {
        font-size: 26px;
    }
}

/* =========================================================
   SMALL MOBILE - up to 420px
   ========================================================= */
@media (max-width: 420px) {

    .top-bar-inner>.spl_lnks {
        font-size: 8.5px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .main-navbar .brand-logo {
        max-width: 160px;
        max-height: 50px;
    }

    .why_choose_main .row>.col-lg-3 {
        width: 100%;
    }

    .why-card {
        text-align: left;
    }

    .specialty-card {
        min-height: 86px;
    }

    .hospital_logo_column {
        width: 50%;
    }

    .footer-content>.col-6 {
        width: 100%;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

@media(max-width:375px) {
    .index_head_sec p {
        font-size: 16px;
    }

    .footer_top_bnr {
        padding: 80px 0;
    }
}

@media(max-width:320px) {
    .appt-heading {
        font-size: 20px;
    }

    .appt-btn {
        font-size: 14px;
    }

    .bg_stats_inn_text h3,
    .bg_stats_text_sec h2 {
        font-size: 19px;
    }

    .bg_stats_inn_text p {
        font-size: 15px;
    }

    .bg_stats_inn_text img {
        width: 50px;
        height: 50px;
    }
}