/* ================= HOVER & ENTRANCE EFFECTS ================= */

/* Fade-in Entrance for Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card, .tool-card, .why-card {
    animation: fadeInUp 0.5s ease backwards;
}

/* Delaying animations for grids to look smoother */
.category-card:nth-child(1), .tool-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2), .tool-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3), .tool-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4), .tool-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5), .tool-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6), .tool-card:nth-child(6) { animation-delay: 0.6s; }

/* Pulse animation for CTA icons */
@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.category-card:hover .icon {
    animation: iconPulse 0.6s ease-in-out infinite;
}

