/* World Green — About Us statistics (V6.2). Compact overlapping layout.
   All cards are white by default and turn corporate green on hover. */
.wgc-about-stats {
    position: relative;
    margin-top: clamp(-42px, -4vw, -68px);
    padding: 0 0 clamp(48px, 5.8vw, 76px);
    z-index: 3;
}

.wgc-about-stats__shell {
    position: relative;
}

.wgc-about-stats__panel {
    position: relative;
    padding: clamp(18px, 2vw, 26px);
    border-radius: 30px;
    border: 1px solid rgba(11, 48, 72, 0.08);
    background:
        radial-gradient(circle at top right, rgba(18, 156, 130, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,248,247,0.98) 100%);
    box-shadow: 0 24px 55px rgba(10, 48, 66, 0.11);
    overflow: hidden;
}

.wgc-about-stats__panel::before,
.wgc-about-stats__panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(2px);
}

.wgc-about-stats__panel::before {
    width: 220px;
    height: 220px;
    inset-inline-end: -88px;
    top: -120px;
    background: radial-gradient(circle, rgba(22, 153, 130, 0.16), rgba(22, 153, 130, 0));
}

.wgc-about-stats__panel::after {
    width: 180px;
    height: 180px;
    inset-inline-start: -72px;
    bottom: -118px;
    background: radial-gradient(circle, rgba(11, 48, 72, 0.08), rgba(11, 48, 72, 0));
}

.wgc-about-stats__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.25vw, 18px);
}

.wgc-about-stats__card {
    min-width: 0;
    min-height: 252px;
    position: relative;
    display: flex;
    align-items: stretch;
    border-radius: 22px;
    border: 1px solid #e4ece8;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 10px 22px rgba(9, 48, 64, 0.045);
    overflow: hidden;
    transition:
        background 240ms ease,
        border-color 240ms ease,
        box-shadow 240ms ease,
        transform 240ms ease;
}

.wgc-about-stats__card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.16), transparent 40%);
    transition: opacity 240ms ease;
}

.wgc-about-stats__card-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(22px, 2vw, 30px);
}

.wgc-about-stats__value {
    display: block;
    color: #0b3048;
    font-weight: 780;
    letter-spacing: -0.055em;
    font-size: clamp(40px, 3.5vw, 62px);
    line-height: 1.02;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    text-align: start;
    transition: color 240ms ease;
}

.wgc-about-stats__label {
    margin: 12px 0 15px;
    color: #355665;
    font-size: clamp(16px, 1.18vw, 20px);
    font-weight: 650;
    line-height: 1.32;
    letter-spacing: -0.015em;
    transition: color 240ms ease;
}

.wgc-about-stats__description {
    margin: 0;
    color: #4f6570;
    font-size: clamp(13px, 0.94vw, 15px);
    line-height: 1.63;
    max-width: 240px;
    transition: color 240ms ease;
}

.wgc-about-stats__card:hover {
    border-color: #0d8f79;
    background: linear-gradient(150deg, #14a286 0%, #0d8f79 66%, #0a726a 100%);
    box-shadow: 0 20px 38px rgba(8, 126, 112, 0.18);
    transform: translateY(-6px);
}

.wgc-about-stats__card:hover::after { opacity: 1; }
.wgc-about-stats__card:hover .wgc-about-stats__value { color: #ffffff; }
.wgc-about-stats__card:hover .wgc-about-stats__label { color: #ecfff8; }
.wgc-about-stats__card:hover .wgc-about-stats__description { color: #f3fff9; }

.wgc-about-stats__sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1180px) {
    .wgc-about-stats { margin-top: clamp(-26px, -3vw, -44px); }
    .wgc-about-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wgc-about-stats__card { min-height: 228px; }
    .wgc-about-stats__description { max-width: none; }
}

@media (max-width: 580px) {
    .wgc-about-stats {
        margin-top: -20px;
        padding-bottom: 42px;
    }
    .wgc-about-stats__panel {
        padding: 14px;
        border-radius: 22px;
    }
    .wgc-about-stats__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .wgc-about-stats__card {
        min-height: 0;
        border-radius: 18px;
    }
    .wgc-about-stats__card-inner { padding: 22px 22px 24px; }
    .wgc-about-stats__value { font-size: clamp(42px, 12vw, 58px); }
    .wgc-about-stats__label {
        margin: 10px 0 12px;
        font-size: 18px;
    }
}

/* Preserve logical reading order and alignment in English and Arabic. */
html[dir="rtl"] .wgc-about-stats__label,
html[dir="rtl"] .wgc-about-stats__description { text-align: start; }
html[dir="rtl"] .wgc-about-stats__value { direction: ltr; text-align: right; }

@media (prefers-reduced-motion: reduce) {
    .wgc-about-stats__card,
    .wgc-about-stats__card::after,
    .wgc-about-stats__value,
    .wgc-about-stats__label,
    .wgc-about-stats__description {
        animation: none !important;
        transition: none !important;
    }
    .wgc-about-stats__card:hover { transform: none; }
}
