/* Custom styles for ESPWA Consulting */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stat card floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-card {
    animation: float 4s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    animation-delay: 2s;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #c5dfcc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #98c5a3;
}

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

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