/* =============================================
   Testimonials Section
   ============================================= */

.testimonials-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

/* Left - Image */
.testimonial-image-area {
    flex: 0 0 320px;
    position: relative;
}

.testimonial-image-frame {
    position: relative;
    width: 320px;
    height: 380px;
    border-radius: 160px 160px 160px 160px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-image-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 165px 165px 165px 165px;
    z-index: -1;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Decorative Elements */
.testimonial-decoration {
    position: absolute;
    opacity: 0.1;
}

.testimonial-decoration-1 {
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.testimonial-decoration-2 {
    bottom: 50px;
    left: -40px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 12px 12px;
}

/* Right - Content */
.testimonial-content-area {
    flex: 1;
}

/* Quote Icon */
.testimonial-quote-icon {
    margin-bottom: 24px;
}

.testimonial-quote-icon svg {
    width: 50px;
    height: 50px;
    fill: rgba(255, 255, 255, 0.2);
}

/* Stars */
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.testimonial-stars i {
    font-size: 1.25rem;
    color: #fbbf24;
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
}

.testimonial-slides {
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

/* Quote Text */
.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Author Info */
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-heading);
}

.testimonial-author-role {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Dots Navigation */
.testimonial-dots {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.testimonial-dot.active {
    background-color: var(--white);
}

/* =============================================
   Responsive Styles
   ============================================= */

@media (max-width: 1199px) {
    .testimonials-wrapper {
        gap: 60px;
    }
    
    .testimonial-image-area {
        flex: 0 0 280px;
    }
    
    .testimonial-image-frame {
        width: 280px;
        height: 340px;
        border-radius: 140px 140px 140px 140px;
    }
}

@media (max-width: 991px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .testimonial-image-area {
        flex: none;
    }
    
    .testimonial-image-frame {
        width: 240px;
        height: 300px;
        margin: 0 auto;
        border-radius: 120px 120px 120px 120px;
    }
    
    .testimonial-content-area {
        max-width: 600px;
    }
    
    .testimonial-quote-icon {
        display: flex;
        justify-content: center;
    }
    
    .testimonial-stars {
        justify-content: center;
    }
    
    .testimonial-dots {
        justify-content: center;
    }
    
    .testimonial-decoration-1,
    .testimonial-decoration-2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 1.125rem;
    }
    
    .testimonial-image-frame {
        width: 200px;
        height: 260px;
        border-radius: 100px 100px 100px 100px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .testimonial-image-frame {
        width: 180px;
        height: 230px;
        border-radius: 90px 90px 90px 90px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-quote-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-stars i {
        font-size: 1rem;
    }
}
