body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333333;
    margin: 0;
    padding: 0;
}

#contact-form-container {
    width: 80%;
    margin: 50px auto;
}

#contact-form {
    margin: 0 auto;
    width: 70%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#contact-form h2 {
    margin-top: 0;
    text-align: center;
    color: #007BFF;
}

#contact-form form {
    display: flex;
    flex-direction: column;
}

#contact-form label {
    margin-bottom: 8px;
    color: #555555;
}

#contact-form input,
#contact-form textarea {
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease-in-out;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(100% - 24px); /* Adjusted width to account for padding */
}

#contact-form input[type="submit"] {
    background-color: #034D30;
    color: white;
    border: none;
    cursor: pointer;
    padding: 14px 24px;
    border-radius: 6px;
    transition: background-color 0.3s ease-in-out;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: auto; /* Auto width for submit button */
}

#contact-form input[type="submit"]:hover {
    background-color: #25D366; 
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #034D30;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 25px;
}
