/* ==========================================
WHY US
========================================== */

#why-us {
    background: #fff;
    padding: 20px 5% 30px 5%;
}

#why-us .container {
    max-width: 1300px;
    margin: auto;
}

.section-tag {
    display: block;
    text-align: center;

    color: var(--accent);

    font-size: 1.8rem;

    line-height: 2;

    font-weight: 700;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    margin-bottom: 16px;
}

#why-us h2 {
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 2;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.why-grid {
    position: relative;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 55px;

    place-items: center;
}

.why-grid::before {
    content: "";

    position: absolute;

    top: 34px;

    left: 40px;

    right: 40px;

    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(0, 168, 255, 0.35),
            transparent);
}

.why-grid article {
    position: relative;

    z-index: 2;
}

.why-grid img {
    width: 46px;

    height: 46px;

    margin-bottom: 24px;

    display: block;
}

.why-grid h3 {
    font-size: 0.82rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--primary);

    margin-bottom: 12px;
}

.why-grid p {
    color: #667387;

    line-height: 1.2;

    max-width: 220px;
}

/* glowing node */

.why-grid article::before {
    content: "";

    width: 12px;

    height: 12px;

    background: var(--accent);

    border-radius: 50%;

    position: absolute;

    top: 29px;

    left: -15px;

    box-shadow: 0 0 0 6px rgba(0, 168, 255, 0.12),
        0 0 18px rgba(0, 168, 255, 0.35);
}

/* Trust Credentials */

.trust-credentials {
    margin-top: 10px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, .08);

    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px 40px;
}

.credential {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.credential img {
    flex-shrink: 0;
    object-fit: contain;
    width: 100px;
}

.credential h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--primary)
}

.credential p {
    margin: 0;
    opacity: .85;
    line-height: 1.6;
}

@media (max-width:768px) {

    .trust-credentials {
        grid-template-columns: 1fr;
    }

    .credential {
        align-items: center;
    }

}

/*==============================
RESPONSIVE
===============================*/

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .why-grid::before {
        width: 1px;

        height: 100%;

        top: 0;

        bottom: 0;

        left: 23px;

        right: auto;
    }

    .why-grid article {
        padding-left: 65px;
    }

    .why-grid article::before {
        left: 18px;

        top: 16px;
    }

    .why-grid img {
        width: 42px;
    }
}