/* =========================================================
   WEBLINKUS
   ENGLISH HEADER
   PREMIUM / CLEAN DESIGN
========================================================= */


/* =========================================================
   01. HEADER
========================================================= */

.en-header {
    width: 100%;

    position: relative;
    z-index: 9999;

    background: #ffffff;

    border-bottom: 1px solid #e8edf3;

    direction: ltr;

    box-shadow:
        0 3px 15px rgba(3, 20, 45, 0.04);
}


/* =========================================================
   02. CONTAINER
========================================================= */

.en-header-container {
    width: min(1200px, 92%);

    min-height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;
}


/* =========================================================
   03. LOGO
========================================================= */

.en-logo {
    flex-shrink: 0;
}

.en-logo a {
    display: flex;

    align-items: center;

    text-decoration: none;

    border: 0;
}


/* WordPress Custom Logo */

.en-logo .custom-logo-link {
    display: flex;

    align-items: center;

    text-decoration: none;
}

.en-logo img.custom-logo {
    display: block;

    width: auto;

    max-width: 175px;

    max-height: 55px;

    height: auto;
}


/* Text Logo */

.en-logo-text {
    display: inline-block;

    color: #03142d;

    font-size: 27px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.5px;

    text-decoration: none;
}


/* =========================================================
   04. NAVIGATION
========================================================= */

.en-navigation {
    margin-left: auto;
}

.en-navigation ul {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 30px;

    margin: 0;

    padding: 0;

    list-style: none;
}

.en-navigation li {
    position: relative;

    margin: 0;

    padding: 0;
}

.en-navigation li a {
    position: relative;

    display: inline-flex;

    align-items: center;

    min-height: 82px;

    padding: 0 2px;

    color: #03142d;

    font-size: 15px;

    line-height: 1;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    border: 0;

    transition:
        color .25s ease;
}


/* =========================================================
   NAVIGATION HOVER LINE
========================================================= */

.en-navigation li a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 21px;

    width: 0;

    height: 2px;

    background: #155eef;

    border-radius: 5px;

    transition:
        width .3s ease;
}

.en-navigation li a:hover {
    color: #155eef;
}

.en-navigation li a:hover::after {
    width: 100%;
}


/* =========================================================
   ACTIVE LINK
========================================================= */

.en-navigation li.current-menu-item > a,
.en-navigation li.current_page_item > a {
    color: #155eef;
}

.en-navigation li.current-menu-item > a::after,
.en-navigation li.current_page_item > a::after {
    width: 100%;
}


/* =========================================================
   05. MOBILE MENU BUTTON
========================================================= */

.en-menu-toggle {
    display: none;

    position: relative;

    width: 44px;

    height: 44px;

    padding: 7px;

    margin: 0;

    border: 0;

    outline: 0;

    background: transparent;

    cursor: pointer;

    flex-shrink: 0;
}

