.header-bg {
    background: var(--bs-white);
}
.tabs-bg {
    border-color: transparent;
    box-shadow: 0 0 0 0.05rem rgba(8, 60, 130, 0.06), 0rem 0rem 1.25rem rgba(30, 34, 40, 0.04);
    border-radius: 0.4rem;
}

.tab-content .card div {
    color: #000
}

.nav-pills .nav-link {
    color: #fff;
    background-color: #24bfff;
}

.nav-pills .nav-link.active {
    color: #fff;
    background-color: #000;
}

#services .card-body {
    height: 350px;
}
.mega-menu-content a {
    font-size: 12px;
}

.dropdown-item {
    font-size: 12px;
}

.fixed-height {
    height: 200px !important;
    object-fit: cover;
}

@media (max-width: 480px) {
    .logo-light,
    .logo-dark {
        width: 140px;
    }
    .mlogo {
        font-size: 20px !important;
    }
    .slogo {
        font-size: 12px !important;
    }
}

/* ══ LANGUAGE SWITCHER ══ */
.goog-te-banner-frame,
.skiptranslate {
    display: none !important;
}
body {
    top: 0 !important;
}
.goog-te-gadget {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    font-size: 0 !important;
}

.lang-wrap {
    position: relative;
    z-index: 9999;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    height: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}
.lang-btn i {
    font-size: 13px;
    line-height: 1;
}
.lang-menu {
    position: absolute;
    top: 130px;
    right: -15px;
    width: 250px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 4px 18px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transform-origin: top right;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-wrap.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 4px 0;
}
.lang-list::-webkit-scrollbar {
    width: 4px;
}
.lang-list::-webkit-scrollbar-track {
    background: transparent;
}
.lang-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}
.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 13px;
    color: #1e293b;
    cursor: pointer;
    transition: background 0.12s ease;
    border-left: 3px solid transparent;
}
.lang-item:hover {
    background: #f8fafc;
    border-left-color: #2563eb;
}
.lang-item.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    border-left-color: #2563eb;
}
.lang-item .lf {
    font-size: 16px;
    line-height: 1;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.lang-check {
    margin-left: auto;
    font-size: 11px;
    color: #2563eb;
    font-weight: 700;
}
.lang-no-result {
    padding: 16px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}
.lang-menu .border-bottom {
    border-color: #e2e8f0 !important;
}
.lang-menu .form-control-sm {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 5px 10px;
    font-size: 12px;
}
.lang-menu .form-control-sm:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ══ RTL SUPPORT ══ */
html[dir="rtl"] .lang-menu {
    right: auto;
    left: -15px;
    transform-origin: top left;
}
html[dir="rtl"] .lang-check {
    margin-left: 0;
    margin-right: auto;
}
html[dir="rtl"] .lang-item {
    border-left: none;
    border-right: 3px solid transparent;
}
html[dir="rtl"] .lang-item:hover {
    border-right-color: #2563eb;
    border-left-color: transparent;
}
html[dir="rtl"] .lang-item.active {
    border-right-color: #2563eb;
    border-left-color: transparent;
}
html[dir="rtl"] .navbar-brand {
    text-align: right;
}
html[dir="rtl"] .ms-lg-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}
html[dir="rtl"] .ms-lg-4 {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}
html[dir="rtl"] .me-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

@media (max-width: 991.98px) {
    .lang-btn {
        height: 28px;
        padding: 3px 8px;
        font-size: 11px;
    }
    .lang-btn span {
        display: none;
    }
    .lang-menu {
        width: 220px;
        right: -5px;
    }
    html[dir="rtl"] .lang-menu {
        right: auto;
        left: -5px;
    }
}
