/* Section Styling */
.testimonials-section {
    width: 100%;
    padding: 10px 0;
    background-color: #f4f4f4;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    /* margin-bottom: 60px; */
}

.decorative-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
    margin: 0 auto 24px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 500;
    color: #711D17;
    /* margin-bottom: 12px; */
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: #6b5d4f;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Testimonials Slider Wrapper */
.testimonials-slider-wrapper {
    position: relative;
    padding: 40px 0 60px;
}

.testimonials-swiper {
    overflow: visible;
    padding: 20px 0;
}

.testimonials-swiper .swiper-wrapper {
    align-items: center;
}

/* Testimonial Card */
.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(201, 169, 97, 0.1);
}

/* Quote Icon */
.quote-icon {
    color: #FACA4E;
    opacity: 0.15;
    margin-bottom: 24px;
}

.quote-icon svg {
    width: 40px;
    height: auto;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4139;
    margin-bottom: 32px;
    flex-grow: 1;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(201, 169, 97, 0.15);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #FACA4E;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #711D17;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.author-location {
    font-size: 14px;
    color: #8b7d6f;
    font-weight: 400;
}

/* Swiper Slide States - SCOPED to testimonials-swiper only */
.testimonials-swiper .swiper-slide {
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.testimonials-swiper .swiper-slide-active .testimonial-card {
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.3);
}

.testimonials-swiper .swiper-slide-active .quote-icon {
    opacity: 0.25;
}

/* Pagination Dots - SCOPED to testimonials-swiper only */
.testimonials-swiper .swiper-pagination {
    position: relative;
    margin-top: 40px;
    bottom: 0 !important;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d4c5b0;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: #FACA4E;
    width: 32px;
    border-radius: 5px;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }

    .testimonial-card {
        padding: 40px 32px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .testimonials-slider-wrapper {
        padding: 20px 0 40px;
    }

    .testimonial-card {
        padding: 36px 28px;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
    }

    .author-name {
        font-size: 18px;
    }

    .author-location {
        font-size: 13px;
    }

    .quote-icon svg {
        width: 32px;
    }

    /* Mobile: Show only 1 slide centered */
    .testimonials-swiper .swiper-slide {
        opacity: 1;
        transform: scale(1);
    }

    .testimonials-swiper .swiper-slide .testimonial-card {
        box-shadow: 0 8px 30px rgba(201, 169, 97, 0.12);
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 32px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .author-name {
        font-size: 17px;
    }
}