/* ==========================================================================
   AA SOLUTIONS — ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* Keyframe Animations */
@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(20, 184, 166, 0.3); }
    50% { box-shadow: 0 0 35px rgba(245, 158, 11, 0.6); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Helper Animation Classes */
.animate-float {
    animation: floatAnim 5s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

.pulse-ring {
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--accent);
    border-radius: inherit;
    animation: ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

/* Background Particle Canvas overlay */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Scroll reveal initial states */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}
