.statistics-column {
    position: relative;
    margin-bottom: 125px;
    z-index: 2;
}
.statistics-column .b2-inner-content {
    padding: 0 20px;
}
.stat-list {
    display: flex;
    align-items: center;
}
.stat-item {
    position: relative;
    width: 25%;
    padding: 35px 0 35px 60px;
    border: 1px solid rgba(112, 207, 232, .3);
    border-left: none;
}
.stat-item:first-child {
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, transparent, var(--primary-color)) 1;
}
.stat-item:last-child {
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-right: none;
    border-image: linear-gradient(to left, transparent, var(--primary-color)) 1;
}
.stat-item p {
    font-family: var(--title-font);
    font-size: 1.625rem;
    margin-bottom: 16px;
}
.stat-item span {
    font-size: 1.125rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}
.stat-item div {
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    width: 1px;
    height: 393px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    pointer-events: none;
}
.stat-item:last-child div {
    display: none;
}
.stat-item div::before,
.stat-item div::after {
    content: "";
    position: absolute;
    left: -3px;
    width: 7px;
    height: 7px;
    background-color: var(--primary-color);
    pointer-events: none;
}
.stat-item div::before {
    top: 31%;
}
.stat-item div::after {
    bottom: 31%;
}

.flow-line {
    position: absolute;
    top: 50%;
    right: -1px;
    /* transform: translateY(-50%); */
    width: 1px;
    height: 393px;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}
.flow-line::before {
    content: "";
    position: absolute;
    left: 0;
    width: 5px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #1ebae3, transparent);
    opacity: 0;
    animation: flowDown var(--dur, 3s) var(--delay, 0s) ease-in-out infinite;
}

@keyframes flowDown {
    0%   { top: -60px; opacity: 0; }
    10%  { opacity: 0.9; }
    90%  { opacity: 0.9; }
    100% { top: 100%; opacity: 0; }
}

.stat-item:nth-child(1) .flow-line { --dur: 2.8s; --delay: 0s; }
.stat-item:nth-child(2) .flow-line { --dur: 3.4s; --delay: 0.9s; }
.stat-item:nth-child(3) .flow-line { --dur: 2.5s; --delay: 1.7s; }

/* ── Flowing RIGHT-TO-LEFT on top border ── */
.flow-line-top,
.flow-line-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}
.flow-line-top    { top: -1px; }
.flow-line-bottom { bottom: -1px; }

.flow-line-top::after,
.flow-line-bottom::after {
    content: "";
    position: absolute;
    top: 0; height: 5px; width: 120px;
    background: linear-gradient(to left, transparent, #1ebae3, transparent);
    opacity: 0;
    animation: flowLeft var(--hdur, 3s) var(--hdelay, 0s) ease-in-out infinite;
}
@keyframes flowLeft {
    0%   { right: -120px; opacity: 0; }
    10%  { opacity: 0.9; }
    90%  { opacity: 0.9; }
    100% { right: 100%; opacity: 0; }
}

.stat-item:nth-child(1) .flow-line-top    { --hdur: 4.0s; --hdelay: 0.0s; }
.stat-item:nth-child(2) .flow-line-top    { --hdur: 3.5s; --hdelay: 1.2s; }
.stat-item:nth-child(3) .flow-line-top    { --hdur: 4.2s; --hdelay: 0.7s; }
.stat-item:nth-child(4) .flow-line-top    { --hdur: 3.8s; --hdelay: 2.1s; }
.stat-item:nth-child(1) .flow-line-bottom { --hdur: 3.6s; --hdelay: 1.8s; }
.stat-item:nth-child(2) .flow-line-bottom { --hdur: 4.1s; --hdelay: 0.4s; }
.stat-item:nth-child(3) .flow-line-bottom { --hdur: 3.3s; --hdelay: 2.5s; }
.stat-item:nth-child(4) .flow-line-bottom { --hdur: 4.4s; --hdelay: 1.0s; }

@media only screen and (max-width: 1500px) { /* check 1401 */
    .stat-item span {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 1366px) { /* check 1281 */
    .stat-item {
        padding: 35px 0 35px 20px;
    }
}

@media only screen and (max-width: 1280px) { /* check 1081 */
    .stat-list {
        position: relative;
        flex-direction: column;
    }
    .stat-list::before,
    .stat-list::after {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: calc(100% + 200px);
        background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
        pointer-events: none;
    }
    .stat-list::before {
        left: 0;
    }
    .stat-list::after {
        right: 0;
    }
    .stat-item {
        width: 100%;
        padding: 20px;
        border: none !important;
    }
    .stat-item::before,
    .stat-item:last-child:after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--primary-color), transparent);
        pointer-events: none;
    }
    .stat-item:last-child:after {
        top: auto;
        bottom: 0;
    }
    .statistics-column .b2-inner-content {
        padding: 0 50px;
    }
    .stat-item p {
        font-size: 1.125rem;
    }
    .stat-item div {
        display: none;
    }
}