/* Custom styles for the contact form */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    border-radius: 15px;
}

.card-body {
    background-color: #ffffff;
    border-radius: 15px;
}

.logo {
    max-height: 80px;
    max-width: 200px;
    height: auto;
    width: auto;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    font-size: 16px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: none;
}

.footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid #dee2e6;
    position: sticky;
    bottom: 0;
}

.footer-links a {
    color: #6c757d;
    font-size: 14px;
    transition: color 0.15s ease-in-out;
}

.footer-links a:hover {
    color: #0d6efd;
}

.alert {
    border-radius: 8px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

/* Loading state */
.btn-loading .btn-text {
    opacity: 0;
}

.btn-loading .spinner-border {
    display: inline-block !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .card-body {
        padding: 2rem !important;
    }
    
    .logo {
        max-height: 60px;
    }
    
    .footer-links {
        font-size: 12px;
    }
}

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

.alert {
    animation: fadeIn 0.3s ease-in-out;
}
