/* Testimonials block for home page */

#testimonials.testimonials-v2 {
    --primary: #3b2fb5;
    --primary-light: #5a4fc8;
    --light-bg: #f8f9fc;
    --border: #e2e4ec;
    --radius: 12px;
    --card-shadow: 0 4px 14px rgba(59, 47, 181, 0.08);
    --card-shadow-hover: 0 12px 28px rgba(59, 47, 181, 0.15);
    --text-dark: #1a1a2e;
    --text-body: #495057;
    --text-muted: #6b7280;
    background: #fff;
}

#testimonials .section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

#testimonials .testi-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: center;
}

#testimonials .testi-left .sec-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#testimonials .testi-left .sec-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.25;
    color: var(--text-dark);
    text-align: left;
    margin: 0;
}

#testimonials .testi-left .divider {
    width: 56px;
    height: 3px;
    margin: 12px 0 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

#testimonials .testi-subtitle {
    font-size: 14.5px;
    color: var(--text-body);
    margin-top: 12px;
    line-height: 1.65;
}

#testimonials .testi-count {
    margin-top: 22px;
    font-size: 13px;
    color: var(--text-muted);
}

#testimonials .testi-count strong {
    color: var(--primary);
    font-size: 26px;
    font-family: 'Poppins', sans-serif;
    display: block;
    font-weight: 800;
}

#testimonials .testi-arrows {
    display: flex;
    gap: 9px;
    margin-top: 26px;
}

#testimonials .testi-arr-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: none;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-dark);
}

#testimonials .testi-arr-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

#testimonials .testi-cards {
    min-width: 0;
}

#testimonials .testi-cards .owl-stage {
    display: flex;
}

#testimonials .testi-cards .owl-item {
    display: flex;
}

#testimonials .testi-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    width: 100%;
    height: 100%;
}

#testimonials .testi-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateX(5px);
    border-color: rgba(59, 47, 181, 0.18);
}

#testimonials .testi-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px;
}

#testimonials .testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

#testimonials .testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#testimonials .testi-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
}

#testimonials .testi-org {
    font-size: 12px;
    color: var(--text-muted);
}

#testimonials .testi-stars {
    color: #f59e0b;
    font-size: 12px;
    margin-top: 2px;
}

#testimonials .testi-text {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-body);
    font-style: italic;
}

@media (max-width: 991px) {
    #testimonials .testi-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #testimonials .testi-left {
        text-align: center;
    }

    #testimonials .testi-left .sec-title {
        text-align: center;
    }

    #testimonials .testi-left .divider {
        margin-left: auto;
        margin-right: auto;
    }

    #testimonials .testi-arrows {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    #testimonials .testi-card {
        padding: 20px;
    }
}
