/* Custom styles for ALC Risk Solutions */

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

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

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

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

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

/* Selection color */
::selection {
    background: #B85C38;
    color: white;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

/* Smooth transitions for navbar */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
