#contact {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: auto;
    transition: transform 0.3s ease-in-out;
}

#contact:hover {
    transform: scale(1.03);
}

#contact h2 {
    margin-bottom: 20px;
    font-size: 26px;
    color: #333;
    text-transform: uppercase;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-box {
    position: relative;
}

.input-field input, .textarea-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    background: #f8f9fa;
    transition: 0.3s ease-in-out;
}

.input-field input:focus, .textarea-field textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
    background: #fff;
}

.error-txt {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* Textarea */
.textarea-field textarea {
    resize: none;
    height: 100px;
}

/* Submit Button */
button {
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

button:hover {
    background: linear-gradient(135deg, #0056b3, #003f7f);
    box-shadow: 0 4px 10px rgba(0, 91, 187, 0.6);
}

/* Responsive Design */
@media (max-width: 600px) {
    #contact {
        padding: 20px;
        max-width: 90%;
    }
    button {
        font-size: 16px;
        padding: 10px;
    }
}