/* ===== TESTIMONIALS MODERN SECTION ===== */
.testimonials-modern-section {
    background: linear-gradient(135deg, #0F141C 0%, #1a1f2e 30%, #2a2f3e 70%, #0F141C 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Background Effects */
.testimonials-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-gradient-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 219, 89, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-up-down 8s ease-in-out infinite;
}

.bg-gradient-2 {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 125, 97, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-up-down 10s ease-in-out infinite reverse;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    background: rgba(255, 219, 89, 0.1);
    border-radius: 50%;
    animation: float-random 15s linear infinite;
}

.float-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.float-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.float-3 {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float-up-down {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes float-random {
    0% { transform: translateY(0px) translateX(0px) scale(0.5); opacity: 0; }
    50% { transform: translateY(-100px) translateX(50px) scale(1); opacity: 1; }
    100% { transform: translateY(-200px) translateX(-50px) scale(0.5); opacity: 0; }
}

/* Section Content */
.testimonials-modern-section .container {
    position: relative;
    z-index: 2;
}

/* Header Styles */
.testimonials-header {
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(45deg, #FF7D61, #FFDB59);
    color: #0F141C;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 125, 97, 0.3);
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFDB59 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.section-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats */
.testimonials-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(45deg, #FFDB59, #FF7D61);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Main Container */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Navigation */
.testimonials-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.nav-btn {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF7D61, #FFDB59);
    color: #0F141C;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 125, 97, 0.3);
}

.nav-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 219, 89, 0.4);
}

.nav-btn:active {
    transform: scale(0.95);
}

.testimonials-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 24px;
}

.current {
    color: #FFDB59;
    font-size: 32px;
}

.divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
}

.total {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
}

/* Testimonial Display */
.testimonial-display {
    margin-bottom: 40px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 219, 89, 0.03) 0%, transparent 50%, rgba(255, 125, 97, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.testimonial-card:hover .card-background {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(255, 219, 89, 0.2);
    border-color: rgba(255, 219, 89, 0.3);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Quote Section */
.quote-section {
    text-align: center;
    margin-bottom: 40px;
}

.quote-icon {
    color: rgba(255, 219, 89, 0.3);
    margin-bottom: 20px;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    color: #FFDB59;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(255, 219, 89, 0.3);
}

.featured-badge {
    background: linear-gradient(45deg, #FF7D61, #FFDB59);
    color: #0F141C;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFDB59;
    margin-bottom: 20px;
    line-height: 1.2;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Client Info */
.client-info {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.client-avatar {
    position: relative;
}

.client-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF7D61;
    transition: all 0.3s ease;
}

.testimonial-card:hover .client-avatar img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 219, 89, 0.4);
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #FFDB59;
    color: #0F141C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0F141C;
}

.client-details {
    text-align: left;
}

.client-name {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.2;
}

.client-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    line-height: 1.3;
}

.linkedin-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0077b5;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(0, 119, 181, 0.1);
}

.linkedin-link:hover {
    color: #FFDB59;
    background: rgba(255, 219, 89, 0.1);
    transform: translateY(-1px);
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF7D61, #FFDB59);
    border-radius: 2px;
    transition: width 0.6s ease;
    width: 4%;
    box-shadow: 0 0 10px rgba(255, 219, 89, 0.5);
}

/* Thumbnails */
.thumbnails-nav {
    margin-bottom: 40px;
}

.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.6;
    position: relative;
}

.thumbnail-item.active {
    border-color: #FFDB59;
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(255, 219, 89, 0.4);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Controls */
.controls-section {
    text-align: center;
}

.control-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.control-btn:hover {
    background: linear-gradient(45deg, #FF7D61, #FFDB59);
    color: #0F141C;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 219, 89, 0.3);
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-modern-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .testimonials-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
        min-height: 350px;
    }
    
    .testimonial-title {
        font-size: 24px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .client-info {
        flex-direction: column;
        text-align: center;
    }
    
    .client-details {
        text-align: center;
    }
    
    .nav-btn {
        width: 48px;
        height: 48px;
    }
    
    .testimonials-counter .current {
        font-size: 24px;
    }
    
    .thumbnail-item {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
        min-height: 320px;
    }
    
    .testimonial-title {
        font-size: 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .client-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .thumbnails-container {
        gap: 8px;
    }
    
    .thumbnail-item {
        width: 30px;
        height: 30px;
    }
}

/* Performance Optimizations */
.testimonial-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.nav-btn {
    will-change: transform;
    transform: translateZ(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .nav-btn,
    .thumbnail-item,
    .progress-fill,
    .client-avatar img {
        transition: none;
    }
    
    .bg-gradient-1,
    .bg-gradient-2,
    .float-element {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .testimonial-card {
        background: #000000;
        border-color: #FFFFFF;
    }
    
    .testimonial-text,
    .client-name {
        color: #FFFFFF;
    }
    
    .nav-btn {
        background: #FFFFFF;
        color: #000000;
    }
}
