/*==================================
              HEADER
==================================*/

.header {
    position: fixed;
    top: 20px;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: center;

    z-index: 10000;

    transition: top .35s ease;
}


/*==================================
        HEADER CONTAINER
==================================*/

.header-container {

    position: relative;

    width: min(1450px, 94%);
    height: 92px;

    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, .90);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .65);

    border-radius: 26px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .08);

    transition:
        height .35s ease,
        border-radius .35s ease,
        box-shadow .35s ease;
}


/*==================================
                LOGO
==================================*/

.logo {

    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}


.logo img {

    height: 82px;
    width: auto;

    display: block;

    object-fit: contain;

    transition: height .35s ease;
}


/*==================================
            DESKTOP NAV
==================================*/

.nav-menu {

    display: flex;
    align-items: center;

    gap: 42px;

    margin-left: auto;
    margin-right: 35px;
}


.nav-menu a {

    position: relative;

    color: #163c29;

    text-decoration: none;

    font-size: 17px;
    font-weight: 600;

    white-space: nowrap;

    transition: color .3s ease;
}


.nav-menu a::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: -10px;

    width: 0;
    height: 3px;

    border-radius: 30px;

    background: #59c978;

    transform: translateX(-50%);

    transition: width .3s ease;
}


.nav-menu a:hover {

    color: #59c978;
}


.nav-menu a:hover::after {

    width: 100%;
}


/*==================================
            QUOTE BUTTON
==================================*/

.quote-btn {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 17px 31px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #5fd37e,
            #35b95e
        );

    color: white;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 15px 30px rgba(53,185,94,.28);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.quote-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 20px 40px rgba(53,185,94,.35);
}


.quote-btn i {

    transition: transform .3s ease;
}


.quote-btn:hover i {

    transform: translateX(4px);
}


/*==================================
        MOBILE BUTTON
==================================*/

.menu-toggle {

    display: none;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(89,201,120,.14);

    color: #163c29;

    font-size: 22px;

    cursor: pointer;

    flex-shrink: 0;

    transition:
        background .25s ease,
        transform .25s ease;
}


.menu-toggle:hover {

    background:
        rgba(89,201,120,.22);

}


.menu-toggle:active {

    transform: scale(.94);

}


/*==================================
            MOBILE MENU
==================================*/

.mobile-menu {

    display: none;

    position: absolute;

    top: calc(100% + 10px);

    left: 0;

    width: 100%;

    padding: 18px;

    background:
        rgba(255,255,255,.98);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border:
        1px solid rgba(255,255,255,.85);

    border-radius: 22px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.16);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(-8px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index: 10001;
}


.mobile-menu.active {

    display: block;

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0);
}


/*==================================
          MOBILE NAV
==================================*/

.mobile-nav {

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.mobile-nav a {

    display: flex;

    align-items: center;

    gap: 14px;

    width: 100%;

    min-height: 50px;

    padding: 12px 14px;

    color: #163c29;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    border-radius: 13px;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.mobile-nav a i {

    display: block;

    width: 23px;

    text-align: center;

    color: #45c56a;

    font-size: 17px;
}


.mobile-nav a:hover {

    background:
        rgba(89,201,120,.12);

    color: #35b95e;

    transform: translateX(3px);
}


/*==================================
        MOBILE QUOTE
==================================*/

.mobile-quote-btn {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    width: 100%;

    margin-top: 14px;

    padding: 15px 18px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #5fd37e,
            #35b95e
        );

    color: white;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;

    box-shadow:
        0 12px 25px rgba(53,185,94,.25);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.mobile-quote-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(53,185,94,.32);
}


.mobile-quote-btn i {

    transition: transform .3s ease;
}


.mobile-quote-btn:hover i {

    transform: translateX(5px);
}


/*==================================
              SCROLL
==================================*/

.header.scrolled {

    top: 12px;
}


.header.scrolled .header-container {

    height: 80px;

    border-radius: 22px;

    box-shadow:
        0 22px 55px rgba(0,0,0,.12);
}


.header.scrolled .logo img {

    height: 70px;
}


/*==================================
            TABLET
==================================*/

@media (max-width: 1150px) {

    .header-container {

        width: 94%;

        padding: 0 24px;
    }


    .nav-menu {

        gap: 25px;

        margin-right: 25px;
    }


    .nav-menu a {

        font-size: 15px;
    }


    .quote-btn {

        padding: 15px 24px;

        font-size: 15px;
    }

}


/*==================================
        MOBILE / TABLET
==================================*/

@media (max-width: 1000px) {

    .nav-menu,
    .quote-btn {

        display: none;
    }


    .menu-toggle {

        display: flex;
    }


    .header-container {

        height: 82px;

        padding: 0 22px;
    }


    .logo img {

        height: 74px;
    }


    .mobile-menu {

        display: block;
    }

}


/*==================================
              MOBILE
==================================*/

@media (max-width: 768px) {

    .header {

        top: 10px;
    }


    .header-container {

        width: calc(100% - 24px);

        height: 74px;

        padding: 0 16px;

        border-radius: 20px;
    }


    .logo img {

        height: 62px;
    }


    .menu-toggle {

        width: 46px;

        height: 46px;

        font-size: 21px;
    }


    .mobile-menu {

        padding: 17px;

        border-radius: 21px;
    }


    .mobile-nav a {

        font-size: 15px;
    }


    .header.scrolled {

        top: 8px;
    }


    .header.scrolled .header-container {

        height: 68px;

        border-radius: 19px;
    }


    .header.scrolled .logo img {

        height: 59px;
    }

}


/*==================================
            SMALL PHONES
==================================*/

@media (max-width: 480px) {

    .header {

        top: 8px;
    }


    .header-container {

        width: calc(100% - 16px);

        height: 70px;

        padding: 0 14px;

        border-radius: 19px;
    }


    .logo img {

        height: 58px;
    }


    .menu-toggle {

        width: 44px;

        height: 44px;

        font-size: 20px;
    }


    .mobile-menu {

        padding: 14px;

        border-radius: 19px;
    }


    .mobile-nav a {

        min-height: 47px;

        padding: 11px 12px;

        font-size: 15px;
    }


    .mobile-quote-btn {

        padding: 14px 16px;
    }

}


/*==================================
            VERY SMALL
==================================*/

@media (max-width: 360px) {

    .header-container {

        width: calc(100% - 12px);

        padding: 0 11px;
    }


    .logo img {

        height: 54px;
    }


    .menu-toggle {

        width: 41px;

        height: 41px;
    }

}