/* =========================================
   ZYLOX HEADER
========================================= */

#header {
    position: sticky;
    top: 0;
    z-index: 99999;
    width: 100%;
}


/* =========================================
   HEADER
========================================= */

.zylox-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8edf4;
    position: relative;
    z-index: 99999;
}


/* =========================================
   HEADER CONTAINER
========================================= */

.zylox-header-container {
    width: 90%;
    max-width: 1250px;
    height: 90px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   LOGO
========================================= */

.zylox-logo {
    display: block;
    text-decoration: none;
}

.zylox-logo img {
    width: 100px;
    height: auto;
    display: block;
}


/* =========================================
   DESKTOP NAVIGATION
========================================= */

.zylox-navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.zylox-navigation a {
    position: relative;

    color: #1b2638;

    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 500;

    text-decoration: none;

    transition: color 0.3s ease;
}

.zylox-navigation a:hover {
    color: #1e5bc6;
}

.zylox-navigation a.active {
    color: #1e5bc6;
}


/* =========================================
   DESKTOP BUTTON
========================================= */

.zylox-header-button {
    padding: 13px 22px;

    background: #1e5bc6;

    border-radius: 6px;

    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.zylox-header-button:hover {
    background: #164aab;
    transform: translateY(-2px);
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.zylox-menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    padding: 0;

    background: #ffffff;

    border: 1px solid #dce4ef;

    border-radius: 6px;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;
}

.zylox-menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    background: #061d58;

    border-radius: 2px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================
   MOBILE NAVIGATION
========================================= */

.zylox-mobile-navigation {
    display: none;

    width: 100%;

    padding: 15px 5% 25px;

    background: #ffffff;

    border-top: 1px solid #edf1f6;

    box-sizing: border-box;
}


/* =========================================
   MOBILE NAVIGATION OPEN
========================================= */

.zylox-mobile-navigation.active {
    display: flex;

    flex-direction: column;

    animation: zyloxMobileMenu 0.25s ease;
}


/* =========================================
   MOBILE LINKS
========================================= */

.zylox-mobile-navigation a {
    display: block;

    padding: 14px 0;

    color: #1b2638;

    font-family: "Roboto", sans-serif;

    font-size: 16px;

    font-weight: 500;

    text-decoration: none;

    border-bottom: 1px solid #edf1f6;

    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.zylox-mobile-navigation a:hover {
    color: #1e5bc6;

    padding-left: 5px;
}


/* =========================================
   MOBILE GET IN TOUCH
========================================= */

.zylox-mobile-navigation .zylox-mobile-button {
    margin-top: 15px;

    padding: 13px 20px;

    background: #1e5bc6;

    border: none;

    border-radius: 6px;

    color: #ffffff !important;

    text-align: center;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.zylox-mobile-navigation .zylox-mobile-button:hover {
    background: #164aab;

    padding-left: 20px;

    transform: translateY(-2px);
}


/* =========================================
   MOBILE MENU ANIMATION
========================================= */

@keyframes zyloxMobileMenu {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   HAMBURGER → X
========================================= */

.zylox-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.zylox-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.zylox-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 768px) {

    .zylox-header-container {
        width: 92%;
        height: 70px;
    }


    /* LOGO */

    .zylox-logo img {
        width: 80px;
    }


    /* HIDE DESKTOP */

    .zylox-navigation,
    .zylox-header-button {
        display: none;
    }


    /* SHOW MOBILE MENU */

    .zylox-menu-toggle {
        display: flex;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .zylox-header-container {
        width: 92%;
        height: 70px;
    }

    .zylox-logo img {
        width: 80px;
    }

    .zylox-menu-toggle {
        width: 38px;
        height: 38px;
    }

    .zylox-mobile-navigation {
        padding-left: 4%;
        padding-right: 4%;
    }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 350px) {

    .zylox-logo img {
        width: 75px;
    }

    .zylox-menu-toggle {
        width: 36px;
        height: 36px;
    }

}