/* Testimonials Section */
.testimonials {
    background-color: #f9f5f0;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.testimonials h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.testimonial-slide {
    padding: 0 15px;
    outline: none;
}

.testimonial-card {
    background: white;
    padding: 60px 15%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--accent-color);
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    opacity: 0.1;
    z-index: 0;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

.testimonial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.testimonial-prev,
.testimonial-next {
    background: white;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-size: 1rem;
    padding: 0;
    border: none;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--accent-color);
    color: white;
}

/* Slick Dots Customization */
.slick-dots {
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 15px;
    padding: 10px 0;
    list-style: none;
    width: auto;
}

.slick-dots li {
    margin: 0 8px;
    width: 10px;
    height: 10px;
    position: relative;
}

.slick-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    text-indent: -9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.slick-dots .slick-active button {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .testimonial-card {
        padding: 50px 10%;
    }
    
    .testimonial-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 40px 8%;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .testimonial-author {
        font-size: 1rem;
    }
    
    .testimonial-prev,
    .testimonial-next {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 40px 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-card:before {
        font-size: 4rem;
        top: 30px;
    }
    
    .testimonial-nav {
        margin-top: 30px;
    }
}

/* Animation for slide transition */
.slick-slide {
    transition: opacity 0.5s ease-in-out;
}

.slick-slide:not(.slick-active) {
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.5s ease-in-out;
}

.slick-slide.slick-active {
    opacity: 1;
    transform: scale(1);
}
