/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, #EFEBFF 0%, #F9FAFB 50%, #FFFFFF 100%);
    padding: 64px 0 80px;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192, 177, 248, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(150, 221, 204, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section h2 {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    font-size: 42px;
    font-weight: 600;
    color: var(--Grey-900, #101828);
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.testimonials-section .items {
    width: 90%;
    margin: 0 auto;
    margin-top: 100px;
}

.testimonials-section .testimonial-card-wrapper {
    position: relative;
    display: flex;
    width: 350px;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--White);
    background-clip: border-box;
    border: 1px solid #d2d2dc;
    border-radius: 11px;
    box-shadow: 0px 0px 5px 0px rgb(161, 163, 164);
    margin: 10px;
}

.testimonials-section .testimonial-video {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    overflow: hidden;
    padding: 8px;
    width: 220px;
    height: 280px;
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.testimonials-section .testimonial-video:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--purple-medium, #D9D0FC);
}

.testimonials-section .testimonial-video iframe {
    border-radius: 12px;
    border: none;
    width: 100%;
    height: 100%;
    display: block;
}

.testimonials-section .testimonial-card-contanier {
    width: 320px;
}

.testimonials-section .testimonial-card {
    min-height: 280px;
    border: 1px solid rgba(208, 213, 221, 0.5);
    border-radius: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.testimonials-section .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-dark, #C0B1F8) 0%, var(--pink-dark, #D57BC8) 100%);
    border-radius: 16px 16px 0 0;
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--purple-medium, #D9D0FC);
}

.testimonials-section .quote {
    height: 32px;
    width: 36px;
    opacity: 0.8;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.testimonials-section .testimonial-text {
    font-size: 17px;
    font-family: var(--font-family-base);
    margin-top: 20px;
}

.testimonials-section .testimonial-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}

.testimonials-section .testimonial-info img.client-img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(192, 177, 248, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonials-section .testimonial-card:hover .testimonial-info img.client-img {
    border-color: var(--purple-medium, #D9D0FC);
    box-shadow: 0 4px 12px rgba(192, 177, 248, 0.3);
}

.testimonials-section .client-name {
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--Grey-900, #101828);
    font-family: 'Manrope', sans-serif;
}

.testimonials-section .client-title {
    font-size: 13px;
    color: var(--Grey-600, #475467);
    margin: 0;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
}

.testimonials-section .testimonial-card p.mt-3 {
    width: 100%;
    min-height: 120px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--Grey-800, #1D2939);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    margin-top: 12px;
    margin-bottom: 16px;
    font-family: 'Manrope', sans-serif;
    padding-right: 4px;
}

.testimonials-section .slick-slide {
    margin: 10px;
}

.testimonials-section .slick-prev:before,
.testimonials-section .slick-next:before {
    color: gray;
}

.testimonials-section .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

.testimonials-section .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D0D5DD;
    margin: 0 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonials-section .carousel-indicators li.active {
    background-color: var(--purple-dark, #C0B1F8);
    width: 32px;
    border-radius: 6px;
    border-color: var(--purple-medium, #D9D0FC);
}

.testimonials-section .row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.testimonials-section .col-md-3:nth-child(odd),
.testimonials-section .col-md-3:nth-child(even) {
    padding: 0 8px;
    display: flex;
    justify-content: center;
}

.testimonials-section .container {
    max-width: 1280px;
    position: relative;
    z-index: 1;
}

.feature-news-carousel {
    display: flex;
    justify-content: center;
}

.feature-in-the-news_card {
    margin: 50px 0px;
    height: 182px;
    border: 1px solid lightgray;
    border-radius: 10px;
    padding: 20px 30px;
    background-color: #FFFFFF;
    overflow: hidden;
    position: relative;
    width: 1000px;
}

.row.testimonial-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-video-contanier,
.testimonial-card-contanier {
    flex: 0 0 auto;
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonials-section {
        padding: 56px 0 72px;
    }
    
    .testimonials-section h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .testimonials-section .row {
        gap: 24px;
    }
    
    .testimonial-card-contanier {
        width: 300px !important;
    }
    
    .testimonials-section .testimonial-video {
        width: 200px;
        height: 260px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 48px 0 64px;
    }
    
    .testimonials-section h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .testimonials-section .row {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .testimonial-card-contanier,
    .testimonial-video-contanier {
        width: 100% !important;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .testimonials-section .testimonial-video {
        width: 100%;
        height: 240px;
    }
    
    .testimonials-section .testimonial-card {
        min-height: auto;
    }
}
