﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', Arial, sans-serif;
    background: #fff;
}

footer {
    background: #1d3665;
    color: white;
    text-align: center;
    padding: 16px;
}

.welcome-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

    .welcome-section h1 {
        color: #1d3665;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .welcome-section .lead {
        color: #555;
        margin-bottom: 15px;
    }

    .welcome-section p {
        font-size: 18px;
        line-height: 1.9;
        color: #444;
    }

.welcome-image {
    max-width: 100%;
    height: auto;
}

/*.news-article-card img {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    border: 3px solid red !important;
}*/
/* =========================================
   KWFIUCoursesAndTrainingAndAwarness
   prepared for razor-home.css
   ========================================= */

.news-section {
    background-color: #fbf8f8;
    padding: 2rem;
}

.section-title {
    font-family: 'Tajawal', sans-serif;
    text-align: center;
    padding-bottom: 20px;
}

.section-title-text {
    color: #1d3665;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

.news-item {
    margin: 0 !important;
    padding: 0 !important;
}

.mix-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0 !important;
    width: 70%;
}

    .mix-grid .col-md-3,
    .mix-grid .col-sm-3 {
        margin: 0 !important;
        padding: 0 !important;
    }

.item-box {
    position: relative;
    width: 100% !important;
    height: 320px;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s ease;
    padding-top: 40px;
    cursor: pointer;
}

    .item-box figure {
        height: 210px;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        position: relative;
    }

    .item-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        margin: 0;
        padding: 0;
        border: none;
        transition: transform 0.4s ease;
    }

.item-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

    .item-hover .overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .item-hover .ico-rounded {
        background-color: #1d3665;
        padding: 10px;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }

        .item-hover .ico-rounded:hover {
            background-color: rgba(255, 255, 255, 0.4);
        }

    .item-hover .inner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }

    .item-hover .fa {
        font-size: 24px;
        color: #fff;
        transition: transform 0.3s ease;
    }

    .item-hover .ico-rounded:hover .fa {
        transform: scale(1.2);
    }

.item-box:hover .item-hover,
.item-box figure:hover .item-hover {
    opacity: 1;
}

.item-box:hover img,
.item-box figure:hover img {
    transform: scale(1.05);
}

.item-box:hover .fa {
    transform: scale(1.2);
}

.item-box-desc {
    flex-grow: 1;
    padding: 10px 8px;
    text-align: center;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .item-box-desc h3 {
        font-family: 'Tajawal', sans-serif;
        font-size: 13px;
        color: #333;
        margin-bottom: 6px;
        line-height: 1.4;
    }

.list-inline.categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    font-size: 11px;
    flex-wrap: wrap;
}

    .list-inline.categories li {
        font-family: 'Tajawal', sans-serif;
        margin: 0 4px;
        color: #888;
    }

.course-container {
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    background-color: #fff;
}

.course-header-text {
    text-align: center;
    font-family: 'Tajawal', sans-serif;
    color: #1d3665;
}

    .course-header-text h2 {
        font-size: 30px;
        font-weight: bold;
        margin: 0;
        padding-top: 40px;
    }

.course-p-header {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    font-size: 21px;
    line-height: 1.4;
    margin: 0;
    padding-top: 10px;
    color: #555;
}

.header-line {
    border: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    width: 750px;
    max-width: 70%;
}

.text_style {
    font-family: 'Tajawal', sans-serif !important;
}

.mfp-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    font-size: 30px !important;
    color: white !important;
    cursor: pointer !important;
    z-index: 10001 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 5px black !important;
}

    .mfp-close:hover {
        color: #f00 !important;
        background: rgba(0, 0, 0, 0.7) !important;
    }

.horizontal-list {
    display: flex;
    gap: 15px;
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    color: #333;
    list-style: none;
    justify-content: flex-start;
    padding-inline-start: 20%;
}

    .horizontal-list li:hover {
        background-color: #e0e0e0;
        cursor: pointer;
        border-radius: 5px;
        padding: 5px 10px;
    }

    .horizontal-list .mixitup-control-active {
        background-color: #e0e0e0;
        padding: 5px 10px;
        border-radius: 5px;
    }

    .horizontal-list li {
        transition: background-color 0.3s ease;
    }

.ls-container .ls-nav-prev,
.ls-container .ls-nav-next {
    display: none !important;
    visibility: hidden !important;
}

/* =========================================
   MOBILE TABS ADJUSTMENT
   ========================================= */
@media (max-width: 768px) {
    #myTab {
        flex-wrap: nowrap !important;
    }

        #myTab .nav-link {
            font-size: 13px !important;
            padding: 10px 2px !important;
            white-space: normal !important;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 1.2;
            height: 100%;
        }
}

