.testa-section {
    background: white;
    padding: 80px 20px;
    overflow: hidden;
    margin-bottom: 100px;
}

.testa-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testa-header {
    text-align: center;
    margin-bottom: 60px;
}

.testa-label {
    color: #8e56dc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.testa-title {
    color: #3b3f44;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.testa-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.testa-carousel-container {
    overflow: hidden;
    position: relative;
}

.testa-carousel-container::before,
.testa-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 1;
    pointer-events: none;
}

.testa-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.testa-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.testa-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
    position: relative;
    z-index: 2;
}

.testa-card {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
    background: white;
    border-radius: 8px;
    padding: 32px;
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.testa-card:hover {
    border-color: rgba(142, 86, 220, 0.4);
}

.testa-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.testa-user-info {
    flex: 1;
}

.testa-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.testa-user-title {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

.testa-company-logo {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testa-content {
    flex: 1;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testa-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testa-rating-icon {
    width: 24px;
    height: 24px;
    background: #f97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.testa-stars {
    display: flex;
    gap: 2px;
}

.testa-star {
    color: #fbbf24;
    font-size: 18px;
}

.testa-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.testa-nav-button:hover {
    background: #8e56dc;
    color: white;
    box-shadow: 0 6px 12px rgba(142, 86, 220, 0.3);
    border-color: #8e56dc;
}

.testa-nav-button:focus {
    outline: 3px solid rgba(142, 86, 220, 0.4);
    outline-offset: 2px;
}

.testa-nav-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.testa-nav-button:disabled:hover {
    background: white;
    color: inherit;
    border-color: rgba(229, 231, 235, 0.8);
}

.testa-nav-button svg {
    width: 24px;
    height: 24px;
}

.testa-nav-prev {
    left: 0;
}

.testa-nav-next {
    right: 0;
}

.testa-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin: 0 auto 16px auto;
}

.testa-rating-number {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.testa-rating-stars-header {
    display: flex;
    gap: 2px;
}

.testa-rating-stars-header .testa-star {
    color: #fbbf24;
    font-size: 16px;
}

.testa-rating-count {
    font-size: 14px;
    color: #6b7280;
    margin-left: 4px;
}

.testa-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.testa-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testa-indicator:hover {
    background: rgba(142, 86, 220, 0.3);
    border-color: #8e56dc;
}

.testa-indicator:focus {
    outline: 3px solid rgba(142, 86, 220, 0.4);
    outline-offset: 2px;
}

.testa-indicator.testa-active {
    background: #8e56dc;
    border-color: #8e56dc;
    width: 32px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testa-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }

    .testa-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .testa-section {
        padding: 60px 20px;
    }

    .testa-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .testa-carousel-wrapper {
        padding: 0 40px;
    }

    .testa-carousel-container::before,
    .testa-carousel-container::after {
        display: none;
    }

    .testa-title {
        font-size: 32px;
    }

    .testa-nav-button {
        width: 40px;
        height: 40px;
    }

    .testa-nav-button svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .testa-carousel-wrapper {
        padding: 0 20px;
    }

    .testa-card {
        padding: 24px;
    }

    .testa-title {
        font-size: 28px;
    }

    .testa-nav-button {
        width: 36px;
        height: 36px;
    }
}

/* Screen reader only class */
.testa-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}