/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        0 2px 15px rgba(0, 0, 0, 0.07);

    backdrop-filter: blur(8px);
}


/* =========================================
   HEADER CONTAINER
========================================= */

.header-container {
    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================
   LOGO
========================================= */

.site-logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}

.site-logo img {
    display: block;

    width: 180px;

    height: auto;

    max-height: 60px;

    object-fit: contain;
}


/* =========================================
   NAVIGATION
========================================= */

.main-navigation {
    display: flex;

    align-items: center;
}


.nav-links {
    display: flex;

    align-items: center;

    gap: 34px;

    list-style: none;

    margin: 0;
    padding: 0;
}


.nav-links li {
    margin: 0;
    padding: 0;
}


.nav-links a {
    position: relative;

    display: inline-block;

    color: #18324b;

    font-size: 15px;

    font-weight: 600;

    padding: 8px 0;

    transition:
        color 0.3s ease;
}


/* HOVER UNDERLINE */

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #0878c9;

    transition:
        width 0.3s ease;
}


.nav-links a:hover {
    color: #0878c9;
}


.nav-links a:hover::after {
    width: 100%;
}


/* ACTIVE PAGE */

.nav-links a.active {
    color: #0878c9;
}


.nav-links a.active::after {
    width: 100%;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {

    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: none;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    gap: 5px;
}


.menu-toggle span {

    display: block;

    width: 24px;
    height: 2px;

    background: #063b67;

    border-radius: 2px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .header-container {
        min-height: 74px;
    }


    .site-logo img {
        width: 155px;

        max-height: 52px;
    }


    .menu-toggle {
        display: flex;
    }


    .main-navigation {

        position: absolute;

        top: 74px;

        left: 0;

        width: 100%;

        background: #ffffff;

        display: none;

        box-shadow:
            0 10px 20px rgba(0, 0, 0, 0.08);
    }


    .main-navigation.active {
        display: block;
    }


    .nav-links {

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        width: 100%;

        padding: 12px 5% 20px;
    }


    .nav-links li {
        width: 100%;
    }


    .nav-links a {

        width: 100%;

        padding: 12px 0;

        font-size: 15px;
    }


    .nav-links a::after {
        display: none;
    }


    .nav-links a.active {
        color: #0878c9;
    }


    /* HAMBURGER ANIMATION */

    .menu-toggle.active span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }


    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }


    .menu-toggle.active span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .site-logo img {
        width: 140px;
    }

}