/* =========================================================
   SERVICE PAGE
   ========================================================= */

.service-container {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* =========================================================
   HERO
   ========================================================= */

.service-hero {
    position: relative;
    overflow: hidden;

    padding: 105px 0 95px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37, 99, 235, .12),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(124, 58, 237, .12),
            transparent 32%
        ),
        radial-gradient(
            circle at 75% 100%,
            rgba(6, 182, 212, .10),
            transparent 35%
        ),
        #f8fafc;
}

.service-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -250px;
    top: -300px;

    border-radius: 50%;

    background:
        rgba(37, 99, 235, .07);

    filter: blur(80px);
}

.service-hero-inner {
    position: relative;

    max-width: 820px;

    margin: auto;

    text-align: center;
}

.service-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 15px;

    border: 1px solid rgba(37, 99, 235, .14);

    border-radius: 999px;

    color: #315ed8;

    background: rgba(255, 255, 255, .72);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .08em;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, .04);
}

.service-eyebrow i {
    width: 7px;
    height: 7px;

    display: block;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );

    box-shadow:
        0 0 0 5px rgba(99, 102, 241, .08);
}

.service-hero h1 {
    margin: 25px 0 18px;

    color: #101828;

    font-size: clamp(48px, 6vw, 76px);

    line-height: .98;

    letter-spacing: -.065em;

    font-weight: 850;
}

.service-hero h1 span {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            100deg,
            #315ee8 0%,
            #7138e8 48%,
            #139dd1 100%
        );

    background-clip: text;
    -webkit-background-clip: text;
}

.service-hero p {
    max-width: 670px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   HERO META
   ========================================================= */

.service-hero-meta {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    margin-top: 40px;

    padding: 15px 24px;

    border:
        1px solid rgba(226, 232, 240, .85);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, .65);

    box-shadow:
        0 15px 40px rgba(15, 23, 42, .05);

    backdrop-filter: blur(15px);
}

.service-hero-meta div:not(.service-meta-line) {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #64748b;

    font-size: 11px;

    font-weight: 600;
}

.service-hero-meta strong {
    color: #172033;

    font-size: 16px;

    font-weight: 800;
}

.service-meta-line {
    width: 1px;
    height: 25px;

    background: #e2e8f0;
}


/* =========================================================
   SERVICE SECTION
   ========================================================= */

.service-section {
    padding: 105px 0 120px;

    background: #ffffff;
}

.service-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 60px;

    margin-bottom: 55px;
}

.service-heading h2 {
    max-width: 650px;

    margin: 20px 0 0;

    color: #101828;

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.05;

    letter-spacing: -.055em;
}

.service-heading h2 span {
    color: #64748b;
}

.service-heading > p {
    width: 300px;

    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CATEGORY LIST
   ========================================================= */

.service-list {
    display: flex;

    flex-direction: column;

    gap: 28px;
}

.service-category {
    position: relative;

    overflow: hidden;

    padding: 34px;

    border:
        1px solid #e7ebf2;

    border-radius: 26px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfcfe
        );

    box-shadow:
        0 12px 40px rgba(15, 23, 42, .045);

    transition:
        box-shadow .3s ease,
        border-color .3s ease;
}

.service-category:hover {
    border-color:
        #dce4f3;

    box-shadow:
        0 20px 55px rgba(15, 23, 42, .07);
}


/* =========================================================
   CATEGORY TOP
   ========================================================= */

.service-category-top {
    display: grid;

    grid-template-columns:
        58px 1fr auto;

    align-items: center;

    gap: 22px;

    padding-bottom: 28px;

    border-bottom:
        1px solid #edf0f4;
}

.service-category-index {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 17px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            #315ee8,
            #7438e8 60%,
            #139dd1
        );

    box-shadow:
        0 12px 25px rgba(79, 70, 229, .18);
}

.service-category-info h2 {
    margin: 0 0 7px;

    color: #111827;

    font-size: 23px;

    line-height: 1.2;

    letter-spacing: -.035em;
}

.service-category-info p {
    max-width: 700px;

    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}

.service-category-count {
    min-width: 80px;

    display: flex;

    flex-direction: column;

    align-items: flex-end;
}

