/* ==========================================================================
   Reviews Section
   ========================================================================== */

   .reviews-section {
    background: #FEF6F0;
    padding: 80px 0 100px;
}

.reviews-section-header,
.reviews-tabs-wrapper,
.reviews-slider-nav {
    padding: 0 40px;
}

/* Header */
.reviews-section-header {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reviews-section.animate-in .reviews-section-header {
    opacity: 1;
    transform: translateY(0);
}

.reviews-section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.2;
}

.reviews-section-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tabs */
.reviews-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.reviews-section.animate-in .reviews-tabs-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.reviews-tabs {
    display: inline-flex;
    background: white;
    border-radius: 100px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    gap: 4px;
}

.reviews-tab {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.reviews-tab:hover {
    color: var(--color-primary, #153C6D);
}

.reviews-tab.active {
    background: #F6B38D;
    color: white;
}

/* Content */
.reviews-content-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.reviews-section.animate-in .reviews-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.reviews-tab-content {
    display: none;
}

.reviews-tab-content.active {
    display: block;
}

/* Slider */
.reviews-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    transition: transform 0.4s ease;
}

.reviews-slider-track.centered {
    justify-content: center;
}

/* Review Card */
.review-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 280px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.review-card--image-only {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.review-card--image-only .review-card-media {
    margin-bottom: 0;
    border-radius: 16px;
}

.review-card-media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.review-card-media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.review-card-gallery-hidden {
    display: none;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-direction: row-reverse; /* RTL */
}

.review-card-source {
    flex-shrink: 0;
}

.review-source-icon {
    width: 50px;
    height: 50px;
    display: block;
}

.review-source-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.review-source-google svg {
    width: 50px;
    height: 50px;
}

.review-card-info {
    flex: 1;
    text-align: right;
}

.review-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.review-card-date {
    font-size: 13px;
    color: #999;
}

.review-card-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
}

.review-card-avatar-image {
    background: transparent;
}

.review-card-avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stars */
.review-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
    flex-direction: row-reverse; /* RTL */
    justify-content: flex-end;
}

.review-card-stars .star {
    color: #E0E0E0;
}

.review-card-stars .star.filled {
    color: #F9B26B;
}

/* Review Text */
.review-card-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

/* Navigation */
.reviews-slider-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.reviews-nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary, #153C6D);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.reviews-nav-arrow:hover:not(.disabled) {
    background: #0f2d52;
    transform: scale(1.05);
}

.reviews-nav-arrow.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.reviews-nav-arrow svg {
    width: 20px;
    height: 20px;
}

/* Rotate arrows for RTL */
.reviews-nav-prev {
    transform: rotate(180deg);
}

.reviews-nav-prev:hover:not(.disabled) {
    transform: rotate(180deg) scale(1.05);
}

.reviews-nav-next {
    transform: rotate(180deg);
}

.reviews-nav-next:hover:not(.disabled) {
    transform: rotate(180deg) scale(1.05);
}

/* No reviews message */
.no-reviews {
    text-align: center;
    padding: 48px;
    color: #999;
    font-size: 16px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .reviews-section-header,
    .reviews-tabs-wrapper,
    .reviews-slider-nav {
        padding: 0 32px;
    }
    
    .review-card {
        flex: 0 0 calc(33.333% - 16px);
    }
    
    .review-card-media img {
        height: 170px;
    }
}

@media (max-width: 1024px) {
    .reviews-section {
        padding: 60px 0 80px;
    }
    
    .reviews-section-title {
        font-size: 36px;
    }
    
    .reviews-section-description {
        font-size: 16px;
    }
    
    .review-card {
        flex: 0 0 calc(33.333% - 16px);
        min-width: 260px;
    }
    
    .review-card-media img {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 48px 0 70px;
    }
    
    .reviews-section-header,
    .reviews-tabs-wrapper,
    .reviews-slider-nav {
        padding: 0 24px;
    }
    
    .reviews-section-title {
        font-size: 28px;
    }
    
    .reviews-section-description {
        font-size: 15px;
    }
    
    .reviews-tabs-wrapper {
        margin-bottom: 32px;
    }
    
    .reviews-tabs {
        padding: 4px;
    }
    
    .reviews-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .reviews-slider-track {
        gap: 16px;
    }
    
    .review-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 20px;
    }
    
    .review-card-media img {
        height: 180px;
    }
    
    .reviews-slider-nav {
        margin-top: 32px;
    }
    
    .reviews-nav-arrow {
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid #1a1a1a;
        color: #1a1a1a;
    }
    
    .reviews-nav-arrow:hover:not(.disabled) {
        background: #1a1a1a;
        color: white;
    }
}
.review-card--image-only img{
    height: 388px;
}
@media (max-width: 480px) {
    .reviews-section {
        padding: 40px 0 60px;
    }
    
    .reviews-section-header,
    .reviews-tabs-wrapper,
    .reviews-slider-nav {
        padding: 0 16px;
    }
    
    .reviews-section-title {
        font-size: 24px;
    }
    
    .reviews-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        border-radius: 16px;
    }
    
    .reviews-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .reviews-slider-track {
        gap: 16px;
        padding: 0 16px;
    }
    
    .review-card {
        flex: 0 0 calc(100vw - 48px);
        min-width: calc(100vw - 48px);
        max-width: calc(100vw - 48px);
    }
    
    .review-card-header {
        gap: 10px;
    }
    
    .review-card-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .review-source-icon,
    .review-source-google svg {
        width: 40px;
        height: 40px;
    }
    
    .review-card-name {
        font-size: 14px;
    }
    
    .review-card-date {
        font-size: 12px;
    }
    
    .review-card-text {
        font-size: 13px;
    }
    
    .reviews-nav-arrow {
        width: 40px;
        height: 40px;
    }
}

