/* Premium Testimonial Slider Styles */

.pts-testimonial-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.pts-testimonial-slider .swiper {
    padding: 20px 50px 60px;
}

.pts-slide-content {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pts-slide-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.12);
}

/* Quote Icon */
.pts-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #e0e0e0;
    z-index: 1;
}

.pts-quote-icon svg {
    width: 40px;
    height: 32px;
}

/* Image */
.pts-image {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pts-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f5f5f5;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Stars */
.pts-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.pts-stars svg {
    width: 18px;
    height: 18px;
    fill: #ffc107;
}

/* Text */
.pts-text {
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 25px;
    font-style: italic;
    flex: 1;
}

/* Author */
.pts-author {
    margin-top: auto;
}

.pts-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.pts-position {
    font-size: 14px;
    color: #666666;
}

/* Navigation Arrows */
.pts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333333;
}

.pts-arrow:hover {
    background: #667eea;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.pts-arrow-prev {
    left: 0;
}

.pts-arrow-next {
    right: 0;
}

.pts-arrow svg {
    width: 24px;
    height: 24px;
}

/* Pagination Dots */
.swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cccccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #667eea;
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   STYLE 1: Classic Card
   ============================================ */
.pts-style1 .pts-slide-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.pts-style1 .pts-image img {
    border: 5px solid #fff;
}

.pts-style1 .pts-quote-icon {
    opacity: 0.5;
}

/* ============================================
   STYLE 2: Modern Gradient
   ============================================ */
.pts-style2 .pts-slide-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    overflow: hidden;
}

.pts-style2 .pts-slide-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.pts-style2 .pts-image img {
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.pts-style2 .pts-text {
    color: rgba(255, 255, 255, 0.95);
}

.pts-style2 .pts-name {
    color: #ffffff;
}

.pts-style2 .pts-position {
    color: rgba(255, 255, 255, 0.8);
}

.pts-style2 .pts-stars svg {
    fill: #ffd700;
}

.pts-style2 .pts-quote-icon {
    color: rgba(255, 255, 255, 0.15);
}

/* ============================================
   STYLE 3: Minimal Clean
   ============================================ */
.pts-style3 .pts-slide-content {
    background: #ffffff;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.pts-style3 .pts-image {
    justify-content: flex-start;
}

.pts-style3 .pts-image img {
    width: 70px;
    height: 70px;
    border: 3px solid #667eea;
}

.pts-style3 .pts-stars {
    justify-content: flex-start;
}

.pts-style3 .pts-text {
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.pts-style3 .pts-text::before {
    content: '"';
    font-size: 60px;
    line-height: 0;
    color: #667eea;
    opacity: 0.2;
    position: absolute;
    left: -15px;
    top: 25px;
    font-family: Georgia, serif;
}

.pts-style3 .pts-quote-icon {
    display: none;
}

/* ============================================
   STYLE 4: Elegant Quote
   ============================================ */
.pts-style4 .pts-slide-content {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    position: relative;
    padding-top: 60px;
}

.pts-style4 .pts-quote-icon {
    position: static;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pts-style4 .pts-quote-icon svg {
    width: 60px;
    height: 48px;
    color: #667eea;
    opacity: 0.3;
}

.pts-style4 .pts-image {
    order: 2;
    margin-top: 20px;
    margin-bottom: 0;
}

.pts-style4 .pts-image img {
    border: 5px solid #667eea;
}

.pts-style4 .pts-stars {
    order: -1;
}

.pts-style4 .pts-text {
    font-size: 17px;
    font-weight: 500;
}

.pts-style4 .pts-slide-content {
    display: flex;
    flex-direction: column;
}

/* ============================================
   Multiple Slides Layout
   ============================================ */
.pts-testimonial-slider .swiper-slide {
    height: auto;
}

.pts-testimonial-slider .swiper-wrapper {
    align-items: stretch;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .pts-testimonial-slider .swiper {
        padding: 20px 40px 60px;
    }
}

@media (max-width: 768px) {
    .pts-slide-content {
        padding: 30px 25px;
    }

    .pts-testimonial-slider .swiper {
        padding: 20px 15px 60px;
    }

    .pts-arrow {
        width: 40px;
        height: 40px;
    }

    .pts-arrow svg {
        width: 20px;
        height: 20px;
    }

    .pts-arrow-prev {
        left: -5px;
    }

    .pts-arrow-next {
        right: -5px;
    }

    .pts-quote-icon svg {
        width: 30px;
        height: 24px;
    }

    .pts-style3 .pts-slide-content {
        text-align: center;
    }

    .pts-style3 .pts-image {
        justify-content: center;
    }

    .pts-style3 .pts-stars {
        justify-content: center;
    }

    .pts-style3 .pts-text {
        text-align: center;
        padding-left: 0;
    }

    .pts-style3 .pts-text::before {
        left: 50%;
        transform: translateX(-50%);
        top: -20px;
    }
}

@media (max-width: 480px) {
    .pts-slide-content {
        padding: 25px 20px;
    }

    .pts-text {
        font-size: 15px;
    }

    .pts-name {
        font-size: 16px;
    }

    .pts-position {
        font-size: 13px;
    }

    .pts-image img {
        width: 60px;
        height: 60px;
    }

    .pts-style3 .pts-image img {
        width: 60px;
        height: 60px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .swiper-pagination-bullet-active {
        width: 20px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swiper-slide-active .pts-slide-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading State */
.pts-testimonial-slider .swiper:not(.swiper-initialized) {
    opacity: 0;
}

.pts-testimonial-slider .swiper.swiper-initialized {
    opacity: 1;
    transition: opacity 0.3s ease;
}
