/* Testimonial Section - New Modern Design with Slider */

.testimonial-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
}

.testimonial-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
}

.testimonial-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-header h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -1px;
}

.testimonial-header p {
    font-size: 16px;
    color: #888;
    margin: 0;
    font-weight: 400;
}

.testimonial-content {
    position: relative;
}

/* Testimonials Slider */
.testimonial-slider {
    position: relative;
    padding-bottom: 40px;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: auto;
    min-width: 0;
}

/* Individual Testimonial Item */
.testimonial-item {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
    border-left: 4px solid #d4a574;
    width: 100%;
    max-width: 100%;
    min-height: 350px;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
}

.testimonial-item:hover {
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.15);
    transform: translateY(-5px);
    border-left-color: #c99560;
}

/* Quote Mark */
.testimonial-quote-mark {
    font-size: 60px;
    color: #d4a574;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 20px 0;
    font-style: italic;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow: hidden;
    min-width: 0;
}

/* Star R8px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.testimonial-rating i {
    color: #d4a574;
    font-size: 16px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(212, 165, 116, 0.1)
.testimonial-rating i {
    color: #d4a574;
    font-size: 12px;
}

/* Author Info */
.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4a574;
}

.author-details {
    flex: 1;
}

.author-details h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 4px 0;
    font-weight: 700;
}

.author-details span {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial-section {
        padding: 80px 0;
    }

    .testimonial-header h2 {
        font-size: 40px;
    }

    .testimonials-container {
        gap: 30px;
    }

    .testimonial-item {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-header {
        margin-bottom: 40px;
    }

    .testimonial-header h2 {
        font-size: 32px;
    }

    .testimonial-header p {
        font-size: 14px;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonial-item {
        padding: 30px;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .testimonial-quote-mark {
        font-size: 50px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .testimonial-section {
        padding: 50px 0;
    }

    .testimonial-wrapper {
        padding: 0 15px;
    }

    .testimonial-header h2 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .testimonial-header p {
        font-size: 13px;
    }

    .testimonial-header {
        margin-bottom: 30px;
    }

    .testimonials-container {
        gap: 20px;
    }

    .testimonial-item {
        padding: 20px;
        border-radius: 6px;
    }

    .testimonial-text {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .testimonial-quote-mark {
        font-size: 40px;
    }

    .testimonial-rating {
        gap: 4px;
        margin-bottom: 15px;
    }

    .testimonial-rating i {
        font-size: 11px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-details h4 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .author-details span {
        font-size: 10px;
    }

    .testimonial-author-info {
        gap: 12px;
        padding-top: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.testimonial-item:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-item:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-item:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Swiper Pagination Styles */
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    justify-content: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d4a574;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background-color: #d4a574;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}
