/* Custom styles beyond Tailwind */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom transitions */
.transition-all {
    transition: all 0.3s ease-in-out;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Mobile menu transitions */
.mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Custom focus styles */
a:focus, button:focus {
    outline: 2px solid #E41B17;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #002B5B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E41B17;
}

/* Custom button styles */
.btn-primary {
    background-color: #002B5B;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #001B3B;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #E41B17;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #C41813;
    transform: translateY(-1px);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Custom form styles */
.form-input {
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #002B5B;
    outline: none;
}

.form-input.error {
    border-color: #E41B17;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(0, 43, 91, 0.1);
    border-radius: 50%;
    border-top: 3px solid #002B5B;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom utility classes */
.text-gradient {
    background: linear-gradient(90deg, #002B5B 0%, #E41B17 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
}
