/* animations.css */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--primary); }
    50% { box-shadow: 0 0 20px var(--primary); }
    100% { box-shadow: 0 0 5px var(--primary); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: none;
    }
    20% {
        transform: translate(-2px, 2px);
        text-shadow: 2px 2px var(--primary);
    }
    40% {
        transform: translate(-2px, -2px);
        text-shadow: 2px -2px var(--secondary);
    }
    60% {
        transform: translate(2px, 2px);
        text-shadow: -2px 2px var(--accent);
    }
    80% {
        transform: translate(2px, -2px);
        text-shadow: -2px -2px var(--primary);
    }
    100% {
        transform: translate(0);
        text-shadow: none;
    }
}

/* Particle Animation */
.particle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.1;
    animation: float 10s infinite;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: -2s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: -4s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: -6s; }
.particle:nth-child(5) { top: 40%; left: 50%; animation-delay: -8s; }

/* Apply Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

.feature-card i,
.service-icon i {
    animation: float 3s infinite;
}

.btn:hover {
    animation: glow 2s infinite;
}

.team-card:hover .profile-img {
    animation: float 3s infinite;
}

.social-btn:hover i {
    animation: none;
}

