#clients-image {
    background-image: url('../assets/tourist.jpg');
}

.container {
    max-width: 1320px;
    padding: 15px;
    margin: 50px auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 50px;
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 40px;
}

.grid-item {
    text-align: center;
    padding: 15px;
    overflow: hidden;
    transform: translateY(-150px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.grid-item.visible {
    opacity: 1;
    transform: translateY(0);
  }

.grid-image-wrapper {
    aspect-ratio: 1;
}

.grid-image-wrapper img {
    width: 0;
    height: 0;
    min-height: 100%;
    min-width: 100%;
    display: block;
    object-fit: cover;
}

.grid-item h5 {
    margin-top: 10px;
}

.other-references {
    text-align: center;
    max-width: 1320px;
}

.other-references h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.other-references h3 {
    line-height: 66px;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
}

.logos img {
    height: auto;
    max-height: 140px;
    width: clamp(50px, 8vw, 138px);
    max-width: 138px;
}

@media (max-width: 1365px) {
    .container {
        max-width: 90%;

    }; 
}

@media (max-width: 991px) {
    .container {
        max-width: 100%;

    }; 
}

@media (max-width: 991px) {
    .container {
        max-width: 100%;

    }; 
}

@media (max-width: 800px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }; 
}

@media (max-width: 575px) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }; 
}