.display-4 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 0px;
    margin-bottom: 30px;
    color: #fdfefe;
}

.sliders-container {
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    text-align: justify;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;   /* responsive height */
}

.slide {
    display:none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease-in-out;
}

.slide.active { display:block; opacity: 1;}
.slide img { width:100%; height:100%; object-fit:cover; }


/* Arrows */
.nav1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 6px 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: .3s;
}

.nav1:hover {
    background: rgba(0,0,0,.8);
}

.prev { left: 15px; }
.next { right: 15px; }

/* Dots */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
}

.dot.active {
    width: 24px;
    height: 16px;
    background: #28a745;
}

@media (max-width: 768px) {

    .nav1 {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .prev {
        left: 8px;
    }

    .next {
        right: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .dot.active {
        width: 22px;
        height: 14px;
    }
}
