/* Reviews Page CSS for Examinex */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Body Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background: var(--light-bg);
    line-height: 1.7;
    font-weight: 400; 
    overflow-x: hidden; 
}

/* Hero Section */
.hero { 
    background: var(--gradient); 
    color: #fff; 
    padding: 100px 0 60px; 
    position: relative; 
    overflow: hidden; 
}

.hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%); 
}

.hero-title { 
    font-size: 2.2rem; 
    font-weight: 700; 
    line-height: 1.2; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.08); 
}

.hero-sub { 
    font-size: 1.1rem; 
    font-weight: 400; 
    opacity: 0.95; 
    margin-bottom: 2rem; 
}

/* Stats Section */
.stats-section { 
    background: #fff; 
    border-radius: 12px; 
    margin: -40px 1rem 0; 
    padding: 32px 0; 
    position: relative; 
    z-index: 2; 
    box-shadow: var(--shadow); 
}

.stat-card { 
    border-radius: 10px; 
    padding: 1.2rem; 
    text-align: center; 
    transition: transform 0.2s; 
}

.stat-card:hover { 
    transform: translateY(-2px); 
}

.stat-card i { 
    font-size: 1.5rem; 
    color: var(--primary-color); 
    margin-bottom: 0.75rem; 
}

.stat-card h3 { 
    font-size: 1.5rem; 
    font-weight: 500; 
}

.stat-card p { 
    font-size: 0.9rem; 
    font-weight: 400; 
    color: #6b7280; 
}

/* Testimonials Section */
.testimonials-section { 
    padding: 60px 0; 
}

.testimonial-card { 
    background: #fff; 
    border-radius: 10px; 
    padding: 1.2rem; 
    text-align: center; 
    box-shadow: var(--shadow); 
    transition: transform 0.2s; 
}

.testimonial-card:hover { 
    transform: translateY(-2px); 
}

.testimonial-avatar { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    margin-bottom: 0.75rem; 
}

.testimonial-name { 
    font-family: 'Noto Sans Sinhala', 'Inter', sans-serif;
    font-size: 1.1rem; 
    font-weight: 600; 
}

.testimonial-role { 
    font-family: 'Noto Sans Sinhala', 'Inter', sans-serif;
    font-size: 0.9rem; 
    font-weight: 400; 
    color: #6b7280; 
}

.testimonial-quote { 
    font-family: 'Noto Sans Sinhala', 'Inter', sans-serif;
    font-size: 1rem; 
    font-weight: 400; 
    color: #0d0d0e;
    line-height: 1.6;
    margin: 1rem 0;
}

.rating-stars { 
    color: #fbbf24; 
    font-size: 1.1rem; 
    margin-bottom: 0.5rem; 
}

.review-date { 
    color: #6b7280; 
    font-size: 0.85rem; 
}

/* Pagination */
.pagination .page-link { 
    color: var(--primary-color); 
    border-color: #e5e7eb; 
}

.pagination .page-item.active .page-link { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color); 
}

.pagination .page-link:hover { 
    background-color: var(--light-bg); 
}

/* Masonry Grid for Testimonials */
.masonry-grid {
    column-count: 3;
    column-gap: 2rem;
    margin-bottom: 2rem;
}

.masonry-grid .testimonial-card {
    break-inside: avoid;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title { 
        font-size: 2rem; 
    }
    .hero { 
        padding: 80px 0 50px; 
    }
    .masonry-grid { 
        column-count: 2; 
    }
}

@media (max-width: 767.98px) {
    .hero-title { 
        font-size: 1.8rem; 
    }
    .hero-sub { 
        font-size: 1rem; 
    }
    .stats-section, .testimonials-section { 
        padding: 40px 0; 
    }
    .stat-card, .testimonial-card { 
        margin-bottom: 1rem; 
    }
    .masonry-grid { 
        column-count: 1; 
    }
}

/* Animation Classes */
.fade-in { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.6s ease, transform 0.6s ease; 
}

.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
} 