#section-8 {
    margin-top: 100px;
}
 
#section-8 .container-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-top: 50px;
}

#section-8 .item-card-testimonials {
    position: relative;
    background: #F2F2F2;
    height: 272px;
    border-radius: var(--border-radius-30);
}


#section-8 .number-of-testimonials {
    width: 60px;
    position: absolute;
    bottom: 8px;
    height: 60px;
    left: 8px;
    background: #F2F2F2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

#section-8 .number-of-testimonials p {

    font-family: Outfit;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color-rent-car);
}

#section-8 .text-details-testimonials {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

#section-8 .name-client {
    font-family: Outfit;
    font-size: 18px;
    font-weight: 400;
    color: var(--secondary-color-rent-car);
    margin-bottom: 6px;
    z-index: 1;

}

#section-8 .type-client {
    font-family: Outfit;
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    margin-bottom: 20px;
    z-index: 1;
}

#section-8 .img-client {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

#section-8 .description-testimonials {
    font-family: Outfit;
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-dark);
    line-height: 28px;
}

#section-8 .icon-card-bottom-left-testimonials {
    position: absolute;
    bottom: 0;
    width: 78px;
    height: 78px;
    line-height: 55px;
    text-align: center;
    border-radius: 0 40px 0 0;
    background: var(--white);
}

#section-8 .br-right-bottom-testimonials {
    position: absolute;
    right: -50px;
    bottom: -26px;
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    line-height: 1;
    width: 50px;
    height: 50px;
}

#section-8 .details-client {
    position: absolute;
    left: 80px;
    bottom: -100%;
}

#section-8 .description-testimonials {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
#section-8 .number-of-steps {
    width: 60px;
    position: absolute;
    bottom: 0px;
    height: 60px;
    background: var(--primary-color-rent-car);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
@media (max-width :768px) {
  #section-8  .container-testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width :578px) {
  #section-8  .image-category {
        width: 100%;
    }

    #section-8 .container-testimonials {
        grid-template-columns: repeat(1, 1fr);
    }
}
