/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d9cde3;
    border-radius: 5px;
}

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

/* Ensure all text is readable */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #ffbc33;
    outline-offset: 2px;
}

/* Smooth transitions for interactive elements */
button, a {
    transition: all 0.2s ease-in-out;
}

/* Prevent layout shift on images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Animation for scroll-triggered elements */
.scroll-trigger {
    will-change: opacity, transform;
}

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}
