/* Language Switcher Styles */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding-left: 20px;
}

.lang-switcher .lang-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    padding: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.lang-switcher .lang-btn:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: 0.3s;
}

.lang-switcher .lang-btn:hover:after,
.lang-switcher .lang-btn.active:after {
    width: 100%;
}

.lang-switcher .lang-btn:hover {
    color: #ffffff;
}

.lang-switcher .separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    font-size: 16px;
}

/* Affix state (scrolled with blue background) - keep text white */
.mainmenu-area.affix .lang-switcher .lang-btn {
    color: #ffffff;
}

.mainmenu-area.affix .lang-switcher .lang-btn:after {
    background-color: #ffffff;
}

.mainmenu-area.affix .lang-switcher .lang-btn:hover {
    color: #ffffff;
}

.mainmenu-area.affix .lang-switcher .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Make sure mainmenu can flex properly */
.mainmenu {
    display: flex;
    align-items: center;
}

.mainmenu .nav {
    display: flex;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .lang-switcher {
        justify-content: center;
        margin: 15px 0;
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-left: 0;
    }

    .mainmenu-area.affix .lang-switcher {
        border-top-color: rgba(51, 51, 51, 0.1);
    }

    .mainmenu {
        display: block;
    }
}