/* testimonials.css - Testimonials Section Styles */

.testimonials-section {
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--accent-gold) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(123, 44, 191, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials-section .section-title {
    color: var(--deep-purple);
    position: relative;
    z-index: 1;
    font-size: 23px;
}

/* Video Testimonials */
.video-testimonials {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.video-testimonials h3 {
    text-align: center;
    color: var(--dark-charcoal);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.video-item {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--primary-gold);
    transition: none; /* Remove transition for mobile optimization */
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 17px;
}

/* Remove all hover effects from video items */
.video-item::before {
    display: none;
}

/* Image Testimonials */
.image-testimonials {
    position: relative;
    z-index: 1;
}

.image-testimonials h3 {
    text-align: center;
    color: var(--deep-purple);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-carousel {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: var(--soft-white);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(123, 44, 191, 0.1);
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-testimonials 30s linear infinite;
    width: fit-content;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-img {
    width: 280px;
    height: auto; /* edt */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 36px rgba(123, 44, 191, 0.2);
    border-color: var(--royal-purple);
}

/* Testimonial Hover Pause */
.testimonial-carousel:hover .testimonial-track {
    animation-play-state: paused;
}

/* Mobile Specific Styles */
@media (max-width: 479px) {
    .video-item {
        height: 250px;
    }
    
    .video-item::before {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .testimonial-img {
        width: 220px;
    height: auto; /* edt */
    }
    
    .testimonial-carousel {
        padding: 1rem;
    }
    
    .video-testimonials h3,
    .image-testimonials h3 {
        font-size: 1.5rem;
    }
}

/* Tablet Styles */
/* @media (min-width: 480px) and (max-width: 767px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .video-item {
        height: 280px;
    }
    
    .testimonial-img {
        width: 250px;
        height: 320px;
    }
} */

/* Tablet Large Styles */
/* @media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .video-item {
        height: 320px;
    }
    
    .testimonial-img {
        width: 300px;
        height: 380px;
    }
    
    .testimonial-carousel {
        padding: 2.5rem;
    }
} */

/* Desktop Styles */
@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .video-item {
        height: 350px;
    }
    
    .video-testimonials,
    .image-testimonials {
        margin-bottom: 5rem;
    }
    
    .testimonial-track {
        gap: 2rem;
    }
    
    .testimonial-img {
        width: 320px;
    height: auto; /* edt */
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .video-item {
        height: 300px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .testimonial-track {
        animation: none;
    }
    
    .video-item:hover::before {
        transform: translate(-50%, -50%);
    }
    
    .testimonial-img:hover {
        transform: none;
    }
}

/* High Contrast Mode */
/* @media (prefers-contrast: high) {
    .video-item {
        border-width: 4px;
    }
    
    .testimonial-img {
        border-width: 3px;
    }
    
    .video-item::before {
        background: #000000;
        border: 2px solid #FFFFFF;
    }
} */

/* Dark Mode Support */
/* @media (prefers-color-scheme: dark) {
    .testimonial-carousel {
        background: rgba(44, 44, 44, 0.8);
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .video-testimonials h3,
    .image-testimonials h3 {
        color: var(--primary-gold);
    }
} */

/* Print Styles */
/* @media print {
    .video-testimonials {
        display: none;
    }
    
    .testimonial-track {
        animation: none;
        flex-wrap: wrap;
    }
    
    .testimonial-img {
        width: 200px;
        height: 250px;
        page-break-inside: avoid;
    }
} */







/* Image Testimonials Styles */
.vtwo-image-testimonials {
    padding: 40px 0;
    background: var(--accent-gold);
}

.vtwo-image-testimonials h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
    font-weight: 600;
}

.vtwo-image-testimonials h4 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.3rem;
    color: #555555;
    font-weight: 400;
}

.vtwo-testimonial-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.vtwo-testimonial-track {
    display: flex;
    width: fit-content;
    animation: vtwo-autoScroll 30s linear infinite;
    transition: transform 0.3s ease;
}

.vtwo-testimonial-track:hover {
    animation-play-state: paused;
}

.vtwo-testimonial-img {
    width: 300px;
    height: auto;
    object-fit: contain;
    margin-right: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.vtwo-testimonial-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.vtwo-testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.vtwo-scroll-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vtwo-scroll-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

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

@keyframes vtwo-autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .vtwo-testimonial-carousel {
        margin: 0 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .vtwo-testimonial-track {
        animation: none;
    }
    
    .vtwo-testimonial-img {
        width: 250px;
        margin-right: 15px;
    }
    
    .vtwo-testimonial-controls {
        display: none;
    }
    
    .vtwo-image-testimonials h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    /* Custom scrollbar for mobile */
    .vtwo-testimonial-carousel::-webkit-scrollbar {
        height: 8px;
    }
    
    .vtwo-testimonial-carousel::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    .vtwo-testimonial-carousel::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 4px;
    }
    
    .vtwo-testimonial-carousel::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }
}

@media (max-width: 480px) {
    .vtwo-testimonial-img {
        width: 200px;
        margin-right: 10px;
    }
    
    .vtwo-image-testimonials {
        padding: 20px 0;
    }
    
    .vtwo-image-testimonials h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}