/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal[data-reveal-delay="100ms"] { transition-delay: 100ms; }
.scroll-reveal[data-reveal-delay="200ms"] { transition-delay: 200ms; }
.scroll-reveal[data-reveal-delay="300ms"] { transition-delay: 300ms; }
.scroll-reveal[data-reveal-delay="400ms"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(2, 44, 34, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfcf8;
}
::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Button hover animations */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Selection */
::selection {
    background: #059669;
    color: #fff;
}

/* Image loading */
img {
    opacity: 1;
}
