/* Custom styles and animations */

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

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

::-webkit-scrollbar-track {
    background: #0a1f38;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #8bc4aa;
}

/* Selection color */
::selection {
    background: #b8e6d3;
    color: #0a1f38;
}

/* Mobile menu animation */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #b8e6d3;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
