/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
}

/* Container for the Form */
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Form Header */
h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
}

/* Form Labels */
label {
    display: block;
    font-size: 16px;
    margin: 10px 0 5px;
    color: #555;
}

/* Input and Textarea Styling */
input[type="text"],
input[type="email"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
}

textarea {
    height: 150px;
    resize: vertical;
}

/* File Input Styling */
input[type="file"] {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

/* Submit Button */
button[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Error and Success Messages */
.alert {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        width: 90%;
    }

    input[type="text"],
    input[type="email"],
    textarea,
    input[type="file"],
    button[type="submit"] {
        font-size: 14px;
    }

    h1 {
        font-size: 22px;
    }
}