.service-category-count strong {
    color: #172033;

    font-size: 25px;

    line-height: 1;

    letter-spacing: -.04em;
}

.service-category-count span {
    margin-top: 5px;

    color: #94a3b8;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .07em;
}


/* =========================================================
   SERVICE ITEMS
   ========================================================= */

.service-items {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 11px;

    padding-top: 25px;
}

.service-item {
    min-height: 64px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    text-decoration: none;

    border:
        1px solid #e8edf4;

    border-radius: 14px;

    background: #ffffff;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.service-item:hover {
    transform: translateY(-3px);

    border-color:
        rgba(79, 70, 229, .22);

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .07);
}

.service-item-icon {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #4f46e5;

    background:
        #f1f4ff;

    font-size: 14px;

    font-weight: 800;
}

.service-item-title {
    flex: 1;

    color: #253047;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.4;
}

.service-item-arrow {
    color: #a0aabd;

    font-size: 15px;

    transition:
        transform .2s ease,
        color .2s ease;
}

.service-item:hover .service-item-arrow {
    color: #4f46e5;

    transform:
        translate(2px, -2px);
}


/* =========================================================
   CTA
   ========================================================= */

.service-cta {
    padding: 0 0 110px;

    background: #ffffff;
}

.service-cta-box {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 55px 60px;

    border-radius: 30px;

    background:
        linear-gradient(
            120deg,
            #172554,
            #4338ca 55%,
            #2563eb
        );

    box-shadow:
        0 25px 60px rgba(37, 67, 180, .18);
}

.service-cta-box::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -100px;
    top: -180px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .08);
}

.service-cta-content {
    position: relative;

    z-index: 2;
}

.service-eyebrow-light {
    color: #ffffff;

    border-color:
        rgba(255, 255, 255, .18);

    background:
        rgba(255, 255, 255, .09);
}

.service-cta-content h2 {
    max-width: 650px;

    margin: 20px 0 12px;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.05;

    letter-spacing: -.045em;
}

.service-cta-content p {
    max-width: 580px;

    margin: 0;

    color:
        rgba(255, 255, 255, .72);

    font-size: 14px;

    line-height: 1.8;
}

.service-cta-button {
    position: relative;

    z-index: 3;

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding: 16px 21px;

    color: #172554;

    background: #ffffff;

    border-radius: 13px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, .15);

    transition:
        transform .25s ease;
}

.service-cta-button:hover {
    transform:
        translateY(-3px);
}

.service-cta-button span {
    font-size: 17px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .service-container {
        width:
            min(100% - 36px, 720px);
    }

    .service-heading {
        display: block;
    }

    .service-heading > p {
        width: auto;

        max-width: 600px;

        margin-top: 20px;
    }

    .service-items {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .service-cta-box {
        display: block;

        padding: 45px;
    }

    .service-cta-button {
        margin-top: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .service-container {
        width:
            calc(100% - 30px);
    }

    .service-hero {
        padding:
            75px 0 70px;
    }

    .service-hero h1 {
        font-size:
            46px;
    }

    .service-hero p {
        font-size:
            14px;
    }

    .service-hero-meta {
        width: 100%;

        justify-content: space-between;

        gap: 10px;

        padding: 14px;
    }

    .service-hero-meta div:not(.service-meta-line) {
        flex-direction: column;

        gap: 3px;

        text-align: center;
    }

    .service-section {
        padding:
            70px 0 80px;
    }

    .service-heading h2 {
        font-size:
            36px;
    }

    .service-category {
        padding:
            22px;

        border-radius:
            22px;
    }

    .service-category-top {
        grid-template-columns:
            48px 1fr;

        gap: 15px;
    }

    .service-category-index {
        width: 48px;
        height: 48px;

        border-radius: 14px;
    }

    .service-category-info h2 {
        font-size:
            20px;
    }

    .service-category-count {
        display: none;
    }

    .service-items {
        grid-template-columns:
            1fr;

        gap: 9px;
    }

    .service-cta {
        padding-bottom:
            70px;
    }

    .service-cta-box {
        padding:
            35px 25px;

        border-radius:
            23px;
    }

    .service-cta-content h2 {
        font-size:
            32px;
    }

    .service-cta-button {
        width: 100%;

        justify-content:
            space-between;
    }

}