/* ============================================================
   STATISTICS.CSS — Section 5 (Green Gradient Background)
   Dr. Sarfaraz Sheikh — Premium Nutrition Specialist Website
   ============================================================ */

.statistics-section {
    background: linear-gradient(145deg, #2F3A2F 0%, #3A4A35 50%, #1E2A1E 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(109, 138, 99, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.statistics-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 154, 114, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

/* ── Inner ──────────────────────────────────────────────── */

.statistics-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.statistics-header {
    text-align: center;
    margin-bottom: 64px;
}

.statistics-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7C9A72;
    margin-bottom: 16px;
}

.statistics-section-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background-color: #7C9A72;
    border-radius: 2px;
}

.statistics-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.2;
}

.statistics-heading em {
    color: #7C9A72;
    font-style: italic;
}

/* ── Counter Grid ───────────────────────────────────────── */

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Counter Card ───────────────────────────────────────── */

.statistics-counter-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 44px 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.statistics-counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6D8A63, #7C9A72);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.statistics-counter-card.statistics-animated::before {
    transform: scaleX(1);
}

.statistics-counter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
}

/* Icon */
.statistics-counter-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #DDE6D5, #F2EEE8);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background 0.35s ease;
}

.statistics-counter-card:hover .statistics-counter-icon {
    background: linear-gradient(135deg, #6D8A63, #7C9A72);
}

.statistics-counter-icon svg {
    width: 28px;
    height: 28px;
    stroke: #6D8A63;
    fill: none;
    transition: stroke 0.35s ease;
}

.statistics-counter-card:hover .statistics-counter-icon svg {
    stroke: #FFFFFF;
}

/* Number */
.statistics-counter-number-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.statistics-counter-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 700;
    color: #2F3A2F;
    line-height: 1;
}

.statistics-counter-suffix {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 700;
    color: #6D8A63;
    line-height: 1;
    align-self: flex-start;
    margin-top: 4px;
}

/* Label */
.statistics-counter-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2F3A2F;
    margin-bottom: 6px;
}

.statistics-counter-sublabel {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem;
    color: #7A8B7A;
    letter-spacing: 0.04em;
}

/* Decorative ring */
.statistics-counter-ring {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border: 12px solid rgba(109, 138, 99, 0.06);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.statistics-counter-card:hover .statistics-counter-ring {
    transform: scale(1.5);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 991px) {
    .statistics-section { padding: 80px 0; min-height: auto; }
    .statistics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .statistics-section { padding: 60px 0; }
    .statistics-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .statistics-counter-card { padding: 32px 18px; }
}
