/* ==========================================================================
   REVIEWS COMPONENT (Testimonial Slider)
   ========================================================================== */

.review-container {
    position: relative;
    max-width: 800px;
    /* Slightly narrower for a better reading line-length */
    margin: 2rem auto;
    min-height: 380px;
}

.review-content {
    background: var(--bg-card);
    padding: 3.5rem 3rem 3rem;
    /* Adjusted for better breathing room */
    border-radius: 20px;
    /* Matched to the Tulaa feature cards */
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(140, 74, 50, 0.05);
    /* Soft earthy border instead of heavy top border */
    text-align: center;
    position: relative;
    margin: 10px;
    transition: transform 0.3s ease;
}

/* Decorative Opening Quote */
.review-content::before {
    content: '“';
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(140, 74, 50, 0.06);
    /* Faint rust color to match new theme */
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
    pointer-events: none;
}

/* The Testimonial Text */
.review-content p:first-of-type {
    font-family: var(--font-heading);
    /* Switch to Lora for a premium editorial feel */
    font-style: italic;
    font-size: 1.35rem;
    /* Slightly larger */
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding: 0 1rem;
}

/* Star Ratings Container */
.review-stars {
    color: #D4C3A3;
    /* A soft, premium muted gold */
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: 4px;
    /* Spaced out slightly more */
}

/* Reviewer Name */
.review-content p:last-of-type {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-transform: uppercase;
    /* Makes the name look like a neat signature */
    letter-spacing: 0.05em;
    margin-top: 0;
}

/* ==========================================================================
   ANIMATION & DISPLAY
   ========================================================================== */
.review-slide {
    display: none;
}

.review-slide.active {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* Slightly softer animation distance */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .review-container {
        min-height: 420px;
    }

    .review-content {
        padding: 3rem 1.5rem 2.5rem;
    }

    .review-content p:first-of-type {
        font-size: 1.15rem;
    }

    .review-content::before {
        font-size: 6rem;
        top: -10px;
        left: 15px;
    }
}