/* ===== DRAG-UP ANIMATIONS ===== */
@keyframes dragUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dragUpSlow {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dragUpFast {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ELEMENT ANIMATIONS ===== */

/* Services Hero Section */
.services-hero-content {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.services-hero-title {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

.services-hero-subtitle {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}

/* Section Headers */
.section-header {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.section-title {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}

.section-subtitle {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

/* Service Cards - Staggered drag-up */
.service-card {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    opacity: 0; /* Hidden initially */
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Why Choose Us Features */
.feature-item {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    opacity: 0; /* Hidden initially */
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.3s; }
.feature-item:nth-child(3) { animation-delay: 0.4s; }
.feature-item:nth-child(4) { animation-delay: 0.5s; }

/* CTA Section */
.services-cta-content {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.services-cta-title {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

.services-cta-text {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}

.services-cta-button {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}

/* Footer Sections */
.footer-container > div {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    opacity: 0; /* Hidden initially */
}

.footer-container > div:nth-child(1) { animation-delay: 0.1s; }
.footer-container > div:nth-child(2) { animation-delay: 0.2s; }
.footer-container > div:nth-child(3) { animation-delay: 0.3s; }

/* ===== SCROLL TRIGGER ANIMATIONS ===== */
/* These classes will be added via JavaScript when elements enter viewport */
.animate-on-scroll {
    animation: dragUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}