html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

header {
    background-color: #00853f; /* Green color */
    color: #fff;
    text-align: center;
    height: 100px; /* Default height for mobile */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0; /* Set padding to 0 */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10; /* Ensure header is above other elements */
}

header img {
    height: 100px; /* Fixed height for the image on mobile */
    width: auto; /* Maintain aspect ratio */
}

.red-band {
    background-color: #e31b23; /* Red color */
    height: 5px; /* Fixed height */
    width: 100%;
    position: fixed;
    top: 100px; /* Positioned just below the header */
    z-index: 9;
}

.yellow-band {
    background-color: #ffe700; /* Yellow color */
    height: 8px; /* Fixed height for mobile */
    width: 100%;
    position: fixed;
    top: 105px; /* Positioned just below the red band */
    z-index: 8;
}

.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffe700; /* Yellow color */
    padding: 0;
    z-index: 7;
    position: fixed;
    top: 105px; /* Positioned just below the yellow band */
    width: 100%;
}

.menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
    margin-right: 1rem; /* Add some margin to the right */
}

nav {
    display: none; /* Hide menu by default for mobile */
    flex-direction: column;
    background-color: #ffe700; /* Yellow color */
    position: fixed;
    top: 113px; /* Positioned just below the header and bands */
    right: 0;
    width: 100%;
    z-index: 6;
}

nav.open {
    display: flex; /* Show menu when toggled */
}

nav a {
    color: #00853f; /* Green color */
    text-decoration: none;
    margin: 0.5rem;
    padding: 0.4rem;
    text-align: center;
}

.container {
    flex: 1; /* Make the container take up remaining space */
    padding: 0rem;
    margin-top: 50px; /* Add margin to ensure content does not overlap the bands */
}

h1 {
    color: #00853f; /* Green color */
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta {
    background-color: #e31b23; /* Red color */
    color: #fff;
    padding: 1rem 2rem;
    text-align: center;
    margin: 2rem 0;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
}

footer {
    background-color: #00853f; /* Green color */
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    position: relative;
}

.decorative-pattern {
    background-image: url('https://www.transparenttextures.com/patterns/aztec.png'); /* Decorative pattern */
    padding: 1rem;
    margin: 1rem 0;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end; /* Align items to the right edge */
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 1rem; /* Add vertical margin */
}

label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    max-width: 400px; /* Optional: limit the max width of the input fields */
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 150px;
}

button[type="submit"] {
    background-color: #00853f; /* Green color */
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    align-self: flex-end;
}

button[type="submit"]:hover {
    background-color: #006b31; /* Darker green color */
}


@media (min-width: 768px) {
    header {
        height: 130px; /* Fixed height for larger screens */
        padding: 0; /* Ensure padding is 0 on larger screens */
    }
    header img {
        height: 130px; /* Adjust image height for larger screens */
    }
    .red-band {
        height: 5px;
        top: 130px; /* Adjust for larger screens */
    }
    .yellow-band {
        top: 135px; /* Adjust for larger screens */
        display: none; /* Ensure yellow band is visible on desktop */
    }
    .menu-container {
        top: 135px; /* Adjust for larger screens */
        display: flex; /* Ensure menu container is visible */
    }
    nav {
        display: flex; /* Show menu for desktop */
        flex-direction: row;
        position: static;
        justify-content: center;
        background-color: transparent; /* Transparent for desktop */
        width: auto;
        top: auto; /* Reset top position for desktop */
    }
    nav a {
        margin: 0 1rem;
        padding: 0.5rem 1rem;
        text-align: left;
    }
    .menu-toggle {
        display: none; /* Hide toggle button for desktop */
    }
    .container {
        margin-top: 80px; /* Adjust margin for desktop */
    }
    .form-group {
        flex-direction: row;
        align-items: flex-start; /* Align items at the start */
    }

    label {
        width: 150px;
        margin-bottom: 0;
        margin-right: 1rem;
        text-align: right;
    }

    input[type="text"],
    input[type="email"] {
        width: 300px; /* Fixed width for name and email on larger screens */
    }

    textarea {
        flex: 1;
        max-width: none; /* Remove max width on larger screens */
    }

}
