/* Language Switcher Styles */
.lang-switcher-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    z-index: 1000;
}

.lang-switcher-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #1c2c1d;
    /* Matching header dark green */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
}

.lang-switcher-current:hover {
    background: #2a3d2b;
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-switcher-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lang-switcher-container:hover .lang-switcher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 6px;
    color: #1c2c1d;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(28, 44, 29, 0.05);
    color: #2a3d2b;
    transform: translateX(4px);
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.chevron-icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.lang-switcher-container:hover .chevron-icon {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .lang-switcher-container {
        margin-left: 10px;
    }

    .lang-switcher-current {
        padding: 10px 14px;
    }

    .lang-switcher-current span {
        display: none;
    }

    .lang-switcher-dropdown {
        min-width: 160px;
    }
}