/* Smart English Homepage Statistics */
.se-home-stats {
    position: relative;
    padding: 76px 0 84px;
    overflow: hidden;
    direction: rtl;
    background:
        radial-gradient(circle at 9% 18%, rgba(61, 162, 247, .12), transparent 22%),
        radial-gradient(circle at 91% 85%, rgba(255, 190, 42, .10), transparent 20%),
        #f4f9ff;
    font-family: "Tajawal", "Noto Kufi Arabic", Arial, sans-serif;
}

.se-home-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(18, 100, 194, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 100, 194, .04) 1px, transparent 1px);
    background-size: 34px 34px;
}

.se-home-stats__container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.se-home-stats__card {
    position: relative;
    min-height: 286px;
    padding: 31px 22px 28px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(18, 92, 184, .10);
    border-radius: 25px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 42px rgba(18, 75, 150, .10);
    transition: transform .28s ease, box-shadow .28s ease;
}

.se-home-stats__card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #0b4fae, #1987ea);
}

.se-home-stats__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 27px 52px rgba(18, 75, 150, .16);
}

.se-home-stats__icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 22px;
    color: #0c57bc;
    background: linear-gradient(145deg, #eaf4ff, #ffffff);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 20px rgba(13, 94, 186, .10);
}

.se-home-stats__icon svg {
    width: 43px;
    height: 43px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.se-home-stats__number {
    direction: ltr;
    color: #0b55bb;
    font-size: clamp(37px, 3vw, 48px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

.se-home-stats__card h3 {
    margin: 13px 0 0;
    color: #1b3150;
    font-size: 19px;
    font-weight: 900;
}

.se-home-stats__card p {
    margin: 12px 0 0;
    color: #718098;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
}

@media (max-width: 980px) {
    .se-home-stats__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .se-home-stats {
        padding: 54px 0 58px;
    }

    .se-home-stats__container {
        width: min(100% - 28px, 1180px);
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .se-home-stats__card {
        min-height: 230px;
    }
}
