/* --- MENU --- */
.menu-bar {
    background: linear-gradient(to right, #020056, #5E43FF);
    padding: 27px 0 14px 0;
    position: absolute;
    width: 100%;
    transition: all 0.5s ease;
    z-index: 11;
    overflow: visible;
}

.menu-bar.transparent {
    background: transparent;
}

.menu-bar.transparent a:hover {
    color: var(--accent-color) !important;
}

.menu-bar a {
    transition: 300ms;
}

.menu-bar.nav-fixed {
    position: fixed;
    top: -89px;
    transition: 300ms;
    padding: 12px 0;
    background: #fff;
}

.menu-bar.nav-fixed a:not(.lang-selector), .menu-bar.nav-fixed div:not(.lang-selector) {
    color: var(--theme-color);
}

.menu-bar.nav-fixed .brand {
    height: 50px;
}

.menu-bar.nav-fixed .white-bg-btn, .menu-bar.white-bar .white-bg-btn {
    background: var(--theme-color);
    color: #fff !important;
}

.menu-bar.nav-fixed.modified {
    top: 0;
}

.menu-bar .brand {
    height: 50px;
}

.navbar li {
    display: inline-block;
    transition: 200ms;
    border-radius: 40px;
    position: relative;
    margin-inline: 10px;
    /*max-width: 142px;*/
}

.menu-bar a:not(.lang-selector) {
    color: #fff;
    font-size: 15px;
}

.menu-bar a:hover {
    color: var(--theme-color);
}

.not-fixed {
    display: block;
}

.is-fixed {
    display: none;
}

.menu-bar.nav-fixed .is-fixed {
    display: block;
}

.menu-bar, .menu-bar * {
    z-index: 9999;
}

.menu-bar.nav-fixed .not-fixed {
    display: none;
}

.menu-bar.nav-fixed a:hover {
    /*color:;*/
}

.menu-bar.white-bar {
    background: #fff;
}

.menu-bar.white-bar a:not(.lang-selector) {
    color: var(--theme-color);
}

@media screen and (max-width: 1400px) {
    .navbar li {
        margin-inline: unset;
        padding: 6px 8px 8px 8px;
    }

    .navbar li a, .navbar li div {
        font-size: 14px;
    }
}

@media screen and (max-width: 1200px) {
    .menu-bar a {
        font-size: 34px !important;
        font-weight: 500;
        width: max-content;
        display: block;
    }

    a.lang-selector {
        font-size: 30px !important;
        font-weight: 500;
        width: max-content;
        display: block;
    }
}

.lang-selector {
    color: #fff;
    font-size: 18px;
}

.lang-selector:hover {
    color: #fff;
}

.navbar li::after {
    background-color: var(--accent-color);
    content: '';
    height: 3px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -10px;
    border-radius: 8px;
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
    width: 0;
    transition: 300ms;
}

.menu-bar.nav-fixed .navbar li::after {
    bottom: -33.5px;
}

.menu-bar.nav-fixed .menu-dropdown:hover {
    color: var(--accent-color) !important;
}

.navbar li.active::after, .menu-bar li:has(a:hover)::after {
    visibility: visible;
    opacity: 1;
    width: 100%;
}

.navbar li.active {
    font-weight: 700;
}

.nav-btn {
    border: 1px solid white;
    font-size: 16px;
    border-radius: 30px;
    margin-left: 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    background: #ffffff20;
    padding: 6px 18px 6px 16px;
    margin-right: 28px;
}

.nav-btn img {
    height: 24px;
    width: 24px;
    transform: translateX(-8px);
    transition: 400ms;
}

.nav-btn:hover {
    border: 1px solid #ffffff20;
    color: #fff;
}

.nav-btn:hover img {
    transform: translateX(-8px) rotate(180deg);
}

.burger {
    cursor: pointer;
    display: none;
}

.burger-line {
    display: block;
    height: 2px;
    margin: 7px 0;
    width: 31px;
    background: #fff;
    border-radius: 10px;
}

.mobile-brand {
    display: none;
}

.navbar .x-element {
    display: none;
}

@media screen and (max-width: 1400px) {
    .navbar {
        margin: 0;
    }
}

.navbar .home-banner-bg {
    visibility: hidden;
    opacity: 0;
    transition: 300ms;
}

@media screen and (max-width: 1200px) {

    .navbar .home-banner-bg {
        visibility: visible;
        opacity: 1;
    }

    .navbar .x-element {
        display: block;
    }

    .navbar li.active::after, .menu-bar li:has(a:hover)::after {
        bottom: 0;
        height: 3px;
        width: 50px;
    }

    .mobile-brand {
        display: block;
        height: 40px;
        margin-top: 40px;
        width: auto;
        float: right;
        position: absolute;
        left: 40px;
    }

    .mobile-brand img {
        width: fit-content;
    }

    .burger {
        display: block;
        /*margin-right: 5%;*/
    }

    .mobile-menu-top-section {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .menu-bar > div > *:not(.mobile-nav) {
        visibility: hidden;
    }

    .navbar {
        background: var(--dark);
        position: fixed;
        height: 100vh;
        width: 100vw;
        right: -100vw;
        top: 0;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        transition: 200ms linear;
        z-index: 9999;
    }

    .navbar *:not(.home-banner-bg) {
        z-index: 3;
    }

    .visible, .visible * {
        visibility: visible;
    }

    .mobile-menu-top {
        position: absolute;
        top: 73%;
        left: 0;
        flex-direction: column;
        align-items: start !important;
        transition: 200ms linear;
        z-index: 9999;
    }

    .navbar.visible {
        transform: translateX(-100vw);
        align-items: start;
        overflow: hidden;

    }

    .navbar li {
        display: block;
        margin: 0;
    }

    .mobile-overlay {
        background: #000;
        opacity: 60%;
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
        z-index: 9;
    }

    #menu {
        width: 100%;
        /*margin-left: 20px !important;*/
        /*top: 109px;*/
        z-index: 100;
        position: relative;
    }

    .mobile-menu-top .nav-btn {
        margin: 15px auto;
        width: max-content;
        font-size: 30px !important;
    }

    .x-element {
        position: absolute;
        right: 40px;
        top: 53px;
        height: 28px;
        width: auto;
    }

    #menu li {
        z-index: 105;
    }

    #menu li:has(.menu-dropdown):hover {
        z-index: 200;
    }

    #menu li > a {
        z-index: 100;
        position: relative;
    }

    .menu-dropdown-items {
        z-index: 200;
    }
}

