.random-images-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    max-width: 90%;
    margin: 20px auto;
}
.random-image {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.random-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    opacity: 0;
    transform: scale(1.05);
}
.random-image img.fade-in {
    opacity: 1;
    transform: scale(1);
}
.random-image img.fade-out {
    opacity: 0;
    transform: scale(1.05);
}
@media (max-width: 767px) {
    .random-images-wrapper {
        grid-template-columns: 1fr;
    }
}