/* =========================================
   MOBILE HEADER TEXT ADJUSTMENT
   ========================================= */
@media (max-width: 768px) {
    .course-header-text h2 {
        font-size: 22px;
        padding-top: 20px;
    }

    .course-p-header {
        font-size: 15px;
        padding-top: 5px;
        line-height: 1.4;
    }

    .header-line {
        margin: 15px auto;
    }
}

/* =========================================
   MOBILE FILTER TABS ADJUSTMENT
   ========================================= */
@media (max-width: 768px) {
    .horizontal-list {
        padding-inline-start: 0 !important;
        justify-content: center !important;
        gap: 5px !important;
    }

        .horizontal-list li,
        .horizontal-list .mixitup-control-active {
            font-size: 13px !important;
            padding: 5px 8px !important;
        }
}

/* =========================================
   MOBILE HORIZONTAL SLIDER (CAROUSEL)
   ========================================= */
@media (max-width: 768px) {
    #course-gallery.mix-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        width: 100% !important;
        gap: 15px;
        padding: 10px 5px 20px 5px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
        margin: 0 !important;
        align-items: stretch !important;
    }

    #course-gallery .mix {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        width: 85% !important;
        scroll-snap-align: center;
        margin: 0 !important;
    }

    #course-gallery.mix-grid::-webkit-scrollbar {
        display: none;
    }

    #course-gallery.mix-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .mix-grid {
        flex-direction: column;
    }

        .mix-grid .col-md-3,
        .mix-grid .col-sm-3 {
            width: 100%;
        }

    .item-box {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        padding-top: 0 !important;
    }

        .item-box figure {
            position: relative;
            overflow: hidden;
            height: 200px !important;
            flex-shrink: 0 !important;
            width: 100% !important;
            margin: 0 !important;
        }

        .item-box img {
            height: 100% !important;
            width: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }

    .item-box-desc {
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 15px 10px !important;
    }
}

/* =========================================
   MOBILE AWARENESS SLIDER (Tab 2)
   ========================================= */
@media (max-width: 768px) {
    .mobile-awareness-wrapper {
        padding: 20px 0;
        background: #fff;
    }

    .mobile-awareness-slider {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 0 20px 50px 20px;
        scrollbar-width: thin;
        scrollbar-color: #1d3665 transparent;
    }

        .mobile-awareness-slider::-webkit-scrollbar {
            height: 4px;
            display: block;
        }

        .mobile-awareness-slider::-webkit-scrollbar-track {
            background: #e9ecef;
            border-radius: 10px;
            margin: 0 30vw;
        }

        .mobile-awareness-slider::-webkit-scrollbar-thumb {
            background: #1d3665;
            border-radius: 10px;
        }

    .mobile-awareness-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        max-width: 85%;
    }

    .aw-card-inner {
        background: #fff;
        border-radius: 20px;
        border: 1px solid #eee;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .aw-card-img {
        height: 200px;
        width: 100%;
    }

        .aw-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .aw-card-content {
        padding: 15px 12px;
        text-align: center;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

        .aw-card-content h3 {
            font-family: 'Tajawal', sans-serif;
            font-size: 18px;
            color: #1d3665;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .aw-card-content p {
            font-family: 'Tajawal', sans-serif;
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
            text-align-last: center;
            hyphens: auto;
        }

    .aw-mobile-btn {
        margin-top: auto;
        background: #1d3665;
        color: #fff !important;
        padding: 10px 20px;
        border-radius: 25px;
        text-decoration: none;
        font-family: 'Tajawal', sans-serif;
        font-size: 14px;
        display: inline-block;
    }
}

/* =========================
   HEADER / MENU
   ========================= */

