header {
    position: relative;
}


.site-header {
    padding: 24px 0 0;
    position: fixed;
    width: 1336px;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999999;
}

.custom-navbar {
    min-height: 70px;
    padding: 0 22px 0 24px;
    background-color: rgb(255 255 255 / 10%);
    backdrop-filter: blur(50px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 500px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
    position: relative;
    z-index: 1000;
}

.main-menu {
    gap: 40px;
}

.main-menu .nav-link,
.right-menu .nav-link {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 0 !important;
    white-space: nowrap;
    transition: all 0.45s ease;
}

.main-menu .nav-link:hover,
.right-menu .nav-link:hover {
    text-decoration: underline;
    transition: all 0.45s ease;
}

.main-menu .nav-link.active {
    text-decoration: underline;

}

.nav-icon {
    background: #FFFFFF1A;
    border-radius: 100px;
    padding: 0px 6px;
    display: flex;
    align-items: center;
}

.nav-icon img {
    width: 45px;
}


/* =========================
   RIGHT MENU
========================= */

.right-menu {
    gap: 2px;

    align-items: center;
}

.right-menu .nav-link {
    padding-left: 13px !important;
    padding-right: 13px !important;
}


/* =========================
   CONTACT BUTTON
========================= */

.contact-btn {
    min-width: 100px;
    padding: 7px 24px !important;
    border: none;
    border-radius: 30px;
    background: var(--green);

    color: #fff !important;

    font-size: 14px;
    font-weight: 600;
    box-shadow: 0px 0px 15px 0px #00B23B4D;

    transition: all 0.25s ease;
}

.contact-btn:hover {
    background: var(--darkgreen);
    color: var(--white);
    /* transform: translateY(-1px); */
}

.navbar-collapse {
    position: relative;
}

/* =========================
   MOBILE TOGGLE
========================= */

.custom-toggler {
    width: 48px;
    height: 48px;

    padding: 0;

    border: 0 !important;
    outline: none !important;

    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border-radius: 50%;

    background: transparent;

    box-shadow: none !important;
}

.custom-toggler:focus {
    box-shadow: none !important;
}

.toggler-line {
    width: 23px;
    height: 2px;

    display: block;

    background: #fff;

    border-radius: 10px;

    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
}


/* =========================
   HAMBURGER → X
========================= */

.custom-toggler[aria-expanded="true"] .line-1 {
    transform: translateY(7px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .line-2 {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .line-3 {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-item i{
    display: none;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 992px) {
    .nav-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .nav-item i{
    display: inline-block;
    font-size: 12px;
}
 .nav-item.contact-item {
        display: inline-flex !important;
    justify-content: flex-start;
    width: auto;
    }

    .site-header {
        padding: 0px;
        background: transparent;
        color: var(--black);
        /* overflow-x: hidden; */
    }

    .custom-navbar {
        padding: 28px 15px 8px 20px;
        border-radius: 0;
        color: var(--black);
        background: #fff !important;
        /* clip-path: ellipse(95% 70% at 50% 30%); */
    }

    .main-menu .nav-link,
    .right-menu .nav-link {
        color: var(--black) !important;
    }

    .toggler-line {
        background: var(--black) !important;
    }

    .navbar-collapse {
        padding: 20px 0;
    }

    .navbar-collapse:after {
        content: "";
        position: absolute;
        z-index: 1;
        width: 110%;
        top: auto;
        left: -21px;
        bottom: -120px;
        min-height: 151px;
        /* clip-path: ellipse(85% 100% at 50% 100%);
        background-color: #ffffff;
        rotate: 180deg; */
        background: url(../assets/img/collap.png) center no-repeat;
        background-size: contain;

    }

    .site-header {
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
        position: fixed;
        z-index: 999999;
    }

    .site-header:has(.navbar-collapse.show)::after {
        content: "";
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: #E7E7E780;
        z-index: -1;
        pointer-events: none;
        backdrop-filter: 16px;
    }

    .right-menu {
        gap: 2px;
        align-items: start;
    }

    .contact-btn {
        z-index: 99999;
        position: relative;
    }

    .nav-icon {
        padding: 0;
        border-radius: 0;
        background-color: transparent;
    }

    .nav-icon img {
        width: 25px;
    }

    .navbar-nav {
        align-items: start !important;
    }


}

.main-menu,
.right-menu {
    gap: 3px;
}

.main-menu .nav-link,
.right-menu .nav-link {
    padding: 12px 10px !important;
}

.main-menu .nav-link.active {
    display: inline-flex;
}




.contact-btn {
    display: block;
    width: 100%;
}

@media (max-width:545px) {
    .navbar-collapse:after {
        min-height: 111px;
        bottom: -60px;
        background: url(../assets/img/collap.png) center no-repeat;
        background-size: contain;
    }

    .nav-link {
        padding: 8px 10px !important;
    }
}


/*  */
.site-header {
    transition: all 0.4s ease;
}

.site-header.scrolled .custom-navbar {
    background: #D5D5D552;
    border-color: #D5D5D552;
}

.site-header.scrolled .nav-link {
    color: var(--black) !important;
}

.site-header.scrolled .nav-icon {
    background: transparent !important;
}