/* Contact Form Styles */

/* Result messages container */
#result {
    margin-bottom: 20px;
}

/* Success message */
#result .alert-success,
.alert-success {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #4CAF50;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
    animation: slideInDown 0.5s ease;
}

/* Error message */
#result .alert-danger,
.alert-danger {
    background: rgba(244, 67, 54, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #f44336;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
    animation: slideInDown 0.5s ease;
}

/* Form fields styling */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #333;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

/* Submit button loading state */
.contact_btn i.fa-spinner {
    margin-right: 8px;
}

.contact_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animation for messages */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form .form-control {
        font-size: 14px;
        padding: 10px 12px;
    }

    #result .alert-success,
    #result .alert-danger,
    .alert-success,
    .alert-danger {
        padding: 12px 15px;
        font-size: 14px;
    }
}
