/* Base responsive adjustments */
.burger-button {
    display: none;
    pointer-events: auto;
    background: transparent;
    border: none;
    padding: 8px;
    margin-right: 8px;
    cursor: pointer;
}

.burger-button span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    margin: 5px 0;
    transition: 0.2s ease;
}

.mobile-menu {
    display: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0;
    margin-top: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.mobile-nav a {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
}

.mobile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.mobile-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
}

.mobile-social span {
    display: none;
}

.mobile-social img {
    height: 22px;
    width: auto;
}

@media (max-width: 1600px) {
    .projects {
        padding: 120px 24px 50px;
    }

    .projects_inner {
        width: 95%;
        padding: 0 24px 32px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 10px 16px 70px 0;
    }

    .nav_bar ul {
        gap: 18px;
    }

    .projects_inner {
        width: 95%;
        padding: 0 24px 32px;
    }

}

@media (max-width: 990px) {

    .Font_1 {
        font-size: 48px;
    }

    .Font_2 {
        font-size: 18px;
    }

    .about_us {
        padding: 180px 60px 40px;
        height: auto;
    }

    .projects {
        padding: 120px 5px 50px;
    }

    .projects_container {
        flex-direction: column;
        align-items: center;
    }

    .project_link,
    .projects_container > .project_card {
        flex: 0 1 auto;
        width: 100%;
        
    }
}

@media (max-width: 990px) {
    .nav_bar,
    .header-social {
        display: none;
    }

    .burger-button {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .header-left {
        gap: 18px;
        flex: 1 1 auto;
    }

    .header_img {
        width: 72px;
    }

    .logo_font_1 {
        font-size: 24px;
    }

    .logo_font_2 {
        font-size: 16px;
    }

    .about_us {
        padding: 160px 32px 40px;
    }

    .projects_inner {
        width: 90%;
        padding: 0 20px 32px;
    }

    .projects_title {
        font-size: 32px;
    }

    .project_desc {
        font-size: 15px;
    }

    header {
        transition: padding-bottom 0.3s ease;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    header.menu-open {
        padding-bottom: 260px;
    }

    .mobile-menu {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        order: 3;
        flex-basis: 100%;
        align-self: flex-start;
    }

    header.menu-open .mobile-menu {
        max-height: 320px;
        opacity: 1;
        padding: 0 0 12px 0;
    }

    .burger-button {
        margin-left: auto;
    }
}

@media (max-width: 520px) {
    .projects_title{
        padding-bottom: 0;
    }

    .project_name{
        font-size: 20px;
    }

    .project_desc{
        font-size: 13px;
    }

    .Font_1 {
        font-size: 36px;
    }

    .Font_2 {
        font-size: 16px;
    }

    .support_btn {
        font-size: 18px;
        padding: 10px 24px;
    }

    .project_card {
        width: 100%;
    }

    .projects_inner {
        padding: 0 5px 24px;
    }
}