/* =========================================================
   FORCEVA WORKFORCE SOLUTIONS
   Animations
========================================================= */

/* Fade Up */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Fade In */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Hero Animations */

.hero .section-label {
    animation: fadeUp 0.7s ease forwards;
}

.hero h1 {
    animation: fadeUp 0.8s ease 0.15s both;
}

.hero-content > p {
    animation: fadeUp 0.8s ease 0.3s both;
}

.hero-buttons {
    animation: fadeUp 0.8s ease 0.45s both;
}

.hero-features {
    animation: fadeUp 0.8s ease 0.6s both;
}


/* Card Hover Effects */

.service-card,
.industry-card,
.contact-item {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Image Hover */

.about-image img,
.why-image img {
    transition: transform 0.5s ease;
}

.about-image,
.why-image {
    overflow: hidden;
    border-radius: 10px;
}

.about-image:hover img,
.why-image:hover img {
    transform: scale(1.03);
}


/* Button Icon Movement */

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}


/* WhatsApp Pulse */

@keyframes whatsappPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }

}

.whatsapp-btn {
    animation: whatsappPulse 2s infinite;
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}