#main-header {
    background-color: rgba(0, 0, 0, 0.18);
    color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

    #main-header .container {
        max-width: 1400px;
    }

    #main-header .navbar {
        padding: 0;
        align-items: center;
    }

    #main-header .navbar-collapse {
        flex-grow: 1;
    }

    #main-header .nav-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 20px;
    }

    #main-header .main-menu-list {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
    }

        #main-header .main-menu-list > .nav-item {
            position: relative;
            white-space: nowrap;
        }

            #main-header .main-menu-list > .nav-item > .nav-link {
                color: #fff !important;
                font-family: 'Tajawal', sans-serif;
                font-size: 16px;
                font-weight: 500;
                padding: 8px 12px;
                background: transparent !important;
                border: none;
                text-decoration: none;
            }

                #main-header .main-menu-list > .nav-item > .nav-link:hover,
                #main-header .main-menu-list > .nav-item > .nav-link:focus {
                    color: #fff !important;
                }

    #main-header .logo {
        display: flex;
        align-items: center;
        margin-left: 20px;
        flex-shrink: 0;
    }

        #main-header .logo img {
            max-height: 70px;
            width: auto;
        }

    #main-header .logo-scrolled {
        display: none !important;
    }

    #main-header.scrolled .logo-default {
        display: none !important;
    }

    #main-header.scrolled .logo-scrolled {
        display: inline-block !important;
    }

    #main-header .language-switcher {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-shrink: 0;
        margin-right: 8px;
    }

    #main-header .language_switcher {
        color: #fff !important;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-family: 'Tajawal', sans-serif;
        font-size: 15px;
        font-weight: 500;
    }

    #main-header .flag-icon {
        width: 24px;
        height: 16px;
        object-fit: cover;
        vertical-align: middle;
    }

    #main-header .dropdown-menu {
        min-width: unset;
        width: max-content;
        white-space: nowrap;
        border: none;
        border-radius: 6px !important;
        padding: 0;
        margin-top: 0;
        text-align: right;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        overflow: visible;
    }

        #main-header .dropdown-menu li:first-child .dropdown-item {
            border-top-right-radius: 6px;
            border-top-left-radius: 6px;
        }

        #main-header .dropdown-menu li:last-child .dropdown-item {
            border-bottom-right-radius: 6px;
            border-bottom-left-radius: 6px;
        }

        #main-header .dropdown-menu li:not(:last-child) {
            border-bottom: 1px solid #eee;
        }

        #main-header .dropdown-menu .dropdown-item {
            color: #1d3665 !important;
            font-family: 'Tajawal', sans-serif;
            font-size: 15px;
            padding: 8px 16px;
            white-space: nowrap;
            background: #fff;
            font-weight: 500;
        }

            #main-header .dropdown-menu .dropdown-item:hover,
            #main-header .dropdown-menu .dropdown-item:focus {
                background: #f5f7fb;
                color: #1d3665 !important;
            }

    #main-header .text-center-dropdown .dropdown-item {
        text-align: center;
    }

    /* =========================
   SCROLLED HEADER
   ========================= */

    #main-header.scrolled {
        background-color: #d1d1d1 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    }

        #main-header.scrolled .main-menu-list > .nav-item > .nav-link,
        #main-header.scrolled .language_switcher {
            color: #1d3665 !important;
            font-weight: 600;
        }

        #main-header.scrolled .dropdown-menu .dropdown-item {
            color: #1d3665 !important;
        }

/* =========================
   DESKTOP ONLY
   ========================= */

@media (min-width: 1200px) {
    #main-header .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }

    #main-header .dropdown-submenu {
        position: relative;
    }

        #main-header .dropdown-submenu > .dropdown-menu {
            position: absolute;
            top: 0;
            right: 100%;
            left: auto;
            margin-top: 0;
            display: none;
            z-index: 1200;
        }

            #main-header .dropdown-submenu:hover > .dropdown-menu,
            #main-header .dropdown-submenu > .dropdown-menu.show {
                display: block;
            }

        #main-header .dropdown-submenu > .dropdown-toggle {
            position: relative;
            padding-left: 2.5rem;
            padding-right: 1.25rem;
        }

            #main-header .dropdown-submenu > .dropdown-toggle::after {
                content: '';
                display: inline-block;
                width: 8px;
                height: 8px;
                border-top: 2px solid #555;
                border-right: 2px solid #555;
                border-bottom: 0;
                border-left: 0;
                transform: rotate(-135deg);
                position: absolute;
                left: 1rem;
                top: 45%;
            }

    #main-header .navbar-toggler {
        display: none !important;
    }

    #mainNavbarCollapse {
        display: flex !important;
        justify-content: flex-end;
    }
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', Arial, sans-serif;
    background: #fff;
}

footer {
    background: #1d3665;
    color: white;
    text-align: center;
    padding: 16px;
}

.welcome-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

    .welcome-section h1 {
        color: #1d3665;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .welcome-section .lead {
        color: #555;
        margin-bottom: 15px;
    }

    .welcome-section p {
        font-size: 18px;
        line-height: 1.9;
        color: #444;
    }

.welcome-image {
    max-width: 100%;
    height: auto;
}

/* =========================================
   KWFIUCoursesAndTrainingAndAwarness
   ========================================= */

.news-section {
    background-color: #fbf8f8;
    padding: 2rem;
}

.section-title {
    font-family: 'Tajawal', sans-serif;
    text-align: center;
    padding-bottom: 20px;
}

.section-title-text {
    color: #1d3665;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

.mix-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 70%;
}

.item-box {
    position: relative;
    width: 100% !important;
    height: 320px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s ease;
    padding-top: 40px;
    cursor: pointer;
}

    .item-box figure {
        height: 210px;
        width: 100%;
        overflow: hidden;
        position: relative;
        margin: 0;
    }

    .item-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .item-box:hover img {
        transform: scale(1.05);
    }

