/* ================================================================
   WEBSITE DEVELOPMENT SERVICES
   Premium Modern UI
================================================================ */

.wd-services-section {
    position: relative;
    padding: 55px 0 58px;
    background: #ffffff;
    overflow: hidden;
}


/* ================================================================
   HEADER
================================================================ */

.wd-services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 28px;
}


.wd-services-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-bottom: 12px;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 1.4px;

    color: #182b49;
    text-transform: uppercase;
}


.wd-services-badge span:not(.wd-heading-line) {
    color: #172b4d;
}


.wd-heading-line {
    width: 44px;
    height: 1px;
    display: inline-block;

    background: #1769e0;
}


.wd-services-title {
    margin: 0;

    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;

    font-weight: 800;
    letter-spacing: -0.6px;

    color: #0d1b36;
}


.wd-services-description {
    max-width: 720px;

    margin: 12px auto 0;

    font-size: 16px;
    line-height: 1.7;

    color: #52627a;
}


/* ================================================================
   SERVICES GRID
================================================================ */

.wd-services-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 14px;

    align-items: stretch;
}


/* ================================================================
   SERVICE CARD
================================================================ */

.wd-service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 250px;

    padding: 22px 20px 20px;

    background: #ffffff;

    border: 1px solid #e5ebf4;

    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(15, 35, 70, 0.055);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.wd-service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 18px;
    right: 18px;

    height: 3px;

    border-radius: 0 0 5px 5px;

    background: #1769e0;

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.25s ease;
}


.wd-service-card:hover {
    transform: translateY(-6px);

    border-color: #cddcf3;

    box-shadow:
        0 14px 35px rgba(15, 50, 100, 0.12);
}


.wd-service-card:hover::before {
    transform: scaleX(1);
}


/* ================================================================
   ICON
================================================================ */

.wd-service-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 10px;

    background: #edf5ff;

    color: #0868df;

    font-size: 24px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.wd-service-card:hover .wd-service-icon {
    background: #0868df;
    color: #ffffff;

    transform: translateY(-2px);
}


/* ================================================================
   TITLE
================================================================ */

.wd-service-title {
    margin: 0 0 10px;

    font-size: 17px;
    line-height: 1.35;

    font-weight: 750;

    color: #0d1b36;
}


/* ================================================================
   DESCRIPTION
================================================================ */

.wd-service-description {
    margin: 0;

    font-size: 14px;
    line-height: 1.65;

    color: #53627a;
}


/* ================================================================
   LEARN MORE
================================================================ */

.wd-service-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: auto;
    padding-top: 17px;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 700;

    color: #0868df;

    text-decoration: none;

    transition:
        gap 0.2s ease,
        color 0.2s ease;
}


.wd-service-link:hover {
    color: #004fb8;
    gap: 11px;
}


.wd-service-link i {
    font-size: 12px;
}


/* ================================================================
   CTA
================================================================ */

.wd-services-cta {
    display: flex;
    justify-content: center;

    margin-top: 32px;
}


.wd-services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 50px;

    padding: 13px 27px;

    border-radius: 8px;

    background: #0868df;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(8, 104, 223, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.wd-services-btn:hover {
    background: #0058c8;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(8, 104, 223, 0.28);
}


.wd-services-btn i {
    font-size: 14px;

    transition: transform 0.2s ease;
}


.wd-services-btn:hover i {
    transform: translateX(4px);
}


/* ================================================================
   LARGE DESKTOP
================================================================ */

@media (max-width: 1399px) {

    .wd-services-grid {
        gap: 12px;
    }

    .wd-service-card {
        padding: 20px 17px;
    }

    .wd-service-title {
        font-size: 16px;
    }

    .wd-service-description {
        font-size: 13.5px;
    }
}


/* ================================================================
   TABLET / SMALL DESKTOP
================================================================ */

@media (max-width: 1199px) {

    .wd-services-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px;
    }

    .wd-service-card {
        min-height: 240px;
        padding: 23px 21px;
    }

    .wd-service-title {
        font-size: 18px;
    }

    .wd-service-description {
        font-size: 14px;
    }
}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 767px) {

    .wd-services-section {
        padding: 42px 0 45px;
    }


    .wd-services-header {
        margin-bottom: 24px;
    }


    .wd-services-badge {
        gap: 8px;

        font-size: 12px;
        letter-spacing: 1px;
    }


    .wd-heading-line {
        width: 28px;
    }


    .wd-services-title {
        font-size: 28px;
    }


    .wd-services-description {
        font-size: 14px;
        line-height: 1.6;
    }


    .wd-services-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .wd-service-card {
        min-height: 0;

        padding: 21px 20px;
    }


    .wd-service-icon {
        width: 46px;
        height: 46px;

        font-size: 22px;
    }


    .wd-service-title {
        font-size: 18px;
    }


    .wd-service-description {
        font-size: 14px;
    }


    .wd-services-cta {
        margin-top: 25px;
    }


    .wd-services-btn {
        width: 100%;

        min-height: 52px;

        font-size: 15px;
    }
}


/* ================================================================
   SMALL MOBILE
================================================================ */

@media (max-width: 420px) {

    .wd-services-title {
        font-size: 25px;
    }

    .wd-services-badge {
        font-size: 11px;
    }

    .wd-heading-line {
        width: 20px;
    }
}