.lang-selector {
    font-family: 'Noto Kufi Arabic', sans-serif !important;
}

.text-underline-white {
    height: 2px;
    width: 100%;
    background: #fff;
    display: block;
    margin-top: 3px;
    border-radius: 10px;
}

@media screen and (max-width: 1200px) {
    .navbar li {
        padding: 10px 40px;
    }
}

@media screen and (max-width: 1400px) {

    .menu-bar .brand {
        height: 50px;
    }

    .menu-bar .white-bg-btn {
        padding: 11px 8px;
        font-size: 14px !important;
    }

    .menu-bar .me-3 {
        margin-right: 5px !important;
    }
}

.menu-bar a.white-bg-btn:hover {
    color: #fff !important;
}

.mobile-nav-floating-1, .mobile-nav-floating-2 {
    display: none;
}

.mobile-nav-socials {
    display: none;
}

@media screen and (max-width: 1200px) {
    .mobile-nav-floating-1 {
        height: 90%;
        position: absolute;
        right: 0;
        top: 10%;
        width: auto;
        z-index: 0;
        display: block;
    }

    .mobile-nav-floating-2 {
        display: block;
        position: absolute;
        height: 50vh;
        top: 45%;
        left: 0;
        width: auto;
        /*transform: rotate(180deg);*/
    }

    .navbar li.active, .menu-bar li:has(a:hover) {
        background: unset;
    }

    .mobile-nav-socials {
        display: inherit;
        position: absolute;
        bottom: 40px;
        left: 40px;
        flex-direction: row;
    }

    .social-media-links {
        max-width: unset;
    }

    .mobile-nav-socials a {
        height: 57px;
        width: 57px;
        margin-bottom: 0;
        margin-right: 50px;
    }

    .menu-item a {
        text-align: center;
        width: 100%;
    }

    .menu-item-dropdown {
        z-index: 200;
    }
}

