/* ================= SLIDER ================= */

.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

/* IMPORTANT: supports your .slides wrapper */
.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* DARK OVERLAY */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

/* CONTENT */
.content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.text {
    max-width: 600px;
}

.text h4 {
    margin-bottom: 10px;
}

.text h1 {
    font-size: 55px;
    font-weight: 800;
}

.text h1 span {
    color: #ff1e1e;
}

.text p {
    margin: 15px 0;
    color: #ddd;
}

/* BUTTON (uses your existing style but safe override) */
.hero-slider .btn {
    background: #2f3a44;
    color: #fff;
}

.hero-slider .btn:hover {
    background: #ff0019;
}

/* BADGE */
.badge {
    background: red;
    color: #fff;
    padding: 20px;
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
}

/* NAV ARROWS */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 3;
}

.prev { left: 20px; }
.next { right: 20px; }

/* DOTS */
.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dots span {
    width: 10px;
    height: 10px;
    background: #bbb;
    display: inline-block;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.dots span.active {
    background: #fff;
}
/* ================= ELITE ANIMATIONS ================= */

/* BACKGROUND ZOOM EFFECT */
.slide {
    transform: scale(1);
}

.slide.active {
    animation: zoomEffect 6s ease-in-out forwards;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* TEXT ANIMATION */
.text {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .text {
    animation: textFadeUp 1s ease forwards;
}

@keyframes textFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BUTTON ANIMATION */
.slide.active .btn {
    animation: fadeInBtn 1.2s ease forwards;
}

@keyframes fadeInBtn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BADGE POP EFFECT */
.slide.active .badge {
    animation: popIn 0.8s ease forwards;
}

@keyframes popIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* SMOOTHER TRANSITION */
.slide {
    transition: opacity 0.8s ease;
}