/* Mobile Reviews Section */
.reviews-mobile-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
    overflow: hidden;
    display: none; /* Hidden by default, shown via media query */
}

.reviews-mobile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 0.5rem;
    position: relative;
    overflow: hidden;
}

.reviews-mobile-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 3rem;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.5rem;
}

.reviews-mobile-slides {
    display: flex;
    width: 100%;
    transition: transform 0.3s ease-out;
    will-change: transform;
    position: relative;
}

.review-mobile-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
    position: relative;
    opacity: 0;
    pointer-events: none;
}

.review-mobile-slide[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.review-mobile-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-mobile-rating {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-mobile-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.review-mobile-author {
    font-weight: 600;
    color: #000924;
    font-size: 1rem;
    margin-top: auto;
}

/* Navigation Arrows */
.reviews-mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.reviews-mobile-arrow {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000924;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 9, 36, 0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.reviews-mobile-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-mobile-arrow:not(:disabled):hover {
    background-color: rgba(0, 9, 36, 0.1);
}

/* Touch feedback */
.reviews-mobile-track.grabbing {
    cursor: grabbing;
}

/* Hide on larger screens */
@media (min-width: 992px) {
    .reviews-mobile-section {
        display: none !important;
    }
}

/* Show only on mobile */
@media (max-width: 991px) {
    .reviews-mobile-section {
        display: block;
    }
    
    .reviews-3col-section {
        display: none;
    }
}
