/* ========================================
   TESTIMONIALS CAROUSEL - REBUILT
   Modern, compact card design
   ======================================== */

.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Google Rating Summary */
.google-rating-summary {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.rating-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.score-number {
    font-size: 48px;
    font-weight: 800;
    color: #007bff;
    line-height: 1;
}

.rating-score .stars {
    display: flex;
    gap: 5px;
}

.rating-score .stars i {
    color: #ffc107;
    font-size: 24px;
}

.rating-text {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 15px;
}

.rating-text strong {
    color: #212529;
    font-weight: 700;
}

.google-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: #5f6368;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.google-link:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* Carousel Wrapper */
.testimonials-carousel-wrapper {
    position: relative;
    padding: 0;
}

/* Testimonial Card - NEW DESIGN */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Card Top - Stars and Badge */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars i {
    color: #ffc107;
    font-size: 18px;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.6;
}

.google-badge img {
    width: 16px;
    height: 16px;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

/* Customer Info - NEW LAYOUT */
.customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #007bff;
}

.customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-details {
    flex: 1;
}

.customer-name {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4px;
}

.customer-meta {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

.customer-meta i {
    color: #007bff;
    margin-right: 4px;
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #007bff;
    color: #007bff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-nav:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: -60px;
}

.testimonial-next {
    right: -60px;
}

/* Owl Carousel Dots */
.testimonials-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.testimonials-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonials-carousel .owl-dot.active {
    background: #007bff;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-carousel-wrapper {
        padding: 0 40px;
    }
    
    .testimonial-card {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        padding: 0 30px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonial-card {
        padding: 20px;
        min-height: 220px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .customer-name {
        font-size: 16px;
    }
    
    .customer-meta {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .testimonials-carousel-wrapper {
        padding: 0 20px;
    }
    
    .testimonial-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .google-rating-summary {
        padding: 20px;
    }
    
    .score-number {
        font-size: 36px;
    }
    
    .rating-score .stars i {
        font-size: 20px;
    }
}

/* Section Header Styles */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 15px;
}

.section-description {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 15px;
    }
}