.item-box-desc {
    flex-grow: 1;
    padding: 10px 8px;
    text-align: center;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================
   HEADER / MENU BASE
   ========================= */

#main-header {
    background-color: rgba(0, 0, 0, 0.18);
    color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

    #main-header .container {
        max-width: 1400px;
    }

    #main-header .logo img {
        max-height: 70px;
        width: auto;
    }

    #main-header.scrolled {
        background-color: #d1d1d1 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    }

        #main-header.scrolled .nav-link,
        #main-header.scrolled .language_switcher {
            color: #1d3665 !important;
            font-weight: 600;
        }

/* =========================
   DESKTOP ONLY
   ========================= */

@media (min-width: 1200px) {
    #main-header .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }

    #main-header .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    #main-header .dropdown-submenu > .dropdown-menu {
        position: absolute;
        top: 0;
        right: 100%;
        display: none;
    }
}

/* =========================
   SMALL SCREENS / TABLETS / 111MOBILE
   ========================= */
/* FORCE WHITE TEXT FOR MOBILE - HIGH SPECIFICITY */
@media (max-width: 1199.98px) {
    #main-header #mainNavbarCollapse .nav-link,
    #main-header #mainNavbarCollapse .dropdown-item,
    #main-header #mainNavbarCollapse .dropdown-toggle {
        color: #ffffff !important; /* This WILL turn it white */
        display: block !important;
        padding: 14px 0 !important;
        background: transparent !important;
        text-align: center !important;
        font-weight: 500 !important;
        border: none !important;
    }

    /* This ensures even when the page is scrolled, the mobile links stay white */
    #main-header.scrolled #mainNavbarCollapse .nav-link,
    #main-header.scrolled #mainNavbarCollapse .dropdown-item {
        color: #ffffff !important;
    }


    @media (max-width: 1199.98px) {
        /* 1. Remove the default Bootstrap down arrow for submenus only */
        #main-header #mainNavbarCollapse .dropdown-submenu > .dropdown-toggle::after {
            display: none !important;
        }

        /* 2. Add the custom side arrow for submenus */
        #main-header #mainNavbarCollapse .dropdown-submenu > .dropdown-toggle::before {
            content: '\f104'; /* FontAwesome Angle Left icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 20px; /* Adjust based on your padding */
            top: 50%;
            transform: translateY(-50%);
            color: #ffffff !important;
            font-size: 14px;
        }

        /* If you prefer a simple CSS arrow without FontAwesome, use this instead: */
        /*
    #main-header #mainNavbarCollapse .dropdown-submenu > .dropdown-toggle::before {
        content: "";
        position: absolute;
        left: 20px;
        top: 45%;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-right: 5px solid #ffffff; 
        display: inline-block;
    }
    */

        /* 3. Rotate the arrow when the submenu is open (optional) */
        #main-header #mainNavbarCollapse .dropdown-submenu > .dropdown-toggle.show::before {
            transform: translateY(-50%) rotate(-90deg);
            transition: transform 0.3s ease;
        }
    }


}
@media (max-width: 1199.98px) {
    #main-header .container {
        max-width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    #main-header .navbar {
        display: grid !important;
        grid-template-columns: 1fr auto;
        align-items: center;
        width: 100%;
    }

    #main-header .navbar-toggler {
        display: block !important;
        margin: 0 !important;
        flex-shrink: 0;
        color:#fff;
        
    }

    #main-header .logo img {
        max-height: 58px;
    }

    #mainNavbarCollapse {
        display: none !important;
        width: 100%;
        background-color: #122241 !important;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
        padding: 15px 0;
    }

        #mainNavbarCollapse.show {
            display: block !important;
        }

    #main-header .nav-main {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    #main-header .main-menu-list {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        #main-header .main-menu-list > .nav-item {
            width: 100% !important;
            text-align: center !important;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

    /* Force all links to White on Mobile */
    /*#mainNavbarCollapse .nav-link,
    #mainNavbarCollapse .dropdown-item,
    #mainNavbarCollapse .dropdown-toggle {
        color: #ffffff !important;
        display: block;
        padding: 14px 0 !important;
        background: transparent !important;
        text-align: center !important;
        font-weight: 500;
        border: none !important;
    }*/

    #main-header .language-switcher {
        justify-content: center !important;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    /* Dropdown Menus on Mobile */
    #mainNavbarCollapse .dropdown-menu {
        display: none;
        position: static !important;
        width: 100% !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        #mainNavbarCollapse .dropdown-menu.show {
            display: block !important;
        }

    /* Caret (arrow) Color */
    #mainNavbarCollapse .dropdown-toggle::after {
        color: #ffffff !important;
    }

    #mainNavbarCollapse .dropdown-submenu > .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.12) !important;
    }

    /* Hover States - Soft White Background, No Blue */
    #mainNavbarCollapse .nav-link:hover,
    #mainNavbarCollapse .dropdown-item:hover,
    #mainNavbarCollapse .dropdown-toggle:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
    }

    /* Scrolled Mobile menu remains white text 11111*/
    #main-header.scrolled #mainNavbarCollapse .nav-link,
    #main-header.scrolled #mainNavbarCollapse .dropdown-item {
        color: #ffffff !important;
    }
}

