.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.testimonial-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    min-width: 100%;
    display: none;
    flex-direction: column;
    gap: 24px;
    /* Increased gap for more space around text */
    padding: 20px;
    /* Increased padding inside the testimonial box */
    box-sizing: border-box;
}

.testimonial.active {
    display: block;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
}

.testimonial-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
}

.testimonial-header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 600;
}

.testimonial p {
    color: #6b7280;
    font-size: 0.875rem;
    /* Reduced by approx 2 points */
}

.testimonial a {
    font-size: 0.875rem;
    font-weight: bold;
    color: #3b82f6;
    text-decoration: none;
}

.testimonial-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1rem;
    /* Smaller than before */
    color: #6b7280;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    z-index: 10;
}

.testimonial-slider .prev-arrow {
    left: 20px;
    /* Enough space from edge */
}

.testimonial-slider .next-arrow {
    right: 20px;
}