﻿header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99;
    transition: all ease .5s;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0px -1px 8px 0px #b10c1e3d;
}

header.active {
    top: 20px;
}

.header_wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
}

.nav_first_block {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    width: 220px;
    display: flex;
}

.logo img {
    width: 100%;
    height: auto;
}

.navigation .nav_menu {
    display: flex;
    align-items: center;
    gap: 37px;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

.nav_link {
    color: var(--text);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    position: relative;
    text-decoration: none;
}

.nav_link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: var(--text);
    transition: all ease .5s;
}

/* Mega Menu >>>>> */
.mega_menu_content {
    position: static;
}

.mega_menu_content {
    position: absolute;
    left: 0;
    width: 1270px;
    padding: 0;
    background: #fff;
    box-shadow: 0px 1px 10px 2px #a1a1a17a;
    border-radius: 6px;
    top: 81px;
    right: 0;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all ease .2s;
    margin: 0 auto;
    visibility: hidden;
    padding: 8px;
    display: flex;
    gap: 3px;
}

.mega-col--promo {
    width: 24%;
    background: linear-gradient(160deg, #2d0a0e, #4a1218, var(--pri-color));
    border-radius: 0 12px 12px 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 20px 16px;
}

.mega-col--promo::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -40px;
    right: -40px;
    pointer-events: none;
}

.mega-col--promo::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    bottom: -20px;
    left: -20px;
    pointer-events: none;
}

