.site-header {
    background-color: #043266;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100; 
}

.home .site-header {
    /* background-color: #043266;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100; */

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
    position: fixed;
    top: 0;
    width: 100%;


   
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent;
}


.home header.site-header.test {
    background: #ffffff;
}

.home header.site-header.test a {
    color: #000;
}


.home  .test a.header-cta {
    background: #043266;
    color: #ffff !important;
}


.home .test a.header-cta:hover {
    background: #c9a961;
    color: #ffff !important;
}

.home .test .container.header-inner {
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.1) !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 100%;
    background-color: #ffffff;

    @media (max-width: 480px) {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}

.header-center {
    flex: 1 1 auto;
    justify-content: center;
}

.site-title-link {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    align-items: flex-start;
    text-decoration: none;
}

/* الصورة الديناميكية للـ Logo في Header */
.site-title-link .header-logo-dynamic-image {
    width: 100px;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.primary-menu > li {
    display: inline-block;
    position: relative;
    margin-left: 17px;
    margin-right: 17px;
}

.primary-menu > li > a {
    position: relative;
    display: block;
    font:
        600 16px "Plus Jakarta Sans",
        sans-serif;
    text-transform: capitalize;
    line-height: 1;
    color: #000000;
    padding: 40px 0;
}

.primary-menu > li.active > a {
    color: #c9a961;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease-in-out;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: 0.015em;
    font-size: 1rem;
    padding: 18px 30px;
    line-height: 20px;
}

.header-cta i {
    margin-left: 10px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}

.header-cta:hover,
.header-cta:focus {
    background-color: #c9a961;
    color: #ffffff;
}

.header-cta:hover i {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle-bar {
    width: 26px;
    height: 3px;
    background-color: #222;
    display: block;
    transition: transform 0.2s ease-in-out;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 90;
    display: none;
}

.mobile-menu-overlay.is-active {
    display: block;
}

.mobile-menu-panel {
    position: fixed;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: min(300px, 80vw);
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 100;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-panel.is-open {
    transform: translateX(0);
}

.mobile-menu-panel .mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-panel .mobile-menu a {
    font-weight: 600;
    color: inherit;
}

.mobile-menu-footer {
    margin-top: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    align-self: flex-start;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 960px) {
    .header-center {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        order: 2;
    }

    .header-left {
        order: 1;
    }

    .header-right {
        order: 3;
        margin-inline-start: auto;
    }
}