.hero-overlay {
    position: absolute !important;
    z-index: 99 !important;
    top: 65% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background-color: rgba(30, 30, 30, 0.4)!important;
    width: 70%!important;
    max-width:850px !important;
    padding:2.5rem 4rem !important;
    border-radius:12px!important;
    text-align:center;
    border:1px solid rgba(255,255,255,0.1)!important;
    visibility:visible !important;
    opacity:1 !important;
   
}

.hero-text {
    color: #fff;
    font-family: 'Tajawal', sans-serif;
   /* background: rgba(0, 0, 0, 0.30);*/
    padding: 14px 32px;
   /* border-radius: 10px;*/
   /* width: 60%;
    max-width: 900px;
    height: 30%;*/
    margin: 0 auto;
    display: flex; /* 🔥 important */
    flex-direction: column; /* stack h2 + h1 */
    justify-content: center; /* vertical center */
    align-items: center; /* horizontal center */

    text-align: center; /* text alignment */
}

    .hero-text h2 {
        font-size: 22px;
        font-weight: 400;
        margin-bottom: 40px;
        opacity: 0.9;
    }

    .hero-text h1 {
        font-size: 44px;
        font-weight: 700;
        line-height: 1.4;
        margin-top:0px;
    }

.video-container {
    position: relative;
}

.video-watermark {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 200px;
    opacity: 0.8;
    z-index: 100;
}

@media (max-width: 768px) {
    .hero-overlay {
        top: 60% !important;
        width: 88% !important;
        max-width: none !important;
        padding: 1.25rem 1rem !important;
        border-radius: 8px !important;
    }

    .hero-text {
        padding: 0 !important;
    }

        .hero-text h2 {
            font-size: 16px !important;
            margin-bottom: 12px !important;
            line-height: 1.3;
        }

        .hero-text h1 {
            font-size: 24px !important;
            line-height: 1.35 !important;
            margin: 0 !important;
        }

    .video-watermark {
        width: 80px !important;
        bottom: 15px;
        right: 15px;
    }
}

.welcome-section {
    padding-top: 50px;
    padding-bottom: 40px;
    direction: rtl;
}

.welcome-row {
    justify-content: center;
}

.welcome-image-col {
    margin-bottom: 20px;
}

/*.welcome-image {
    width: 100%;
    max-width: 280px;
    height: 340px;
    object-fit: cover;
    border-radius: 10px;
}*/

