/* =========================================================================
   MANPOWER OUTSOURCING PAGE SPECIFIC ANIMATIONS - PREMIUM
========================================================================= */

.manpower-hero {
    animation: heroFadeIn 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.manpower-hero .hero-bg {
    transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.manpower-hero .hero-bg.zoom {
    animation: manpowerHeroZoom 11s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.manpower-hero .hero-animate {
    transform: translateY(46px);
    transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.manpower-hero.text-show .hero-title {
    transition-delay: 0.2s;
    animation: titleGlowIn 1.35s ease-out both 0.2s;
}

.manpower-hero.text-show .hero-subtitle {
    transition-delay: 0.55s;
}

.manpower-hero.text-show .hero-btns {
    transition-delay: 0.85s;
}

@keyframes manpowerHeroZoom {
    from {
        transform: scale(1);
        filter: brightness(1);
    }
    to {
        transform: scale(1.12);
        filter: brightness(0.92);
    }
}

/* SERVICE CARD EXPANSION - Scale + Glow */
.service-expansion-card {
    animation: cardExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardExpand {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.service-expansion-card:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 25px 70px rgba(108, 111, 255, 0.35);
    background: linear-gradient(135deg, rgba(108, 111, 255, 0.15), rgba(143, 240, 251, 0.1));
}

/* RECRUITMENT FLOW ANIMATION - Cascade */
.recruitment-step {
    animation: recruitmentStep 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.recruitment-step:nth-child(1) { animation-delay: 0.0s; }
.recruitment-step:nth-child(2) { animation-delay: 0.2s; }
.recruitment-step:nth-child(3) { animation-delay: 0.4s; }
.recruitment-step:nth-child(4) { animation-delay: 0.6s; }

@keyframes recruitmentStep {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.recruitment-step::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: stepLine 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes stepLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

.recruitment-step:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(108, 111, 255, 0.2);
}

/* EMPLOYMENT TYPE BADGE ROTATION - Premium */
.employment-badge {
    animation: badgeRotation 3s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@keyframes badgeRotation {
    0% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 5px rgba(108, 111, 255, 0.2));
    }
    50% {
        transform: rotate(180deg) scale(1.08);
        filter: drop-shadow(0 0 15px rgba(108, 111, 255, 0.5));
    }
    100% {
        transform: rotate(360deg) scale(1);
        filter: drop-shadow(0 0 5px rgba(108, 111, 255, 0.2));
    }
}

.employment-badge:hover {
    animation-play-state: paused;
    filter: drop-shadow(0 0 20px rgba(108, 111, 255, 0.7));
}

/* COMPLIANCE CHECKLIST ANIMATION - Staggered */
.compliance-check {
    animation: checkMark 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.compliance-check:nth-child(1) { animation-delay: 0.0s; }
.compliance-check:nth-child(2) { animation-delay: 0.15s; }
.compliance-check:nth-child(3) { animation-delay: 0.3s; }
.compliance-check:nth-child(4) { animation-delay: 0.45s; }
.compliance-check:nth-child(5) { animation-delay: 0.6s; }

@keyframes checkMark {
    from {
        opacity: 0;
        transform: translateX(-25px) scale(0.8);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.compliance-check::before {
    content: '';
    position: absolute;
    left: -8px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: checkCircle 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

@keyframes checkCircle {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.compliance-check:hover {
    transform: translateX(4px);
    color: var(--accent2);
}

/* PARTNER LOGO PULSE - Premium */
.partner-pulse {
    animation: partnerPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    transition: all 0.3s ease;
    position: relative;
}

@keyframes partnerPulse {
    0%, 100% {
        opacity: 0.75;
        transform: scale(1);
        filter: brightness(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
        filter: brightness(1.2);
    }
}

.partner-pulse::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(108, 111, 255, 0.2);
    border-radius: 8px;
    animation: partnerGlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes partnerGlow {
    0%, 100% {
        opacity: 0;
        box-shadow: 0 0 10px rgba(108, 111, 255, 0.1);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(108, 111, 255, 0.3);
    }
}

.partner-pulse:hover {
    animation-play-state: paused;
    opacity: 1;
    transform: scale(1.15);
    filter: brightness(1.3);
}

/* WORKFORCE DEPLOYMENT ANIMATION - Wave */
.deployment-flow {
    animation: deploymentFlow 2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    transition: all 0.3s ease;
}

@keyframes deploymentFlow {
    0% {
        opacity: 0.6;
        transform: translateX(-15px);
        filter: brightness(0.9);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
        filter: brightness(1.1);
    }
    100% {
        opacity: 0.6;
        transform: translateX(15px);
        filter: brightness(0.9);
    }
}

.deployment-flow:hover {
    animation-play-state: paused;
}

/* STATS GROWTH ANIMATION - Scale Pop */
.stats-grow {
    animation: statsGrow 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stats-grow:nth-child(1) { animation-delay: 0.0s; }
.stats-grow:nth-child(2) { animation-delay: 0.2s; }
.stats-grow:nth-child(3) { animation-delay: 0.4s; }
.stats-grow:nth-child(4) { animation-delay: 0.6s; }

@keyframes statsGrow {
    from {
        opacity: 0;
        transform: scale(0);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.stats-grow::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle, rgba(108, 111, 255, 0.2), transparent);
    border-radius: 50%;
    animation: statsRing 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

@keyframes statsRing {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(1.4);
    }
}

.stats-grow:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(108, 111, 255, 0.3);
}

