/* Reviews Section Styles */
.reviews-section {
    background-color: var(--colors-base-white);
    padding: var(--section-vertical-padding-default, 96px) 0;
    position: relative;
    direction: rtl;
}

.reviews-section .section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-horizontal-padding-default, 32px);
}
.reviews-container .slick-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.reviews-container .slick-track .review-card {
    height: 325px;
    padding: 24px;
}

.reviews-section .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    width: 100%;
}

/* Header Section */
.reviews-section .header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.reviews-section .pre-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reviews-section .award-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-section .pre-header-text span {
    font-family: var(--font-family-font-family-display, 'IBM Plex Sans Arabic', sans-serif);
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #0b76ad;
    text-align: center;
}

.reviews-section .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.reviews-section .main-heading {
    font-family: var(--font-family-font-family-display, 'IBM Plex Sans Arabic', sans-serif);
    font-weight: 700;
    font-size: 60px;
    line-height: 80px;
    text-align: center;
    background: linear-gradient(45deg, #04344e 0%, #0b76ad 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    width: 100%;
}

.reviews-section .description {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.reviews-section .description p {
    font-family: var(--font-family-font-family-display, 'IBM Plex Sans Arabic', sans-serif);
    font-weight: 600;
    font-size: 30px;
    line-height: 44px;
    text-align: center;
    color: #04344e;
    max-width: 720px;
    margin: 0;
}

/* Google Rating Section */
.reviews-section .google-rating-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.reviews-section .rating-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-section .rating-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.reviews-section .clinic-name {
    font-family: 'Poppins', 'Noto Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    color: #181d27;
    text-align: right;
    margin: 0;
}

.reviews-section .stars-container {
    display: flex;
    align-items: center;
    gap: 2px;
}

.reviews-section .star-icon {
    width: 24px;
    height: 24px;
}

.reviews-section .reviews-count {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 28px;
    color: #535862;
    margin: 0;
}

.reviews-section .clinic-logo {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.reviews-section .clinic-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews Container */
.reviews-section .reviews-container {
    width: 100%;
    position: relative;
}

.reviews-section .reviews-slider {
    width: 100%;
    margin: 0 -8px;
}

.reviews-section .reviews-slider .slick-list {
    overflow: visible;
}

/* Hide default Slick arrows */
.reviews-section .reviews-slider .slick-arrow {
    display: none !important;
}

/* Review Card */
.reviews-section .review-card {
    background-color: #f6fbfd;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px;
    height: auto;
    display: flex !important;
    flex-direction: column;
}

.reviews-section .card-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.reviews-section .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.reviews-section .google-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.reviews-section .stars-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.reviews-section .star-small {
    width: 20px;
    height: 20px;
}

/* Review Body */
.reviews-section .review-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.reviews-section .review-text {
    font-family: 'Poppins', 'Noto Sans Arabic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #181d27;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 132px;
}

.reviews-section .review-body.expanded .review-text {
    -webkit-line-clamp: unset;
    max-height: none;
}

.reviews-section .read-more-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #535862;
    cursor: pointer;
    text-align: right;
    align-self: flex-end;
    transition: color 0.3s ease;
}

.reviews-section .read-more-btn:hover {
    color: #0b76ad;
}

/* Reviewer Info */
.reviews-section .reviewer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reviews-section .reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    flex: 1;
}

.reviews-section .reviewer-name {
    font-family: 'Poppins', 'Noto Sans Arabic', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #181d27;
    text-align: right;
    margin: 0;
}

.reviews-section .review-date {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;
    color: #535862;
    text-align: right;
    margin: 0;
}

.reviews-section .reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reviews-section .reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews-section .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b76ad 0%, #14a2eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

/* Slider Navigation */
.reviews-section .slider-navigation {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    justify-items: center;
    gap: 16px;
    margin-top: 48px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.slider-navigation-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 109px;
    grid-area: 1/3;
}
[lang="ar"] .slider-navigation-buttons {
    grid-area: 2;
}
[lang="en-GB"] .slider-navigation-buttons svg {
    transform: rotateX(45deg) !important;
}

.reviews-section .slick-dots {
    grid-area: 1/2;
}
.slider-navigation-buttons button {
    position: relative;
}

.reviews-section .prev-button {
    justify-self: start;
}

.reviews-section .next-button {
    justify-self: end;
}

.reviews-section .nav-button {
    width: 48px;
    height: 48px;
    border-radius: 33px;
    border: 0.5px solid #eaeaea;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #181d27;
    padding: 0;
    flex-shrink: 0;
}

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

.reviews-section .nav-button:hover {
    border-color: #14a2eb;
    color: #14a2eb;
    transform: scale(1.05);
}

.reviews-section .nav-button.slick-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #d5d7da;
    color: #d5d7da;
}

.reviews-section .nav-button.slick-disabled:hover {
    transform: none;
    border-color: #d5d7da;
    color: #d5d7da;
}

/* Slick Dots */
.reviews-section .slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.reviews-section .slick-dots li {
    margin: 0;
    padding: 0;
    line-height: 0;
}

.reviews-section .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d5d7da;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    transition: all 0.3s ease;
}

.reviews-section .slick-dots li.slick-active button {
    background-color: #14a2eb;
    width: 32px;
    border-radius: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .reviews-section {
        padding: 64px 0;
    }

    .reviews-section .section-container {
        padding: 0 16px;
    }

    .reviews-section .content-wrapper {
        gap: 48px;
    }

    .reviews-section .pre-header-text span {
        font-size: 20px;
        line-height: 24px;
    }

    .reviews-section .main-heading {
        font-size: 36px;
        line-height: 48px;
    }

    .reviews-section .description p {
        font-size: 22px;
        line-height: 28px;
    }

    .reviews-section .google-rating-section {
        justify-content: center;
    }

    .reviews-section .reviews-slider {
        margin: 0;
    }

    .reviews-section .reviews-slider .slick-slide {
        padding: 0;
    }

    .reviews-section .slider-navigation {
        margin-top: 32px;
    }

    .reviews-section .desktop-only {
        display: none;
    }

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

    .reviews-section .slick-dots {
        position: static;
        transform: none;
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .reviews-section .main-heading {
        font-size: 28px;
        line-height: 40px;
    }

    .reviews-section .description p {
        font-size: 18px;
        line-height: 24px;
    }

    .reviews-section .review-card {
        padding: 20px;
    }

    .reviews-section .clinic-name {
        font-size: 16px;
    }

    .reviews-section .reviews-count {
        font-size: 14px;
    }

    .reviews-section .clinic-logo {
        width: 72px;
        height: 72px;
    }
}

/* RTL Support */
[dir="rtl"] .reviews-section .reviews-slider {
    direction: rtl;
}

[dir="rtl"] .reviews-section .slick-slide {
    float: right;
}

/* Print Styles */
@media print {
    .reviews-section .slider-navigation,
    .reviews-section .read-more-btn {
        display: none;
    }

    .reviews-section .review-text {
        -webkit-line-clamp: unset;
        max-height: none;
    }
}
