/* Global Styles */
body {
    background-color: #f0fdf4;
}

/* Reveal Animation Styles */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Table rows can't translate properly - use opacity only */
tr.reveal {
    transform: none;
    transition: opacity 0.8s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

tr.reveal.is-visible {
    transform: none;
}

/* Stagger animation for grid/flex children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.55s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.7s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.85s; }
.reveal-stagger > .reveal:nth-child(n+7) { transition-delay: 1s; }

/* Pulse animation for badges */
@keyframes pulse-slow {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Float animation */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Gradient animation */
@keyframes gradient-shift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

/* Scroll animations for testimonials */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.testimonial-scroll-left {
    animation: scroll-left 30s linear infinite;
    display: flex;
    gap: 1.5rem;
}

.testimonial-scroll-right {
    animation: scroll-right 30s linear infinite;
    display: flex;
    gap: 1.5rem;
}

.testimonial-scroll-left:hover,
.testimonial-scroll-right:hover {
    animation-play-state: paused;
}

.testimonial-card {
    user-select: none;
    flex-shrink: 0;
    width: 400px;
    max-width: 90vw;
    border-radius: 1rem;
    border: 1px solid rgb(220 252 231);
    background: linear-gradient(to bottom right, white, rgb(240 253 244));
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

@media (max-width: 640px) {
    .testimonial-card {
        width: 320px;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        width: 280px;
        padding: 1rem;
    }
}

.testimonial-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
