/* Stylesheet overrides & animations */

/* Smooth Scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem; /* Navbar offset */
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f6faff;
}
::-webkit-scrollbar-thumb {
    background: #455098;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #24233f;
}

/* Scroll animation classes */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus styles for accessibility */
input:focus, textarea:focus, select:focus {
    outline: none;
}
