/* Global Testimonials (Feedback Section) Styles */
.feedback-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Feedback Floating Patterns */
.feedback-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(35, 85, 207, 0.1);
    border-radius: 50%;
    animation: feedbackFloat1 10s ease-in-out infinite;
}

.feedback-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 8%;
    width: 60px;
    height: 60px;
    background: rgba(35, 85, 207, 0.06);
    transform: rotate(45deg);
    animation: feedbackFloat2 8s ease-in-out infinite reverse;
}

.feedback-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-left {
    position: relative;
}

.feedback-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.feedback-right {
    position: relative;
}

.feedback-header {
    margin-bottom: 50px;
}

.feedback-tag {
    display: inline-block;
    background: #2355cf;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1.5625rem;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.feedback-title {
    font-size: 2.625rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    margin: 0;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.testimonial-item {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
}

.testimonial-author {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.quote-icon {
    background: #2355cf;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.author-title {
    font-size: 0.875rem;
    color: #2355cf;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin: 0;
    padding-left: 0;
}

/* Slider Navigation Dots */
.testimonial-dots {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: #2355cf;
    transform: scale(1.2);
}

.testimonial-dots .dot:hover {
    background: #1a4bb5;
}

/* Keyframes */
@keyframes feedbackFloat1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.1; 
    }
    50% { 
        transform: translate(-20px, -25px) scale(1.2); 
        opacity: 0.15; 
    }
}

@keyframes feedbackFloat2 {
    0%, 100% { 
        transform: translate(0, 0) rotate(45deg); 
    }
    50% { 
        transform: translate(25px, -20px) rotate(135deg); 
    }
}

@keyframes videoFloat1 {
    0% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    100% { 
        transform: translate(0, 0) rotate(360deg); 
    }
}

/* Responsive Feedback */
@media (max-width: 1024px) {
    .feedback-grid {
        gap: 60px;
    }
    
    .feedback-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .feedback-section {
        padding: 80px 0;
    }
    
    .feedback-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .feedback-title {
        font-size: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-info h3 {
        font-size: 1.125rem;
    }
    
    .testimonial-text {
        text-align: left;
    }

    .testimonial-dots {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .feedback-title {
        font-size: 1.75rem;
    }
    
    .testimonial-text {
        font-size: 0.9375rem;
    }
    
    .quote-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

/* =========================================
   Video Feedback Section Styles
   ========================================= */
.video-feedback-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.video-feedback-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Video Feedback Decorative Elements */
.video-feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(35, 85, 207, 0.3) 50%, transparent 100%);
}

.video-feedback-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(35, 85, 207, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    animation: videoFloat1 20s linear infinite;
}

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

.video-feedback-tag {
    display: inline-block;
    background: #2355cf;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1.5625rem;
    font-size: 1rem;
    font-weight: 500;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(35, 85, 207, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(35, 85, 207, 0.1);
    position: relative;
}

.video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2355cf, #1e4ab8, #1940a3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(35, 85, 207, 0.15);
    border-color: rgba(35, 85, 207, 0.2);
}

.video-item:hover::before {
    opacity: 1;
}

.video-container {
    position: relative;
    width: 100%;
    height: 244px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(35, 85, 207, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s ease;
}

.video-item:hover .video-container iframe {
    transform: scale(1.05);
}

.video-author {
    padding: 25px 20px;
    text-align: center;
    background: white;
    position: relative;
}

.video-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(35, 85, 207, 0.2), transparent);
}

.video-author h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.video-author h5::before {
    content: '▶';
    color: #2355cf;
    font-size: 0.75rem;
    opacity: 0.7;
}

.video-author h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2355cf, #1e4ab8);
    transition: width 0.3s ease;
}

.video-item:hover .video-author h5::after {
    width: 60px;
}

/* Responsive Video Feedback */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .video-item:hover {
        transform: translateY(-10px) scale(1.01);
    }
}

@media (max-width: 768px) {
    .video-feedback-section {
        padding: 80px 0;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 400px;
    }
    
    .video-container {
        height: 220px;
    }
    
    .video-author {
        padding: 20px;
    }
    
    .video-author h5 {
        font-size: 1.0625rem;
    }
    
    .video-item:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .video-feedback-section {
        padding: 60px 0;
    }
    
    .video-grid {
        gap: 25px;
    }
    
    .video-container {
        height: 200px;
    }
    
    .video-author {
        padding: 18px 15px;
    }
    
    .video-author h5 {
        font-size: 1rem;
    }
    
    .video-item:hover {
        transform: translateY(-5px);
    }
}
