/* =========================================================
   About Services
   ========================================================= */

.about-services {

    position: relative;

    padding: 100px 0;

    background: #09090f;

}


.about-services-container {

    width: min(
        1200px,
        calc(100% - 80px)
    );

    margin: 0 auto;

}


/* =========================================================
   Header
   ========================================================= */

.about-services-header {

    max-width: 720px;

    margin-bottom: 55px;

}


.about-services-header .section-eyebrow {

    display: block;

    margin-bottom: 16px;

    color: #ef1111;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2.5px;

}


.about-services-header h2 {

    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(
        38px,
        5vw,
        58px
    );

    line-height: 1.08;

    letter-spacing: -1px;

}


.about-services-header h2 span {

    color: #ef1111;

}


.about-services-header p {

    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.52);

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   Grid
   ========================================================= */

.about-services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

}


/* =========================================================
   Card
   ========================================================= */

.about-service-card {

    position: relative;

    min-height: 360px;

    padding: 28px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.015)
        );

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 15px;

    overflow: hidden;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;

}


.about-service-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: #ef1111;

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        transform .3s ease;

}


.about-service-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(239,17,17,.30);

    background:
        linear-gradient(
            145deg,
            rgba(239,17,17,.07),
            rgba(255,255,255,.015)
        );

}


.about-service-card:hover::before {

    transform:
        scaleX(1);

}


/* =========================================================
   Number
   ========================================================= */

.about-service-number {

    color: rgba(255,255,255,.25);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* =========================================================
   Icon
   ========================================================= */

.about-service-icon {

    width: 52px;
    height: 52px;

    margin-top: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ef1111;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    border:
        1px solid rgba(239,17,17,.30);

    border-radius: 10px;

    background:
        rgba(239,17,17,.06);

}


/* =========================================================
   Content
   ========================================================= */

.about-service-card h3 {

    margin: 24px 0 13px;

    color: #ffffff;

    font-size: 20px;

    line-height: 1.2;

}


.about-service-card p {

    margin: 0;

    color: rgba(255,255,255,.48);

    font-size: 13px;

    line-height: 1.75;

}


/* =========================================================
   Link
   ========================================================= */

.about-service-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: auto;

    padding-top: 25px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color .2s ease,
        gap .2s ease;

}


.about-service-link span {

    color: #ef1111;

    font-size: 18px;

    line-height: 1;

}


.about-service-link:hover {

    color: #ef1111;

    gap: 14px;

}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1050px) {

    .about-services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 600px) {

    .about-services {

        padding: 70px 0;

    }


    .about-services-container {

        width: calc(100% - 40px);

    }


    .about-services-header {

        margin-bottom: 40px;

    }


    .about-services-grid {

        grid-template-columns: 1fr;

    }


    .about-service-card {

        min-height: 320px;

    }

}