@media (max-width:1024px) {

    .common-flex {
        flex-wrap: wrap;
    }

    .footer-cards {
        width: calc(50% - 1.33rem);
    }

    .years-padding {
        padding: 5px 10px 5px 25px;
    }

    .latest-flex {
        flex-wrap: wrap;
        padding: 2rem;
    }

    .testi-swiper {
        width: 100%;
        height: unset;
        border-right: unset;
    }

    .connect {
        width: 100%;
    }

    .latest-button h2 {
        font-size: 16px;
        width: 50%;
    }

    .achievements-right {
        width: 40%;
    }

    .custom-container {
        width: 100%;
    }

    .infra-content {
        width: 100%;
    }

    .testi {
        height: 70px;
    }

    .infra-content p {
        font-size: 16px;
    }

    .latest-sec {
        width: 100%;
        height: unset;
    }

    .content-3 {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }


    aside {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        overflow-x: hidden;
        transition: all ease 0.5s;
    }

    .open {
        transform: translateX(0%);
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 9999;
    }

    .hamburger.change {
        position: fixed;
        top: 49px;
        left: 110px;
    }

    .body-right {
        width: 100%;
    }

    .logo2 {
        width: 6%;
    }

    .logo {
        width: 20%;
    }

    .logo-flex {
        padding: 1rem 0;
    }

    ul.sidebar-ul {
        margin: 100px 19px 0px 19px;
    }

    .home-sec2 {
        justify-content: flex-start;
        flex-wrap: wrap;
    }



    /* umar */

    .our-genesis-left p {
        font-size: 14px;
    }

    .right-navbar a {
        font-size: 13px;
    }

    .visionaries-card-holder {
        gap: 3rem;
    }

    .visionaries-flex {
        align-items: unset;
        flex-direction: column;
    }

    .visionaries-image {
        width: calc(70% - 0rem);
    }

    .visionaries-name {
        width: 100%;
    }

    .left-admission ul li {
        font-size: 14px;
    }

    .achieve td {
        font-size: 14px;
    }

    .left-admission p {
        font-size: 14px;
    }

    .co-curricular-content p {
        font-size: 14px;
    }

    .co-curricular-container {
        gap: 1.5rem;
    }

    .co-curricular-card {
        gap: 0.5rem;
    }

    .activities-navbar a {
        font-size: 13px;
    }

    .extra-curricular-container p {
        font-size: 14px;
    }

    .exuberant-year-links-flex a {
        font-size: 16px;
    }

    .exuberant-inner-card p {
        font-size: 14px;
    }

    .exuberant-navbar a {
        font-size: 13px;
    }

    .exuberant-container {
        gap: 1rem;
        padding: 1rem;
    }

    .exuberant-left {
        width: calc(65% - 0.5rem);
    }

    .exuberant-right {
        width: calc(35% - 0.5rem);
    }

    .quick-links-container a {
        font-size: 14px;
    }


}


