@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,500&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

li,
a,
button {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1e3c25;
    text-decoration: none;
}

html,
body {
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin-top: 100px;
    padding-bottom: 50px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: transparent;
}

.logo {
    cursor: pointer;
    width: 80%;
}

.nav_links {
    list-style: none;
}

.nav_links li {
    display: inline-block;
    padding: 0 20px;
}

.nav_links li a {
    transition: all 0.3s ease;
}

.nav_links li a:hover {
    color: #83b048;
}

button {
    all: unset;
    padding: 9px 25px;
    background-color: rgba(131, 176, 72, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: rgba(30, 60, 37, 0.8);
    color: #f4fcec;
}

footer {
    background-color: #1e3c25;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item img.contact-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.contact-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.hamburger .bar {
    height: 4px;
    background-color: #1e3c25;
    border-radius: 2px;
}

#request-quote {
    font-family: "Montserrat", sans-serif;
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    margin: 0 auto;
    margin-top: 35px;
    width: 900px;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#request-quote h1 {
    font-size: 2.5rem;
    color: #1e3c25;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    font-family: "Montserrat", sans-serif;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    height: 45px;
}

.form-group textarea {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    color: #333;
}

.thank-you-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.thank-you-modal-content {
    font-family: "Montserrat", sans-serif;
    position: relative;
    padding: 40px;
    background-color: #fff;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
}

.thank-you-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.thank-you-modal h2 {
    font-size: 2.2rem;
    color: #4CAF50;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.thank-you-modal p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
    font-family: 'PT Serif', serif;
}

.thank-you-modal button {
    padding: 12px 30px;
    font-size: 1rem;
    background-color: rgba(131, 176, 72, 1);
    border: none;
    color: black;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.thank-you-modal button:hover {
    background-color: rgba(30, 60, 37, 0.8);
    color: #f4fcec;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 1270px) {
    .modal {
        z-index: 999;
    }
    .modal-content {
        width: 90%;
        padding: 20px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-item img.contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .contact-item p {
        font-size: 0.9rem;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
        position: absolute;
        top: 33px;
        left: 30px;
        z-index: 20;
    }

    .hamburger .bar {
        height: 4px;
        background-color: #1e3c25;
        border-radius: 2px;
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 10%;
    }

    .logo {
        margin-top: 3px;
        max-width: 60%;
        margin-left: 20%;
        flex-grow: 1;
        display: flex;
        justify-content: center;
    }

    .cta {
        position: absolute;
        right: 10px;
        top: 28px;
    }

    .cta button {
        margin-top: 2px;
        max-width: 60%;
        width: 30%;
        font-size: 70%;
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;    
        text-align: center;
    }

    .nav_links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transition: all 0.3s ease;
    }

    .nav_links.active {
        display: flex;
    }

    .nav_links li {
        padding: 15px 0;
    }

    .nav_links li a {
        padding: 15px;
        font-size: 18px;
        color: #333;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-align: center;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nav_links li a:hover {
        background-color: #83b048;
        color: white;
        border-radius: 4px;
    }
    #request-quote {
        padding: 30px 20px;
        width: 100%;
        margin-top: 20px;
    }

    #request-quote h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 10px;
    }

    .thank-you-modal-content {
        padding: 30px;
        width: 80%;
        max-width: 400px;
    }

    .thank-you-modal h2 {
        font-size: 1.8rem;
    }

    .thank-you-modal p {
        font-size: 1rem;
    }

    .thank-you-modal button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}