.testimonial-carousel .testimonial-item {
    padding: 15px;
}

.testimonial-carousel .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.testimonial-carousel .image-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-carousel .image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid transparent;
    background: linear-gradient(#234A8C, #B13D48) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude; 
}

.testimonial-carousel .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-carousel .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-carousel .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testimonial-carousel .card-text {
    font-size: 0.875rem; /* Reduce the font size of testimonial text */
    font-weight: 400;
    color: #777;
}

.testimonial-carousel .card-body {
    padding: 1.5rem;
}

.testimonial-carousel .text-muted {
    font-size: 0.75rem; /* Reduce the font size of date text to 50% */
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-prev:hover, .slick-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slick-prev:before, .slick-next:before {
    font-size: 20px;
    color: #fff;
}

@media (max-width: 768px) {
    .testimonial-carousel .card-img {
        height: auto;
        width: 100%;
    }

    .testimonial-carousel .card-body {
        padding: 0.5rem;
    }
}
