/* Testimonials Section - Brand New Modern Design */
.testimonials-new-section {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    padding: 100px 0;
    overflow: hidden;
    direction: rtl;
}

.testimonials-new-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2a5298, transparent);
    opacity: 0.3;
}

.testimonials-new-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

/* Testimonial Card */
.testimonial-card {
    background: linear-gradient(135deg, #1e3c72 0%, #1e3c72 100%) !important;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2a5298, #64b5f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(42, 82, 152, 0.2);
    border-color: rgba(42, 82, 152, 0.2);
}

/* Client Header */
.client-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a5298, #64b5f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
}

.client-info {
    flex: 1;
}

.client-name {
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.client-position {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    color: #666666;
}

/* Testimonial Content */
.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #444444;
    position: relative;
    padding-right: 20px;
    border-right: 3px solid #64b5f6;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 3rem;
    color: #64b5f6;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Rating */
.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.rating-star {
    color: #ffd700;
    font-size: 1.1rem;
}

/* Testimonial Stats */
.testimonial-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2a5298;
}

.stat-label {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.8rem;
    color: #666666;
    margin-top: 5px;
}

/* Floating Elements */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42, 82, 152, 0.1), rgba(100, 181, 246, 0.05));
    animation: float 20s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-new-section {
        padding: 80px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .client-name {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .testimonials-new-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .client-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .testimonial-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
