/* General reset and body styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f9fc;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Banner styles */
.banner {
    text-align: center;
    padding: 2rem;
    background-color: #ffeaa7;
    width: 100%;
    position: absolute;
    top: 0;
}

.banner h1 {
    font-size: 2.5rem;
    color: #d63031;
}

/* Centered form container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Fill the viewport height */
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
}

/* Form input fields */
input[type="text"], input[type="email"], textarea {
    padding: 0.5rem;
    font-size: 1rem;
    border: 2px solid #dcdde1;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 1rem;
}

textarea {
    height: 100px;
}

/* Button row for Send and Back buttons */
.button-row {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Make the button row take full width */
}

/* Button styles */
.btn {
    padding: 1rem;
    background-color: #55efc4;
    color: #2d3436;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    width: 48%; /* Ensure buttons are less than 50% width to fit side by side */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn:hover {
    background-color: #81ecec;
    transform: scale(1.05);
}

/* Footer styles */
footer {
    padding: 1rem;
    text-align: center;
    background-color: #ffeaa7;
    width: 100%;
    position: absolute;
    bottom: 0;
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    .banner h1 {
        font-size: 2rem;
    }

    .form-container {
        padding: 1.5rem;
        width: 90%; /* Allow some flexibility on smaller screens */
    }

    .button-row {
        flex-direction: row; /* Ensure buttons stay in a row even on mobile */
    }

    .btn {
        font-size: 1rem;
        width: 48%; /* Ensure buttons remain side by side */
    }
}
