﻿.navbar-expand-lg .navbar-nav .nav-item.dropdown .dropdown-menu.mega-menu {
    top: auto !important;
}

.owl-carousel .item {
    padding: 10px;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
}

#TheTeamSection .card {
    height: 100%;
    transition: transform 0.2s ease-in-out;
}

    #TheTeamSection .card:hover {
        transform: scale(1.02);
    }

#TheTeamSection .card-title {
    font-size: 1.2rem;
}

.brand-strong {
    font-family: var(--font-display, "Michroma", sans-serif);
    font-weight: 800;
    letter-spacing: .03em;
}
/* Full-screen overlay */
.language-popup {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: rgba(0, 0, 0, 0.6);
    display: none; /* hidden by default */
    align-items: center; /* center content vertically */
    justify-content: center; /* center content horizontally */
    z-index: 9999999 !important; /* higher than side menu */
}

    /* When open, show as flex overlay */
    .language-popup.open {
        display: flex;
    }

/* Popup card */
.language-popup-content {
    background: #fff;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Close button */
.language-popup .btn-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    text-decoration: none;
    font-size: 1rem;
    color: #666;
}

.language-switcher {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
}

    /* 2 columns: each item takes 50% width */
    .language-switcher li {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* The label style */
    .language-switcher a {
        display: block;
        padding: .4rem .8rem;
        border-radius: 999px;
        border: 1px solid #ddd;
        text-align: center;
        font-size: .9rem;
        text-decoration: none;
        color: #333;
        background: #f9f9f9;
    }

    /* Active language highlighted */
    .language-switcher li.active a {
        background: #007bff;
        color: #fff;
        border-color: #007bff;
        font-weight: 600;
    }

/* On larger screens you can show more columns if you want */
@media (min-width: 768px) {
    .language-switcher li {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* When language popup is open, hide navbar completely */
.navbar.navbar-hidden {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}