htmnl {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: #1f3b2d;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 55px;
    height: 45px;
    object-fit: contain;
    background-color: white;
    border-radius: 8px;
    padding: 5px;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    background-image: linear-gradient(rgba(245, 250, 246, 0.65), rgba(245, 250, 246, 0.65)), url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 180px 40px;
    text-align: center;
}

.hero-text h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #1f3b2d;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #333333;
}

.button {
    background-color: #1f3b2d;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.second-button {
    background-color: white;
    color: #1f3b2d;
    border: 2px solid #1f3b2d;
}

.button:hover {
    opacity: 0.8;
}

.services {
    padding: 70px 40px;
    text-align: center;
    background-color: white;
}

.services h2 {
    font-size: 36px;
    color: #1f3b2d;
    margin-bottom: 10px;
}

.section-intro {
    font-size: 18px;
    color: #444444;
    margin-bottom: 40px;
}

.service-boxes {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.service-card {
    width: 280px;
    padding: 30px;
    border: 2px solid #1f3b2d;
    border-radius: 12px;
    background-color: #e5eee7;
}

.service-card h3 {
    color: #1f3b2d;
    font-size: 22px;
    margin-top: 0;
}

.service-card ul {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 0;
}

.service-card li {
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
}

.service-button {
    margin-top: 35px;
}

.work {
    padding: 70px 40px;
    text-align: center;
    background-color: #e5eee7;
}

.work h2 {
    font-size: 36px;
    color: #1f3b2d;
    margin-bottom: 10px;
}

.work-boxes {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.work-card {
    width: 280px;
    background-color: white;
    border: 2px solid #1f3b2d;
    border-radius: 12px;
    overflow: hidden;
}

.work-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.work-card h3 {
    color: #1f3b2d;
    font-size: 20px;
    margin: 0;
    padding: 15px;
}

.about {
    padding: 70px 40px;
    background-color: white;
    text-align: center;
}

.about-text {
    max-width: 850px;
    margin: auto;
}

.about h2 {
    font-size: 36px;
    color: #1f3b2d;
    margin-bottom: 25px;
}

.about p {
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 18px;
}

.contact {
    padding: 70px 40px;
    text-align: center;
    background-color: #1f3b2d;
    color: white;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact .section-intro {
    color: white;
}

.contact-box {
    max-width: 500px;
    margin: 30px auto;
    background-color: white;
    color: #333333;
    padding: 25px;
    border-radius: 12px;
}

.contact-box p {
    font-size: 18px;
    margin: 12px 0;
}

.contact-button {
    background-color: white;
    color: #1f3b2d;
}

.estimate {
    padding: 70px 40px;
    text-align: center;
    background-color: white;
}

.estimate h2 {
    font-size: 36px;
    color: #1f3b2d;
    margin-bottom: 10px;
}

#estimate-form {
    max-width: 600px;
    margin: 30px auto 0;
}

#estimate-form input[type="text"],
#estimate-form input[type="tel"],
#estimate-form input[type="email"],
#estimate-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #999999;
    border-radius: 6px;
    box-sizing: border-box;
}

#estimate-form textarea {
    height: 120px;
    resize: vertical;
}

.form-label {
    text-align: left;
    font-weight: bold;
    color: #1f3b2d;
    margin-bottom: 10px;
}

.checkboxes {
    text-align: left;
    margin-bottom: 20px;
}

#estimate-form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkboxes label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #333333;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo {
        justify-content: center;
    }

    nav a {
        margin-left: 10px;
        margin-right: 10px;
        display: inline-block;
        margin-bottom: 8px;
    }

    .hero {
        padding: 120px 25px;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .button {
        display: block;
        width: 220px;
        margin: 12px auto;
    }

    .services,
    .work,
    .about,
    .contact,
    .estimate {
        padding: 60px 20px;
    }

    .service-boxes,
    .work-boxes {
        flex-direction: column;
        align-items: center;
    }

    .service-card,
    .work-card {
        width: 85%;
    }
}

footer {
    background-color: #1f3b2d;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 5px;
}