@media (max-width: 767.98px) {
    .text-section {
        width: 100%;
    }

    .text-section h1 {
        font-size: 2rem;
        letter-spacing: 1px;
        font-weight: 900;
    }

    .main-img {
        width: 100%;
        object-fit: cover;
        height: 36vh;
        position: relative;
    }

    .navbar-toggler-icon {
        color: white !important;
        background-color: white;
    }

    .mt-4 {
        margin-top: 0px !important;
    }

    .about-text {
        padding-top: 0px;
        padding-bottom: 30px;
    }

    .about-img {
        width: 100%;
        height: 54vh;
        object-fit: contain;
    }

    .m-2 {
        padding-top: 13px;
        padding-bottom: 8px;
    }

    .cards {
        margin: 7px 0px;
        width: 100%;
        border-radius: 5px;
        background-color: #5f5f6d2b;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 75px !important;
    }

    .mx-1 {
        margin-top: 4px !important;
    }

    /* .sd-2 {
        margin-top: -86px !important;
    } */
    /* .sd-2 p{
        text-align: justify ;
    } */
    .m-2 p {
        padding: 15px 28px 0px;
        text-align: center;
        /* padding: 19px; */
        font-size: 19px;
        color: lightslategray;
    }

    .mt-5 {
        margin-top: 0px !important;
    }

    .our-cards {
        /* display: flex; */
        /* justify-content: center; */
        /* align-items: center; */
        padding: 22px 0px;
        margin: 10px 0px;
        width: 107% !important;
    }

    /* .contact{
        display: block;
    } */
    .content-1 {
        padding: 13px 0px 10px;
    }

    .form {
        padding: 10px 9px 23px;
    }

    .form h2 {
        text-align: center;
    }

    .form input {
        margin: 10px 0px;
        padding: 10px;
        width: 100%;
        border-radius: 100px;
        background-color: transparent;
        border: 1px lightslategray solid;
        color: white;
    }

    .form textarea {
        margin: 15px 0px;
        padding: 12px;
        width: 100%;
        height: 110px;
        border-radius: 18px;
        background-color: transparent;
        border: 1px lightslategray solid;
        color: white;
    }

    .contact-form {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #242453;
        border-radius: 5px;
        margin-bottom: 18px;
    }

    .contact-form-thumb {
        margin-bottom: 24px;
        position: relative;
        z-index: 1;
        padding: 0 0 0 0px;
    }

    .form-inner-thumb img:first-child {
        height: 248px;
        animation: moveUpDown 2s ease-in-out infinite;
    }

    .contact-form-thumb img {
        height: 357px;

    }

    .footer-text {
        width: 100%;
    }

    .usefull {
        margin-top: 40px;
        display: block;
        margin-bottom: 20px;
    }

    .medical-banner {
        background-image: url(/img/ban-2.jpg);
        color: black;
        /* background-position: center; */
        background-size: cover;
        width: 100%;
        background-repeat: no-repeat;
        align-items: center;
        height: 50vh;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .medical-banner div p {
        font-size: 17px;
        letter-spacing: 0.5px;
        padding: 0px 0px;
        /* width: 50%; */
        color: white;
    }

    .flex-container {
        padding-left: 0px;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }

    .flex-item {
        flex: 0 0 50% !important;
    }

    .card-img-top {
        width: 100%;
        height: 22vh;
        object-fit: cover;
        transition: .5s;
    }

    #m-4 {
        padding-top: 2rem;
    }

    .navigate-footer {
        margin-top: 20px;
    }

    .footer span {
        width: 53%;
        display: block;
        cursor: pointer;
        border-bottom: 1px dashed white;
        margin-bottom: 6px;
        padding-bottom: 10px;
        transition: transform 0.3s ease;
    }

    .newsletter {
        margin-top: 28px;
    }

    .bt {
        margin-top: 20px;
    }

    .footer-icon1 {
        display: flex;
        /* justify-content: center; */
        align-items: center;
        gap: 6px;
        margin-top: 13px;
    }
}