/* ============================================
   REVIEWS SECTION - CAROUSEL LAYOUT
   ============================================ */

/* Section Base */
.reviews-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.reviews-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(111, 66, 193, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* Section Badge */
.section-badge {
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.2);
    display: inline-flex !important;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.text-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reviews Carousel */
.reviews-carousel {
    padding: 1rem 0 3rem;
    position: relative;
}

/* Carousel Indicators */
.reviews-carousel .carousel-indicators {
    position: relative;
    bottom: -2rem;
    margin-top: 2rem;
    gap: 0.5rem;
}

.reviews-carousel .carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: rgba(13, 110, 253, 0.2);
    border: none;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.reviews-carousel .carousel-indicators .active {
    background: linear-gradient(90deg, #0d6efd, #6f42c1);
    width: 60px;
}

/* Carousel Controls */
.reviews-carousel .carousel-control-prev,
.reviews-carousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.reviews-carousel:hover .carousel-control-prev,
.reviews-carousel:hover .carousel-control-next {
    opacity: 1;
}

.reviews-carousel .carousel-control-prev {
    left: -24px;
}

.reviews-carousel .carousel-control-next {
    right: -24px;
}

.reviews-carousel .carousel-control-prev:hover,
.reviews-carousel .carousel-control-next:hover {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.reviews-carousel .carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #0d6efd;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.reviews-carousel .carousel-control-prev:hover .carousel-control-icon,
.reviews-carousel .carousel-control-next:hover .carousel-control-icon {
    color: white;
}

/* Review Card */
.review-card {
    position: relative;
    background: #ffffff;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(13, 110, 253, 0.08);
    transition: all 0.4s ease;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.review-card:hover {
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.12);
    border-color: rgba(13, 110, 253, 0.2);
    transform: translateY(-5px);
}

/* Quote Icon - Always visible */
.review-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    line-height: 1;
    color: rgba(13, 110, 253, 0.06);
    z-index: 1;
    transition: transform 0.3s ease;
    pointer-events: none;
    opacity: 1 !important;
}

.review-card:hover .review-quote-icon {
    color: rgba(13, 110, 253, 0.1);
    transform: scale(1.1);
}


.reviews-carousel:hover .review-quote-icon {
    opacity: 1;
}

/* Review Content */
.review-card-content {
    position: relative;
    z-index: 2;
}

/* Stars - Yellow */
.review-stars {
    display: flex;
    gap: 4px;
}

.review-stars i {
    font-size: 1.3rem;
    color: #fbbf24 !important;
}

/* Review Text */
.review-text-wrapper {
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2c3e50;
    margin: 0;
    font-style: normal;
}

/* Author Info */
.review-author-info {
    padding-top: 1.25rem;
    border-top: 2px solid rgba(13, 110, 253, 0.06);
}

.author-name {
    font-size: 1.2rem;
    color: #1a2639;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.review-card:hover .author-name {
    color: #0d6efd;
}

.author-title {
    font-size: 0.95rem;
    color: #64748b;
}

/* CTA Button */
.btn-modern {
    background: rgba(13, 110, 253, 0.08);
    border: 2px solid rgba(13, 110, 253, 0.2);
    color: #0d6efd;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.btn-modern span,
.btn-modern i {
    position: relative;
    z-index: 1;
}

.btn-modern:hover {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
}

.btn-modern:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 1200px) {
    .reviews-carousel .carousel-control-prev {
        left: -20px;
    }

    .reviews-carousel .carousel-control-next {
        right: -20px;
    }
}

@media (max-width: 992px) {
    .review-card {
        padding: 2.5rem;
    }

    .reviews-carousel .carousel-control-prev,
    .reviews-carousel .carousel-control-next {
        width: 44px;
        height: 44px;
    }

    .reviews-carousel .carousel-control-prev {
        left: 10px;
    }

    .reviews-carousel .carousel-control-next {
        right: 10px;
    }

    .review-text {
        font-size: 1.1rem;
    }

    .reviews-section::before,
    .reviews-section::after {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 3rem 0;
    }

    .review-card {
        padding: 2rem;
    }

    .reviews-carousel .carousel-control-prev,
    .reviews-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
        opacity: 1;
        /* Always visible on mobile */
    }

    .review-quote-icon {
        font-size: 4rem;
        top: 1rem;
        right: 1.5rem;
    }

    .review-stars i {
        font-size: 1.2rem;
    }

    .review-text {
        font-size: 1rem;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .reviews-carousel .carousel-indicators [data-bs-target] {
        width: 30px;
        height: 3px;
    }

    .reviews-carousel .carousel-indicators .active {
        width: 45px;
    }

    .reviews-section::before,
    .reviews-section::after {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .review-card {
        padding: 1.75rem;
        border-radius: 24px;
    }

    .review-quote-icon {
        font-size: 3rem;
        top: 1rem;
        right: 1rem;
    }

    .review-stars i {
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-title {
        font-size: 0.85rem;
    }

    .reviews-carousel .carousel-indicators {
        gap: 0.3rem;
        bottom: -1.5rem;
    }

    .reviews-carousel .carousel-indicators [data-bs-target] {
        width: 25px;
        height: 3px;
    }

    .reviews-carousel .carousel-indicators .active {
        width: 35px;
    }
}


.carousel-control-prev-icon,
.carousel-control-next-icon,
.review-avatar,
.featured-review,
.quote-icon {
    display: none;
}