/* contact.css - Stylish Professional Look */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body */
body {
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 30px 20px;
    color: #1e1e1e;
}

/* Heading */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #9505dd;
    text-align: center;
    letter-spacing: 1px;
}

/* Flash messages */
.flash {
    background-color: #e6ffed;
    color: #0f5132;
    border: 1px solid #badbcc;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    font-weight: 500;
}

/* Form container */
form {
    background-color: #ffffff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    transition: transform 0.3s;
}

/* Form hover effect */
form:hover {
    transform: translateY(-5px);
}

/* Labels */
form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

/* Inputs and textarea */
form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 22px;
    border: 1px solid #ccd6e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Input focus */
form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #ffb400;
    box-shadow: 0 4px 12px rgba(255, 180, 0, 0.3);
    outline: none;
}

/* Textarea */
form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit button */
form button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ffb400, #ff7f50);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 127, 80, 0.3);
}

/* Button hover */
form button:hover {
    background: linear-gradient(135deg, #ff7f50, #ffb400);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 127, 80, 0.4);
}

/* Responsive */
@media (max-width: 600px) {
    form {
        padding: 25px 20px;
    }
    h1 {
        font-size: 2rem;
    }
}
