.amenities {
    text-align: center;
    padding: 50px 20px;
    background-color: #f2f2f2;
}

.section-title {
    font-size: 2.1rem;
    color: #333;
}

.amenities .separation-line {
    margin: 20px auto 40px auto;
}

.amenities-container {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    gap: 50px;
}

.amenity-item {
    width: 200px;
    text-align: center;
}

.amenity-item img {
    width: 60px;
    margin-bottom: 10px;
}

.amenity-item p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .amenities-container {
        flex-direction: row;
        justify-content: center;
    }

    .amenity-item {
        flex: 1 1 calc(33% - 20px);
        /* 3 items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .amenity-item {
        flex: 1 1 calc(50% - 20px);
        /* 2 items per row on very small screens */
    }
}