/* css/animations.css */

/* View Transitions */
.fade-enter {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered load for cards inside sections */
.stagger-1 {
    animation: slideUpFade 0.5s ease 0.1s both;
}

.stagger-2 {
    animation: slideUpFade 0.5s ease 0.2s both;
}

.stagger-3 {
    animation: slideUpFade 0.5s ease 0.3s both;
}

.stagger-4 {
    animation: slideUpFade 0.5s ease 0.4s both;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulsing effect for tech elements */
.pulse-glow {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 112, 243, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 112, 243, 0);
    }
}

/* Floating animation */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}