/* Form Validation Styles */

/* Error styles */
.error {
    border: 1px solid #ff3860 !important;
    background-color: #fff8f8 !important;
}

.error-message {
    color: #ff3860;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.3s;
}

/* Success message */
.success-message {
    background-color: #23d160;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.5s;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Focus styles for form elements */
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.2);
    outline: none;
}

/* Hover styles for form elements */
.contact-form input:hover:not(:focus),
.contact-form textarea:hover:not(:focus) {
    border-color: #b2ebf2;
}