/* =========================================================
   HIREPROO SERVICES PAGE
   services.css

   Dedicated Services Page CSS
   Does NOT modify Header / Footer styles
========================================================= */


/* =========================================================
   SERVICES HERO
========================================================= */

.services-hero {
    position: relative;
    width: 100%;
    min-height:500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(37, 115, 235, 0.20),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #06111f 0%,
            #081d32 55%,
            #04101d 100%
        );
    color: #ffffff;
}

.services-hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 174, 255, 0.12),
            transparent 25%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(0, 90, 255, 0.08),
            transparent 30%
        );
}

.services-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.06) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to right,
            black,
            transparent 90%
        );

    -webkit-mask-image:
        linear-gradient(
            to right,
            black,
            transparent 90%
        );
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.services-hero-container {
    position: relative;
    z-index: 2;

    width: 1200px;
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, 0.85fr);

    gap: 70px;

    align-items: center;

    padding-top: 90px;
    padding-bottom: 90px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.services-hero-content {
    min-width: 0;
    max-width: 720px;
}

.services-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 24px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;

    color: rgba(255,255,255,0.70);
}

.services-hero-eyebrow span {
    width: 38px;
    height: 1px;

    flex-shrink: 0;

    background: currentColor;
}


.services-hero h1 {
    margin: 0;

    max-width: 760px;

    font-size: clamp(48px, 6vw, 45px);
    line-height: 0.98;

    letter-spacing: -3px;
    font-weight: 700;
}

.services-hero h1 span {
    display: block;
    color: #53b8ff;
}


.services-hero-content > p {
    max-width: 650px;

    margin: 30px 0 0;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(255,255,255,0.70);
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.services-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: 38px;
}

.services-hero-buttons .btn {
    text-decoration: none;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.services-hero-visual {
    position: relative;

    min-width: 0;
    min-height: 550px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.services-hero-image-wrapper {
    position: relative;

    width: min(100%, 530px);

    aspect-ratio: 0.92;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(30,105,180,0.25),
            rgba(255,255,255,0.03)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35),
        0 0 70px rgba(30,140,255,0.12);

    z-index: 2;
}


.services-hero-image-wrapper::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(0,110,255,0.15),
            transparent 45%,
            rgba(0,0,0,0.30)
        );
}


.services-hero-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   HERO GLOW
========================================================= */

.services-hero-glow {
    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background: rgba(0,132,255,0.20);

    filter: blur(90px);

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   HERO FLOATING CARD
========================================================= */

.services-floating-card {
    position: absolute;

    right: -10px;
    bottom: 65px;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 14px;

    min-width: 255px;

    padding: 17px 21px;

    border:
        1px solid rgba(255,255,255,0.14);

    border-radius: 14px;

    background:
        rgba(7,25,45,0.88);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.30);
}


.services-floating-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(64,175,255,0.13);

    color: #5fc0ff;

    font-size: 20px;
}


.services-floating-card strong,
.services-floating-card small {
    display: block;
}


.services-floating-card strong {
    margin-bottom: 4px;

    font-size: 14px;
}


.services-floating-card small {
    font-size: 14px;

    color:
        rgba(255,255,255,0.55);
}


/* =========================================================
   SERVICES INTRO
========================================================= */

.services-intro {
    background: #ffffff;
}


.services-intro-layout {
    display: grid;

    grid-template-columns:
        120px
        minmax(0, 1fr);

    gap: 60px;

    align-items: start;
}


.services-side-label {
    display: flex;
    align-items: center;

    gap: 12px;

    writing-mode: vertical-rl;

    transform: rotate(180deg);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #64748b;
}


.services-side-label span {
    width: 1px;
    height: 42px;

    background: #2563eb;
}


.services-intro-content {
    max-width: 850px;
}


.services-intro-content h2 {
    margin: 15px 0 25px;

    font-size: clamp(40px, 4vw, 60px);

    line-height: 1.05;

    letter-spacing: -2px;

    color: #071525;
}


.services-intro-content h2 span {
    display: block;

    color: #2563eb;
}


.services-intro-content p {
    max-width: 760px;

    color: #64748b;

    line-height: 1.8;
}


