/* Reviews Slider Widget Styles */
.reviews-slider-widget {
    padding: 60px 0;
    background-color: #f0f8f0;
}

.reviews-container {
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 20px;
}

.side-by-side-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}
@media (max-width: 992px) {
    .side-by-side-content {
        flex-direction: column;
        padding: 0;
    }

    /* .reviews-container {
        padding: 0;
    } */
}

.review-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    flex: 0 0 36%;
}

.review-badge {
    overflow: hidden;
}

.badge-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 200px !important;
}

/* Content Section - Stacked vertically */
.reviews-content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.reviews-content-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.reviews-content-section .reviews-content-image {
    height: auto;
    display: block;
    max-width: 300px;
    
}

.reviews-headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #333333;
    width: 100%;
}

.reviews-subheading {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #555555;
    width: 100%;
    text-align: center;
}

.reviews-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    width: 100%;
    text-align: center;
}

.reviews-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: end;
}

.reviews-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #22c55e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.reviews-button:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.review-card {
    padding: 24px;
    margin: 0 5px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background-color: #f8f9fa;
    border-radius: 12px;
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

/* Fix Slick Slider padding issues */
.reviews-slider {
    margin: 0 auto;
}

.reviews-slider .slick-list {
    margin: 0;
    padding: 0;
}

.reviews-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.review-stars {
    margin-bottom: 16px;
}

.review-stars .star {
    color: #ffd700;
    font-size: 25px;
    margin: 0 1px;
}

.review-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #333333;
    flex: 1;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-avatar.initials {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 14px;
    color: #333333;
}

/* Slick Slider Custom Styles */
@media (min-width: 992px) { 
    .reviews-slider-widget .slick-dots {
        text-align: left !important;
        bottom: -40px !important;
        left: 10px !important;
    }
}

.reviews-slider-widget .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.reviews-slider-widget .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
}

.reviews-slider-widget .slick-dots li.slick-active button {
    background-color: #22c55e;
}

.reviews-slider-widget .slick-dots li button:before {
    display: none;
}

 .reviews-slider-widget .slick-list.draggable {
    padding-bottom: 10px;
}

.reviews-slider-widget .reviews-slider .slick-slide {
    height: auto;
}

@media (min-width: 992px) { 
/* Ensure equal height for all slides */
    .reviews-slider-widget .reviews-slider .slick-slide {
        margin: 0 20px;
    }
}
/* Override default Slick Slider positioning - only for left positioning */
.reviews-slider-widget .reviews-slider .slick-track {
    left: 0 !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .reviews-headline {
        font-size: 24px;
    }

    .reviews-subheading {
        font-size: 20px;
    }

    .reviews-description {
        font-size: 16px;
    }

    .review-badges {
        justify-content: center;
    }

    .review-badge {
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .reviews-headline {
        font-size: 20px;
    }

    .reviews-subheading {
        font-size: 18px;
    }

    .reviews-description {
        font-size: 14px;
    }

    .reviews-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    .review-badges {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        padding: 20px;
        margin: 0 5px;
    }

    .review-text {
        font-size: 14px;
    }
}

/* Elementor Editor Styles */
.elementor-editor .reviews-slider-widget {
    pointer-events: auto;
}

.elementor-editor .reviews-slider-widget .slick-slider {
    opacity: 1;
}

/* Preview Mode Styles */
.elementor-preview .reviews-slider-widget {
    min-height: 200px;
}
