* {
    scroll-behavior: smooth;


}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}


@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(15deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


.wave-hand {
    animation: wave 1.5s ease-in-out infinite;
    transform-origin: bottom center;
}

.center-slide {
    transform: scale(1.1);
    filter: blur(0);
    opacity: 1;
    z-index: 10;
}

.side-slide {
    transform: scale(0.8);
    filter: blur(2px);
    opacity: 0.6;
    z-index: 5;
}

.bg-slider {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* STICKY */
    transition: background-image 1s ease-in-out;
    /* Smooth fade */
}

section {
    scroll-snap-align: start;
}

.testimonial {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 400px;
    transform: translate(-50%, -50%) scale(0.7);

    transition: transform 0.7s ease, opacity 0.7s ease, z-index 0.7s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 5;
}

.left1 {
    transform: translate(-120%, -50%) scale(0.8);
    z-index: 4;
}

.left2 {
    transform: translate(-150%, -50%) scale(0.7);
    z-index: 3;
}

.right1 {
    transform: translate(20%, -50%) scale(0.8);
    z-index: 4;
}

.right2 {
    transform: translate(50%, -50%) scale(0.7);
    z-index: 3;
}

.hide {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}


/* 🚀 Rocket fly-up animation with smoother transitions */
@keyframes fly-up {
    0% {
        transform: translateY(40vh) scale(1);
        opacity: 1;
    }
    
    100% {
        transform: translateY(-50vh) scale(1);
        opacity: 0;
    }
}

.rocket {
    transition: opacity 2s ease-in-out, transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rocket.fly-up {
    animation: fly-up 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 📸 Smooth fade in */
.change-rocket {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.change-rocket.show {
    opacity: 1;
}