.services-intro-content .large-text {
    font-size: 20px;

    color: #334155;

    line-height: 1.7;
}


/* =========================================================
   SERVICES LIST SECTION
========================================================= */

.services-list-section {
    padding: 55px 0;

    background: #f5f8fc;
}


.services-list-section .section-heading {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;
}


.services-list-section .section-heading h2 {
    margin-top: 14px;

    color: #071525;
}


.services-list-section .section-heading h2 span {
    color: #2563eb;
}


.services-list-section .section-heading p {
    color: #64748b;

    line-height: 1.75;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-main-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    margin-top: 65px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.services-main-card {
    position: relative;

    min-width: 0;
    min-height: 480px;

    display: flex;
    flex-direction: column;

    padding: 38px;

    overflow: hidden;

    border:
        1px solid #e1e8f0;

    border-radius: 18px;

    background: #ffffff;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.services-main-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    transform: scaleX(0);
    transform-origin: left;

    background: #2563eb;

    transition:
        transform 0.35s ease;
}


.services-main-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(37,99,235,0.28);

    box-shadow:
        0 25px 60px rgba(15,23,42,0.10);
}


.services-main-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   FEATURED SERVICE
========================================================= */

.services-main-card-featured {
    grid-column: span 2;

    min-height: 390px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4f8ff 100%
        );
}


.services-main-card-featured::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    bottom: -130px;

    border-radius: 50%;

    background:
        rgba(37,99,235,0.06);

    pointer-events: none;
}


/* =========================================================
   SERVICE CARD TOP
========================================================= */

.services-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 35px;
}


.services-card-number {
    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #94a3b8;
}


.services-card-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 22px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.services-main-card:hover .services-card-icon {
    color: #ffffff;

    background: #2563eb;

    transform: rotate(5deg);
}


/* =========================================================
   SERVICE CARD CONTENT
========================================================= */

.services-main-card h3 {
    margin: 0 0 15px;

    font-size: 26px;

    line-height: 1.2;

    letter-spacing: -0.6px;

    color: #0f172a;
}


.services-main-card > p {
    margin: 0;

    font-size: 14px;

    line-height: 1.75;

    color: #64748b;
}


/* =========================================================
   SERVICE CARD LIST
========================================================= */

.services-main-card ul {
    list-style: none;

    margin: 25px 0 30px;
    padding: 0;

    display: grid;

    gap: 10px;
}


.services-main-card li {
    position: relative;

    padding-left: 20px;

    font-size: 14px;

    line-height: 1.5;

    color: #475569;
}


.services-main-card li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: #2563eb;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   SERVICE CARD LINK
========================================================= */

.services-card-link {
    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: fit-content;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    color: #2563eb;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}


.services-card-link span {
    font-size: 17px;

    line-height: 1;
}


.services-card-link:hover {
    gap: 15px;

    color: #0f4fc2;
}


/* =========================================================
   WORKFORCE MODELS
========================================================= */

.services-models {
    position: relative;

    overflow: hidden;

    padding: 55px 0;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(37,99,235,0.25),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #06111f,
            #0a1d32
        );
}


.services-models::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        );

    background-size: 65px 65px;

    pointer-events: none;
}


.services-models-container {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(420px, 1fr);

    gap: 90px;

    align-items: center;
}


.services-models-content {
    max-width: 650px;
}


.services-models-content h2 {
    margin: 15px 0 22px;

    font-size: clamp(40px, 4vw, 60px);

    line-height: 1.05;

    letter-spacing: -2px;
}


.services-models-content h2 span {
    display: block;

    color: #53b8ff;
}


.services-models-content p {
    margin: 0 0 32px;

    font-size: 16px;

    line-height: 1.8;

    color: rgba(255,255,255,0.65);
}


/* =========================================================
   MODEL LIST
========================================================= */

.services-models-list {
    border-top:
        1px solid rgba(255,255,255,0.15);
}


.services-model-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    align-items: center;

    padding: 27px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.15);

    transition:
        padding 0.3s ease,
        background 0.3s ease;
}


.services-model-item:hover {
    padding-left: 12px;
}