.en-menu-toggle span {
    display: block;

    width: 100%;

    height: 2px;

    margin: 5px 0;

    background: #03142d;

    border-radius: 3px;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================================================
   MOBILE MENU BUTTON ACTIVE
========================================================= */

.en-menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.en-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.en-menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   06. LANGUAGE SWITCHER
   ENGLISH → ARABIC
========================================================= */

.en-language-switcher {
    margin-left: 2px;

    flex-shrink: 0;
}


/* =========================================================
   LANGUAGE BUTTON
========================================================= */

.en-language-switcher a {
    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 38px !important;

    padding: 0 13px !important;

    background: #f7f9fc;

    color: #03142d !important;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    font-size: 13px !important;

    line-height: 1;

    font-weight: 700 !important;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


/* =========================================================
   REMOVE NAVIGATION UNDERLINE
========================================================= */

.en-language-switcher a::after {
    display: none !important;
}


/* =========================================================
   GLOBE ICON
========================================================= */

.en-language-icon {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 20px;

    height: 20px;

    font-size: 16px;

    line-height: 1;

    flex-shrink: 0;
}


/* =========================================================
   ARABIC TEXT
========================================================= */

.en-language-text {
    direction: rtl;

    white-space: nowrap;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   LANGUAGE HOVER
========================================================= */

.en-language-switcher a:hover {
    background: #03142d;

    border-color: #03142d;

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(3, 20, 45, 0.12);
}


/* =========================================================
   07. TABLET
========================================================= */

@media (max-width: 991px) {

    .en-header-container {
        width: 94%;

        min-height: 72px;

        gap: 20px;
    }


    /* =====================================================
       LOGO
    ===================================================== */

    .en-logo img.custom-logo {
        max-width: 160px;

        max-height: 50px;
    }


    /* =====================================================
       HIDE DESKTOP NAVIGATION
    ===================================================== */

    .en-navigation {
        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        margin: 0;

        padding: 10px 20px 20px;

        background: #ffffff;

        border-top: 1px solid #edf0f4;

        box-shadow:
            0 15px 30px rgba(3, 20, 45, 0.10);
    }


    /* =====================================================
       SHOW MOBILE NAVIGATION
    ===================================================== */

    .en-navigation.active {
        display: block;
    }


    /* =====================================================
       NAVIGATION LIST
    ===================================================== */

    .en-navigation ul {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 0;

        width: 100%;
    }


    .en-navigation li {
        width: 100%;
    }


    .en-navigation li a {
        display: flex;

        align-items: center;

        width: 100%;

        min-height: auto;

        padding: 15px 5px;

        border-bottom: 1px solid #f0f2f5;

        font-size: 15px;
    }


    .en-navigation li:last-child a {
        border-bottom: 0;
    }


    /* =====================================================
       REMOVE DESKTOP HOVER LINE
    ===================================================== */

    .en-navigation li a::after {
        display: none;
    }


    /* =====================================================
       MOBILE TOGGLE
    ===================================================== */

    .en-menu-toggle {
        display: block;
    }


    /* =====================================================
       MOBILE LANGUAGE SWITCHER
    ===================================================== */

    .en-language-switcher {
        margin-left: 0;

        padding-top: 5px;

        padding-bottom: 2px;
    }


    .en-language-switcher a {
        display: inline-flex !important;

        width: fit-content !important;

        min-height: 40px !important;

        margin-top: 5px;

        padding: 0 14px !important;

        border: 1px solid #e2e8f0 !important;

        border-radius: 8px;

        justify-content: center !important;
    }


    .en-language-switcher a:hover {
        transform: none;
    }

}


/* =========================================================
   08. MOBILE
========================================================= */

@media (max-width: 575px) {

    .en-header-container {
        width: 94%;

        min-height: 68px;
    }


    /* =====================================================
       LOGO
    ===================================================== */

    .en-logo img.custom-logo {
        max-width: 145px;

        max-height: 46px;
    }


    .en-logo-text {
        font-size: 23px;
    }


    /* =====================================================
       MENU BUTTON
    ===================================================== */

    .en-menu-toggle {
        width: 42px;

        height: 42px;

        padding: 7px;
    }


    /* =====================================================
       MOBILE NAVIGATION
    ===================================================== */

    .en-navigation {
        padding:
            8px
            16px
            16px;
    }


    .en-navigation li a {
        padding: 14px 4px;

        font-size: 14px;
    }


    /* =====================================================
       LANGUAGE BUTTON
    ===================================================== */

    .en-language-switcher a {
        min-height: 38px !important;

        padding: 0 13px !important;

        font-size: 13px !important;
    }


    .en-language-icon {
        width: 19px;

        height: 19px;

        font-size: 15px;
    }


    .en-language-text {
        font-size: 13px;
    }

}


/* =========================================================
   09. VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .en-header-container {
        width: 92%;
    }


    /* Logo */

    .en-logo img.custom-logo {
        max-width: 130px;
    }


    .en-logo-text {
        font-size: 21px;
    }


    /* Language */

    .en-language-switcher a {
        padding: 0 11px !important;

        gap: 6px;
    }

}