.bd-grid {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.l-header {
    width: 100%;
    position: fixed;
    z-index: var(--z-fixed);
    background-color: #fff;
}

.nav {
    height: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 4rem;
    letter-spacing: -0.4px;
    box-shadow: 0px 4px 6px rgba(37, 37, 37, 0.5);
}


.nav-actions {
    display: flex;
    align-items: center;
}

.nav-list {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    display: flex;
}

.nav-item {
    margin-right: 1.5rem;
    margin-bottom: 0;
}

.nav-link:hover {
    color: #60d0e0;
}


.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.nav-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--first-color, black);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-toggle img {
    width: 1.8rem;
}

.nav-btn {
    background-color: #60d0df;
    color: #fff;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}


.nav-menu {
    margin-left: auto;
}

@media screen and (max-width: 500px) {
    .nav-menu {
        position: absolute;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
        display: none;
        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        animation: fadeIn 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 0.8rem;
        border-radius: 8px;
        font-size: 1rem;
        color: #222;
        transition: background 0.3s, color 0.3s;
    }

    .nav-link:hover {
        background-color: #e3f7fa;
        color: #007b8a;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-btn {
        display: none;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}