@media (max-width: 1600px) {
    h1 {
        font-size: 55px;
    }
    h2, .banner-txt h3 {
        font-size: 45px;
    }
    h3 {
        font-size: 30px;
    }
    h4 {
        font-size: 28px;
    }
    p, .jour h6  {
        font-size: 20px;
    }
    .container {
        padding: 0 100px;
    }
    .logo-sec img {
        width: 280px;
    }
    .banner-sec {
        height: 540px;
    }
    .learn-box img {
        width: 220px;
    }
    .learning-box-sec .learn-box:nth-of-type(2) img {
        width: 350px;
    }
    .excell {
        width: 380px;
        height: 380px;
        padding-top: 80px;
    }
    .univ-tab-btn .nav-item img {
        width: 230px;
    }
    .legacy-txt h3 {
        font-size: 100px;
    }
    .journey-box {
        min-height: auto;
    }
    .course-sec h4 {
        font-size: 23px;
    }
}

@media (max-width: 1400px) {
    h1 {
        font-size: 50px;
    }
    h2, .banner-txt h3 {
        font-size: 40px;
    }
    h4, .prog-btn a {
        font-size: 23px;
        line-height: 1.1;
    }
    .banner-sec {
        height: 450px;
        padding: 50px 30px;
    }
    .logo-sec img {
        width: 250px;
    }
    .course-slider {
        margin: -30px 60px 0; 
    }
    .learn-box img {
        width: 200px;
    }
    .learn-box h4 {
        margin-top: 5px;
    }
    .excell {
        width: 300px;
        height: 300px;
        padding-top: 50px;
    }
    .excell h3 {
        margin-bottom: 10px;
        font-size: 26px;
    }
    .univ-tab-btn .nav-item img {
        width: 200px;
    }
    .journey-box-sec {
        gap: 20px;
    }
    .journey-box {
        padding: 20px 20px 40px;
    }
    .legacy-txt h3 span {
        font-size: 50px;
    }
    .course-sec h4 {
        font-size: 23px;
    }
}

