body {
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    margin: 0; /* Removes default margin */
}
.container {
    position: absolute; /* Positions the container relative to the nearest positioned ancestor (banner) */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Aligns the center of the element with the center of its parent */
    width: 90%; /* Adjust width based on your preference */
    max-width: 600px; /* Maximum width of the container */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black box */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Adds subtle shadow for better visibility */
    z-index: 2; /* Ensures it's above the banner image */
}

p {
    font-size: 1em;
    line-height: 1.5;
    color: #ffffff; /* Improved readability */
}

h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #ffffff; /* Consistent white color */
}
.cta-text {
    font-size: 1em;
    font-weight: bold;
    color: #ffdd57; /* Eye-catching color */
    margin-top: 10px;
    margin-bottom: 20px;
}

.banner {
    position: relative; /* Establishes a positioning context */
    width: 100%;
    height: auto; /* Adjust based on your preference */
    overflow: hidden;
}


.banner-image {
    width: 100%;
    height: 100vh; /* This makes the image cover the full viewport height */
    object-fit: cover; /* Ensures the image covers the area without distorting aspect ratio */
    display: block; /* Removes bottom space/gap */
}




input[type="email"] {
    padding: 10px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    width: 80%;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}
.flash-messages {
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.alert {
    padding: 10px;
    color: #fff;
    background-color: #007bff; /* Blue for general info messages */
    margin: 10px;
    border-radius: 5px;
}

.alert-success {
    background-color: #28a745; /* Green for success messages */
}

.alert-error {
    background-color: #dc3545; /* Red for error messages */
}
