a{
    text-decoration: none;
}

.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* width: 80%; */
    max-width: 600px;
    animation: fadeIn 0.6s ease-in-out;
    margin: 20px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    font-weight: 600;
}

input,
textarea {
    margin-bottom: 15px;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.required {
    color: red;
}

.form-container span {
    font-size: 12px;
    color: red;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .form-container {
        padding: 20px;
        width: 90%;
    }
}

/* Ensure the form doesn't get hidden behind header or footer */
html,
body {
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}