.services-model-item > span {
    font-size: 14px;

    font-weight: 700;

    color: #53b8ff;
}


.services-model-item strong,
.services-model-item small {
    display: block;
}


.services-model-item strong {
    margin-bottom: 5px;

    font-size: 18px;

    color: #ffffff;
}


.services-model-item small {
    font-size: 14px;

    color: rgba(255,255,255,0.50);
}


/* =========================================================
   SERVICES PROCESS
========================================================= */

.services-process {
    background: #ffffff;
}


.services-process .section-heading {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;
}


.services-process .section-heading h2 {
    margin-top: 14px;

    color: #071525;
}


.services-process .section-heading h2 span {
    color: #2563eb;
}


.services-process .section-heading p {
    color: #64748b;

    line-height: 1.75;
}


.services-process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    margin-top: 65px;

    border-top:
        1px solid #dfe6ee;

    border-left:
        1px solid #dfe6ee;
}


.services-process-step {
    position: relative;

    min-height: 300px;

    padding: 30px;

    border-right:
        1px solid #dfe6ee;

    border-bottom:
        1px solid #dfe6ee;

    transition:
        background 0.3s ease;
}


.services-process-step:hover {
    background: #f8fbff;
}


.services-process-number {
    position: absolute;

    top: 25px;
    right: 25px;

    font-size: 14px;

    font-weight: 700;

    color: #94a3b8;
}


.services-process-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 45px;

    border:
        1px solid #dce5ef;

    border-radius: 50%;

    color: #2563eb;

    font-size: 19px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.services-process-step:hover
.services-process-icon {
    color: #ffffff;

    border-color: #2563eb;

    background: #2563eb;
}


.services-process-step h3 {
    margin: 0 0 12px;

    font-size: 21px;

    color: #0f172a;
}


.services-process-step p {
    margin: 0;

    font-size: 13px;

    line-height: 1.75;

    color: #64748b;
}


/* =========================================================
   SERVICES CTA
========================================================= */

.services-cta {
    position: relative;

    overflow: hidden;

    padding: 55px 0;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(37,99,235,0.25),
            transparent 35%
        ),
        #06111f;
}


.services-cta-glow {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 500px;
    height: 500px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        rgba(0,125,255,0.10);

    filter: blur(100px);

    pointer-events: none;
}


.services-cta-container {
    position: relative;

    z-index: 1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;
}


.services-cta-content {
    max-width: 760px;
}


.services-cta-content h2 {
    margin: 15px 0 20px;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;

    letter-spacing: -2.5px;
}


.services-cta-content h2 span {
    display: block;

    color: #53b8ff;
}


.services-cta-content p {
    max-width: 650px;

    margin: 0;

    font-size: 17px;

    line-height: 1.75;

    color: rgba(255,255,255,0.65);
}


.services-cta-action {
    flex-shrink: 0;
}


