/* Custom animations and utilities */
@keyframes scroll-down {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}

.animate-scroll-down {
    animation: scroll-down 1.5s ease-in-out infinite;
}

/* Scroll reveal base styles — content is always visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Progressive enhancement: hide and animate on scroll via JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden-init {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
}

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

/* Selection color */
::selection {
    background: #065f46;
    color: #fdfbf7;
}
