/* People Testimonial Slider - Pixel Perfect Styling */

.people-testimonial-slider {
    padding: 80px 0;
    background-color: #ffffff;
}

.testimonial-header {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-title {
    font-size: 2.25rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.testimonial-nav {
    display: flex;
    gap: 12px;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #6b7280;
    padding: 0;
}

.nav-arrow:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

.nav-arrow.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.testimonial-slider-container {
    position: relative;
    overflow: hidden;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
}

/* Wrapper for slide + author info */
.testimonial-slide-wrapper {
    flex: 0 0 calc(50% - 12px);
}

.testimonial-slide {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9.5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.testimonial-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: white;
}

/* Play button - only for videos, bottom right */
.play-button {
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.play-button:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid #1a1a1a;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}

/* Quote inside overlay */
.testimonial-quote {
    font-size: 1.375rem;
    line-height: 1.45;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: white;
}

/* Author info - OUTSIDE the slide, below the image */
.testimonial-author {
    padding: 0;
    color: #1a1a1a;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.01em;
    color: #1a1a1a;
}

.author-company {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .people-testimonial-slider {
        padding: 60px 0;
    }
    
    .testimonial-title {
        font-size: 2rem;
    }
    
    .testimonial-quote {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .people-testimonial-slider {
        padding: 50px 0;
    }
    
    .testimonial-header {
        margin-bottom: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .testimonial-title {
        font-size: 1.75rem;
    }
    
    .testimonial-nav {
        align-self: flex-start;
    }
    
    .testimonial-slide-wrapper {
        flex: 0 0 100%;
    }
    
    .testimonial-slides {
        gap: 20px;
    }
    
    .testimonial-slide {
        margin-bottom: 12px;
    }
    
    .testimonial-overlay {
        padding: 24px;
    }
    
    .testimonial-quote {
        font-size: 1.125rem;
    }
    
    .play-button {
        width: 44px;
        height: 44px;
        bottom: 24px;
        right: 24px;
    }
    
    .play-button::before {
        border-left-width: 12px;
        border-top-width: 8px;
        border-bottom-width: 8px;
        margin-left: 3px;
    }
    
    .author-name {
        font-size: 0.875rem;
    }
    
    .author-company {
        font-size: 0.8125rem;
    }
}

@media (max-width: 576px) {
    .people-testimonial-slider {
        padding: 40px 0;
    }
    
    .testimonial-title {
        font-size: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .testimonial-overlay {
        padding: 20px;
    }
    
    .testimonial-slide {
        margin-bottom: 10px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .play-button::before {
        border-left-width: 10px;
        border-top-width: 7px;
        border-bottom-width: 7px;
    }
}