@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #729e72;
}

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

/* Selection color */
::selection {
    background-color: #c5d6c5;
    color: #1f341f;
}

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

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover .group-hover:scale-105 {
        transform: none;
    }
}
