/* ========================================
   REVIEWS PAGE STYLES - BSL PRO
   Matching design system from about-us page
   ======================================== */

/* ==============================================
   CONTAINER & LAYOUT
   ============================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==============================================
   SECTION HEADER
   ============================================== */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a4870;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==============================================
   STATS GRID
   ============================================== */


.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}



.stat-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #34465a 0%, #4a6477 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #34465a 0%, #4a6477 100%);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #304658;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-text {
    color: #556b7d;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ==============================================
   REVIEWS GRID
   ============================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.review-card::before {
      content: '"';
    position: absolute;
    top: 3px;
    right: 8px;
    font-size: 120px;
    color: var(--accent-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.review-stars .star.filled {
    color: #ffc107;
}

.review-stars .star.empty {
    color: #e0e0e0;
}

.star {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.review-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f8f9fa;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a4d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initial {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.author-company {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ==============================================
   CTA SECTION
   ============================================== */

.cta-content {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    color: white !important;
}

.cta-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.cta-description {
    font-size: 1.1875rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.6 !important;
}

.cta-actions {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.cta-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1.125rem 2.5rem !important;
    border-radius: 0.75rem !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.0625rem !important;
    text-align: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cta-button.primary {
    background: #ffff !important;
    color: #34465a !important;
    box-shadow: 0 10px 25px rgb(217 217 217 / 40%) !important;
    border: none !important;
}

.cta-button.primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgb(217 217 217 / 40%) !important;
    background: #ffff !important;
}

.cta-button.secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px) !important;
}

.btn-arrow {
    font-size: 1.5rem !important;
    transition: transform 0.3s ease !important;
}

.cta-button:hover .btn-arrow {
    transform: translateX(5px) !important;
}

/* ==============================================
   ANIMATIONS
   ============================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-text {
        font-size: 0.75rem !important;
    }

    #stats_section {
        padding: 45px 0 !important;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon svg {
        width: 30px;
        height: 30px;
    }

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

@media (max-width: 480px) {
    .review-card {
        padding: 2rem 1.5rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .avatar-initial {
        font-size: 1.5rem;
    }

    .cta-section {
        padding-top: 75px !important;
        padding-bottom: 80px !important;
    }

    .cta-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .cta-description {
        font-size: 0.9375rem !important;
        margin-bottom: 1.5rem !important;
    }

    .cta-button {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-text {
        font-size: 0.75rem !important;
    }

    #stats_section {
        padding: 45px 0 !important;
    }

    .stat-icon {
        width: 52px;
        height: 52px;
    }

    .stat-icon svg {
        width: 26px;
        height: 26px;
    }
}
