/* ANIMATIONS */
@keyframes float1 {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes float3 {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(10px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations to elements */
.section-hero .heading-primary {
    animation: fadeIn 1s ease-out;
}

.section-hero .hero-description {
    animation: fadeIn 1.5s ease-out;
}

.section-hero .btn {
    animation: fadeIn 2s ease-out;
}

.section-hero .delivered-meals {
    animation: fadeIn 2.5s ease-out;
}

.section-how .step-text-box {
    animation: slideInLeft 1s ease-out;
}

.section-how .step-img-box {
    animation: slideInRight 1s ease-out;
}

.section-services .service {
    animation: slideInUp 0.5s ease-out;
}

.section-services .service:nth-child(2) {
    animation-delay: 0.2s;
}

.section-services .service:nth-child(3) {
    animation-delay: 0.4s;
}

.section-testimonials .testimonial:nth-child(1) {
    animation: fadeIn 0.5s ease-out;
}

.section-testimonials .testimonial:nth-child(2) {
    animation: fadeIn 1s ease-out;
}

.section-testimonials .testimonial:nth-child(3) {
    animation: fadeIn 1.5s ease-out;
}

.section-testimonials .testimonial:nth-child(4) {
    animation: fadeIn 2s ease-out;
}

/* Hover animations */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.main-nav-link:hover {
    transform: translateY(-2px);
}

.service:hover {
    transform: translateY(-1.2rem) scale(1.03);
}

.menu-item:hover {
    transform: translateY(-1.2rem) scale(1.03);
}