/*===================================================
    Professional Client Testimonials Section
    Gapat Engineering Pvt. Ltd.
====================================================*/

.testimonials-custom-section {
    position: relative;
    padding: 25px 0 10px;
    background-color: #f8fafc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    overflow: hidden;
}

/* Subtle background accent */
.testimonials-custom-section::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(8, 159, 172, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Left Trust Column */
.testi-left-content {
    padding-right: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testi-left-content .section-heading {
    margin-bottom: 24px;
}

.testi-left-content .section-heading h3 {
    display: inline-block;
    color: var(--primary-color, #089fac);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding-left: 45px;
    margin-bottom: 8px;
}

.testi-left-content .section-heading h3:before {
    background-color: var(--primary-color, #089fac);
    width: 35px;
    height: 2px;
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.testi-left-content .section-heading h2 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.28;
    color: var(--heading-color, #1e293b);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.testi-left-content .section-heading p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* Rating Summary Card */
.testi-rating-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 25px 0 30px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    gap: 20px;
}

.testi-score-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e0f7f9 0%, #cbf0f4 100%);
    color: var(--primary-color, #089fac);
    flex-shrink: 0;
}

.testi-score-circle strong {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.testi-score-circle span {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}

.testi-rating-details h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.testi-stars-row {
    color: #f59e0b;
    font-size: 15px;
    display: flex;
    gap: 2px;
    margin-bottom: 4px;
}

.testi-rating-details small {
    font-size: 12.5px;
    color: #64748b;
}

/* Slider Controls */
.testi-controls-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
    user-select: none;
}

.testi-nav-btn:hover {
    background: var(--primary-color, #089fac);
    border-color: var(--primary-color, #089fac);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(8, 159, 172, 0.25);
}

/* Right Testimonial Card */
.testi-carousel-outer {
    position: relative;
}

.testimonial-modern-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 38px 36px;
    position: relative;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

.testimonial-modern-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

/* Quote Icon Decoration */
.testi-quote-icon {
    position: absolute;
    top: 28px;
    right: 32px;
    font-size: 60px;
    line-height: 1;
    color: #e2e8f0;
    pointer-events: none;
}

/* Card Header: Stars & Project Badge */
.testi-card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.testi-stars-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 5px 12px;
    border-radius: 20px;
}

.testi-stars-badge .stars {
    color: #f59e0b;
    font-size: 14px;
    display: flex;
    gap: 2px;
}

.testi-stars-badge .rating-label {
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
}

.testi-project-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color, #089fac);
    background: rgba(8, 159, 172, 0.08);
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Testimonial Statement */
.testi-statement {
    font-size: 16.5px;
    line-height: 1.75;
    color: #334155;
    font-weight: 500;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

/* Author Info */
.testi-author-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.testi-author-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.testi-author-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testi-author-info h4 .verified-badge {
    color: var(--primary-color, #089fac);
    font-size: 16px;
}

.testi-author-info p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.testi-author-info p strong {
    color: #475569;
}

/* Pagination bullets */
.testi-pagination {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.testi-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.testi-pagination .swiper-pagination-bullet-active {
    width: 26px;
    background: var(--primary-color, #089fac);
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .testimonials-custom-section {
        padding: 65px 0 70px;
    }

    .testi-left-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .testimonial-modern-card {
        padding: 30px 24px;
    }

    .testi-quote-icon {
        font-size: 45px;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 767px) {
    .testimonials-custom-section {
        padding: 50px 0 55px;
    }

    .testi-left-content .section-heading h2 {
        font-size: 26px;
    }

    .testi-rating-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 20px;
    }

    .testi-statement {
        font-size: 15px;
        line-height: 1.65;
    }

    .testi-card-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}