/* Statistics Page Styles */

.stats-hero {
    position: relative;
    background-image: url('../img/about_hero.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin: 10px auto;
    max-width: calc(100% - 20px);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 130px;
    text-align: center;
    color: #444;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stats-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.stats-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 600;
    color: #1965c0;
    margin: 20px 0;
}

.stats-hero-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1965c0;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb-custom {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    margin-bottom: 30px;
}
.breadcrumb-custom a {
    color: #888; /* Lighter grey for Home */
    text-decoration: none;
}

.breadcrumb-custom .active {
    color: #1965c0;
    font-weight: 500;
}

.breadcrumb-custom .separator {
    color: #888;
    margin: 0 5px;
}

.stats-section {
    padding: 20px 0 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card {
    background: #fff;
    border-radius: 25px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(25, 101, 192, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 60px; /* Reduced from 70px */
    height: 60px;
    background: #f0f7ff;
    color: #1965c0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Reduced from 28px */
    margin-bottom: 15px; /* Reduced from 20px */
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: #1965c0;
    color: #fff;
    border-radius: 50%;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 30px; /* Reduced from 36px */
    font-weight: 700;
    color: #1965c0;
    margin-bottom: 5px;
}

.stat-label {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px; /* Reduced from 16px */
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card.wide {
    grid-column: 1 / -1;
    text-align: left;
    align-items: flex-start;
    padding: 30px; /* Reduced from 40px */
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.service-tag {
    background: #f0f7ff;
    color: #1965c0;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

/* Detailed Breakdown Section */
.stats-details-section {
    padding: 60px 0;
    background-color: #fff;
}

.details-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.stats-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.detail-card {
    background: #f8fbff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(25, 101, 192, 0.1);
}

.detail-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1965c0;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(25, 101, 192, 0.1);
    padding-bottom: 10px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-sub-list {
    padding-left: 20px;
    font-size: 14px;
    color: #666;
}

.detail-label {
    font-weight: 600;
    color: #444;
}

.detail-value {
    color: #1965c0;
    font-weight: 700;
}

@media (max-width: 1399px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .stats-hero {
        min-height: 400px;
        padding-top: 100px;
    }
    .stats-hero-content {
        padding: 0 20px;
    }
    .stats-hero-title {
        font-size: 48px;
    }
    .stats-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .stats-hero-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .stats-hero {
        min-height: 350px;
        padding-top: 90px;
        padding-bottom: 30px;
    }
    .stats-hero-title {
        font-size: 28px;
        margin: 15px 0;
    }
    .breadcrumb-custom {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .stats-hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .stats-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .stats-hero-title {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .stats-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        padding: 0 15px;
    }
    .stat-card.wide {
        padding: 25px 15px;
    }
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .stats-hero-title {
        font-size: 32px;
    }
    .service-tag {
        font-size: 13px;
        padding: 6px 15px;
    }
}

@media (max-width: 380px) {
    .stats-hero-title {
        font-size: 28px;
    }
    .stat-value {
        font-size: 24px;
    }
}
