.hero-slider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
        z-index: 1;
    }


    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    /* Dark overlay */

    .slide:after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.0);
    }


/* Text */

.caption {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    max-width: 600px;
}


    .caption h1 {
        font-size: 48px;
        margin-bottom: 15px;
        animation: fadeUp 1s;
    }


    .caption p {
        font-size: 20px;
        margin-bottom: 25px;
    }


.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00a8ff;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: .3s;
}

    .btn:hover {
        background: #0077b6;
    }



/* Buttons */

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,.3);
    border: 0;
    color: white;
    font-size: 35px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}


.prev {
    left: 20px;
}


.next {
    right: 20px;
}


/* dots */

.dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}


.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: white;
    opacity: .5;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}


    .dot.active {
        opacity: 1;
        background: #00a8ff;
    }



@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Mobile */

/*@media(max-width:768px) {

    .hero-slider {
        height: 350px;
    }

    .caption h1 {
        font-size: 28px;
    }

    .caption p {
        font-size: 16px;
    }
}


.slide.active img {
    animation: zoomEffect 6s ease;
}


@keyframes zoomEffect {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}
*/