:root {
    --green: #6bad25;
    --dark-green: #267c46;
    --hover-green: #1e5f36;
    --accent: #f4c542;
    --light-bg: #ffffffd9
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--green);
    color: #fff
}

.hero {
    position: relative;
    background: url(https://example.com/trees.jpg) no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0006, #0009);
    z-index: 0
}

.hero>* {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-bottom: 1rem
}

a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 700
}

a:hover {
    color: #fffacd;
    text-decoration: none
}

header {
    text-align: center;
    padding: 1rem
}

header img {
    width: 100%;
    max-width: 280px;
    height: auto
}

@media (min-width: 802px) {
    header img {
        max-width: 700px
    }

    .form-container {
        width: auto;
    }

    header img {
        max-width: 700px
    }
}

@media (max-width: 801px) {
    .myH1 {
        font-size: 14px
    }

    .hero h1 {
        font-size: 1.5rem !important
    }

    .hero h2 {
        font-size: 1.1rem
    }

    .hero p,
    .hero ul li {
        font-size: .95rem
    }

    .services {
        flex-direction: column !important;
        align-items: center
    }

    .card {
        max-width: 90%
    }

    .form-container {
        width: 82% !important
    }

    .card.tree-removal,
    .card.trimming,
    .card.emergency,
    .card.grinding {
        flex: 1 1 300px;
        max-width: 100%;
        box-sizing: border-box
    }

        .mobile_padding_top {
            padding-top: 40px;
        }
}

.hero h1 {
    font-size: 2.5rem
}

.hero h2 {
    font-size: 1.5rem
}

.hero p,
.hero ul {
    font-size: 1.1rem;
    line-height: 1.6
}

.hero ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0
}

.hero ul li {
    margin-bottom: .5rem
}

.section {
    padding: 2rem 1rem;
    text-align: center
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem
}

.section p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem
}

.services {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap
}

.gall_img {
    width: 200px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 10px #00000026;
    background-color: var(--light-bg);
    backdrop-filter: blur(2px)
}


.card {
    flex: 0 0 300px;
    position: relative;
    width: 100%;
    max-width: 320px;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px #00000026;
    background-color: var(--light-bg);
    backdrop-filter: blur(2px);
    color: #333;
    text-align: left
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .4;
    z-index: 0;
    transition: opacity .3s ease-in-out
}

.card:hover::before {
    opacity: .6
}

.card h3,
.card p {
    position: relative;
    z-index: 1;
    margin: 0 0 .5rem
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700
}

.card p {
    font-size: .95rem;
    line-height: 1.4
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #eee;
    color: #555;
    font-size: .9rem
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto
}

.form-container {
    background-color: #fffffff2;
    padding: 25px;
    border-radius: 10px;
    width: 30%;
    margin: auto;
    box-shadow: 0 4px 20px #0003;
    z-index: 99;
    position: relative;
    color: #006400
}

label {
    display: block;
    margin-top: 15px;
    text-align: left
}

input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f8ff
}

textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f8ff
}

input_err {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffe6e6
}

.section blockquote {
    max-width: none;
    margin: 1rem auto;
    width: 100%;
    text-align: left
}

.section .text {
    max-width: none;
    width: 100%
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--dark-green);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color .3s ease
}

.cta-button:hover {
    background-color: var(--hover-green);
    color: var(--accent)
}

.facebook-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--dark-green);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color .3s ease
}

.facebook-btn svg {
    width: 18px;
    height: 18px;
    color: #fff
}

.facebook-btn:hover {
    background-color: var(--hover-green);
    color: var(--accent)
}

.card.tree-removal::before {
    background-image: url(img/tree-removal.gif)
}

.card.trimming::before {
    background-image: url(img/tree_trimjpg.jpg)
}

.card.emergency::before {
    background-image: url(img/emergency-cleanup.jfif)
}

.card.grinding::before {
    background-image: url(img/stmpGrind.jpg)
}

@media (min-width: 801px) and (max-width: 1499px) {
    .services {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center
    }

    .card.tree-removal {
        flex: 1 1 300px;
        max-width: 45%;
        box-sizing: border-box;
    }

    .card.trimming {
        flex: 1 1 300px;
        max-width: 45%;
        box-sizing: border-box
    }

    .card.emergency {
        flex: 1 1 300px;
        max-width: 45%;
        box-sizing: border-box
    }

    .card.grinding {
        flex: 1 1 300px;
        max-width: 45%;
        box-sizing: border-box
    }

      


                               
}