/* header.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
    position: sticky;
    left:0;
    top:0;
    background-color: white;
    color: #fff;
    width: 100%;
    border-bottom: 1px solid #E2E8F0;
    z-index: 9999;
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 100%;
}

.logo {
    margin: 0; /* Ensure there is no margin on the logo container */
    padding: 0; /* Ensure there is no padding on the logo container */
    padding-top: 5px;
}

.logo img {
    height: 120px;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 130px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 82px;
    padding-left: 70px;
    align-items: center;
}

.nav-menu li {
    display: inline;
}

.nav-menu a {
    color: #000;
    text-decoration: none; /* Remove underline from nav items */
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.nav-menu a:hover {
    box-shadow: none;
}

/* Add the green underline animation */
.nav-menu a {
    position: relative;
    text-decoration: none; /* Optional, if you want to remove the default underline */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px; /* Adjust the thickness of the underline */
    background-color: #f1ac29; /* Set the color of the underline */
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out; /* Adjust the duration of the animation */
}

.nav-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* For tablets and smaller screens */

@media (max-width: 1440px) {
    .nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 41px;
        padding-left: 35px;
    }
}

@media (max-width: 1225px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        text-align: left;
    }

    .menu {
        flex-direction: column;
        width: 100%;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px;
    }
}

.quote-button-container {
    display: none; /* Hidden by default */
    text-align: center;
    margin: 20px 0;
}

.quote-button {
    display: inline-block;
    background-color: #5a7ecf;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: Outfit, sans-serif;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.quote-button:hover {
    background-color: #2654c0; /* Slightly lighter green */
}


@media only screen and (max-width: 1200px) {
    .quote-button-container {
        display: block; /* Make the button visible */
    }

    .logo img {
        height: 50px;
        padding-left: 20%;
    }

    .navbar{
        padding: 0 0px;
    }
    .nav-menu {
        position:fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
    }
    .logo img{
        align-items: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
        padding-right: 30px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        position: sticky;
        right: 5px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .lock-scroll {
        overflow: hidden;
    }

}

