/* Modern Testimonial Section - Fintech Style */
.testimonial-modern-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonial-modern-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, var(--bgLight) 0%, var(--white) 100%);
    z-index: 0;
}

.testimonial-modern-section .container {
    position: relative;
    z-index: 1;
}

.testimonial-modern-section .section-header {
    margin-bottom: 60px;
    text-align: center;
}

.testimonial-modern-section .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #1e3a8a);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.testimonial-modern-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    line-height: 1.2;
}

.testimonial-modern-section .section-subtitle {
    font-size: 18px;
    color: var(--fontColor);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-modern-section .testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--borderColor);
    position: relative;
    overflow: hidden;
}

.testimonial-modern-section .testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #26cc8c);
}

.testimonial-modern-section .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-modern-section .quote-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #1e3a8a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.testimonial-modern-section .quote-icon i {
    font-size: 24px;
    color: var(--white);
}

.testimonial-modern-section .rating-stars {
    margin-bottom: 20px;
}

.testimonial-modern-section .rating-stars i {
    color: #ffc107;
    font-size: 14px;
    margin-right: 3px;
}

.testimonial-modern-section .testimonial-content {
    flex: 1;
    margin-bottom: 25px;
}

.testimonial-modern-section .testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--fontColor);
    font-style: italic;
    margin: 0;
}

.testimonial-modern-section .testimonial-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--borderColor), transparent);
    margin-bottom: 20px;
}

.testimonial-modern-section .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-modern-section .author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-modern-section .author-avatar span {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.testimonial-modern-section .author-info {
    flex: 1;
}

.testimonial-modern-section .author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 5px 0;
}

.testimonial-modern-section .author-designation {
    font-size: 13px;
    color: var(--fontColor);
}

.testimonial-modern-section .trust-badges {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid var(--borderColor);
}

.testimonial-modern-section .badges-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonial-modern-section .badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bgLight);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.testimonial-modern-section .badge-item:hover {
    background: var(--primary);
}

.testimonial-modern-section .badge-item:hover i,
.testimonial-modern-section .badge-item:hover span {
    color: var(--white);
}

.testimonial-modern-section .badge-item i {
    font-size: 18px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.testimonial-modern-section .badge-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    transition: all 0.3s ease;
}

.testimonial-modern-section .badge-divider {
    width: 1px;
    height: 30px;
    background: var(--borderColor);
}

@media (max-width: 991px) {
    .testimonial-modern-section {
        padding: 60px 0;
    }
    
    .testimonial-modern-section .section-title {
        font-size: 32px;
    }
    
    .testimonial-modern-section .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-modern-section .badges-wrapper {
        gap: 15px;
    }
    
    .testimonial-modern-section .badge-divider {
        display: none;
    }
    
    .testimonial-modern-section .badge-item {
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {
    .testimonial-modern-section .section-title {
        font-size: 28px;
    }
    
    .testimonial-modern-section .section-subtitle {
        font-size: 16px;
    }
}
