/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    /* Space for external arrows if needed, or internal padding */
    position: relative;
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.reviews-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.reviews-carousel-wrapper {
    position: relative;
}

/* Swiper Styles Override */
.swiper.reviews-swiper {
    padding-bottom: 50px;
    /* Space for pagination */
    padding-top: 20px;
    /* Space for shadow hover */
}

.swiper-slide {
    height: auto;
    /* Ensure full height for flex stretch */
    display: flex;
    /* Makes the card fill the slide height */
}

/* Card Styling */
.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    /* Fill slide */
    min-height: 280px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.review-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-rating {
    color: #FFC107;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-quote-icon {
    font-size: 1.5rem;
    color: #e0e0e0;
}

.review-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 25px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.author-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin: 2px 0 0;
}

/* Custom Navigation */
.reviews-nav-prev,
.reviews-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.reviews-nav-prev:hover,
.reviews-nav-next:hover {
    background: #1a1a1a;
    color: white;
}

.reviews-nav-prev {
    left: -25px;
}

.reviews-nav-next {
    right: -25px;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #1a1a1a;
    width: 30px;
    border-radius: 5px;
    transition: width 0.3s;
}

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

    .reviews-container {
        padding: 0 20px;
    }

    .reviews-title {
        font-size: 2rem;
    }

    .review-card {
        padding: 25px;
    }

    .reviews-nav-prev,
    .reviews-nav-next {
        display: none;
        /* Hide arrows on mobile, rely on swipe/dots */
    }
}