.welcome-image {
    max-width: 250px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.welcome-content {
 /*   text-align: center;*/
    font-family: 'Tajawal', sans-serif;
}

    .welcome-content h1 {
        /*   color: #1d3665;
        font-size: 56px;
        font-weight: 700;
        margin-bottom: 18px;
        line-height: 1.2;*/
        font-weight: bold;
        margin-bottom: 1rem;
        text-align:center;
    }
        .welcome-content h1 span {
            color: #1d3665;
        }

    .welcome-content .lead {
        /*    color: #666;
        font-size: 22px;
        font-weight: 400;
        margin-bottom: 24px;*/
        font-size: 1.5rem;
        color: #555;
        margin-bottom: 1.5rem;
        text-align:center;
    }

    .welcome-content p {
        /*   color: #555;
        font-size: 20px;
        line-height: 2;
        margin-bottom: 0;*/
        font-size: 1.1rem;
        line-height: 1.8;
        color: #333;
        text-align:center;
    }

.btn-welcome-file {
    /* background: #1d3665;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;*/
    background-color: #1d3665 !important;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: none;
    display: inline-block; /* 🔥 important */
    margin: 25px auto 0; /* 🔥 centers it */
}

.welcome-content .mt-4 {
    text-align: center;
}
.btn-custom span {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    margin-left: 10px;
}

.btn-welcome-file:hover {
    /*   background: #16305a;
        color: #fff !important;*/
    background-color: #15284b !important;
    color: white;
}


.welcome-divider {
    height: 22px;
    margin-top: 28px;
    background-image: url('/media/Designer2.webp');
    background-repeat: repeat-x;
    background-size: auto 100%;
}

@media (min-width: 992px) {
    .welcome-content {
        text-align: right !important; /* 🔥 key fix */
        padding-right: 40px;
    }

    .welcome-row {
        justify-content: space-between;
    }

    .welcome-image-col {
        display: flex;
        justify-content: center;
    }
}
@media (min-width: 992px) {
    .welcome-row {
        flex-direction: row-reverse; /* 🔥 moves image to right */
    }

    .welcome-content {
        text-align: right !important;
        padding-left: 40px;
        padding-right: 0;
    }

    .welcome-image-col {
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 768px) {

    /* 🔥 order: text → button → image */
    .welcome-row {
        display: flex;
        flex-direction: column;
    }

    .welcome-content {
        order: 1;
        text-align: center !important;
    }

        .welcome-content .mt-4 {
            order: 2;
        }

    .welcome-image-col {
        order: 3;
        margin-top: 20px;
    }

    /* 🔥 make image smaller */
    .welcome-image {
        max-width: 180px;
        height: auto;
    }

    /* 🔥 adjust text sizes for mobile */
    .welcome-content h1 {
        font-size: 28px;
        line-height: 1.4;
    }

    .welcome-content .lead {
        font-size: 16px;
    }

    .welcome-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    /* 🔥 button spacing */
    .btn-welcome-file {
        margin-top: 20px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

.about-us-section {
    padding: 70px 20px;
    background: #f7f7f7;
}

.about-us-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d3665;
    margin-bottom: 50px;
}

/* CARD */
.core-value-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

    /* Hover effect (like modern sites) */
    .core-value-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

/* IMAGE */
.image-wrapper-large {
    margin-bottom: 18px;
}

.fixed-core-img-large {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* TITLE */
.box-image-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1d3665;
    margin-bottom: 12px;
}

/* TEXT */
.core-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}
.about-us-row {
    align-items: stretch;
}

    .about-us-row > div {
        display: flex;
    }

.core-value-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}

.core-description {
    flex-grow: 1;
    text-align: justify;
}

.box-image-title {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-us-section {
    padding: 90px 20px 70px; /* 🔥 more breathing space */
}

.about-us-title {
    margin-bottom: 60px;
}

/* increase spacing between cards */
.about-us-row {
    row-gap: 30px;
}

/* refine card look */
.core-value-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e9e9e9;
    background: #f6f6f6 !important;
    border-radius: 12px;
}

/* better image look */
.fixed-core-img-large {
    height: 220px;
    border-radius: 12px;
}

/* refine text spacing */
.box-image-title h2 {
    margin-bottom: 14px;
}

.core-description {
    font-size: 15.5px;
    line-height: 1.9;
}
@media (max-width: 768px) {

    .about-us-mobile-slider {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 16px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }

        .about-us-mobile-slider > div {
            flex: 0 0 85%; /* 🔥 each card takes 85% width */
            max-width: 85%;
            scroll-snap-align: center;
        }

        /* hide scrollbar (optional clean look) */
        .about-us-mobile-slider::-webkit-scrollbar {
            display: none;
        }

    .about-us-mobile-slider {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}
@media (max-width: 768px) {

    /* 🔥 Make card wider */
    .about-us-mobile-slider > div {
        flex: 0 0 92%;
        max-width: 92%;
    }

    /* 🔥 Reduce image size */
    .fixed-core-img-large {
        max-height: 180px;
        object-fit: cover;
        border-radius: 10px;
    }

    .image-wrapper-large {
        margin-bottom: 10px;
    }

    /* 🔥 Smaller titles */
    .box-image-title h2 {
        font-size: 18px !important;
        margin-bottom: 8px;
    }

    /* 🔥 Smaller description text */
    .core-description {
        font-size: 14px;
        line-height: 1.7;
        padding: 0 10px;
    }

    /* 🔥 Reduce card padding */
    .core-value-card {
        padding: 16px !important;
    }
    .core-description {
        text-align: justify;
    }
}

/* =========================================
   Important Links Section
   ========================================= */

.important-links-section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

    .important-links-section .section-title {
        font-family: 'Tajawal', sans-serif !important;
        text-align: center;
        font-weight: bold !important;
        color: #1d3665 !important;
        font-size: 36px;
        margin-bottom: 50px;
        padding: 0 15px;
    }

.premium-thumbnails-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.premium-thumbnail-circle {
    width: 166px;
    text-align: center;
}

    .premium-thumbnail-circle a {
        position: relative;
        display: block;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        text-decoration: none;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .premium-thumbnail-circle figure {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 50%;
        overflow: hidden;
        background-color: #f0f4f8;
    }

.img_figure {
    height: 91% !important;
    width: 99% !important;
}

.premium-thumbnail-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
    mix-blend-mode: multiply;
}

.spinner {
    position: absolute;
    top: -8px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 8px solid transparent;
    border-top-color: #1d3665;
    border-right-color: #1d3665;
    border-bottom-color: #B0BEC5;
    border-left-color: #B0BEC5;
    transform: rotate(135deg);
    z-index: 1;
}

.info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 54, 101, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 2;
}

    .info h4 {
        color: white;
        font-family: 'Tajawal', sans-serif;
        font-size: 16px;
        font-weight: bold;
        margin: 0;
    }

@keyframes spin {
    from {
        transform: rotate(135deg);
    }

    to {
        transform: rotate(495deg);
    }
}

.premium-thumbnail-circle a:hover .spinner {
    animation: spin 1.2s linear infinite;
}

.premium-thumbnail-circle a:hover .info {
    opacity: 1;
}

.premium-thumbnail-circle a:hover img {
    transform: scale(1.1);
}

.premium-thumbnail-circle h3 {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    padding-top: 15px;
    color: #1d3665;
    font-weight: bold;
}

/* Mobile slider */
@media (max-width: 768px) {
    .important-links-section .section-title {
        font-size: 24px !important;
        margin-bottom: 30px !important;
        line-height: 1.3;
    }

    .premium-thumbnails-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        width: 100vw !important;
        gap: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 50px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }

    .premium-thumbnail-circle {
        flex: 0 0 100vw !important;
        width: 100vw !important;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }

    .premium-thumbnails-row::-webkit-scrollbar {
        display: block !important;
        height: 4px !important;
    }

    .premium-thumbnails-row::-webkit-scrollbar-track {
        background: #e9ecef !important;
        margin-left: 25vw !important;
        margin-right: 25vw !important;
        border-radius: 10px;
    }

    .premium-thumbnails-row::-webkit-scrollbar-thumb {
        background: #1d3665 !important;
        border-radius: 10px;
    }
}

