header{
    position: fixed;
    background: rgb(238, 234, 234); 
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(50px);
    z-index: 1000;
    opacity: 95%;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo a {
    display: flex;
    align-items: center;   
    text-decoration: none;
}

.logo img {
    width: 300px;  
    height: auto;
    margin-bottom: 15px;
}

.nav-container{
    width: 95%;
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px; 
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: #090909;
    font-weight: bold;
    padding-bottom:5px;
    transition:0.3s;
}

.menu a:hover {
    color: #007BFF;
    border-bottom:2px solid #007BFF;
    padding-bottom:3px;
}

.menu a.active-menu{
    color: #007BFF;
    border-bottom:2px solid #007BFF;
    padding-bottom:3px;
}

.lang-switch 
{   
    border-left: 1px solid #ddd;
    display: inline-block;;
    gap: 8px;
    font-weight: bold;
    padding-left: 15px;
}

.lang-switch a{
    position: relative;
    text-decoration: none;
    color: #ddd;
    font-weight: bold;
    padding-bottom: 5px;
}

.lang-switch a.active-lang{
    color: #007BFF;
    border-bottom:2px solid #007BFF;
    padding-bottom:3px;
}

.lang-switch a:hover {
    color: #007BFF;
    border-bottom:2px solid #007BFF;
    padding-bottom:3px;
}

.lang-switch {
    position: relative;
    cursor: pointer;
}

.lang-selected {
    color: #090909;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
}

.lang-switch img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;   
    right: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 1000;
}

.lang-dropdown a {
    display: flex;
    border-radius: 6px;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.3s ease;
}

.lang-dropdown a:hover {
    background: #f2f5f8;
}

.lang-switch:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
    margin-left: auto;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #030303;
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 992px) {
    header { height: 70px; }
    .logo img {
        width: 250px;  
    }
    .menu-toggle { display: flex; }
    .nav-right.active { right: 0; }
    .menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .lang-switch.open .lang-dropdown { display: block; }
    .lang-dropdown a {
        color: #fff;
        justify-content: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-right {
        position: fixed;
        top: 70px;
        left: -100%; 
        flex-direction: column;
        background: rgba(10, 20, 30, 0.95); 
        color: #f2f5f8;
        width: 100%;
        height: calc(100vh - 70px);
        padding: 40px 0;
        transition: 0.4s ease-in-out;
        gap: 30px;
        backdrop-filter: blur(50px);
        box-shadow: -10px 0 20px rgba(0,0,0,0.5);
    }

    .nav-right.active { left: 0; }
    .menu { flex-direction: column; align-items: center; width: 100%; }
    .menu a { font-size: 1.2rem; color: #f2f5f8;}
    .lang-switch {
        border-left: none; 
        padding-left: 0;
        margin-top: 20px;
        border-top: 1px solid #444;
        padding-top: 20px;
        width: 80%;
        flex-direction: column;
        text-align: center;
        align-items: center;
        display: flex;
    }
    .lang-dropdown {
        position: relative; 
        top: 10px;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; 
        background: rgba(255, 255, 255, 0.05); 
        width: 100%;
        text-align: center;
    }
}


