.hero-slider-con {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 62vh;
    overflow: hidden;
    background: #0a1628;
}

.hero-carousel .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08);
    filter: blur(8px) brightness(0.7);
    transition: none;
    z-index: 1;
}

.hero-carousel .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    filter: blur(0) brightness(1);
    z-index: 2;
    animation: heroKenBurns 18s ease-in-out infinite alternate;
}

.hero-carousel .hero-slide.is-leaving {
    z-index: 3;
    animation: heroCinematicLeave 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-carousel .hero-slide.is-entering {
    z-index: 4;
    visibility: visible;
    animation: heroCinematicEnter 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-cinematic-vignette {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(10, 22, 40, 0.12) 0%, transparent 40%, transparent 60%, rgba(10, 22, 40, 0.3) 100%),
        radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.22) 100%);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-nav span {
    display: block;
    margin-top: -2px;
}

.hero-nav:hover {
    background: rgba(10, 22, 40, 0.75);
    border-color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 30;
}

.hero-dot {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
    background: #fff;
    width: 52px;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

@keyframes heroCinematicEnter {
    from {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(10px) brightness(0.75);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0) brightness(1);
    }
}

@keyframes heroCinematicLeave {
    from {
        opacity: 1;
        transform: scale(1);
        filter: blur(0) brightness(1);
    }
    to {
        opacity: 0;
        transform: scale(1.06);
        filter: blur(6px) brightness(0.85);
    }
}

@keyframes heroKenBurns {
    from {
        transform: scale(1) translate(0, 0);
    }
    to {
        transform: scale(1.07) translate(-1%, -0.5%);
    }
}

@media (max-width: 991px) {
    .hero-carousel {
        min-height: 52vh;
    }

    .hero-nav {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .hero-nav-prev {
        left: 12px;
    }

    .hero-nav-next {
        right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel .hero-slide.is-active {
        animation: none;
    }

    .hero-carousel .hero-slide.is-leaving,
    .hero-carousel .hero-slide.is-entering {
        animation: none;
    }
}
