/* ===========================
   SLIDER MAIN WRAPPER
=========================== */
.slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
}

/* ===========================
   CENTER TEXT BAR OVER IMAGE
=========================== */
.slider-text-bar {
    position: absolute;
    top: 50%;                 /* middle of slider */
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 100%;
    background: rgba(255,255,255,0.45);   /* white background with slight transparency */
    padding: 25px 0;
    text-align: center;
    z-index: 10;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.slider-text-bar h2 {
    font-size: 32px;
    margin: 0;
    font-weight: 700;
    color: #333;
}

/* ===========================
   SLIDES
=========================== */
.slides {
    position: relative;
    width: 100%;
    height: 60vh;      /* adjust if needed */
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   DOT INDICATORS
=========================== */
.indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 11;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    display: inline-block;
    background: #888;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.active-dot {
    background: white;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .slider-text-bar h2 {
        font-size: 24px;
    }
    .slides { height: 45vh; }
}

@media (max-width: 480px) {
    .slider-text-bar h2 {
        font-size: 20px;
    }
    .slides { height: 40vh; }
}