.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9;
    background: transparent;
    transition: top .4s ease-in-out, background .4s ease-in-out;
}

.header-top .container,
.header-bottom .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.header-top {
    padding: 15px 0;
    background: linear-gradient(152.97deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 100%);
    border-style: solid;
    border-color: transparent;
    border-width: 0px 0px 1px 0px;
    position: relative;
    transform-origin: 0 0;
    transform: rotate(0deg) scale(1, 1);
    backdrop-filter: blur(21px);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    z-index: 1;
}

.header-top .container {
    justify-content: flex-end;
}

.header_top_list {
    display: flex;
    align-items: center;
    color: #ffffff;
    column-gap: 24px;
}

.header_top_list li:not(:last-child) a img {
    margin-right: 5px;
}

.header_top_list a {
    color: #ffffff;
    font-weight: 400;
    font-family: 'tbj-45-extra_bold_sans_famiRg';
}


.header-bottom {
    padding: 20px 0;
    background: transparent;
    transition: padding .4s ease-in-out;
}

.down-arrow {
    width: 8px;
    height: 5px;
    background: url(../images/menu-arrow.svg) no-repeat;
    background-size: contain;
    margin-left: 4px;
    position: relative;
    bottom: 2px;
}



.header-sticky {
    background: #000;
}

.header-sticky .header-bottom {
    padding: 10px 0;
}

.header-sticky {
    top: -56px;
}

/* ------------------------------------------------------------ */

.menu-ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 50px;
}

.menu-ul li {
    position: relative;
}

.menu-ul a {
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    font-family: 'tbj_endgraph_minilight';
}

.menu-ul li:not(:last-child) a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: width .35s ease-in-out;
}


.menu-ul li:not(:last-child) a:hover::after {
    width: 33px;
}

/* .menu-ul a:hover,
    .current_page_item>a,
    .current-menu-item>a {
        color: var(--color-primary);
        } */

.menu-ul>li:last-child a {
    border: 1px solid #ffffff;
    border-radius: 8px;
    display: block;
    overflow: hidden;
    font-size: 0;
    text-align: center;
    width: 172px;
    height: 36px;
}

.menu-ul>li:last-child a::after,
.menu-ul>li:last-child a::before {
    color: #ffffff;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 1px;
    justify-content: center;
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 8px;
    transition: top .35s ease-in-out;
    font-size: 15px;
}

.menu-ul>li:last-child a::before {
    top: 0;
}

.menu-ul>li:last-child a::after {
    background: #000000;
    top: 100%;
}

.menu-ul>li:last-child:hover a::after {
    top: 0;
}

.menu-ul>li:last-child:hover a::before {
    top: -100%;
}

/* ------------------------------------------------------------ */

.sub-menu {
    padding: 25px 20px;
    background: linear-gradient(198.24deg, rgb(0 0 0 / 44%) 0%, rgb(108 5 37 / 65%) 100%);
    border-radius: 12px;
    opacity: 0.64;
    width: 252px;
    position: relative;
    transform-origin: 0 0;
    transform: rotate(-90deg) scale(1, 1);
    backdrop-filter: blur(21px);
    -webkit-backdrop-filter: blur(21px);
    display: flex;
    flex-flow: column wrap;
    row-gap: 30px;
    transform: translateY(20px);
    transition: opacity .35s ease-out, visibility.35s ease-out, top .35s ease-out, transform .35s ease-in-out;
}

.header li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

/* ------------------------------------------------------------ */

.menu-icon {
    width: 40px;
    height: 24px;
    /* z-index: 9; */
    position: relative;
    cursor: pointer;
    display: none;
    margin-left: auto;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: all var(--time) ease-in-out;
    transition: all var(--time) ease-in-out;
}

.menu-icon span,
.round_menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: all var(--time) ease-in-out;
    transition: all var(--time) ease-in-out;
}

.menu-icon span:nth-child(1),
.round_menu span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2),
.menu-icon span:nth-child(3),
.round_menu span:nth-child(2),
.round_menu span:nth-child(3) {
    top: 10px;
}

.menu-icon span:nth-child(4),
.round_menu span:nth-child(4) {
    top: 20px;
}

