/* ============================================================
   IMPACT IN NUMBERS
   Premium Full Width Dark Section
   ============================================================ */

.impact-section {
    position: relative;
    width: 100%;
    padding: 110px 0 100px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 119, 255, 0.20),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #031b3d 0%,
            #052a5c 45%,
            #031a3b 100%
        );

    color: #ffffff;
    isolation: isolate;
}


/* ============================================================
   Background Overlay
   ============================================================ */

.impact-overlay {
    position: absolute;
    inset: 0;
    z-index: -4;

    background:
        linear-gradient(
            90deg,
            rgba(1, 20, 48, 0.86),
            rgba(2, 38, 82, 0.62),
            rgba(1, 20, 48, 0.88)
        );

    pointer-events: none;
}

.impact-section.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ============================================================
   World Map / Network Pattern
   ============================================================ */

.impact-world-pattern {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.28;
    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(30, 151, 255, 0.85) 1.5px,
            transparent 1.8px
        );

    background-size: 13px 13px;

    mask-image:
        radial-gradient(
            ellipse 65% 55% at 50% 42%,
            #000 0%,
            rgba(0,0,0,.75) 48%,
            transparent 78%
        );

    -webkit-mask-image:
        radial-gradient(
            ellipse 65% 55% at 50% 42%,
            #000 0%,
            rgba(0,0,0,.75) 48%,
            transparent 78%
        );
}


/* ============================================================
   Decorative Dots
   ============================================================ */

.impact-dots {
    position: absolute;
    width: 180px;
    height: 150px;
    z-index: -2;
    opacity: 0.45;

    background-image:
        radial-gradient(
            circle,
            rgba(0, 156, 255, 0.9) 2px,
            transparent 2.5px
        );

    background-size: 14px 14px;

    pointer-events: none;
}

.impact-dots-left {
    top: 35px;
    left: 80px;
}

.impact-dots-right {
    right: 80px;
    bottom: 35px;
}


/* ============================================================
   Glow Effects
   ============================================================ */

.impact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    z-index: -2;
}

.impact-glow-one {
    width: 300px;
    height: 300px;
    top: -140px;
    left: 15%;

    background: rgba(0, 123, 255, 0.14);
}

.impact-glow-two {
    width: 350px;
    height: 350px;
    right: -150px;
    top: 20%;

    background: rgba(0, 183, 255, 0.12);
}

.impact-glow-three {
    width: 260px;
    height: 260px;
    bottom: -150px;
    left: 35%;

    background: rgba(0, 98, 255, 0.15);
}


/* ============================================================
   Container
   ============================================================ */

.impact-container {
    position: relative;
    z-index: 5;
}


/* ============================================================
   Section Heading
   ============================================================ */

.impact-section-title {
    max-width: 1050px;
    margin: 0 auto 58px;
}

.impact-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    margin-bottom: 22px;

    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #38bdf8;
}

.impact-label-line {
    width: 65px;
    height: 3px;
    border-radius: 10px;

    background: linear-gradient(
        90deg,
        transparent,
        #38bdf8
    );
}

.impact-label-line:last-child {
    background: linear-gradient(
        90deg,
        #38bdf8,
        transparent
    );
}


.impact-section-title h2 {
    margin: 0 auto 20px;

    font-size: clamp(32px, 4.2vw, 55px);
    line-height: 1.15;

    font-weight: 800;
    letter-spacing: -1px;

    color: #ffffff;
}

.impact-section-title h2::first-letter {
    color: #ffffff;
}


.impact-section-title p {
    max-width: 850px;
    margin: 0 auto;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.78);
}


/* ============================================================
   Cards
   ============================================================ */

.impact-card {
    position: relative;
    height: 100%;

    padding: 1px;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(28, 148, 255, 0.50),
            rgba(0, 81, 166, 0.28),
            rgba(28, 148, 255, 0.45)
        );

    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.45s ease;
}


.impact-card-inner {
    position: relative;

    height: 100%;
    min-height: 410px;

    padding: 34px 32px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(5, 42, 88, 0.96),
            rgba(3, 29, 64, 0.98)
        );

    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.impact-card-inner::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 132, 255, 0.22),
            transparent 70%
        );
}


.impact-card-inner::after {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    bottom: -90px;
    left: -70px;

    border-radius: 50%;

    border: 1px solid rgba(0, 157, 255, 0.20);

    pointer-events: none;
}


.impact-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 25px 65px rgba(0, 90, 190, 0.30),
        0 0 35px rgba(0, 136, 255, 0.10);
}


/* ============================================================
   Icon
   ============================================================ */

.impact-icon {
    position: relative;

    width: 104px;
    height: 104px;

    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 38px;

    color: #ffffff;

    border: 4px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.04),
        0 12px 35px rgba(0, 0, 0, 0.30);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.impact-icon::before {
    content: "";

    position: absolute;
    inset: -9px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.12);
}


