.ms-testimonials {
    position: relative;
    z-index: 1;
}

.ms-testimonials:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: -1;
}

.ms-testimonials .section-title h2,
.ms-testimonials .section-title p {
    color: #161835;
    margin-bottom: 12px;
}

.testimonial-card {
    background: #fff;
    color:#161835;
    padding: 30px 30px 30px 40px;
    position: relative;
    min-height: 220px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}
.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 100%;
    background: #D7D7D7;
}

.testimonial-card::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 24px solid transparent;
    border-right: 16px solid #fff;
    z-index: 222;
}
.testimonial-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    
}
.testimonial-card p,
.testimonial-card h4 {
    color:#161835;
}
.testimonial-card .author {
    margin-top: 15px;
    font-size: 14px;
}
.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #007BFF;
}
.testimonial-arrows button {
    background: rgba(22, 24, 53, 0.9);
    border: none;
    padding: 10px 12px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: 0.7s ease-in-out;
}

.testimonial-arrows button:hover {
    background: #fff;
}

.testimonial-arrows button i {
    font-size: 18px;
    color: #fff;
    transition: 0.7s ease-in-out;
}

.testimonial-arrows button:hover i {
    color: #161835;
}

.testimonial-arrows .testimonial-btn {
    text-align: center;
}
.slider-btn-testimonial {
    text-align: center;
}
.testimonial-arrows a {
    padding-left: 25px;
    padding-right: 25px;
    width: fit-content;
}
.testimonial-card .user-info {
    display: inline-block;
}
.testimonial-card .user-info h4 {
    margin-bottom: 6px;
}
.testimonial-card .quotes i {
    font-size: 44px;
    margin-right: 15px;
}
.testimonial-btn .btn-primary:hover,
.testimonial-btn .btn-primary:focus {
    border-color: #fff;
}
@media only screen and (min-width: 768px) {
    .testimonial-arrows button {
        margin: 0 5px;
        padding: 15px;
    }
    .testimonial-arrows button i {
        font-size: 20px;
    }
    .testimonial-arrows .testimonial-btn {
        text-align: left;
    }
}
@media only screen and (min-width: 992px) {
    .testimonial-arrows button {
        margin-top: 0;
    }
    .slider-btn-testimonial {
        text-align: left;
    }
}