/* ============================================================
   ANIMATIONS.CSS – All Keyframes & Fade Effects
   ============================================================ */

/* --- Fade In Up --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- Float Animation (Hero Image) --- */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
.hero-image img { animation: float 6s ease-in-out infinite; }

/* --- Typing Cursor Blink --- */
@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--primary); }
}
.typing { border-right: 3px solid var(--primary); animation: blink 0.75s step-end infinite; padding-right: 5px; }

/* --- Gradient Background Shapes --- */
@keyframes moveShape1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}
@keyframes moveShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}
.shape-1 { animation: moveShape1 8s ease-in-out infinite; }
.shape-2 { animation: moveShape2 10s ease-in-out infinite; }

/* --- Hover Lift for Cards --- */
.card, .testimonial-card, .portfolio-item, .feature-card { will-change: transform; }

/* --- Button Pulse --- */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}
.btn-primary { animation: pulse 2.5s infinite; }

/* --- Floating Dots Animation (Features Section) --- */
@keyframes floatDot {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-20px) scale(1.3); opacity: 0.5; }
}