@media (max-width: 1600px) {
    h1 {
        font-size: 55px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 33px;
    }

    h4 {
        font-size: 30px;
    }

    .banner-txt h2 span {
        font-size: 26px;
    }

    .eligibility-sec li {
        font-size: 23px;
    }

    h5 {
        font-size: 21px;
    }

    p, .app-btn a, .spec-txt li,
    .design-txt li {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    .leader-txt p small {
        font-size: 16px;
    }

    .legacy-box h3 {
        font-size: 70px;
    }

    .header {
        padding: 30px;
        height: 75vh !important; /* prevents overflow */
    }

    .logo-sec img {
        max-width: 250px;
    }

    .banner-sec h5 {
        font-size: 26px;
    }

    .design-img img {
        width: 650px;
    }

    .scholar-img {
        left: 80px;
    }

    .international-img-sec {
        right: 230px;
    }
}


@media (max-width: 1400px) {
    h1 {
        font-size: 45px;
    }

    h2 {
        font-size: 35px;
    }

    h3 {
        font-size: 30px;
    }

    h4 {
        font-size: 28px;
    }

    .banner-txt h2 span {
        font-size: 23px;
    }

    .banner-sec h5 {
        font-size: 22px;
    }

    .eligibility-sec li {
        font-size: 20px;
    }

    p, .app-btn a, .spec-txt li, .design-txt li {
        font-size: 18px;
    }

    h6, .industry-box h5 {
        font-size: 16px;
    }

    .leader-txt p small {
        font-size: 14px;
    }

    .scholar-img {
        left: 10px;
    }

    .eligibility-img img {
        width: 400px;
    }

    .international-img-sec img {
        width: 230px;
    }

    .international-img-sec {
        right: 120px;
    }

    .banner-sec h5::before,
    .program-sec h2::before,
    .design-sec h2::before,
    .eligibility-hd h2::before,
    .leader-hd h2::before,
    .campus-life-sec h2::before,
    .about-us-sec h2::before,
    .accreditation-sec h2::before,
    .international-txt h2::before,
    .student-exp-hdng h2::before {
        width: 80px;
        top: -10px;
    }

    .legacy-sec h2::before,
    .insight-sec h2::before,
    .nurture-sec h2::before {
        width: 120px;
    }
}


@media (max-width: 1200px) {
    h5 {
        font-size: 18px;
    }
}


@media (max-width: 992px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 25px;
    }

    h4 {
        font-size: 20px;
    }

    .banner-txt h2 span {
        font-size: 21px;
    }

    p, .app-btn a, .spec-txt li, .design-txt li,
    .leader-txt h5 {
        font-size: 16px;
    }

    h6, .industry-box h5 {
        font-size: 13px;
    }

    .leader-txt p small {
        font-size: 12px;
    }

    section {
        padding: 50px 0;
    }

    header {
        padding: 20px;
    }

    .logo-sec img {
        max-width: 200px;
    }

    .banner-sec h5 {
        font-size: 20px;
    }

    .legacy-box h3 {
        font-size: 50px;
    }

    .legacy-box-sec, .program-txt {
        gap: 0 15px;
        padding: 0;
    }

    .program-txt-sec {
        margin-top: 30px;
    }

    .insight-txt {
        padding: 20px 10px;
        min-height: 150px;
    }

    .insight-txt h5 {
        font-size: 17px;
    }

    .insight-slider .slick-dots li button {
        width: 12px;
        height: 12px;
    }

    .design-box-sec {
        margin-top: 30px;
        flex-direction: column;
    }

    .design-txt {
        margin-top: 20px;
    }

    .design-txt li {
        margin-top: 5px;
    }

    .scholar-img img {
        width: 200px;
    }

    .scholar-img {
        left: 80px;
        top: -30px;
    }

    .accreditation-txt {
        padding: 10px;
    }

    .accreditation-txt h6 br {
        display: none;
    }

    .accreditation-txt h6 {
        margin-top: 10px;
    }

    .swiper .swiper-slide-prev .c-card,
    .swiper .swiper-slide-next .c-card {
        display: none;
    }

    .swiper .swiper-slide-active iframe {
        width: 600px;
    }

    .video-slider {
        width: 45px;
        height: 23px;
    }

    .international-img-sec img {
        width: 170px;
    }
}


@media (max-width: 768px) {
    .legacy-box-sec {
        flex-flow: row wrap;
        gap: 15px;
    }

    .legacy-box {
        flex-basis: 48%;
        align-content: center;
        justify-items: center;
    }

    .international-img-sec {
        right: 50px;
    }

    .swiper .swiper-slide-prev .c-card,
    .swiper .swiper-slide-next .c-card {
        display: none;
    }

    .swiper .swiper-slide-active iframe {
        width: 600px;
    }

    .video-slider {
        width: 45px;
        height: 23px;
    }
}