/* =========================================
   CONTACT / SOCIAL SECTION
   ========================================= */

.parallax {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    color: #fff;
}

    .parallax .container {
        position: relative;
        z-index: 2;
    }

    .parallax h3 {
        color: #fff;
        font-family: 'Tajawal', sans-serif;
        font-weight: bold;
        font-size: 48px;
        margin-bottom: 15px;
    }

    .parallax p {
        color: #fff;
        font-family: 'Tajawal', sans-serif;
        font-size: 20px;
        margin-bottom: 0;
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.social-icons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0;
}

    .social-icons li {
        text-align: center;
        list-style: none;
    }

    .social-icons a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 200px;
        height: 190px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.12);
        color: #fff !important;
        text-decoration: none !important;
        transition: all 0.3s ease;
        backdrop-filter: blur(2px);
    }

        .social-icons a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
        }

    .social-icons i {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .social-icons h4 {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
        color: #fff;
    }

    .social-icons span {
        font-size: 14px;
        opacity: 0.85;
        color: #fff;
        margin-top: 8px;
        line-height: 1.5;
    }

/* MOBILE SLIDER */
@media (max-width: 768px) {
    .parallax {
        padding: 70px 0;
        background-attachment: scroll;
    }

        .parallax h3 {
            font-size: 32px;
        }

        .parallax p {
            font-size: 16px;
            line-height: 1.6;
            padding: 0 15px;
        }

    .social-icons {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        width: 100vw !important;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        gap: 0 !important;
        padding-bottom: 50px !important;
        margin-top: 35px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

        .social-icons li {
            flex: 0 0 100vw !important;
            width: 100vw !important;
            scroll-snap-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .social-icons a {
            width: 200px;
            height: 180px;
        }

        .social-icons::-webkit-scrollbar {
            display: block !important;
            height: 4px !important;
        }

        .social-icons::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.2) !important;
            margin-left: 25vw !important;
            margin-right: 25vw !important;
            border-radius: 10px;
        }

        .social-icons::-webkit-scrollbar-thumb {
            background: #ffffff !important;
            border-radius: 10px;
        }
}

/* =========================================
   Home News Section
   ========================================= */

.news-container-wrapper {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 15px;
}

.news-header {
    margin-bottom: 30px;
    font-weight: bold;
    color: #003366;
}

#newsCarouselDesktop .carousel-indicators,
#newsCarouselMobile .carousel-indicators {
    display: none;
}

