/* Testimonial Videos Section */
.testimonial-videos-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-videos-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgb(200, 20, 31), rgb(0, 139, 69));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.read-more-btn {
    padding: 5px 20px !important;
}

/* Video Slider Container */
.video-slider-container {
    position: relative;
    padding: 0 60px;
}

.video-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.video-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 5px;
}

.video-card {
    flex: 0 0 calc(50% - 15px);
    min-width: 0;
}

.video-card-inner {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.video-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(200, 20, 31, 0.15);
}

/* Video Thumbnail */
.video-thumbnail, .static-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail {
    cursor: pointer;
}

.static-thumbnail {
    cursor: default;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-thumbnail:hover .thumbnail-img {
    transform: scale(1.05);
}

.video-overlay, .static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.static-overlay {
    background: linear-gradient(0deg, rgba(200, 20, 31, 0.4) 0%, rgba(0, 139, 69, 0.3) 100%);
}

.play-button {
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
}

.platform-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Video Content */
.video-content {
    padding: 25px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(200, 20, 31, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
}

.user-title {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 4px;
    display: block;
}

.user-speech {
    margin-bottom: 20px;
}

.speech-text {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.read-more-btn {
    background: none;
    border: none;
    color: rgb(200, 20, 31);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: rgb(0, 139, 69);
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(200, 20, 31, 0.1);
}

.testimonial-date,
.testimonial-platform {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #718096;
}

/* No Testimonials State */
.no-testimonials {
    text-align: center;
    padding: 60px 20px;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state h3 {
    color: #4a5568;
    margin: 20px 0 10px;
    font-size: 1.5rem;
}

.empty-state p {
    color: #a0aec0;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid rgba(200, 20, 31, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: rgb(200, 20, 31);
    border-color: rgb(200, 20, 31);
}

.slider-nav:hover svg {
    stroke: white;
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-nav svg {
    stroke: rgb(200, 20, 31);
    transition: stroke 0.3s ease;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(200, 20, 31, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dots .dot.active {
    background: rgb(200, 20, 31);
    transform: scale(1.2);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    z-index: 10;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgb(200, 20, 31);
    transform: rotate(90deg);
}

.modal-close:hover svg {
    stroke: white;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .video-card {
        flex: 0 0 calc(100% - 30px);
    }

    .video-slider {
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .video-slider-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .testimonial-videos-section {
        padding: 60px 0;
    }

    .video-slider-container {
        padding: 0 40px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .video-thumbnail, .static-thumbnail {
        height: 200px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
    }

    .user-info {
        flex-direction: column;
        text-align: center;
    }

    .user-details {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .video-slider-container {
        padding: 0 20px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        top: 40%;
    }

    .video-content {
        padding: 20px;
    }

    .testimonial-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