.menu-icon.open span:nth-child(1),
.round_menu.active span:nth-child(1) {
    top: 10px;
    width: 0;
    left: 50%;
}

.menu-icon.open span:nth-child(2),
.round_menu.active span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-icon.open span:nth-child(3),
.round_menu.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu-icon.open span:nth-child(4),
.round_menu.active span:nth-child(4) {
    top: 10px;
    width: 0;
    left: 50%;
}

/* .menu-icon.open span {
    background: var(--color-primary);
} */

/* ------------------------------------------------- */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 12px;
}

.dropdown-btn .arrow {
    margin-left: 4px;
}

.dropdown-btn .arrow img {
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    transform: translateY(10px);
    right: 0;
    z-index: 1;
}

.dropdown-content a {
    padding: 4px 5px;
    color: #000000;
    text-decoration: none;
    display: block;
    line-height: 1;
}

.dropdown-content a:hover {
    background-color: #f9f1f1;
}


@media (min-width: 1201px) {
    .sub-menu {
        right: 0;
    }
}

@media (min-width: 768px) {
    .sub-menu {
        position: absolute;
        top: 100%;
        opacity: 0;
        visibility: hidden;
    }

    .menu-ul .dropdown:hover .down-arrow {
        transform: scaleY(-1);
    }

    .round_menu {
        display: none;
    }
}

@media (max-width: 1200px) {
    .menu-ul {
        column-gap: 35px;
    }

    .menu-ul>li:last-child a {
        width: 144px;
    }

    .menu-ul {
        column-gap: 15px;
    }

    .menu-ul>li:last-child a::after,
    .menu-ul>li:last-child a::before {
        font-size: 13px;
    }
}

@media (max-width: 1040px) {
    .sub-menu {
        padding: 15px;
        width: 180px;
        row-gap: 18px;
    }

    .dropdown-btn {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .site-logo {
        position: relative;
        /* z-index: 9; */
    }

    .menu-icon {
        display: block;
    }

    .nav-bar {
        position: fixed;
        width: 100%;
        z-index: 8;
        background: var(--color-primary);
        top: 0;
        height: 0;
        left: 0;
        right: 0;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        -webkit-transition: all var(--time) ease-in-out;
        transition: all var(--time) ease-in-out;
    }

    .header .slow {
        height: 100%;
        padding-top: 70px;
    }

    .menu-ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-ul li {
        --space: 4%;
        padding: 0 var(--space);
        margin: 0;
        width: 100%;
    }

    .menu-ul li+li {
        margin-top: 25px;
        margin-left: 0;
    }



    .menu-ul a {
        font-size: 18px;
    }

    .sub-menu {
        width: 100%;
        display: none;
        border: none;
        margin-bottom: 0;
    }

    .sub-menu li {
        margin: 0;
        padding: 0;
    }

    .sub-menu li a {
        font-size: 14px;
    }

    .sub-menu li+li {
        margin: 14px 0 0 0;
    }

    .mobile-icon {
        position: absolute;
        right: 20px;
        top: 5px;
        width: 25px;
        height: 12px;
        background-size: contain;
        margin: 0;
        background-position: right;
    }

    .header li .mobile-icon.active {
        transform: scaleY(-1);
    }

    .header_top_list {
        column-gap: 10px;
    }

    .header-top {
        padding: 12px 0;
    }

    .sub-menu {
        width: 100%;
        background: linear-gradient(229deg, rgba(255, 255, 255, 0.24) 0%, rgb(140 47 76) 100%);
    }

    .round_menu {
        width: 50px;
        height: 50px;
        z-index: 999;
        border-radius: 50%;
        position: fixed;
        bottom: 20px;
        right: 0;
        left: 0;
        margin: auto;
    }

    .round_menu:not(.active) {
        display: none;
    }

    .header-sticky {
        top: -45px;
    }
}

@media (max-width: 480px) {
    .header_top_list li:not(:last-child) a img {
        margin-right: 3px;
    }

    .header_top_list li a img {
        max-width: 17px;
    }

    .header_top_list a {
        font-size: 12px;
    }
}