/**
 * Testimonials Section Styles
 *
 * @package elegant
 */

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    position: relative;
    padding: 100px 20px 50px 20px;
    background: #ffffff;
    overflow: hidden;
}

/* Container */
.testimonials-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.testimonials-section .testimonials-swiper{padding: 15px;}
/* ========================================
   Title
   ======================================== */
.testimonials-title {
    font-family: var(--font-family-ar, 'Readex Pro', sans-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1a3a5c;
    text-align: center;
    margin: 0 0 60px 0;
}

/* ========================================
   Swiper Container
   ======================================== */
.testimonials-swiper {
    padding-bottom: 70px;
}

/* ========================================
   Testimonial Card
   ======================================== */
.testimonial-card {
    background: #f8f9fa;
    border: 1px solid #e8ecf0;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    background: #ffffff;
    border-color: #c9a227;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Quote Icon */
.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote i {
    font-size: 2.5rem;
    color: #c9a227;
    opacity: 0.8;
}

/* Review Text */
.testimonial-text {
    font-family: var(--font-family-ar, 'Readex Pro', sans-serif);
    font-size: 1rem;
    line-height: 1.9;
    color: #5a6a7a;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 25px;
}

.testimonial-rating i {
    font-size: 1rem;
}

.testimonial-rating i.filled {
    color: #f5a623;
}

.testimonial-rating i.empty {
    color: #d0d5db;
}

/* Client Info */
.testimonial-client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Client Avatar */
.client-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #c9a227;
    flex-shrink: 0;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder i {
    font-size: 1.3rem;
    color: #ffffff;
}

/* Client Details */
.client-info {
    text-align: right;
}

.client-name {
    font-family: var(--font-family-ar, 'Readex Pro', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0 0 5px 0;
}

.client-company {
    font-family: var(--font-family-ar, 'Readex Pro', sans-serif);
    font-size: 0.85rem;
    color: #c9a227;
}

/* ========================================
   Navigation
   ======================================== */
.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f2f5;
    border: 1px solid #e0e5eb;
    color: #1a3a5c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: #c9a227;
    border-color: #c9a227;
    color: #ffffff;
}

.testimonial-prev i,
.testimonial-next i {
    font-size: 1rem;
}

/* Pagination */
.testimonials-pagination {
    display: flex;
    gap: 8px;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d0d5db;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: #c9a227;
    transform: scale(1.2);
}

/* ========================================
   RTL Support
   ======================================== */
[dir="rtl"] .testimonials-section {
    direction: rtl;
}

[dir="rtl"] .client-info {
    text-align: right;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .testimonials-section {
        padding: 80px 20px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 20px;
    }
    
    .testimonials-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-quote i {
        font-size: 2rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
    }
    
    .client-name {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 50px 15px;
    }
    
    .testimonials-swiper {
        padding-bottom: 60px;
    }
    
    .testimonial-prev,
    .testimonial-next {
        width: 40px;
        height: 40px;
    }
    
    .testimonials-navigation {
        gap: 15px;
    }
}