.services-cta-action .btn {
    white-space: nowrap;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.services-reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.services-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   SECOND IMAGE SUPPORT
   For a future Services Approach image
========================================================= */

.services-approach {
    background: #ffffff;
}


.services-approach-container {
    display: grid;

    grid-template-columns:
        minmax(380px, 0.9fr)
        minmax(0, 1fr);

    gap: 80px;

    align-items: center;
}


.services-approach-image-wrapper {
    position: relative;

    overflow: hidden;

    border-radius: 20px;

    background: #e9eef5;

    box-shadow:
        0 25px 60px rgba(15,23,42,0.12);
}


.services-approach-image {
    width: 100%;
    min-height: 420px;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


.services-approach-image-wrapper:hover
.services-approach-image {
    transform: scale(1.04);
}


.services-approach-content {
    max-width: 650px;
}


.services-approach-content h2 {
    margin: 15px 0 25px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;

    color: #071525;
}


.services-approach-content h2 span {
    display: block;

    color: #2563eb;
}


.services-approach-content p {
    color: #64748b;

    line-height: 1.8;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .services-hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(330px, 0.8fr);

        gap: 45px;
    }


    .services-hero {
        min-height: 680px;
    }


    .services-hero-visual {
        min-height: 480px;
    }


    .services-floating-card {
        right: -5px;
    }


    .services-models-container {
        gap: 55px;
    }


    .services-process-step {
        padding: 25px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 900px) {

    .services-hero {
        min-height: auto;
    }


    .services-hero-container {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 80px;
        padding-bottom: 80px;
    }


    .services-hero-content {
        max-width: 760px;
    }


    .services-hero-visual {
        min-height: auto;

        margin-top: 10px;
    }


    .services-hero-image-wrapper {
        width: min(100%, 600px);
    }


    .services-intro-layout {
        grid-template-columns: 70px minmax(0, 1fr);

        gap: 35px;
    }


    .services-main-grid {
        grid-template-columns: 1fr;
    }


    .services-main-card-featured {
        grid-column: auto;
    }


    .services-models-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .services-process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .services-cta-container {
        flex-direction: column;

        align-items: flex-start;
    }


    .services-approach-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .services-hero-container {
        padding-top: 65px;
        padding-bottom: 70px;
    }


    .services-hero h1 {
        font-size: clamp(40px, 12vw, 58px);

        letter-spacing: -2px;
    }


    .services-hero-content > p {
        font-size: 16px;

        line-height: 1.7;
    }


    .services-hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .services-hero-buttons .btn {
        width: 100%;

        justify-content: center;
    }


    .services-hero-visual {
        min-height: 390px;
    }


    .services-hero-image-wrapper {
        aspect-ratio: 0.95;
    }


    .services-floating-card {
        right: 5px;

        bottom: 20px;

        min-width: 220px;

        padding: 14px 16px;
    }


    .services-floating-icon {
        width: 38px;
        height: 38px;
    }


    .services-intro-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .services-side-label {
        writing-mode: horizontal-tb;

        transform: none;
    }


    .services-intro-content h2 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }


    .services-intro-content .large-text {
        font-size: 17px;
    }


    .services-list-section {
        padding: 75px 0;
    }


    .services-main-grid {
        margin-top: 45px;

        gap: 15px;
    }


    .services-main-card {
        min-height: auto;

        padding: 28px;
    }


    .services-main-card h3 {
        font-size: 23px;
    }


    .services-card-top {
        margin-bottom: 28px;
    }


    .services-main-card-featured {
        min-height: auto;
    }


    .services-models {
        padding: 75px 0;
    }


    .services-models-content h2 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }


    .services-model-item {
        grid-template-columns: 42px 1fr;

        gap: 15px;

        padding: 22px 0;
    }


    .services-process {
        padding-top: 75px;
        padding-bottom: 75px;
    }


    .services-process-grid {
        grid-template-columns: 1fr;

        margin-top: 45px;
    }


    .services-process-step {
        min-height: auto;

        padding: 28px;
    }


    .services-process-icon {
        margin-bottom: 35px;
    }


    .services-cta {
        padding: 75px 0;
    }


    .services-cta-content h2 {
        font-size: 42px;

        letter-spacing: -1.5px;
    }


    .services-cta-content p {
        font-size: 15px;
    }


    .services-cta-action {
        width: 100%;
    }


    .services-cta-action .btn {
        width: 100%;

        justify-content: center;
    }


    .services-approach-image {
        min-height: 300px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .services-hero-eyebrow {
        font-size: 14px;

        letter-spacing: 1.7px;
    }


    .services-hero h1 {
        font-size: 39px;
    }


    .services-hero-visual {
        min-height: 340px;
    }


    .services-floating-card {
        right: 0;

        bottom: 15px;

        min-width: 195px;
    }


    .services-floating-card strong {
        font-size: 14px;
    }


    .services-floating-card small {
        font-size: 10px;
    }


    .services-intro-content h2,
    .services-models-content h2 {
        font-size: 34px;
    }


    .services-main-card {
        padding: 25px;
    }


    .services-main-card h3 {
        font-size: 21px;
    }


    .services-main-card > p {
        font-size: 14px;
    }


    .services-cta-content h2 {
        font-size: 36px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .services-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .services-main-card,
    .services-card-icon,
    .services-card-link,
    .services-process-step,
    .services-process-icon,
    .services-model-item,
    .services-approach-image {
        transition: none;
    }

}