/* Remove these styles from onboarding.html */
.testimonial-card {
    background: #FE8115;
    padding: 20px;
    width: 100%;
    margin: 0 0 16px 0;
    position: relative;
    overflow: hidden;
    height: 180px;
    box-sizing: border-box;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.testimonial-slide.active {
    display: flex;
    opacity: 1;
}

.testimonial-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    text-align: center;
    line-height: 1.4;
    padding: 0 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 40px;
}

.flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.author-info {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

.testimonial-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    opacity: 1;
    background: none;
}