.bsb-testimonial-section {
    padding: 100px 0;
    background-color: var(--bsb-color-bg);
    overflow: hidden;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bsb-testimonial-slider-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.bsb-testimonial-slider {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.bsb-testimonial-slide {
    grid-area: 1 / 1 / 2 / 2;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.bsb-testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative; /* This defines the height of the grid container */
}

.bsb-testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    background: #f0f0f0;
}

.bsb-testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bsb-testimonial-text {
    font-family: var(--bsb-font-primary);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.6;
    color: var(--bsb-color-text);
    font-weight: 400;
    margin-bottom: 25px;
    max-width: 800px;
}

.bsb-testimonial-author {
    font-family: var(--bsb-font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--bsb-color-text);
    text-transform: none;
    letter-spacing: 0.02em;
}

.bsb-testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.bsb-testimonial-arrow {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bsb-color-text);
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0;
}

.bsb-testimonial-arrow:hover {
    transform: scale(1.2);
}

.bsb-testimonial-arrow svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .bsb-testimonial-section {
        padding: 60px 0;
    }
    
    .bsb-testimonial-text {
        font-size: 1.1rem;
    }
}
