/* For 400px to 992px screen width */
@media only screen and (min-width: 550px) and (max-width: 991px) {

    .logo-img {
        min-width: 70px;
    }

    .grocery-cart {
        min-width: 40px;
        height: auto;

    }

    .responsive-btn {
        padding: 6px 20px !important;
        margin-bottom: 10px;
        font-size: 12px !important;
    }


}

@media only screen and (min-width:768px) and (max-width: 991px) {
    .hero-left .display-1 {

        font-size: calc(1rem + 4.5vw);
    }

    .responsive-link {
        font-size: 1rem !important;
    }

    .welcome-section .display-5,
    .support-section .display-5,
    .virtual-clinic-section .display-5 {

        font-size: calc(1rem + 2.1vw);
    }

    .welcome-section p,
    .support-section p,
    .virtual-clinic-section p {
        font-family: 0.25rem;
    }


}


@media only screen and (min-width:300px) and (max-width: 444px) {

    .responsive-link {
        font-size: 0.95rem !important;

    }
}



@media only screen and (min-width: 200px) and (max-width: 550px) {

    .logo-img {
        min-width: 50px;
    }

    .grocery-cart {
        min-width: 30px;
        height: auto;

    }

    .navbar-toggler {
        font-size: 1rem;
        color: black;
        border: none;
    }

    .gap-3 {
        gap: 0.10rem !important;
    }

    .navbar>.container,
    .navbar>.container-fluid,
    .navbar>.container-lg,
    .navbar>.container-md,
    .navbar>.container-sm,
    .navbar>.container-xl,
    .navbar>.container-xxl {

        justify-content: space-evenly;
    }

    .responsive-btn {
        padding: 3px 12px !important;
        margin-bottom: 10px;
        font-size: 12px !important;
    }

}

/* why-choose-section */

/* Medium screens: keep it on image but remove right overlap */
@media (min-width: 768px) and (max-width: 991.98px) {
    .why-choose-content {
        right: 5%;
        /* no -40%, keep inside */
        transform: translateY(-50%);
    }
}

/* Small screens: move it below */
@media (max-width: 767.98px) {
    .why-choose-content {
        position: static !important;
        transform: none !important;
        margin-top: 2rem;


    }
}

/* condition-section */
@media only screen and (min-width: 575px) and (max-width: 766px) {
    .responsive-btn {
        padding: 3px 12px !important;
        margin-bottom: 10px;
        font-size: 12px !important;
    }

    .responsive-card {
        height: 550.94px;
    }


    .custom-card h5 {
        font-size: 1.5rem !important;
    }
}


@media (max-width: 767.98px) {
    footer .logo-img {
        width: 60% !important;
        margin: 0 auto;
    }

    footer h5 {
        font-size: 1.1rem;
    }

    footer .custom-link {
        font-size: 0.9rem;
    }
}
