.testimonial-card-items-3 {
    background: #fff;
    padding: 35px 40px;
    border-radius: 0px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(131, 57, 255, 0.12);
    margin: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    z-index: 1;
    overflow: hidden;
    border-left: 5px solid #8339ff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
}

.testimonial-card-items-3::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: rgba(131, 57, 255, 0.05);
    transition: all 0.5s ease;
    z-index: -1;
}

.testimonial-card-items-3:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(131, 57, 255, 0.12);
    border-color: rgba(131, 57, 255, 0.2);
}

.testimonial-card-items-3:hover::before {
    transform: scale(1.1) rotate(-10deg);
    color: rgba(131, 57, 255, 0.08);
}

.testimonial-card-items-3 .star {
    margin-bottom: 25px;
    display: flex;
    gap: 4px;
}

.testimonial-card-items-3 .star i {
    color: #ffb128;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.testimonial-card-items-3:hover .star i {
    transform: scale(1.2);
}

.testimonial-card-items-3 p {
    font-size: 18px;
    line-height: 1.6;
    /* Tighter line height */
    color: #444;
    font-style: italic;
    margin-bottom: 20px;
    /* Reduced from 35px */
    position: relative;
    z-index: 2;
}

.testimonial-card-items-3 .client-info {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #f1f1f1;
    padding-top: 25px;
}

.testimonial-card-items-3 .client-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.testimonial-card-items-3:hover .client-img {
    border-color: #8339ff;
    transform: scale(1.05);
}

.testimonial-card-items-3 .client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card-items-3 .content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.testimonial-card-items-3:hover .content h4 {
    color: #8339ff;
}

.testimonial-card-items-3 .content p {
    font-size: 14px;
    color: #777;
    margin-bottom: 0;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Swiper Pagination Enhancement */
.testimonial-slider-3 {
    padding-bottom: 60px !important;
}

.testimonial-slider-3 .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #8339ff;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.testimonial-slider-3 .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* White Theme Overrides (Now Light Gray Based) */
.testimonial-section.white-theme {
    background-color: var(--bg3) !important;
}

.testimonial-section.white-theme .section-title h2 {
    color: #1F2937 !important;
}

.testimonial-section.white-theme .testimonial-card-items-3 {
    background-color: #fcfaff;
    /* Extremely light purple tint */
    border: 1px solid #f0e8ff;
    box-shadow: 0 10px 40px rgba(108, 1, 167, 0.04);
}

.testimonial-section.white-theme .testimonial-card-items-3:hover {
    background-color: #ffffff;
    box-shadow: 0 20px 60px rgba(108, 1, 167, 0.08);
}

@media (max-width: 767px) {
    .testimonial-card-items-3 {
        padding: 40px 30px;
    }

    .testimonial-card-items-3 p {
        font-size: 16px;
    }
}