@media (max-width: 1058px) {

    .text button {
        margin-bottom: 1em;
    }

    .address-background {
        height: 80vh;
    }
    .container {
        width: 90%;
    }

    .what-we-offer {
        grid-template-columns: repeat(2, 1fr);
        place-items: center;
    }

    .swiff, .info-content {
        flex-direction: column;
    }

    .weare {
        height: 210vh;
    }

    .whoerimag {
        background-size: 90vh;
    }

    .box {
        width: 20em;
        min-height: 30em;
    }

    .box1 {
        min-height: 35em;
    }

    .info-container, #whower {
        width: 90%;
    }
    
    .info-container2, .info-container {
        width: 100%;
    }

    .info-text .text {
        padding: 0 2rem;
    }

    .info-text2 .text2 {
        padding: 0 2rem;
    }
    .academic .container {
        grid-template-columns: repeat(2, 1fr);
    }

    footer .bottom-nav {
        grid-template-columns: repeat(2, 1fr);
        padding: 0rem 0rem 0rem 9rem;
        gap: 2rem;
        margin: 1rem;
    }
}
@media (max-width: 932px) {
    #nav-menu .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu {
        background-color: #fff;
        position: absolute;
        top: var(--navbar-height);
        /* min-height: 100vh; */
        width: 100%;
        height: 100vh;
        transform: translateX(0px);
        transition: transform 0.5s ease-out, visibility 0s;
        visibility: hidden;
    }

    .menu a {
        color: #1b2640;
    }

    .menu-bar li:first-child ul:nth-child(1) {
        border-right: none;
        border-bottom: var(--border);
    }

    .dropdown {
        display: none;
        width: 90%;
        padding: 0 1rem;
        margin: 1rem;
        position: static;
        top: 0;
        left: 0;
        /* visibility: visible; */
        opacity: 1;
        transform: none;
        box-shadow: none;
        color: #fff;
    }

    .dropdown a {
        color: #fff;
    }

    .dropdown.active {
        display: block;
    }

    .menu.show {
        right: 0;
        transition: transform 0.5s ease-in-out, visibility 0s;
        visibility: visible;
        /* transform: translateX(0px); */
    }

    .dropdown ul {
        padding-left: 0.3rem;
    }

    .menu-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        row-gap: 1rem;
        padding: 0 1rem;
    }

    .menu-bar .nav-link {
        display: flex;
        justify-content: space-between;
        color: #1b2640;
        margin: 0;
    }

    .menu-bar > li:not(:last-child) {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #c78f2d;
    }

    .text button {
        margin-bottom: 1em;
    }

    .address-background {
        height: 110vh;
        margin: 0 auto;
    }

    .address-container {
        display: flex;
        flex-direction: column;
        gap: 2em;
        margin-top: 2em;
    }

    
    .address-box {
        background-color: #ffffff;
        width: 80%;
        margin: 0 auto;
    }


    .whoerimag {
        background-size: 90vh;
    }

    .weare {
        height: 190vh;
    }
}

@media (max-width: 768px) {

    .aboutlin {
        margin: 0;
    }

    .box {
        width: 20em;
        min-height: 30em;
    }

    .box1 {
        min-height: 50em;
    }

    .whoerimag {
        background-size: 45vh;
    }

    .weare {
        height: 180vh;
    }

    .info-content {
        flex-direction: column;
    }

    .info-text, .carrytext {
        width: 100%;
    }

    .info-text, .text {
        width: 100%;
        padding: 2rem;
    }

    .info-image, .aboutus {
        width: 100%;
        min-height: 20rem;
    }

    .info-content2 {
        flex-direction: column;
    }
    .info-text2 {
        width: 100%;
    }
    .info-text2 .text2{
        width: 100%;
        text-align: left;
        padding: 2rem;
    }

    .info-image2 {
        width: 100%;
        height: 20rem;
    }

    footer .bottom-nav {
        grid-template-columns: repeat(2, 1fr);
        padding: 0rem 0rem 0rem 4rem;
        gap: 2rem;
        margin: 1rem;
    }
}

@media (max-with: 645px) {

    .aboutus {
        width: 100%;
    }
}

@media (max-width: 560px) {

    .nav-end button {
        padding: 0.6rem 0.4rem;
    }
    #nav-menu .container {
        padding: 0.5rem 0;
    }


    .address-background {
        padding: 1em;
        height: 115vh;
        margin: 0 auto;
    }

    .address-box {
        width: 100%;
    }

    .address-box p {
        font-size: 1.3em;
    }

    .info2 {
        margin-top: 0;
    }
    .what-we-offer {
        grid-template-columns: 1fr;
        padding: 1rem 0 0.2rem;
    }

    .academic .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {

    .abuttext {
        margin-top: -120px;
    }

    .address-box p {
        font-size: 0.8em;

    }
    footer .bottom-nav {
        grid-template-columns: 1fr;
    }

    .landing-text {
        margin-top: -4rem;
        padding: 0.05rem;
        height: 60vh;
        .container, h1, h3, p {
            font-size: 1.04em;
        }
    }
}