/* =========================================
   SERVICES
========================================= */

.services-section {
    padding: 80px 0;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(47, 109, 246, 0.08),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #eef4ff 0%,
            #f5f8fd 55%,
            #eef4ff 100%
        );
}


/* =========================================
   HEADER
========================================= */

.services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 58px;
}

.services-title-wrap .section-eyebrow {
    margin-bottom: 13px;
}

.services-title-wrap h2 {
    margin: 0;

    font-size: clamp(40px, 4.2vw, 58px);
    line-height: .94;
    letter-spacing: -0.045em;

    font-weight: 600;
    color: var(--color-text);
}

.services-title-wrap h2 span {
    color: var(--color-primary);
}


/* =========================================
   RIGHT HEADER
========================================= */

.services-heading-right {
    display: flex;
    align-items: center;
    gap: 55px;

    padding-bottom: 2px;
}

.services-heading-right p {
    max-width: 340px;

    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: var(--color-text-muted);
}

.services-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;

    padding: 11px 18px;

    border: 1px solid #aeb4bc;
    border-radius: 30px;

    color: var(--color-text);
    background: transparent;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;
}

.services-all-btn:hover {
    background: var(--color-text);
    border-color: var(--color-text);
    color: #fff;
}

/* =========================================
   SERVICE CARD
========================================= */

.service-card {
    position: relative;

    min-height: 350px;

    padding: 27px 26px 25px;

    background: rgba(255, 255, 255, 0.88);

    border-right: 1px solid rgba(47, 109, 246, 0.12);
    border-bottom: 1px solid rgba(47, 109, 246, 0.12);

    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        background .35s ease,
        box-shadow .35s ease;

    will-change: transform;

    z-index: 1;
}

/* =========================================
   HOVER LIFT
========================================= */

.service-card:hover {
    transform: translateY(-10px);

    background: #fff;

    box-shadow:
        0 20px 45px rgba(17, 19, 24, .08);

    z-index: 3;
}


/* =========================================
   TOP
========================================= */

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-number {
    font-size: 14px;
    font-weight: 500;
    color: #a1a8b1;
}

.service-arrow {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #b9bec5;
    border-radius: 50%;

    font-size: 12px;
    color: var(--color-text);

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.service-card:hover .service-arrow {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;

    transform: rotate(45deg);
}


/* =========================================
   CONTENT
========================================= */

.service-card-content {
    margin-top: 48px;
}

.service-card-content h3 {
    margin: 0 0 17px;

    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.025em;

    font-weight: 600;

    color: var(--color-text);
}

.service-card-content p {
    max-width: 230px;

    margin: 0;

    font-size: 16px;
    line-height: 1.65;

    color: var(--color-text-muted);
}


/* =========================================
   ICON
========================================= */

.service-icon {
    position: absolute;

    left: 26px;
    bottom: 25px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-primary);

    font-size: 26px;
}

.service-icon i {
    display: block;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .services-section {
        padding: 90px 0;
    }

    .services-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .services-heading-right {
        width: 100%;
        justify-content: space-between;
    }

    .service-card {
        min-height: 330px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 575.98px) {

    .services-section {
        padding: 60px 24px;
    }

    .services-heading {
        margin-bottom: 38px;
    }

    .services-title-wrap h2 {
        font-size: 39px;
    }

    .services-heading-right {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .services-heading-right p {
        max-width: 330px;
    }

    .services-grid {
        border-left: 0;
    }

    .service-card {
        min-height: 300px;

        padding: 24px 22px;
    }

    .service-card-content {
        margin-top: 40px;
    }

    .service-card-content h3 {
        font-size: 20px;
    }

    .service-icon {
        left: 22px;
        bottom: 22px;
    }

    /* Keep hover lift subtle on touch devices */
    .service-card:hover {
        transform: translateY(-5px);
    }
}