body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
.navbar {
    background-color: ;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 8vh;
    background-color: #044680;
    color: white;
    z-index: 1000;
}

.navbar-content {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 8vh;
}

.logo-img {
    height: 4vh;
    width: auto;
}

.navbar-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 5% 0 5%;
    width: 100%;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #d4f1f1;
    transform: translateY(-2px);
}

.language-switcher {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.lang-btn {
    background: transparent;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.logo-link {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: auto;
}

.navbar-center {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.list-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.list-menu span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s linear;
}
.mobile-nav.active ~ .navbar .list-menu {
    opacity: 0;
    pointer-events: none;
}

/* Мобильная навигация */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #044680;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 100;
    padding: 70px 20px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
}

.mobile-list {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-list span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s linear;
}

.mobile-language-switcher {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-left: auto;
}

.mobile-lang-btn {
    background: transparent;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-lang-btn.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .logo-img {
    height: 3.7vh;
    width: auto;
    }
    .navbar-center {
        display: none !important;
    }

    .language-switcher {
        display: none !important;
    }

    .list-menu {
        display: flex;
    }

    .navbar-content {
        justify-content: space-between;
        position: relative;
    }
}

@media (min-width: 993px) {

    .mobile-nav {
        display: none;
    }

    .overlay {
        display: none;
    }

    .mobile-language-switcher {
        display: none;
    }
}
