/* Hero Slider Custom Styles */

/* Mobile: show the blue info banner before the hero; desktop: keep original order */
.waya-home-hero-stack {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .waya-home-hero-stack {
        flex-direction: column;
    }
}

.hero-slider {
    width: 100%;
    height: 520px;
}

@media (min-width: 768px) {
    .hero-slider {
        height: 550px;
    }
}

@media (min-width: 1024px) {
    .hero-slider {
        height: 650px;
    }
}

/* Make slide content fill the hero container so pagination sits on the image */
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide,
.hero-slider .swiper-slide > div {
    height: 100%;
}

/* Navigation Buttons */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    display: none;
}

/* Pagination Bullets */
.hero-slider .swiper-pagination {
    bottom: 12px !important;
    z-index: 10;
}

.hero-slider .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 3px;
    margin: 0 3px !important;
    transition: width 250ms ease, background-color 250ms ease;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 18px;
}

/* Match the app's easeInOut animation feel */
.hero-slider .swiper-wrapper {
    transition-timing-function: ease-in-out;
}

/* Fade-in animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}
