/* Additional custom styles beyond Tailwind */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom selection color */
::selection {
    background: rgba(16, 185, 129, 0.2);
    color: #064E3B;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDFCF8;
}
::-webkit-scrollbar-thumb {
    background: #A7F3D0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #34D399;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .stat-card { animation: none; }
    .marquee-track { animation: none; }
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #F2EDE0 0%, #E8DFC8 100%);
}

/* Prevent layout shift on images */
img {
    vertical-align: middle;
}
