/* Enhanced Testimonials Styling */
.testimonials {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: url('../images/testimonial-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 15, 28, 0.85) 0%, rgba(12, 15, 28, 0.7) 100%);
    z-index: 1;
}

.testimonials .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.testimonials .shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
        opacity: 0.7;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        left: 100%;
        opacity: 0.7;
    }
}

.testimonials .container {
    position: relative;
    z-index: 3;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: #fff;
}

.testimonials-slider {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial {
    padding: 20px;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slick-active .testimonial {
    opacity: 1;
}

.testimonial .quote {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.testimonial .quote:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial .quote:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 3px;
    transform: translateX(-50%) rotate(45deg);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial .quote i {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 15px;
    display: inline-block;
    opacity: 0.8;
}

.testimonial .quote p {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 30px;
    color: #fff;
}

.testimonial .client-info {
    text-align: center;
    padding-top: 20px;
    position: relative;
}

.testimonial .client-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial .client-info p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Slick Customization */
.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
    opacity: 1;
}

.slick-prev, 
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(201, 165, 92, 0.2);
    color: #fff;
    border: 2px solid rgba(201, 165, 92, 0.3);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.slick-prev:hover, 
.slick-next:hover {
    background: var(--primary-color);
    opacity: 1;
    box-shadow: 0 0 20px rgba(201, 165, 92, 0.5);
}

.slick-prev {
    right: -70px;
}

.slick-next {
    left: -70px;
}

.slick-prev i,
.slick-next i {
    font-size: 20px;
}

/* Animations */
@keyframes quote-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slick-active .quote {
    animation: quote-in 0.8s forwards;
}

/* Floating Quote Icon Animation */
.testimonial .quote i {
    animation: float 3s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .slick-prev {
        right: 10px;
    }
    .slick-next {
        left: 10px;
    }
    
    .testimonial .quote {
        padding: 30px 20px;
    }
    
    .testimonial .quote p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonial .quote {
        padding: 25px 15px;
        margin: 10px;
    }
    
    .testimonial .quote p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .testimonial .client-info h4 {
        font-size: 16px;
    }
    
    .testimonial .client-info p {
        font-size: 12px;
    }
} 