.wd-services-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: #f6faff;
    background-size: cover;
    background-repeat: no-repeat;
    isolation: isolate;
}

.wd-services-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #071b3a;
    pointer-events: none;
}

.wd-services-section > .container {
    z-index: 2;
}


/* =====================================================
   HEADER
===================================================== */

.wd-services-header {
    max-width: 900px;
    margin: 0 auto 52px;
}

.wd-services-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(13, 92, 230, 0.12);
    border-radius: 50px;
    background: rgba(231, 241, 255, 0.9);
    color: #0957d9;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.wd-services-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
}

.wd-services-heading {
    margin: 0 0 18px;
    color: #0b1736;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.wd-services-description {
    max-width: 800px;
    margin: 0 auto;
    color: #4c5d78;
    font-size: 18px;
    line-height: 1.75;
}


/* =====================================================
   SERVICES GRID
===================================================== */

.wd-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* =====================================================
   SERVICE CARD
===================================================== */

.wd-services-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(13, 92, 230, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 35px rgba(22, 58, 108, 0.08);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.wd-services-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #0d6efd,
        #00b8d9
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.wd-services-card:hover {
    transform: translateY(-8px);
    border-color: rgba(13, 110, 253, 0.2);
    box-shadow: 0 22px 50px rgba(22, 58, 108, 0.15);
}

.wd-services-card:hover::before {
    transform: scaleX(1);
}


/* =====================================================
   CARD VISUAL
===================================================== */

.wd-services-card-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    padding: 24px 22px 10px;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(13, 110, 253, 0.10),
            transparent 62%
        );
}

.wd-services-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 175px;
}

.wd-services-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.wd-services-card:hover .wd-services-card-image img {
    transform: scale(1.04);
}


/* =====================================================
   ICON FALLBACK
===================================================== */

.wd-services-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        #0d6efd,
        #00b8d9
    );
    color: #fff;
    font-size: 34px;
    box-shadow:
        0 16px 32px rgba(13, 110, 253, 0.22);
    transition: transform .3s ease;
}

.wd-services-card:hover .wd-services-card-icon {
    transform: translateY(-5px) rotate(-3deg);
}


/* =====================================================
   CARD CONTENT
===================================================== */

.wd-services-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 4px 26px 25px;
}

.wd-services-card-title {
    margin: 0 0 11px;
    color: #0b1736;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 750;
}

.wd-services-card-description {
    margin: 0 0 20px;
    color: #52627a;
    font-size: 15px;
    line-height: 1.65;
}

.wd-services-card-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    margin-top: auto;
    color: #075fe5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: color .25s ease;
}

.wd-services-card-link:hover {
    color: #0047b8;
}

.wd-services-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-size: 10px;
    transition:
        transform .25s ease,
        background .25s ease;
}

.wd-services-card-link:hover .wd-services-card-arrow {
    transform: translateX(4px);
    background: #0047b8;
}


/* =====================================================
   CTA
===================================================== */

.wd-services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 42px;
    padding: 28px 34px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(
        110deg,
        #0757c9,
        #0d8bea,
        #10bfd0
    );
    box-shadow: 0 20px 45px rgba(13, 91, 210, 0.22);
}

.wd-services-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wd-services-cta-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 27px;
}

.wd-services-cta-text {
    color: #fff;
}

.wd-services-cta-label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: .9;
}

.wd-services-cta-text h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.25;
    font-weight: 800;
}

.wd-services-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
}

.wd-services-cta-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 12px;
    background: #fff;
    color: #0757c9;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.wd-services-cta-button:hover {
    color: #0047b8;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .17);
}

.wd-services-cta-button i {
    transition: transform .25s ease;
}

.wd-services-cta-button:hover i {
    transform: translateX(4px);
}


/* =====================================================
   BACKGROUND IMAGE MODE
===================================================== */

.wd-services-section[style*="background-image"] .wd-services-heading,
.wd-services-section[style*="background-image"] .wd-services-description {
    color: #fff;
}

.wd-services-section[style*="background-image"] .wd-services-description {
    color: rgba(255, 255, 255, .88);
}

.wd-services-section[style*="background-image"] .wd-services-badge {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .20);
    color: #fff;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1199.98px) {

    .wd-services-section {
        padding: 75px 0;
    }

    .wd-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767.98px) {

    .wd-services-section {
        padding: 60px 0;
    }

    .wd-services-header {
        margin-bottom: 35px;
    }

    .wd-services-badge {
        padding: 8px 14px;
        font-size: 12px;
    }

    .wd-services-heading {
        font-size: 32px;
        letter-spacing: -.8px;
    }

    .wd-services-description {
        font-size: 16px;
        line-height: 1.65;
    }

    .wd-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .wd-services-card-visual {
        min-height: 175px;
    }

    .wd-services-card-content {
        padding: 4px 22px 23px;
    }

    .wd-services-card-title {
        font-size: 20px;
    }

    .wd-services-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 22px;
    }

    .wd-services-cta-content {
        align-items: flex-start;
    }

    .wd-services-cta-button {
        width: 100%;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 479.98px) {

    .wd-services-section {
        padding: 50px 0;
    }

    .wd-services-heading {
        font-size: 29px;
    }

    .wd-services-card-visual {
        min-height: 155px;
    }

    .wd-services-card-image {
        height: 145px;
    }

    .wd-services-card-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        font-size: 28px;
    }

    .wd-services-cta-content {
        gap: 14px;
    }

    .wd-services-cta-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        font-size: 22px;
    }

    .wd-services-cta-text h3 {
        font-size: 21px;
    }

}