.impact-card:hover .impact-icon {
    transform: scale(1.08) rotate(3deg);

    box-shadow:
        0 0 0 7px rgba(255, 255, 255, 0.04),
        0 18px 45px rgba(0, 0, 0, 0.35);
}


/* ============================================================
   Individual Icon Colors
   ============================================================ */

.impact-icon-1 {
    background:
        linear-gradient(
            145deg,
            #00aaff,
            #1746ff
        );

    box-shadow:
        0 0 22px rgba(0, 166, 255, 0.40),
        0 12px 35px rgba(0, 0, 0, 0.25);
}


.impact-icon-2 {
    background:
        linear-gradient(
            145deg,
            #7c4dff,
            #4120dc
        );

    box-shadow:
        0 0 22px rgba(124, 77, 255, 0.40),
        0 12px 35px rgba(0, 0, 0, 0.25);
}


.impact-icon-3 {
    background:
        linear-gradient(
            145deg,
            #00c9a7,
            #008f80
        );

    box-shadow:
        0 0 22px rgba(0, 201, 167, 0.40),
        0 12px 35px rgba(0, 0, 0, 0.25);
}


.impact-icon-4 {
    background:
        linear-gradient(
            145deg,
            #ffb000,
            #e45c00
        );

    box-shadow:
        0 0 22px rgba(255, 166, 0, 0.40),
        0 12px 35px rgba(0, 0, 0, 0.25);
}


/* ============================================================
   Number
   ============================================================ */

.impact-number {
    position: relative;
    z-index: 2;

    margin-bottom: 3px;

    font-size: clamp(42px, 4vw, 56px);
    line-height: 1;

    font-weight: 850;
    letter-spacing: -2px;

    color: #ffffff;
}


/* ============================================================
   Title
   ============================================================ */

.impact-card h3 {
    position: relative;
    z-index: 2;

    margin: 7px 0 14px;

    font-size: 23px;
    line-height: 1.3;

    font-weight: 750;

    color: #ffffff;
}


/* ============================================================
   Accent Line
   ============================================================ */

.impact-card-accent {
    position: relative;
    z-index: 2;

    width: 65px;
    height: 4px;

    margin-bottom: 22px;

    border-radius: 20px;

    background: #168cff;

    transition: width 0.35s ease;
}

.impact-card:hover .impact-card-accent {
    width: 95px;
}

.impact-card:nth-child(2) .impact-card-accent {
    background: #7c4dff;
}

.impact-card:nth-child(3) .impact-card-accent {
    background: #00c9a7;
}

.impact-card:nth-child(4) .impact-card-accent {
    background: #ff9d00;
}


/* ============================================================
   Description
   ============================================================ */

.impact-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    font-size: 15px;
    line-height: 1.85;

    color: rgba(255, 255, 255, 0.73);
}


/* ============================================================
   Tablet
   ============================================================ */

@media (max-width: 1199px) {

    .impact-section {
        padding: 90px 0;
    }

    .impact-card-inner {
        min-height: 390px;
    }
}


@media (max-width: 991px) {

    .impact-section {
        padding: 80px 0;
    }

    .impact-section-title {
        margin-bottom: 45px;
    }

    .impact-section-title h2 {
        font-size: 38px;
    }

    .impact-section-title p {
        font-size: 16px;
    }

    .impact-card-inner {
        min-height: 370px;
    }
}


/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 767px) {

    .impact-section {
        padding: 70px 0;
    }

    .impact-label {
        gap: 10px;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .impact-label-line {
        width: 35px;
    }

    .impact-section-title {
        margin-bottom: 40px;
    }

    .impact-section-title h2 {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .impact-section-title p {
        padding: 0 10px;
        font-size: 14px;
        line-height: 1.75;
    }

    .impact-card-inner {
        min-height: auto;
        padding: 32px 25px;
        border-radius: 20px;
    }

    .impact-icon {
        width: 85px;
        height: 85px;
        font-size: 31px;
        margin-bottom: 24px;
    }

    .impact-number {
        font-size: 45px;
    }

    .impact-card h3 {
        font-size: 21px;
    }

    .impact-card p {
        font-size: 14px;
        line-height: 1.8;
    }

    .impact-dots-left {
        left: 10px;
        top: 20px;
    }

    .impact-dots-right {
        right: 10px;
        bottom: 20px;
    }
}


/* ============================================================
   Small Mobile
   ============================================================ */

@media (max-width: 575px) {

    .impact-section {
        padding: 60px 0;
    }

    .impact-section-title h2 {
        font-size: 26px;
    }

    .impact-card-inner {
        padding: 30px 22px;
    }

    .impact-icon {
        width: 78px;
        height: 78px;
        font-size: 28px;
    }

    .impact-number {
        font-size: 42px;
    }
}


/* ============================================================
   Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .impact-card,
    .impact-icon,
    .impact-card-accent {
        transition: none !important;
    }
}