/* ========================================
   Premium Testimonials Section with Swiper
   ======================================== */

/* Section Base */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    overflow: hidden;
}

/* Grid Pattern */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(14, 146, 210, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 146, 210, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Header */
.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.testimonials-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.testimonials-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #122A54;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.testimonials-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

/* Swiper Container */
.testimonials-swiper {
    position: relative;
    padding: 20px 80px 80px;
    z-index: 1;
}

.swiper {
    overflow: visible;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    height: auto;
    display: flex;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 36px 32px;
    /* box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 12px 24px -4px rgba(0, 0, 0, 0.04),
        0 24px 48px -8px rgba(0, 0, 0, 0.06); */
    border: 1px solid rgba(226, 232, 240, 0.5);
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 12px -2px rgba(0, 0, 0, 0.03),
        0 20px 40px -8px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(14, 146, 210, 0.1);
} */

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-star {
    width: 20px;
    height: 20px;
}

.testimonial-star.filled {
    fill: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.testimonial-star.empty {
    fill: #e2e8f0;
}

/* Quote Content - Single decorative quote */
.testimonial-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 28px;
    flex: 1;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 3;   
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

/* Avatar */
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.testimonial-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1762BE 0%, #4FC13C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(14, 146, 210, 0.3);
    flex-shrink: 0;
}

/* Author Info */
.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #122A54;
}

.testimonial-author-role {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Custom Navigation Arrows */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #64748b;
    transition: stroke 0.3s ease;
}

.testimonial-arrow:hover {
    background: linear-gradient(135deg, #1762BE 0%, #4FC13C 100%);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(14, 146, 210, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-arrow:hover svg {
    stroke: white;
}

.testimonial-arrow-prev {
    left: 10px;
}

.testimonial-arrow-next {
    right: 10px;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: -40px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #1762BE 0%, #4FC13C 100%);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(14, 146, 210, 0.3);
}

/* Hide default Swiper arrows */
.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-header {
        margin-bottom: 48px;
        padding: 0 20px;
    }
    
    .testimonials-swiper {
        padding: 20px 60px 70px;
    }
    
    .swiper-pagination {
        bottom: -35px !important;
    }
    
    .testimonial-arrow {
        width: 44px;
        height: 44px;
    }
    
    .testimonial-arrow svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-swiper {
        padding: 0 50px 0;
    }
    
    .swiper-pagination {
        bottom: -30px !important;
    }
    
    .testimonial-card {
        padding: 28px 24px;
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 48px 0;
    }
    
    .testimonials-header {
        padding: 0 16px;
    }
    
    .testimonials-label {
        font-size: 0.75rem;
    }
    
    .testimonials-title {
        font-size: 1.75rem;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
    
    .testimonials-swiper {
        padding: 10px 40px 50px;
    }
    
    .testimonial-card {
        padding: 24px 20px;
    }
    
    .testimonial-stars {
        font-size: 0.875rem;
    }
    
    .testimonial-content {
        font-size: 0.9375rem;
    }
    
    .testimonial-avatar,
    .testimonial-avatar-placeholder {
        width: 44px;
        height: 44px;
    }
    
    .testimonial-avatar-placeholder {
        font-size: 16px;
    }
    
    .testimonial-author-name {
        font-size: 0.9375rem;
    }
    
    .testimonial-author-role {
        font-size: 0.8125rem;
    }
    
    .testimonial-arrow {
        width: 36px;
        height: 36px;
    }
}