@media (max-width: 576px) {
    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 21px;
    }

    .eligibility-sec ul {
        padding-left: 20px;
    }

    h5, .eligibility-sec li {
        font-size: 16px;
    }

    h4, .banner-txt h2 span {
        font-size: 18px;
    }

    p, .app-btn a, .spec-txt li, .design-txt li, .leader-txt h5 {
        font-size: 14px;
    }

    .legacy-box h3 {
        font-size: 40px;
    }

    section {
        padding: 50px 20px;
    }

    header {

    }

    .logo-sec img {
        max-width: 150px;
    }

    .banner-sec {
        padding-top: 35px;
        width: 65%;
    }

    .banner-txt {
        margin-top: 10px;
    }

    .banner-txt h2 {
        margin: 15px 0 0;
        font-size: 17px;
    }

    .banner-txt h4 {
        font-size: 14px;
    }

    .banner-sec p {
        font-size: 12px;
    }

    .banner-sec h5 {
        font-size: 13px;
    }

    .program-sec p {
        margin-bottom: 10px;
    }

    .industry-box-sec {
        flex-flow: row wrap;
        gap: 20px;
    }

    .industry-box {
        flex-basis: 32%;
        padding: 20px;
        justify-items: center;
    }

    .about-us{
        padding: 50px 0 0;
    }

    .specialisation-sec {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        align-items: initial;
    }

    .spec-txt ul {
        padding-left: 20px;
    }

    .scholarship-sec h2 br,
    .eligibility-txt li br,
    .international-txt p br {
        display: none;
    }

    .scholar-img {
        left: 10px;
    }

    .scholar-img img {
        width: 170px;
    }

    .eligibility-sec {
        flex-direction: column;
    }

    .eligibility-sec li {
        margin-bottom: 10px;
    }

    .legacy-box {
        flex-basis: 40%;
    }

    .prog {
        text-align: left;
        min-height: 95px;
    }

    .insight-txt {
        text-align: center;
        min-height: auto;
    }

    .leader-sec {
        padding-right: 10px;
    }

    .international-img-sec {
        position: static;
        text-align: center;
        margin-top: 30px;
    }

    /* .accreditation-txt {
        margin-bottom: 20px;
    } */

    .swiper .swiper-slide-active iframe {
        width: auto;
    }

    .about-sec-img {
        margin-top: 20px;
    }

    footer {
        padding: 20px 10px 30px;
        margin-bottom: 50px;
    }

    .footer-text:last-child {
        margin-top: 10px;
    }

    .leader-slider-sec .slick-dots {
        margin-top: 10px;
    }

    .campus-life-vd-sec {
        flex-direction: column;
        align-items: initial;
        justify-content: initial;
        gap: 10px;
    }

    .campus-vd iframe {
        width: auto;
        height: auto;
    }

    .scholarship {
        padding-top: 60px;
    }

    .scholarship-sec h2 {
        margin-left: 0;
        font-size: 20px;
    }

    .banner-mb {
        display: block;
      }

    .banner-mb {
        position: absolute;
        bottom: 60px;
        right: 0;
    }

    .banner-mb img {
        width: 180px;
    }

    .app-btn {
        display: none;
    }

    .legacy-box:hover,
    .prog:hover {
        background: initial !important;
        border: initial !important;
        outline: initial !important;
        color: initial !important;
    }

    .legacy-box:hover h3 {
        color: initial !important;
    }

    .prog:hover {
        border: initial !important;
        outline: initial !important;
    }

    .legacy-box,
    .prog {
        pointer-events: none;
    }

    .accreditation-slider .slick-dots,
    .campus-life-vd-sec .slick-dots {
        font-size: 0;
        display: flex;
        justify-content: center;
        gap: 0 5px;
        margin-top: 20px;
    }

    .accreditation-slider .slick-dots li button,
    .campus-life-vd-sec .slick-dots li button {
        background: var(--white);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 2px solid var(--red1);
        font-size: 0;
    }

    .campus-life-vd-sec .slick-dots li button {
        background: #fff;
        border: 2px solid #fff;
    }

    .accreditation-slider .slick-dots .slick-active button,
    .campus-life-vd-sec .slick-dots .slick-active button {
        background: var(--red1);
    }

    .accreditation-slider .slick-slide {
        padding-right: 0;
    }

    .banner-sec h1 {
        line-height: 1.2;
    }

    .banner-txt h2 {
        line-height: 1;
    }

    .industry-box:last-child {
        flex: none;
        width: 47%;
    }

    h2 {
        display: flex;
        line-height: 1.3;
        padding: 5px 0;
        flex-direction: column;
    }
}
