/* Reviews: fade carousel with centered quotes */

:root {
    /* Used by the quote mark and review button hover. The original CSS referenced this variable but never defined it, so the quote rendered white on white. Gold matches the review stars already in this file. */
    --accent-yellow: #FFD700;
}

/* ============================================
   Fade carousel with centered quotes
   ============================================ */
.rv2-reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    color: white;
}

.rv2-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.rv2-section-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.rv2-section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.rv2-carousel-wrapper {
    position: relative;
    min-height: 350px;
}

.rv2-review-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.rv2-review-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.rv2-card-inner {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.rv2-quote-icon {
    font-size: 4rem;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 1rem;
}

.rv2-review-text {
    color: #333;
    line-height: 1.8;
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.rv2-review-author {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.rv2-review-date {
    color: #595959;
    font-size: 0.9rem;
}

.rv2-review-stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-top: 1rem;
    letter-spacing: 3px;
}

.rv2-carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.rv2-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rv2-nav-btn:hover {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #1a365d;
}

.rv2-nav-btn svg {
    width: 28px;
    height: 28px;
}

.rv2-counter {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}


/* Shared Google Rating & CTA Styles */
.rv-google-rating {
    text-align: center;
    margin-top: 2.5rem;
}

.rv-google-rating p {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.rv-google-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.rv-google-btn:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.rv2-reviews-section .rv-google-rating p {
    color: white;
}

.rv2-reviews-section .rv-google-btn {
    background: white;
    color: var(--primary-blue);
}

.rv2-reviews-section .rv-google-btn:hover {
    background: var(--accent-yellow);
}

/* Let the wrapper grow to the active review so long quotes are not clipped */
.rv2-carousel-wrapper.is-sized {
    min-height: 0;
}
