@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
body {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    margin: 0;
}

.nav-container {
    background-color: #ffffff;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.nav-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease-in-out;
}

/*.nav-brand:hover img {
    transform: scale(1.05);
}*/

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-item {
    position: relative;
}
/*#dropdown-item{
    position:absolute;
    right: 200%;
}*/
.nav-link {
    color: #1a1a1a;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.nav-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 90%;
    left: 0;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 210px;
    display: none;
    z-index: 1001;
    transform: translateY(-15px);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

@media (min-width: 992px) {
    .dropdown:hover > .dropdown-content {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }
}

.dropdown-item {
    display: block;
    color: #1a1a1a;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.dropdown-item:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.sub-dropdown {
    position: relative;
}

.sub-dropdown .dropdown-content {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0.2rem;
    display: none;
    transform: translateY(-15px);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

@media (min-width: 992px) {
    .sub-dropdown:hover > .dropdown-content {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }
}

.lang-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.lang-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 20px;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.menu-toggle::before {
    top: 0;
}

.menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle::after {
    bottom: 0;
}

.menu-toggle.active::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active::after {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-toggle.active span {
    transform: translateX(-10px);
    opacity: 0;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        background-color: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transition: left 0.5s ease-in-out;
    }

    .nav-menu.active {
        display: flex;
        left: 0;
    }

    .nav-link {
        margin: 0.5rem 0;
        width: 100%;
        font-size: 1rem;
    }
    .nav-item{
        margin: 25px;
    }
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        padding-left: 1rem;
        background-color: #f9f9f9;
        display: none;
        transform: translateY(-15px);
        opacity: 0;
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    }

    .dropdown.active .dropdown-content {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    .sub-dropdown .dropdown-content {
        position: static;
        margin-left: 1rem;
        display: none;
        transform: translateY(-15px);
        opacity: 0;
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    }

    .sub-dropdown.active .dropdown-content {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    .lang-options {
        margin-left: 0;
        padding-top: 1rem;
    }
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex !important;
        position: static;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
        transition: none;
    }
}