.jisetf-header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff; /* or any background to prevent transparency */
    width: 100%;
    padding: 20px 60px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}
.jisetf-header-container.greenBg {
    background: #0fba89;
}
.jisetf-header-container.blueBg {
    background: #155789;
}
.jisetf-header-container.yellowBg {
    background: #f7b531;
}

.jisetf-header-content {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    gap: 36px;
}

.jisetf-header-button {
    padding: 13.68px 20.51px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7.6px;
    outline: 2px solid #0fba89;
    outline-offset: -2px;
    overflow: hidden;
}
.jisetf-header-container.greenBg .jisetf-header-button,
.jisetf-header-container.blueBg .jisetf-header-button {
    outline: 2px solid #fff;
}
.jisetf-header-container.yellowBg .jisetf-header-button {
    outline: 2px solid #fff;
    background-color: #fff;
}
.jisetf-header-button-text {
    color: #0fba89;
    font-family: "Cairo", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.jisetf-header-container.greenBg .jisetf-header-button-text,
.jisetf-header-container.blueBg .jisetf-header-button-text {
    color: #fff;
}
.jisetf-header-container.yellowBg .jisetf-header-button-text {
    color: #313131;
}
.jisetf-header-links {
    display: flex;
    align-items: center;
    gap: 34px;
    position: relative;
}

.jisetf-header-link {
    color: #313131;
    font-family: "Cairo", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: color 0.3s;
}
.jisetf-header-container.greenBg .jisetf-header-link,
.jisetf-header-container.blueBg .jisetf-header-link,
.jisetf-header-container.yellowBg .jisetf-header-link {
    color: #fff;
}
.jisetf-header-underline {
    position: absolute;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #f7b531;
    transition: left 0.3s ease, width 0.3s ease;
    pointer-events: none;
}
.jisetf-header-container.greenBg .jisetf-header-underline,
.jisetf-header-container.blueBg .jisetf-header-underline,
.jisetf-header-container.yellowBg .jisetf-header-underline {
    background: #fff;
}

.jisetf-header-logo {
    width: 130px;
    height: 121px;
    position: relative;
    overflow: hidden;
    background-image: url("../images/logo/logo.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.jisetf-header-container.greenBg .jisetf-header-logo {
    background-image: url("../images/logo/logo-green.svg");
}
.jisetf-header-container.blueBg .jisetf-header-logo {
    background-image: url("../images/logo/logo-blue.svg");
}
.jisetf-header-container.yellowBg .jisetf-header-logo {
    background-image: url("../images/logo/logo-yellow.svg");
}
/************************************************  nav mobile*********************************************** */
@media only screen and (min-width: 1024px) {
    .hide-in-desktop {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .hide-in-mobile {
        display: none;
    }
    .jisetf-header-container {
        display: flex;
        flex-direction: row-reverse;
        padding: 10px 32px 10px 32px;
        background-color: #fff;
        align-items: center;
    }
    .jisetf-header-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .jisetf-header-logo {
        width: 75.95px;
        height: 70px;
        flex-shrink: 0;
        background-image: url("../images/logo/logo.svg");
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .jisetf-header-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        background: #fff;
        padding: 16px;
        flex-direction: column;
        z-index: 1000;
        align-items: flex-end;
        gap: 8px;
    }

    .jisetf-header-links.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .jisetf-header-link {
        padding: 12px 0;
        font-size: 16px;
        color: #313131;
    }
    .jisetf-header-button.mobile-nav-button {
        margin-top: 16px;
        padding: 13.68px 20.51px;
        margin: 24px 16px;
        justify-content: center;
        align-items: center;
        outline: 2px solid #0fba89;
        outline-offset: -2px;
        overflow: hidden;
        align-self: stretch;
    }
    .jisetf-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5); /* or whatever shade you want */
        z-index: 999;
        display: none; /* hidden by default */
    }

    .jisetf-header-button-text {
        color: #0fba89;
        font-family: "Cairo", sans-serif;
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    .jisetf-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        border: none;
        background: none;
        cursor: pointer;
        width: 50px;
        height: 50px;
        justify-content: center;
    }

    .jisetf-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #313131;
    }

    .jisetf-header-underline {
        display: none;
    }
    .jisetf-header-links a:nth-child(1) {
        order: 4;
    } /* تواصل */
    .jisetf-header-links a:nth-child(2) {
        order: 3;
    } /* شروط الإلتحاق */
    .jisetf-header-links a:nth-child(3) {
        order: 2;
    } /* عنّا */
    .jisetf-header-links a:nth-child(4) {
        order: 1;
    } /* الرئيسية */
    .jisetf-header-button.mobile-nav-button {
        order: 5;
    }
}
@media only screen and (max-width: 768px) {
    .jisetf-header-container.greenBg,
    .jisetf-header-container.blueBg,
    .jisetf-header-container.yellowBg {
        display: flex;
        flex-direction: row-reverse;
        padding: 10px 32px 10px 32px;
        background-color: #fff;
        align-items: center;
    }
    .jisetf-header-container.greenBg .jisetf-header-logo,
    .jisetf-header-container.blueBg .jisetf-header-logo,
    .jisetf-header-container.yellowBg .jisetf-header-logo {
      width: 75.95px;
        height: 70px;
        flex-shrink: 0;
        background-image: url("../images/logo/logo.svg");
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .jisetf-header-container.greenBg.menu-opened {
        background-color: #0fba89;
    }
    .jisetf-header-container.blueBg.menu-opened {
        background-color: #155789;
    }
    .jisetf-header-container.yellowBg.menu-opened {
        background-color: #f6b93b;
    }
    .jisetf-header-container.greenBg.menu-opened .jisetf-header-logo {
        background-image: url("../images/logo/logo-green.svg");
        transition: background-image 0.3s ease;
    }
    .jisetf-header-container.blueBg.menu-opened .jisetf-header-logo {
        background-image: url("../images/logo/logo-blue.svg");
        transition: background-image 0.3s ease;
    }
    .jisetf-header-container.yellowBg.menu-opened .jisetf-header-logo {
        background-image: url("../images/logo/logo-yellow.svg");
        transition: background-image 0.3s ease;
    }
    .jisetf-header-container.greenBg .jisetf-header-links {
        background: #0fba89;
    }
    .jisetf-header-container.blueBg .jisetf-header-links {
        background: #155789;
    }
    .jisetf-header-container.yellowBg .jisetf-header-links {
        background: #f6b93b;
    }
    .jisetf-header-container.greenBg.menu-opened .jisetf-menu-toggle span,
    .jisetf-header-container.blueBg.menu-opened .jisetf-menu-toggle span,
    .jisetf-header-container.yellowBg.menu-opened .jisetf-menu-toggle span {
        background-color: #fff;
        transition: background-color 0.3s ease;
    }
}
