/* Testimonials Page Styles */

/* Testimonials Hero */
.testimonials-hero {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.testimonials-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonials-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Stats Section */
.testimonials-stats {
    background: white;
    padding: 3rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-card .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: #666;
}

/* Testimonials Content */
.testimonials-content {
    padding: 5rem 0;
    background: #f8fafc;
}

.testimonials-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1a237e;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid #1a237e;
}

.testimonial-country {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.testimonial-country img {
    width: 30px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-country span {
    font-size: 0.9rem;
    color: #666;
}

/* Video Testimonials */
.video-testimonials {
    padding: 5rem 0;
    background: white;
}

.video-testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-card {
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(26, 35, 126, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 1.5rem;
    margin-left: 5px;
}

.video-card:hover .play-button {
    background: #1a237e;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
    font-size: 1.1rem;
    color: #333;
    padding: 1rem 1.5rem 0.5rem;
}

.video-card p {
    font-size: 0.9rem;
    color: #666;
    padding: 0 1.5rem 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-hero {
        padding: 6rem 0 3rem;
    }
    
    .testimonials-hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid,
    .testimonials-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
}

/* RTL Support */
[dir="rtl"] .testimonial-text {
    padding-left: 0;
    padding-right: 1rem;
    border-left: none;
    border-right: 3px solid #1a237e;
}

[dir="rtl"] .testimonial-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .testimonial-country {
    flex-direction: row-reverse;
}
