.quote {
    flex-grow: 1;
    font-style: italic;
    color: #172933;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: .5em;
    -webkit-font-smoothing: antialiased; /* Better font rendering on Safari */
}

.reviewer {
    display: flex;
    flex-direction: column; /* ⬅️ Stack avatar, name, role vertically */
    align-items: flex-start; /* Align to left */
    gap: 5px; /* Space between items */
    margin-top: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover; /* Ensure image does not stretch */
}

.name {
    font-weight: bold;
    color: #172933;
    margin: 0;
}

.role {
    font-size: 13px;
    color: #172933;
    margin: 0;
}

.review-rating {
    color: #f5a623;
    font-size: 20px;
    margin-bottom: 10px;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch; /* Smooth scroll in Safari */
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
    overflow: visible; /* Important for Safari to display outer box-shadow */
    transition-timing-function: ease-in-out; /* Smooth transition */
}

.swiper-slide {
    display: flex;
    height: auto !important;
    box-sizing: border-box;
    padding: 0 10px;
    flex-shrink: 0; /* Prevent Safari from shrinking the slide */
    min-width: 0; /* Fix flex children overflow in Safari */
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    -webkit-transform: translateZ(0); /* Fix box-shadow not showing in Safari */
}

.swiper-pagination {
    bottom: 0 !important;
}
