
/* Carousel Wrapper */
.testimonials-carousel-wrapper *{

    font-family:"Tajwal-medium",sans-serif;   
}
.testimonials-carousel-wrapper {
    position: relative;
}

/* Testimonial Card */
.testimonials-carousel-wrapper  .testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    margin: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 380px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.testimonials-carousel-wrapper  .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

.testimonials-carousel-wrapper  .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonials-carousel-wrapper  .testimonial-card:hover::before {
    opacity: 1;
}

.testimonials-carousel-wrapper  .card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Header */
.testimonials-carousel-wrapper  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.testimonials-carousel-wrapper  .quote-icon {
    width: 32px;
    height: 32px;
    opacity: 0.2;
    color: #3b82f6;
    transform: scaleX(-1); /* Flip for RTL */
}

.testimonials-carousel-wrapper  .rating {
    display: flex;
    gap: 4px;
}

.testimonials-carousel-wrapper  .star {
    width: 16px;
    height: 16px;
    color: #fbbf24;
    fill: currentColor;
}

/* Content */
.testimonials-carousel-wrapper  .content {
    flex: 1;
    margin-bottom: 25px;
}

.testimonials-carousel-wrapper  .testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 15px;
    text-align: right;
    height: 120px;
    overflow: auto;
}
.testimonials-carousel-wrapper  .testimonial-text::-webkit-scrollbar {
    width: 3px;
}
.testimonials-carousel-wrapper  .testimonial-text::-webkit-scrollbar-track {
    border-radius: 10px;
}
.testimonials-carousel-wrapper  .testimonial-text::-webkit-scrollbar-thumb {
    background:#c9c8c8;
    border-radius: 12px;
}

.testimonials-carousel-wrapper .show-more-btn {
    background: none;
    border: none;
    color: #3b82f6;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    padding: 0;
}

.testimonials-carousel-wrapper .show-more-btn:hover {
    color: #1d4ed8;
    transform: scale(1.05);
}

.testimonials-carousel-wrapper .chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.testimonials-carousel-wrapper .show-more-btn:hover .chevron {
    transform: scale(1.1);
}

/* Author Info */
.testimonials-carousel-wrapper .author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.testimonials-carousel-wrapper .avatar-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonials-carousel-wrapper .avatar-initial:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonials-carousel-wrapper .author-details h4 {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2px;
}

/* Owl Carousel Custom Styles for RTL */
.testimonials-carousel-wrapper .owl-carousel .owl-item {
    display: flex;
    align-items: stretch;
}



/* CTA Section */
.testimonials-carousel-wrapper .cta-section {
    text-align: center;
    padding: 80px 0;
    background: white;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonials-carousel-wrapper .cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
}

.testimonials-carousel-wrapper .cta-section p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-carousel-wrapper .cta-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.testimonials-carousel-wrapper .cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
 
    
   .testimonials-carousel-wrapper .testimonial-card {
        padding: 30px;
        margin: 10px;
        height: auto;
        min-height: 350px;
        
    }
    
   .testimonials-carousel-wrapper .cta-section h2 {
        font-size: 2rem;
    }
    
  
    .testimonials-carousel-wrapper .cta-section {
        padding: 60px 0;
    }

 
}

@media (max-width: 480px) {

    
   .testimonials-carousel-wrapper .testimonial-card {
        padding: 25px;
        margin: 5px;
        min-height: 320px;
    }

   
}