/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

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

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

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

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

/* Animation classes for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* Image loading placeholder */
img {
    background-color: #e2e8f0;
}
