@media screen and (max-width: 830px) {
    .body-wrapper {
        position: relative;
        overflow-x: hidden;
    }

    .nav-links {
        position: absolute;
        width: 100%;
        right: 0;
        height: 93vh;
        margin-top: 50px;
        background-color: #214442;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .hamburger-menu {
        display: block;
    }

    .navi-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .navi-section div {
        margin-bottom: 40px;
    }

    .contact-content,
    .contact-content-1,
    .contact-content-icons {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact-content-icons {
        width: 20%;
    }

    .contact-content-2 {
        width: 80%;
        margin-top: 40px;
    }

    .team-container-left,
    .team-container-right {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .team-member-info-left,
    .team-member-info-right {
        text-align: center;
    }
}

/* Adding comments for clarity */
.nav-active {
    transform: translateX(0%);
}

/* Keyframes for animation */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Hamburger menu animation */
.toggle .line-1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line-2 {
    opacity: 0;
}
.toggle .line-3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Adjusting service content width for larger screens */
@media screen and (max-width: 1766px) {
    .service-content {
        width: 100%;
    }
}
