.nuoman-testimonials {
    padding: 80px 0;
    background: #F8F8F8;
}

.nuoman-testimonials .title-con {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.nuoman-testimonials .conList {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.conList .list-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.conList .list-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    background: rgba(42, 139, 31, 0.60);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.conList .list-item:hover::after {
    visibility: visible;
    opacity: 1;
    top: 0;
}

.list-item img {
    width: 100%;
    aspect-ratio: 285/525;
    object-fit: cover;
}

.list-item .text-con {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
}

.list-item .text-con .title {
    color: var(--text-color-white);
}

.list-item .text-con .desc {
    color: var(--text-color-white);
    font-family: var(--desc-font-family);
    font-size: var(--desc-font-size);
    font-style: var(--font-style);
    font-weight: var(--desc-font-weight);
    line-height: 150%;
    /* 150% */
    overflow-y: auto;
}

.list-item .text-con .desc::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}

.list-item .text-con .desc::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.list-item .text-con .desc::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 992px) {
    .nuoman-testimonials .conList {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nuoman-testimonials{
        padding: 40px 0;
    }
    .list-item .text-con {
        padding: 10px;
    }
}