@media screen and (max-width: 1200px) {
    .mobile-nav-floating-2 {
        height: 40vh;
        top: 58%;
    }
}

.menu-dropdown:hover {
    color: var(--accent-color);
}

.show-tablet {
    display: none !important;
}

@media screen and (max-width: 1200px) {

    .show-tablet {
        display: block !important;
    }
}

@media screen and (max-width: 1200px) {
    .lang-selector {
        margin-top: 10px;
    }

    .x-element {
        right: 13px;
        height: 18px;
    }

    .mobile-brand {
        left: 17px;
    }

    .navbar li {
        padding: 10px 17px;
    }

    .mobile-nav-socials a {
        height: 35px;
        width: 35px;
        margin-right: 27px;
    }

    .menu-bar a {
        font-size: 24px !important;
    }

    .mobile-menu-top a, .mobile-menu-top .nav-btn {
        font-size: 20px !important;
        margin-bottom: 0;
    }

    .mobile-nav-socials {
        left: 17px;
    }

    .mobile-nav-floating-1 {
        top: 15%;
        height: 85%;
    }

    .mobile-nav-floating-2 {
        height: 29vh;
        top: 58%;
    }

    .mobile-brand {
        margin-top: 50px;
    }

    .nav-fixed .burger-line, .white-bar .burger-line {
        background: var(--theme-color);
    }

    .menu-item a, .menu-item li {
        color: #fff !important;
        z-index: 5 !important;
    }
    .menu-dropdown {
        color: #fff !important;
        font-size: 22px !important;
        text-align: center;
    }

    .menu-dropdown span {
        line-height: 1 !important;
    }

}

.mobile-bottom-links {
    margin-top: 30px !important;
}

/*height-menu*/
@media screen and (max-width: 725px) {
    .mobile-bottom-links {
        margin-top: 20px !important;
    }

    .menu-bar a, .menu-bar span {
        color: #fff;
        font-size: 22px !important;
    }

    .navbar li {
        padding: 8px 17px;
    }

    .mobile-nav-socials {
        bottom: 16px !important;
    }

}


.menu-dropdown {
    position: relative;
    transition: 300ms;
    cursor: pointer;
}

.menu-dropdown > span {
    line-height: 3;
}

.menu-dropdown-items {
    position: absolute;
    top: 60px;
    background: #ffffff;
    border-radius: 8px;
    width: 100%;
    padding: 8px 15px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: 300ms;
}

.menu-dropdown:hover .menu-dropdown-items {
    visibility: visible;
    opacity: 1;
    transform: unset;
}

@media screen and (max-width: 1200px) {
    .menu-dropdown-items {
        display: none;   
        top: 33px;
        transform: translateY(-10px) translateX(-50%);
        left: 50%;
    }
    
    #menu li{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .menu-dropdown-items {
        min-width: 90vw;
    }
    
    .menu-dropdown:hover .menu-dropdown-items, .menu-dropdown-items:hover {
        display: block;
        transform: translateX(-50%) !important;
    }
}


@media (min-width: 1200px) {
    .d-lg-none {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .d-lg-flex {
        display: flex !important
;
    }
}

@media (max-width: 1200px) {
    .d-lg-flex {
        display: none !important
;
    }
}

@media (max-width: 1200px) {
    .d-lg-none {
        display: flex !important;
    }
}

@media screen and (max-width: 600px) {
    .menu-dropdown-items {
        display: none;   
        top: 49px;
    }
}

.menu-dropdown-items a {
    color: var(--theme-color) !important;
    padding: 10px 0;
    border-bottom: 1px solid #e4e4e4;
    width: 100%;
    text-transform: capitalize;
}

.menu-dropdown-items a.last-e {
    border-bottom: unset;
    margin-bottom: 0;
}

.menu-dropdown-items a:hover {
    color: var(--accent-color) !important;
}

.menu-dropdown-items a:hover:after {
    display: none !important;
}

.white-bar .menu-dropdown {
    color: var(--theme-color);
}
