@media (max-width: 575.98px){
    .carousel-inner {
        width: 100% !important;
        height: auto;
        left: 0;
        top: 0;
    }

}


@media (max-width: 767px) {
    #heroSlider {
        padding: 32px 17px;
    }

    .legacy-section {
        display: block;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        height: auto;
        background: #00368C;
        color: #fff;
        margin: 40px 0;
        padding:0;
    }

    .academics-section {
        display: block;
        flex-direction: column;
        align-items: flex-start;
        padding:0;
        gap: 10px;
        height: auto;
        background: #EEF2FA;
    }

    .campus-desc {
        width: 100%;
    }

    .campus-title {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 500;
        font-size: 22px;
        line-height: 33px;
        display: flex;
        align-items: center;
        color: #1C398E;
    }
    .form-box {
        width:100%;
        padding: 7px 8px;
    }
    .form-title {
        font-size: 18px;
    }
    .step-box {
        background: #E8F0E6;
        padding: 6px 10px;
    }
    .step-number {
        width: 38px;
        height: 34px;
    }
    .submit-btn {
        width: 100%;
    }
    .excellence-title {
        font-family: 'Poppins';
        font-weight: 600;
        font-size: 24px;
        padding: 10px 0;
    }
    .achievements-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
        gap: 24px;
        height: auto;
    }
    .row.justify-content-between.align-items-start.mt-5.gx-5 {
        margin-top: 0 !important;
    }

    .why-resonance .section-title {
        font-size: 26px;
    }
    .programs-section {
        margin-top: 0 !important;
    }

    .text-center.programs-title {
        margin-top: 0 !important;
    }
    .program-card {
        height: 100%;
    }
    .blog-title {
        font-size: 25px;
        line-height: 26px;
    }
    .tt-text {
        padding: 0px;
        width: 100%;
        height: auto;
        font-size: 16px;
    }
    .foundation-hero-1 {
        height: 653px;
    }
    .campus-list .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .equation-heading-section {
        width: 100%;
        padding: 0;
    }
}
