/* ================================
   AB Performance - Testimonials CSS
   Minimal Clean Design
   ================================ */

.ab-performance-testimonials {
    background: linear-gradient(135deg, #f5f5f5 0%, #eaeaea 100%);
    padding: 100px 20px;
}

.ab-performance-testimonials-container {
    max-width: 850px;
    margin: 0 auto;
}

/* --------------------------------
   Header
   -------------------------------- */
.ab-performance-testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.ab-performance-testimonials-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #e1303a;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.ab-performance-testimonials-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* --------------------------------
   Carousel
   -------------------------------- */
.ab-performance-testimonials-carousel {
    position: relative;
    min-height: 280px;
}

/* --------------------------------
   Testimonial Item
   -------------------------------- */
.ab-performance-testimonial {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-performance-testimonial.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.ab-performance-testimonial.exit {
    transform: translateX(-30px);
}

/* --------------------------------
   Card
   -------------------------------- */
.ab-performance-testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 45px 50px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #e1303a 0%, #E9A329 100%) 1;
}

/* Decorative corner accent */
.ab-performance-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(225, 48, 58, 0.04) 0%, transparent 60%);
    border-radius: 0 12px 0 100px;
    pointer-events: none;
}

/* --------------------------------
   Quote
   -------------------------------- */
.ab-performance-testimonial-quote {
    margin-bottom: 30px;
    position: relative;
}

/* Subtle quote mark */
.ab-performance-testimonial-quote::before {
    content: '"';
    font-size: 80px;
    font-family: Georgia, serif;
    background: linear-gradient(135deg, #e1303a 0%, #E9A329 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    position: absolute;
    top: -30px;
    left: -8px;
    line-height: 1;
    pointer-events: none;
}

.ab-performance-testimonial-quote p {
    font-size: 19px;
    font-weight: 400;
    color: #333333;
    line-height: 1.85;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* --------------------------------
   Meta (Author + Rating)
   -------------------------------- */
.ab-performance-testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.ab-performance-testimonial-author strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.ab-performance-testimonial-author span {
    font-size: 14px;
    color: #888888;
}

.ab-performance-testimonial-rating {
    display: flex;
    gap: 4px;
}

.ab-performance-testimonial-rating i {
    color: #E9A329;
    font-size: 15px;
}

/* --------------------------------
   Navigation - Simple Arrows
   -------------------------------- */
.ab-performance-testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.ab-performance-testimonials-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ab-performance-testimonials-btn i {
    font-size: 22px;
    color: #e1303a;
    transition: all 0.3s ease;
}

.ab-performance-testimonials-btn:hover i {
    color: #c72730;
}

.ab-performance-testimonials-btn.prev:hover i {
    transform: translateX(-4px);
}

.ab-performance-testimonials-btn.next:hover i {
    transform: translateX(4px);
}

/* Counter between arrows */
.ab-performance-testimonials-counter {
    font-size: 14px;
    font-weight: 500;
    color: #999999;
    min-width: 50px;
    text-align: center;
}

.ab-performance-testimonials-counter .current {
    color: #1a1a1a;
    font-weight: 700;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 968px) {
    .ab-performance-testimonials {
        padding: 80px 20px;
    }
    
    .ab-performance-testimonials-container {
        max-width: 700px;
    }
    
    .ab-performance-testimonials-header {
        margin-bottom: 40px;
    }
    
    .ab-performance-testimonials-header h2 {
        font-size: 34px;
    }
    
    .ab-performance-testimonials-carousel {
        min-height: 300px;
    }
    
    .ab-performance-testimonial-card {
        padding: 38px 42px;
    }
    
    .ab-performance-testimonial-quote p {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .ab-performance-testimonials {
        padding: 70px 20px;
    }
    
    .ab-performance-testimonials-header h2 {
        font-size: 28px;
    }
    
    .ab-performance-testimonials-carousel {
        min-height: auto;
    }
    
    .ab-performance-testimonial-card {
        padding: 32px 28px;
    }
    
    .ab-performance-testimonial-card::before {
        width: 70px;
        height: 70px;
    }
    
    .ab-performance-testimonial-quote {
        margin-bottom: 25px;
    }
    
    .ab-performance-testimonial-quote::before {
        font-size: 60px;
        top: -22px;
        left: -5px;
    }
    
    .ab-performance-testimonial-quote p {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .ab-performance-testimonial-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 20px;
    }
    
    .ab-performance-testimonials-nav {
        margin-top: 30px;
        gap: 30px;
    }
    
    .ab-performance-testimonials-btn i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .ab-performance-testimonials {
        padding: 60px 15px;
    }
    
    .ab-performance-testimonials-header h2 {
        font-size: 26px;
    }
    
    .ab-performance-testimonial-card {
        padding: 28px 24px;
    }
    
    .ab-performance-testimonial-quote::before {
        font-size: 50px;
        top: -18px;
    }
    
    .ab-performance-testimonial-quote p {
        font-size: 15px;
    }
    
    .ab-performance-testimonial-author strong {
        font-size: 15px;
    }
    
    .ab-performance-testimonial-author span {
        font-size: 13px;
    }
    
    .ab-performance-testimonials-nav {
        gap: 25px;
    }
    
    .ab-performance-testimonials-btn i {
        font-size: 18px;
    }
    
    .ab-performance-testimonials-counter {
        font-size: 13px;
    }
}