@media (max-width: 768px) {

    .exuberant-right {
        width: 40%;
    }
    .item {
        flex-wrap: wrap;
    }


    img.testi-img {
        width: 40%;
        height: 100%;
    }

    .contactus-right {
        width: 100%;
    }

    .contact-input textarea {
        max-width: 100%;
    }

    .contact-btn button {
        padding: 9px 16px;
    }

    .contactus-left {
        width: 100%;
    }

    .contactus-container {
        flex-wrap: wrap;
    }

    p {
        font-size: 14px;
    }

    .achievements-navbar a {
        font-size: 16px;
    }

    .curricular-image-flex {
        flex-wrap: wrap;
    }

    .visionaries-image {
        width: 100%;
    }

    .achieve-academics-card p {
        font-size: 14px;
    }

    .achieve-table td {
        font-size: 14px;
    }

    .achieve-academics-image a {
        width: 60%;
    }

    .timeline-image a {
        width: 100%;
    }

    .infra-fancy-box {
        flex-wrap: wrap;
    }

    .infra-fancy-box a {
        width: 40%;
    }

    .infra-fancy-box p {
        width: 100%;
    }

    .footer-holder {
        gap: 1rem;
    }

    .left-admission {
        width: 100%;
    }

    .admission-sec {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }

    aside {
        width: 40%;
    }

    .our-genesis-container {
        flex-wrap: wrap;
    }

    .our-genesis-left {
        width: 100%;
    }

    .our-genesis-right {
        width: 40%;
    }

    /* umar */

    .footer-holder {
        flex-direction: column;
    }

    .footer-cards {
        width: 100%;
    }

    iframe {
        width: 100%;
        height: 30vh;
    }

    .exuberant-inner-card p {
        font-size: 16px;
    }

    .exuberant-navbar a {
        font-size: 15px;
    }

    .quick-links-container a {
        font-size: 16px;
    }

    .address p {
        font-size: 16px;
    }

    .footer-cards th {
        font-size: 16px;
    }

    .footer-cards td a {
        font-size: 16px;
    }

    .quick-links-container a::after {
        width: 15px;
        height: 15px;
    }

    .our-genesis-left p {
        font-size: 16px;
    }

    .right-navbar a {
        font-size: 16px;
    }

    #posterPopup {
        display: none;
    }

    .our-genesis-container {
        flex-direction: column-reverse;
    }

    .our-genesis-left {
        width: 100%;
    }

    .achievements-container {
        flex-direction: column-reverse;
    }

    .achievements-left {
        width: 100%;
    }

    .exuberant-container {
        flex-direction: column-reverse;
    }

    .exuberant-left {
        width: 100%;
    }

    .activities-left {
        width: 100%;
    }

    .activities-container {
        flex-direction: column-reverse;
    }
}


@media (max-width: 576px) {

    .achieve-academics-image a {
        width: 100%;
    }

    .co-curricular-image {
        width: 100%;
    }

    .exuberant-year-links-flex {
        width: 70%;
    }

    .gallery-box {
        width: 100%;
    }

    .gallery {
        padding: 0;
    }

    aside {
        width: 70%;
    }

    .logo {
        width: 30%;
    }

    .logo2 {
        width: 10%;
    }

    .infra-fancy-box a {
        width: 100%;
    }

    /* umar */


    .footer-cards h3 {
        font-size: 22px;
    }

    .archives-container h1 {
        font-size: 30px;
    }

    .footer-copyrights {
        flex-direction: column;
    }

    .footer-copyrights p {
        font-size: 16px;
    }

    .footer-copyrights a img {
        width: 150px;
    }

    .footer-holder {
        padding: 3rem;
    }

    .our-genesis-left h1 {
        font-size: 22px;
    }


    .exuberant-inner-image a {
        width: calc(50% - 0.67rem);
    }

    .exuberant-inner-image img {
        width: 100%;
    }

    .our-genesis-right {
        width: 100%;
    }

    .achievements-right {
        width: 100%;
    }

    .exuberant-right {
        width: 100%;
    }

    .activities-right {
        width: 100%;
    }

    .co-curricular-flex {
        flex-direction: column;
    }

    .co-curricular-content {
        width: 100%;
    }

    /* home */
    section.home-sec2 a {
        width: 100%;
    }

    .ambiance {
        width: 100%;
        height: 200px;
    }

    .students {
        width: 100%;
        height: 200px;
    }

    .admission {
        width: 100%;
        height: 200px;
    }

    .contact {
        width: 100%;
        height: 200px;
    }

    .home-sec2 {
        margin: 0;
    }

    .students {
        margin: 0;
    }

    .contact {
        margin: 0;
    }

    .latest-sec {
        margin: 0;
    }

    .sec4-about {
        width: 100%;
        height: 200px;
    }

    .sec4-academics {
        width: 100%;
        height: 200px;
    }



    .sec4-gallery {
        width: 100%;
        height: 200px;
    }

    section.content-3 a {
        width: 100%;
    }

    .testi {
        width: 100%;
        height: 100px;
        background-color: #4c5567;
    }

    .quick-links-container a {
        width: 100%;
    }
}

@media (max-width:450px) {
    img.testi-img {
        width: 100%;
    }

    .exuberant-year-links-flex {
        width: 100%;
    }

    .footer-holder {
        padding: 2rem;
    }

    aside {
        width: 80%;
    }
}