/* Custom Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-right: 15px;
    font-family: 'Montserrat', sans-serif;
}

.lang-current {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

.lang-current img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-current i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.lang-switcher:hover .lang-current i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.lang-dropdown li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary) !important;
    padding-left: 25px;
}

.lang-dropdown li a img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .lang-switcher {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .lang-current {
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        display: none;
        margin-top: 10px;
        min-width: 100%;
    }
    
    .lang-switcher:hover .lang-dropdown {
        display: block;
    }
    
    .lang-dropdown li a {
        justify-content: center;
    }
}

/* Hide Google Translate Elements */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-tooltip {
    display: none !important;
}

.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#google_translate_element {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}
