/* ============================================
   BITINDA EXPRESS — Animations
   ============================================ */

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -40px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translate3d(-40px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translate3d(40px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale3d(0.9, 0.9, 0.9); }
    to { opacity: 1; transform: scale3d(1, 1, 1); }
}

@keyframes slideUp {
    from { transform: translate3d(0, 60px, 0); opacity: 0; }
    to { transform: translate3d(0, 0, 0); opacity: 1; }
}

/* Hero title reveal */
.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-line span {
    display: block;
    animation: heroReveal 0.9s cubic-bezier(0.85, 0, 0.15, 1) forwards;
    transform: translateY(100%);
}

.hero-title-line:nth-child(1) span { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) span { animation-delay: 0.25s; }

@keyframes heroReveal {
    to { transform: translateY(0); }
}

/* Service card stagger */
.service-card {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.15s; }
.service-card:nth-child(4) { animation-delay: 0.2s; }
.service-card:nth-child(5) { animation-delay: 0.25s; }
.service-card:nth-child(6) { animation-delay: 0.3s; }
.service-card:nth-child(7) { animation-delay: 0.35s; }
.service-card:nth-child(8) { animation-delay: 0.4s; }

/* Process card stagger */
.process-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.process-card:nth-child(1) { animation-delay: 0.1s; }
.process-card:nth-child(2) { animation-delay: 0.2s; }
.process-card:nth-child(3) { animation-delay: 0.3s; }
.process-card:nth-child(4) { animation-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-aos] {
        opacity: 1;
        transform: none;
    }
}
/* ===== LOGO PARTICULES ===== */
.logo-particles {
    position: absolute;
    inset: -10px;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.logo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--red);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
    opacity: 0;
}

.logo-particle:nth-child(1) { top: 0; left: 20%; animation-delay: 0s; }
.logo-particle:nth-child(2) { top: 20%; right: 0; animation-delay: 0.3s; }
.logo-particle:nth-child(3) { bottom: 0; left: 50%; animation-delay: 0.6s; }
.logo-particle:nth-child(4) { top: 50%; left: 0; animation-delay: 0.9s; }
.logo-particle:nth-child(5) { top: 10%; right: 30%; animation-delay: 1.2s; }
.logo-particle:nth-child(6) { bottom: 20%; left: 30%; animation-delay: 1.5s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.6; }
    50% { transform: translateY(-8px) scale(1.5); opacity: 0; }
}