@media (max-width: 1200px) {
    h1 {
        font-size: 45px;
    }
    h2, .banner-txt h3 {
        font-size: 35px;
    }
    h4, .prog-btn a {
        font-size: 20px;
    }
    p, .jour h6 {
        font-size: 18px;
    }
    header {
        padding: 20px 20px 0;
    }
    .legacy-txt h3 {
        font-size: 80px;
    }
    .prog-btn {
        padding: 8px 20px;
    }
    .learn-box img {
        width: 180px;
    }
    .learning-box-sec .learn-box:nth-of-type(2) img {
        width: 300px;
    }
    .excell h3 {
        font-size: 22px;
        line-height: 1;
    }
    .collaboration-sec, .journey-sec {
        padding-bottom: 20px;
    }
    .collaboration-slider .slick-slide {
        padding: 0 10px;
    }
    .colla-img figure {
        margin-bottom: 20px;
    }
    .colla-img img {
        width: 150px;
    }
    .course-slider {
        padding: 20px 0px;
        gap: 10px;
        margin: -30px 40px 0;
    }
    .course-sec h4 {
        font-size: 20px;
        margin-right: 15px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 50px 0;
    }
    .container {
        padding: 0 50px;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 30px;
    }
    p, .jour h6 {
        font-size: 16px;
    }
    .banner-txt h3 {
        font-size: 33px;
    }
    .program-box {
        padding: 20px 25px;
    }
    .learn-box img {
        width: 140px;
    }
    .learning-box-sec .learn-box:nth-of-type(2) img {
        width: 250px;
    }
    .learning-box-sec {
        margin-top: 50px;
    }
    .excell {
        width: 240px;
        height: 240px;
        padding-top: 40px;
        margin-bottom: -80px;
    }
    .excellence-slider .slick-current.slick-active.slick-center .excell {
        margin-top: -80px;
    }
    .excell h3 {
        font-size: 20px;
    }
    .excellence-slider .slick-dots button, 
    .collaboration-slider .slick-dots button,
    .course-slider .slick-dots button {
        width: 12px;
        height: 12px;
    }
    .excellence-slider .slick-dots, 
    .collaboration-slider .slick-dots {
        margin-top: 15px;
    }
    .university-tab-sec .nav-item button {
        padding-top: 8px;
    }
    .univ-tab-sec img {
        height: auto;
    }
    .university-tab-sec .nav-link.active {
        padding-bottom: 8px;
    }
    .univ-tab-btn .nav-item img {
        width: 160px;
    }
    .journey-box {
        padding: 15px 15px 30px;
    }
    .jour figure {
        width: 25%;
    }
    .jour h6 {
        width: 75%;
    }
    .legacy-txt h3 span {
        font-size: 40px;
    }
    .course-sec h4 {
        font-size: 17px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 35px;
    }
    h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    h4, .prog-btn a, .excell h3 {
        font-size: 18px;
    }
    p, .jour h6 {
        font-size: 14px;
    }
    .banner-sec {
        padding: 30px 20px;
    }
    .banner-txt h3 {
        font-size: 30px;
        margin: 15px 0;
    }
    .banner-txt h3:after {
        width: 4vw;
    }
    .legacy-txt:first-child {
        min-height: 150px;
    }
    .legacy-txt h3 {
        font-size: 65px;
    }
    .program-txt {
        padding-bottom: 30px;
    }
    .program-txt h2 {
        margin-bottom: 10px;
    }
    .learning-box-sec {
        gap: 150px;
        margin-top: 200px;
    }
    .learning-sec .learn-box {
        left: 130px;
        top: initial;
        bottom: -190px;
    }
    .learning-sec .learn-box:last-child {
        right: 130px;
    }
    .learning-box-sec .learn-box:nth-of-type(2) img {
        width: 200px;
    }
    .univ-tab-btn .nav-item img {
        width: 110px;
    }
    .university-tab-sec .nav-link.active {
        border-bottom: 6px solid var(--red);
    }
    .excell {
        width: 200px;
        height: 200px;
        padding-top: 40px;
        margin-bottom: -40px;
    }
    .excellence-slider .slick-current.slick-active.slick-center .excell {
        margin-top: -40px;
    }
    .journey-box-sec {
        gap: 10px;
    }
    .jour {
        gap: 5px;
    }
     .programme {
        padding-top: 0;
    }
    .learning {
        padding: 0;
        padding-bottom: 220px;
    }
    .learning-box-sec {
        position: relative;
    }
    .learning-box-sec .learn-box:nth-of-type(2) {
        position: absolute;
        bottom: -210px;
    }
    .course-slider {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 550px;
        padding: 0 12px;
    }
    h1 {
        font-size: 30px;
    }
    .banner-txt .mob {
        display: block;
    }
    .banner-txt .desktp {
        display: none;
    }
    h2 {
        font-size: 23px;
    }
    h4, .prog-btn a, .excell h3 {
        font-size: 16px;
    }
    header {
        padding: 15px 10px 0;
        height: 280px;
    }
    .logo-sec img {
        width: 150px;
    }
    .banner-sec {
        height: auto;
        padding: 15px;
    }
    .banner-txt h3 {
        font-size: 23px;
        margin: 10px 0;
    }
    .course-slider {
        margin: 0px 10px 0;
        padding: 10px;
        gap: 5px;
    }
    .course-sec h4 {
        font-size: 12px;
        margin-right: 5px;
    }
    .legacy-txt h3 {
        font-size: 50px;
    }
    .legacy-txt:first-child {
        padding-bottom: 15px;
        min-height: 110px;
    }
    .legacy-txt {
        padding: 10px;
    }
    .legacy-txt:last-child {
        padding-top: 15px;
    }
    .legacy-txt p,
    .program-box p,
    p, .jour h6 {
        font-size: 12px;
    }
    .legacy-hd {
        padding-bottom: 10px;
    }
    .program-box {
        padding: 8px;
    }
    .prog-btn {
        padding: 5px 15px;
        margin-top: 20px;
    }
    .univ-tab-btn .nav-item img {
        width: 70px;
    }
    .learn-box img,  
    .learning-box-sec .learn-box:nth-of-type(2) img  {
        width: 120px;
    }
    .learning {
        padding-bottom: 170px;
    }
    .community-img {
        padding-right: 15px;
        margin-right: 15px;
    }
    .journey-box-sec {
        flex-flow: row wrap;
    }
    .journey-box {
        flex-basis: 48%;
        min-height: 200px;
    }
    .jour {
        margin-bottom: 10px;
    }
    .jour figure,
    .jour h6 {
        width: auto;
    }
    .legacy-txt h3 span {
        font-size: 25px;
    }
    .program-box-sec.pr1 .program-box,
    .program-box-sec.pr1 .program-box:nth-of-type(3), 
    .program-box-sec.pr1 .program-box:nth-of-type(3) {
        width: 34%;
    }
    .program-box-sec.pr2 .program-box:nth-of-type(1) {
        width: 45%;
    }
    .program-box-sec.pr2 .program-box:nth-of-type(3) {
        width: 30%;
    }
    .excellence-slider, .community-img-sec, .university-tab-sec {
        padding-top: 10px;
    }
    .excellence-slider .slick-slide {
        padding: 0 10px;
    }
    .collaboration-slider .slick-slide {
        padding: 0 5px;
    }
    .colla-img figure {
        margin-bottom: 10px;
    }
    .colla-img img {
        width: 100px;
    }
    .learning-sec .learn-box {
        left: 120px;
    }
    .learning-sec .learn-box:last-child {
        right: 110px;
    }
    .course-slider .slick-dots {
        margin-top: 30px;
    }
    .learning-box-sec .learn-box:nth-of-type(2) {
        bottom: -160px;
        left: 37%;
    }
    .learning-box-sec {
        gap: 100px;
    }
    footer {
        margin-bottom: 50px;
    }
    .footer-sec {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .footer-sec p:first-child {
        margin-bottom: 5px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 23px;
    }
    .legacy-txt h3 {
        font-size: 35px;
    }
    .journey-box {
        min-height: 250px;
    }
    .learning-sec .learn-box {
        left: 60px;
    }
    .learning-sec .learn-box:last-child {
        right: 70px;
    }
    .learning-box-sec .learn-box:nth-of-type(2) {
        bottom: -130px;
    }
    .learning-box-sec .learn-box:nth-of-type(2) h4 {
        position: relative;
        left: -25px;
    }
}