.testimonial-cards {
    position: relative;
}

.testimonial-card {
    padding: 25px 30px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.16);
    margin-bottom: 32px;
}

.testimonial-card h5 {
    font-size: 16px;
    color: #282929;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 8px;
}

.testimonial-card h6 {
    font-size: 16px;
    color: #8D8D8D;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
}

.testimonial-card h6 span {
    position: relative;
    padding-right: 22px;
    margin-right: 8px;
}

.testimonial-card h6 span:after {
    content: "\e900";
    font-family: 'corrigan-icons';
    position: absolute;
    right: -2px;
    top: 50%;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
    color: #00A0DD;
    font-size: 18px;
    font-weight: normal;
}

.testimonial-card h6 span:last-child {
    padding-right: 0;
    margin-right: 0;
}

.testimonial-card h6 span:last-child:after {
    display: none;
}

.testimonial-card-rating {
    display: flex;
    gap: 1px;
    margin-bottom: 18px;
}

.testimonial-card-rating i {
    font-size: 16px;
    color: #FCB525;
}

.testimonial-card-rating.blue-stars i {
    color: #00A0DD;
}

.testimonial-card-desc {
    margin-bottom: 18px;
    max-height: 259px;
    overflow: auto;
}

.testimonial-card-desc::-webkit-scrollbar-track,
.testimonial-card .simplebar-track.simplebar-vertical {
    border-radius: 8px;
    background-color: rgba(139, 141, 142, 0.23);
    border: none;
}

.testimonial-card-desc::-webkit-scrollbar-thumb,
.testimonial-card .simplebar-scrollbar::before {
	border-radius: 8px;
	background-color: #8B8D8E;
	opacity: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
    opacity: 1 !important;
}

.testimonial-card-desc p {
    font-size: 16px;
    line-height: 1.75em;
    padding-right: 11px;
}

.testimonial-cards-bottom-content {
    margin-top: 35px;
}

.testimonial-card-desc::-webkit-scrollbar {
    width: 10px;
}

.testimonial-card-desc::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #e4e4e5;
    border: none;
}

.testimonial-card-desc::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #8b8d8e;
}

@media(min-width: 768px) {
    .testimonial-card-list {
        display: flex;
        width: calc(100% + 32px);
        margin: 0 -16px;
        flex-wrap: wrap;
    }

    .testimonial-card {
        width: calc(50% - 32px);
        margin-left: 16px;
        margin-right: 16px;
        padding: 30px 20px 30px 20px;
    }

    .list-all .testimonial-card {
        width: calc(50% - 32px);
    }

    .testimonial-cards-top-content {
        margin-bottom: 32px;
    }

    .testimonial-card h5 {
        font-size: 18px;
    }

    .testimonial-card-desc {
        padding-right: 11px;
    }

    .testimonial-curve {
        position: absolute;
        left: 0;
        width: 100%;
        top: 216px;
        z-index: -1;
    }
}

@media(min-width: 1025px) {
    .testimonial-card {
        padding: 30px 30px 30px 30px;
    }
}

@media(min-width: 1200px) {
    .testimonial-card {
        width: calc(33.333% - 32px);
    }

    .testimonial-cards-top-content {
        margin-bottom: 28px;
        position: relative;
        padding-right: 50%;
    }

    .testimonial-cards-top-content a {
        position: absolute;
        right: 0;
        bottom: 8px;
    }

    .testimonial-card-desc {
        max-height: 186px;
    }

    .testimonial-curve {
        top: 230px;
    }
}

@media (max-width: 767px) {
    .testimonial-cards-top-content {
        margin-bottom: 20px;
    }
}