.mega-col--promo .mega-col__title {
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.mega-col--promo .promo-icon {
    width: 60px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


.mega-col--promo h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

.mega-col--promo p {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.mega-col--promo .btn-promo {
    background: white;
    color: var(--pri-color);
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all ease .4s;
    position: relative;
    z-index: 1;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-col--promo .btn-promo:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.navigation .mega_menu.opened .nav_link::after,
.navigation .nav_menu li:hover .nav_link::after {
    width: 100%;
}

.mega_back_indi,
.mega_tab_backbtn {
    display: none;
}

.mega_overlay {
    position: fixed;
    inset: 0;
    background: #00000070;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 90;
    backdrop-filter: blur(4px);
}

.mega_overlay.opened {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega_menu_tabs {
    display: flex;
    width: 76%;
}

.mega_menu_btns {
    min-width: max-content;
    border-right: solid 1px #0000001a;
    background: #f8fafc;
    padding: 20px 10px;
    border-radius: 12px 0 0 12px;
}

.mega_tab_btn_item {
    padding: 20px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: solid 1px #0000001a;
    justify-content: space-between;
    transition: all ease .5s;
    position: relative;
}

.mega_tab_btn_item.opened::after,
.mega_tab_btn_item:hover::after {
    width: 100%;
}

.mega_tab_btn_item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0%;
    height: 1px;
    background: #000;
    opacity: 0.4;
    transition: all ease .5s;
}

.mega_tab_btn_item.opened,
.mega_tab_btn_item:hover {
    background: #00000017;
}

.mega_tab_btn_item:last-child {
    border: none;
}

.mega_tab_btn_item.opened,
.mega_tab_btn_item:hover {
    .mega_item_ico {
        rotate: 180deg;
    }
}

.mega_item_ico {
    width: 8px;
    transition: all ease .5s;
}

.mega_tab_item_head h3,
.mega_tab_btn_item h3 {
    color: #000;
    font-size: 16px;
    line-height: 24px;
    text-transform: capitalize;
    margin-bottom: 0;
}

.mega_tab_btn_item h3 {
    font-weight: 600;
}

.mega_menu_btns .mega_tab_item_head {
    margin-bottom: 0;
}

.mega_menu_btns .mega_tab_item_head h3 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0px;
}

.mega_menu_tab_content {
    width: 100%;
}

.mega_menu {
    position: static;
}

.mega-menu_head i {
    /* width: 9px; */
    margin-top: 2px;
    transition: all ease .5s;
    font-size: 12px;
}

.mega_menu.opened .mega-menu_head .bi-chevron-down {
    transform: rotateX(180deg);
}

.mega-menu_head {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    padding: 30px 0;
}

.mega_menu_content ul {
    list-style: none;
    padding: 0;
}

.dropdown_item {
    padding: 10px 14px;
    display: flex;
    color: var(--text);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mega_tab_item_head {
    margin-bottom: 10px;
    padding: 14px 18px;
    border-bottom: solid 1px #0000001a;
}

.mega_nav_wrap {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    gap: 80px;
}

.mega_nav_list {
    padding: 0 20px 20px;
}

.mega_nav_column li {
    display: flex;
}

.mega_nav_column li a {
    color: #000;
    font-size: 14px;
    line-height: 24px;
    padding: 16px 0px;
    border-bottom: solid 1px #a0a0a01a;
    font-weight: 400;
    position: relative;
    font-family: 'Poppins';
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none !important;
}

.mega_tab_btn_left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega_tab_btn_left span i::before {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pri-color);
    color: white;
    border-radius: 6px;
}

.mega_nav_column li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0%;
    height: 1px;
    background: #000;
    opacity: 0.4;
    transition: all ease .5s;
}

.mega_nav_column li a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    width: 20px;
    flex-shrink: 0;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px #c5c5c5;
    border-radius: 4px;
    color: var(--pri-color);
    transition: all ease .5s;
}

.mega_nav_column li a:hover::before {
    background: var(--pri-color);
    color: #fff;
    border-color: var(--pri-color);
}

.mega_nav_column li a:hover::after {
    width: 100%;
}

.dropdown_item:hover::before {
    width: 12px;
}

.dropdown_item::before {
    content: "";
    display: flex;
    width: 0;
    height: 2px;
    background: var(--text);
    transition: all ease .5s;
}

.nav_ham_menu {
    display: none;
}

.hamburger {
    cursor: pointer;
    display: flex;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 2.5em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: black;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
    transform: rotate(-45deg) translateY(3px);
}

.hamburger input:checked+svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* Mega End */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media screen and (min-width: 769px) {
    .mega_menu_content.opened {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0px);
        visibility: visible;
    }

    .mega_tab_item {
        display: none;
    }

    .mega_tab_item.opened {
        animation: FadeMenu 0.3s ease forwards;
        display: block;
    }

    @keyframes FadeMenu {
        0% {
            opacity: 0;
            transform: translateY(8px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


@media screen and (max-width: 1100px) {
    .mega_menu_content {
        width: 95%;
    }

    .mega_menu_tabs {
        width: 100%;
    }

    .mega-col--promo {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    header {
        top: 0;
        padding: 12px 0;
    }

    .nav_btns .navbar-actions {
        display: none;
    }

    header.active {
        top: 0;
    }

    .logo {
        position: relative;
        z-index: 99;
        width: 145px;
    }

    html.menu-opened {
        overflow: hidden;
    }

    .mega_back_indi,
    .mega_tab_backbtn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        border: solid 1px gray;
        cursor: pointer;
    }

    .mega_tab_item_head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    .mega_tab_item_head h3 {
        font-size: 30px;
    }

    .mega_back_indi img,
    .mega_tab_backbtn img {
        width: 10px;
    }

    .navigation {
        position: fixed;
        left: 0;
        top: 0;
        min-height: 100vh;
        height: 100%;
        background: #fff;
        width: 100%;
        display: flex;
        align-items: center;
        transform: translateX(-100%);
        transition: all ease .6s;
    }

    .navigation.active {
        transform: translateX(0%);
    }

    .navigation nav {
        width: 100%;
    }

    .mega_menu_content {
        transform: translateX(-100%);
        opacity: 1;
        pointer-events: all;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        top: 0;
        height: 100vh;
        transition-duration: .5s;
        z-index: 9999;
        background: #fff;
        padding-top: 140px;
    }

    .mega_menu_content.opened {
        transform: translateX(0%);
    }

    .mega_nav_column li a,
    .mega_tab_item_head h3,
    .mega_tab_btn_item h3 {
        color: var(--text);
    }

    /* .mega_item_ico {
        filter: invert(1);
    } */

    .mega_tab_btn_item {
        border-bottom: solid 1px #35353536;
        padding: 18px 20px;
    }

    .mega-menu_head {
        padding: 0;
    }

    .mega-menu_head .nav_link {
        border: none;
    }

    .mega_menu_btns {
        width: 100%;
        min-width: 100%;
    }

    .mega_nav_wrap {
        gap: 60px;
        flex-wrap: wrap;
        /* justify-content: space-between; */
    }

    .mega_tab_item {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(-100%);
        padding-top: 140px;
        transition: all ease .5s;
        background: #fff;
        overflow-y: scroll;
    }

    .mega_tab_item.opened {
        transform: translateX(0%);
    }

    .nav_ham_menu {
        display: block;
    }

    .navigation .nav_menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .navigation .nav_menu li {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav_link {
        padding: 17px 20px;
        width: 100%;
        font-size: 20px;
        line-height: 28px;
        border-bottom: solid 1px #64646429;
        text-transform: uppercase;
    }

    .mega_menu {
        border-bottom: solid 1px #64646429;
    }

    .drop_down {
        border-bottom: solid 1px #64646429;
    }

    .nav_link::after {
        content: normal;
    }

    .drop_menu {
        position: static;
        width: 100%;
        box-shadow: none;
        height: 0;
        overflow: hidden;
        transition: all ease .5s;
    }

    .drop_head {
        padding: 0;
        width: 100%;
    }

    .drop_head .nav_link {
        border: none;
    }

    .mega-menu_head i {
        width: 45px;
        margin-top: 0;
        padding: 5px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: rotate(-90deg);
    }

    .mega-menu_head i img {
        width: 12px;
        transition: all ease .5s;
    }

    .mega_menu.opened .mega-menu_head .mega-menu_head i {
        transform: rotate(90deg);
    }

    .drop_menu {
        width: max-content;
    }

    .drop_head {
        padding: 20px 0;
    }
}


@media screen and (max-width: 767px) {
    html.menu-opened {
        overflow: hidden;
    }

    body {
        padding: 10px 10px 0;
    }

    header {
        top: 0;
        padding: 12px 0;
    }

    .mega_tab_item {
        padding-top: 100px;
    }

    .mega_menu_content ul {
        width: 100%;
    }

    .mega_tab_item_head h3 {
        font-size: 20px;
    }

    .mega_tab_item_head {
        margin-bottom: 15px;
        border-color: #ffffff33;
    }
}