/* Gallery Carousel Styling */
.gallery {
    text-align: center;
    padding: 20px;
}

.gallery h3 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

.gallery {
    max-width: 600px;
    position: relative;
    margin: 20px auto;
}

/* Hide all images by default */
.gallery img {
    display: none;
    width: 300px;
    height: auto;
    animation: fade 1s;
}

/* Show only the active image */
.gallery img.active {
    display: block;
}

/* Fade animation */
@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Navigation buttons */
.gallery-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 18px;
    border: none;
    transition: 0.3s ease;
    border-radius: 3px;
    z-index: 10;
}

.gallery-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery-button.prev {
    left: 0;
}

.gallery-button.next {
    right: 0;
}

/* Dot indicators */
.gallery-dots {
    text-align: center;
    padding: 20px;
}

.gallery-dots .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.gallery-dots .dot.active {
    background-color: #717171;
}