.news-article-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: right;
}

    .news-article-card .card-img-top {
        width: 100%;
       /* height: auto;*/
        height: 350px;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .news-article-card .card-content {
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .news-article-card h5 {
        font-size: 1.4rem;
        font-weight: bold;
        font-family: 'Tajawal', sans-serif;
        margin-bottom: 10px;
        color: #1d3665;
        line-height: 1.4;
        text-align: center;
    }

    .news-article-card p {
        font-size: 1rem;
        font-family: 'Tajawal', sans-serif;
        color: #6c757d;
        line-height: 1.5;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .news-article-card .card-body-content {
        flex-grow: 1;
    }

    .news-article-card .btn {
        font-size: 0.9rem;
        font-family: 'Tajawal', sans-serif;
        background-color: #1d3665;
        padding: 0.3rem 0.8rem;
        border: none;
    }

    .news-article-card .card-footer {
        padding: 10px 15px;
        font-family: 'Tajawal', sans-serif;
        font-weight: bold;
        border-top: 1px solid #e9ecef;
        display: flex;
        justify-content: space-between;
        font-size: 0.875rem;
        color: #1d3665;
        margin-top: auto;
        background: #fff;
    }

        .news-article-card .card-footer i {
            margin-left: 5px;
        }

#newsCarouselDesktop .carousel-control-prev,
#newsCarouselDesktop .carousel-control-next,
#newsCarouselMobile .carousel-control-prev,
#newsCarouselMobile .carousel-control-next {
    width: 5%;
}

#newsCarouselDesktop .carousel-control-prev-icon,
#newsCarouselDesktop .carousel-control-next-icon,
#newsCarouselMobile .carousel-control-prev-icon,
#newsCarouselMobile .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}

.section-title {
    font-family: 'Tajawal', sans-serif;
    text-align: center;
    padding-bottom: 20px;
    color: #1d3665;
}







@media (max-width: 768px) {
    .news-article-card h5 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    .news-article-card p {
        font-size: 0.9rem;
    }

    .news-container-wrapper {
        max-width: 95%;
        padding: 20px 10px;
    }
}



/* =========================================
   FOOTER
   ========================================= */

.home-footer {
    background-color: #122241;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 20px;
    margin-top: 2rem;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-section {
    padding: 0 15px;
    flex-grow: 1;
}

#footer > .copyright {
    background-color: rgba(0,0,0,0.2);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    padding: 25px 0;
    font-size: 13px;
    display: block;
    margin-top: 0;
}

.footer-line {
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 20px auto 3px;
}

.footer-line-bottom {
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

.footer-image-line {
    width: 50%;
    height: 3px;
    background-color: #a79437;
    margin: 20px auto 3px;
}

.footer-section h4 {
    font-family: 'Tajawal', sans-serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    text-align: initial;
    margin-inline-start: 65px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: initial;
}

    .footer-section ul li {
        align-items: center;
        margin-bottom: 10px;
        margin-inline-end: 10px;
        transition: transform 0.3s ease, color 0.3s ease;
    }

        .footer-section ul li:hover {
            transform: translateX(-5px);
            color: #a79437;
            cursor: pointer;
        }

            .footer-section ul li:hover a,
            .footer-section ul li:hover i {
                color: #a79437;
            }

        .footer-section ul li i {
            margin-right: 10px;
        }

        .footer-section ul li:not(:last-child)::after {
            content: '';
            display: block;
            width: 155px;
            height: 1px;
            background-color: #a79437;
            margin-right: 30px;
            margin-bottom: 5px;
            margin-top: 6px;
        }

.footer-image {
    padding-top: 50px;
}

#footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
}

.contact-us-section i {
    font-size: 1.5rem;
}

/* Mobile footer */
@media (max-width: 768px) {
    .footer-content,
    .footer-line,
    .footer-line-bottom {
        display: none !important;
    }

    .home-footer {
        padding: 0 !important;
        height: auto !important;
    }

    #footer > .copyright {
        padding: 4px 0 !important;
        margin: 0 !important;
        background-color: #122241 !important;
        line-height: 1 !important;
    }

        #footer > .copyright p {
            font-size: 10px !important;
            margin: 0 !important;
            padding: 0 !important;
            line-height: 1.2 !important;
            white-space: nowrap !important;
            display: block !important;
        }
}

/* Fix footer RTL alignment */
[dir="rtl"] .footer-section h4,
[dir="rtl"] .footer-section ul {
    text-align: right !important;
}

/* Fix spacing consistency */
.footer-section {
    min-width: 220px;
}

/* Improve footer on large screens */
@media (min-width: 992px) {
    .footer-content {
        gap: 40px;
    }
}
/* Fix submenu arrow position for English */
html[dir="ltr"] .dropdown-submenu > .dropdown-toggle {
    display: flex !important;
    flex-direction: row-reverse !important; /* 🔥 this is the key */
    align-items: center !important;
    justify-content: space-between !important;
}

    /* Optional: adjust spacing */
    html[dir="ltr"] .dropdown-submenu > .dropdown-toggle::after {
        margin-left: 8px !important;
        margin-right: 0 !important;
    }

@media (max-width: 768px) {
    .server-tag {
        display: inline-block !important;
        font-size: 11px !important;
        opacity: 0.8;
    }
}