.slider-container {
    max-width: 800px;   /* Should match the image width */
    margin: 2em auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.slider {
    display: flex;          /* Put images side by side */
    width: calc(800px * 4); /* 4 images x 800px */
    transition: transform 0.5s ease-in-out;
}
.slider img {
    width: 800px;
    object-fit: contain;   /* Keep aspect ratio */
    flex-shrink: 0;
}
.slide {
    position: relative;
    width: 800px;
    flex-shrink: 0;
}

.dots {
    text-align: center;
    margin-top: 12px;
}
.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: #333;
}

.caption {
    display: none;  /* hide captions by default */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1em;
    text-align: center;
}
