/* --- Custom Feedback Form Styles --- */

/* This is the main container that holds the form content */
.form-wrapper {
    /* Use padding to create space from the header and footer */
    padding: 2rem 1rem;
}

/* The actual form box */
.form-container {
    max-width: 800px;
    /* KEY FOR CENTERING: margin: auto automatically centers the block horizontally */
    margin: 0 auto; 
    padding: 30px 40px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 5px solid #055f46;
    box-sizing: border-box;
}

/* Center the heading and paragraph text */
.form-container h1 {
    text-align: center;
    color: #024936;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 10px;
}

.form-container p.form-intro {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Other form styles (unchanged but included for completeness) --- */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #024936;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #058f6c;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    background-color: #055f46;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #044a38;
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- RESPONSIVE ADJUSTMENTS FOR MOBILE --- */
@media screen and (max-width: 768px) {
    .form-wrapper {
        /* Reduce padding on mobile to save vertical space */
        padding: 1rem;
    }

    .form-container {
        /* Reduce padding on smaller screens to make form feel bigger */
        padding: 20px;
    }
}