/* CSS for the image slider */
.image-slider {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.slider-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.slider-content img {
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    cursor: pointer;
    color: white;
}

/* Existing CSS for image gallery */
.about_box {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about_box figure {
    margin: 0;
    display: flex; /* Ensures images are displayed horizontally */
    transition: transform 0.5s ease;
    width: 100%; /* Ensure the figure takes the full width */
}

.about_box img {
    width: 100%;
    height: auto;
    flex-shrink: 0; /* Prevent images from shrinking */
    display: block;
}