/* ============================================
   Testimonials / Client Reviews Section
   ============================================ */
.testimonials-section {
    background: linear-gradient(160deg, #010e2a 0%, #021a4d 50%, #010e2a 100%);
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Background decorative text */
.testimonials-section::before {
    content: 'REVIEWS';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: 14px;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

/* Decorative circles */
.testimonials-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 94, 20, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

.testimonials-inner {
    position: relative;
    z-index: 2;
}

/* ---- Section Header ---- */
.testimonials-badge {
    display: inline-block;
    padding: 5px 18px;
    background: rgba(255, 94, 20, 0.15);
    border: 1px solid rgba(255, 94, 20, 0.4);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.testimonials-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.testimonials-heading span {
    color: var(--primary-color);
}

.testimonials-divider {
    width: 60px;
    height: 4px;
    background: var(--orange-gradient);
    margin: 0.75rem auto 1rem;
    border-radius: 999px;
}

.testimonials-subtext {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- Swiper Wrapper ---- */
.testimonials-swiper-wrap {
    position: relative;
    margin-top: 3.5rem;
    padding: 20px 0 60px;
}

.testimonials-swiper {
    padding: 30px 20px 20px !important;
    overflow: visible !important;
}

/* ---- Testimonial Card ---- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.85);
    opacity: 0.55;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    user-select: none;
}

/* Active (center) card */
.swiper-slide-active .testimonial-card {
    transform: scale(1);
    opacity: 1;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 94, 20, 0.45);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 94, 20, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Prev & next visible cards */
.swiper-slide-prev .testimonial-card,
.swiper-slide-next .testimonial-card {
    transform: scale(0.87);
    opacity: 0.6;
}

/* ---- Quote Icon ---- */
.testimonial-quote-icon {
    position: absolute;
    top: -18px;
    left: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 94, 20, 0.4);
    z-index: 2;
}

/* ---- Stars ---- */
.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.25rem;
    justify-content: flex-start;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* ---- Review Text ---- */
.testimonial-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1.75rem;
    font-style: italic;
    position: relative;
}

/* ---- Divider ---- */
.testimonial-card-divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 94, 20, 0.3) 50%,
        transparent 100%);
    margin-bottom: 1.5rem;
}

/* ---- Author Info ---- */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--orange-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(255, 94, 20, 0.5);
    box-shadow: 0 6px 20px rgba(255, 94, 20, 0.3);
    letter-spacing: 0.5px;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.testimonial-author-role {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3px;
}

/* ---- Vehicle Tag ---- */
.testimonial-vehicle-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 94, 20, 0.12);
    border: 1px solid rgba(255, 94, 20, 0.3);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 50px;
}

.testimonial-vehicle-tag i {
    font-size: 0.75rem;
}

/* ---- Navigation Arrows ---- */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 2.5rem;
}

.testimonials-btn-prev,
.testimonials-btn-next {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    user-select: none;
}

.testimonials-btn-prev:hover,
.testimonials-btn-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 94, 20, 0.4);
}

/* ---- Pagination dots ---- */
.testimonials-swiper-wrap .swiper-pagination {
    bottom: 0;
}

.testimonials-swiper-wrap .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.testimonials-swiper-wrap .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .testimonials-heading { font-size: 2rem; }
    .testimonials-section::before { font-size: 4rem; }
}

@media (max-width: 768px) {
    .testimonials-section { padding: 70px 0 80px; }
    .testimonials-heading { font-size: 1.7rem; }

    .testimonial-card {
        transform: scale(1) !important;
        opacity: 1 !important;
    }
}

@media (max-width: 576px) {
    .testimonials-heading { font-size: 1.5rem; }
    .testimonial-text { font-size: 0.88rem; }
}
