/* =========================================================
   VWS — OUR WORK PAGE
========================================================= */

.ourwork-page {
    --ow-blue: #2563eb;
    --ow-blue-dark: #123b7a;
    --ow-blue-light: #60a5fa;
    --ow-soft: #eff6ff;
    --ow-navy: #0f1f3d;
    --ow-text: #172033;
    --ow-muted: #64748b;
    --ow-border: #e5ebf4;
    --ow-light: #f7faff;

    color: var(--ow-text);

    overflow: hidden;
}


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

.ourwork-hero {

    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #071b3d 0%,
            #123b7a 52%,
            #1760bd 100%
        );
}


.ourwork-hero-pattern {

    position: absolute;

    inset: 0;

    opacity: .10;

    background-image:
        radial-gradient(
            circle,
            #fff 1px,
            transparent 1px
        );

    background-size: 34px 34px;
}


.ourwork-hero-glow {

    position: absolute;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    filter: blur(85px);

    opacity: .20;
}


.ourwork-glow-one {

    right: -100px;
    top: -170px;

    background: #60a5fa;
}


.ourwork-glow-two {

    left: -150px;
    bottom: -230px;

    background: #38bdf8;
}


.ourwork-hero .container {

    position: relative;

    z-index: 2;
}


.ourwork-hero-grid {

    min-height: 680px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    align-items: center;
}


.ourwork-hero-content {

    padding: 90px 0;
}


.ourwork-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    color: #bfdbfe;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.ourwork-eyebrow i {

    color: #93c5fd;

}


.ourwork-hero h1 {

    margin: 0;

    font-size: clamp(45px, 5vw, 70px);

    line-height: 1.04;

    letter-spacing: -2px;

    font-weight: 850;
    
    color:#ffffff;
}


.ourwork-hero h1 span {

    display: block;

    color: #93c5fd;
}


.ourwork-hero-content > p {

    max-width: 610px;

    margin: 28px 0 34px;

    color: #dbeafe;

    font-size: 17px;

    line-height: 1.8;
}


.ourwork-hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


.ourwork-primary-btn,
.ourwork-secondary-btn {

    min-height: 50px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    transition: .25s ease;
}


.ourwork-primary-btn {

    background: #fff;

    color: #17449a;

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);
}


.ourwork-primary-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.25);
}


.ourwork-secondary-btn {

    border: 1px solid rgba(255,255,255,.35);

    color: #fff;

    background: rgba(255,255,255,.07);
}


.ourwork-secondary-btn:hover {

    transform: translateY(-3px);

    background: rgba(255,255,255,.13);
}


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

.ourwork-hero-visual {

    position: relative;

    width: 440px;
    height: 440px;

    margin: auto;
}


.ourwork-orbit {

    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.18);
}


.orbit-one {

    inset: 20px;
}


.orbit-two {

    inset: 75px;

    border-style: dashed;

    border-color: rgba(147,197,253,.30);
}


.ourwork-center-card {

    position: absolute;

    left: 50%;
    top: 50%;

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

    width: 230px;
    min-height: 235px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border: 1px solid rgba(255,255,255,.20);

    border-radius: 28px;

    background: rgba(255,255,255,.10);

    backdrop-filter: blur(16px);

    box-shadow:
        0 30px 70px rgba(0,0,0,.20);
}


.ourwork-center-icon {

    width: 72px;
    height: 72px;

    margin-bottom: 18px;

    border-radius: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.14);

    color: #bfdbfe;

    font-size: 28px;
}


.ourwork-center-card strong {

    font-size: 24px;
}


.ourwork-center-card span {

    margin-top: 8px;

    color: #dbeafe;

    font-size: 11px;

    letter-spacing: .5px;
}


.ourwork-floating-card {

    position: absolute;

    padding: 12px 17px;

    display: flex;

    align-items: center;

    gap: 9px;

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 14px;

    background: rgba(255,255,255,.11);

    backdrop-filter: blur(12px);

    font-size: 12px;

    font-weight: 800;
}


.ourwork-floating-card i {

    color: #93c5fd;
}


.work-card-one {

    top: 55px;
    left: 5px;
}


.work-card-two {

    top: 48px;
    right: 0;
}


.work-card-three {

    bottom: 55px;
    left: 50%;

    transform: translateX(-50%);
}


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

.ourwork-intro {

    padding: 105px 0;

    background: #fff;
}


.ourwork-intro-grid {

    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 80px;
}


.ourwork-section-label {

    display: inline-block;

    margin-bottom: 15px;

    color: var(--ow-blue);

    font-size: 12px;

    font-weight: 850;

    letter-spacing: 2px;
}


.ourwork-section-heading h2 {

    margin: 0;

    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.12;

    letter-spacing: -1.5px;
}


.ourwork-section-heading h2 span,
.ourwork-process-content h2 span,
.ourwork-centered-heading h2 span {

    color: var(--ow-blue);
}


.ourwork-intro-content p {

    margin: 0 0 20px;

    color: var(--ow-muted);

    font-size: 15px;

    line-height: 1.85;
}


.ourwork-intro-content .ourwork-lead {

    color: #334155;

    font-size: 18px;

    font-weight: 600;

    line-height: 1.75;
}


/* =========================================================
   FOCUS
========================================================= */

.ourwork-focus {

    padding: 110px 0;

    background: var(--ow-light);
}


.ourwork-centered-heading {

    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}


.ourwork-centered-heading h2 {

    margin: 0;

    font-size: clamp(35px, 4vw, 52px);

    line-height: 1.12;

    letter-spacing: -1.5px;
}


.ourwork-centered-heading p {

    max-width: 620px;

    margin: 18px auto 0;

    color: var(--ow-muted);

    line-height: 1.8;
}


.ourwork-focus-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.ourwork-focus-card {

    position: relative;

    min-height: 285px;

    padding: 32px;

    overflow: hidden;

    border: 1px solid var(--ow-border);

    border-radius: 22px;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.ourwork-focus-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 22px 50px rgba(15,31,61,.10);
}


.ourwork-card-number {

    position: absolute;

    top: 25px;
    right: 25px;

    color: #cbd5e1;

    font-size: 12px;

    font-weight: 900;
}


.ourwork-focus-icon {

    width: 60px;
    height: 60px;

    margin-bottom: 27px;

    border-radius: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--ow-soft);

    color: var(--ow-blue);

    font-size: 24px;
}


.ourwork-focus-card h3 {

    margin: 0 0 12px;

    font-size: 20px;
}


.ourwork-focus-card p {

    margin: 0;

    color: var(--ow-muted);

    font-size: 14px;

    line-height: 1.75;
}


.ourwork-card-line {

    width: 45px;
    height: 3px;

    margin-top: 25px;

    border-radius: 5px;

    background: var(--ow-blue);

    transition: width .3s ease;
}


.ourwork-focus-card:hover
.ourwork-card-line {

    width: 75px;
}


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

.ourwork-process {

    padding: 110px 0;

    background: #fff;
}


.ourwork-process-grid {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 90px;

    align-items: center;
}


.ourwork-process-visual {

    position: relative;

    width: 390px;
    height: 390px;

    margin: auto;
}


.ourwork-process-circle {

    position: absolute;

    inset: 35px;

    border: 1px solid #bfdbfe;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;
}


.ourwork-process-circle::before {

    content: "";

    position: absolute;

    inset: 45px;

    border: 1px dashed #bfdbfe;

    border-radius: 50%;
}


.ourwork-process-center {

    position: relative;

    z-index: 2;

    width: 135px;
    height: 135px;

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );

    box-shadow:
        0 20px 45px rgba(37,99,235,.25);
}


.ourwork-process-center i {

    font-size: 30px;
}


.ourwork-process-center span {

    font-size: 12px;

    font-weight: 800;
}


.ourwork-process-dot {

    position: absolute;

    width: 56px;
    height: 56px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    color: var(--ow-blue);

    font-size: 12px;

    font-weight: 900;

    box-shadow:
        0 12px 30px rgba(15,31,61,.10);
}


.process-dot-one {

    top: 0;
    left: 50%;

    transform: translateX(-50%);
}


.process-dot-two {

    top: 50%;
    right: 0;

    transform: translateY(-50%);
}


.process-dot-three {

    bottom: 0;
    left: 50%;

    transform: translateX(-50%);
}


.process-dot-four {

    top: 50%;
    left: 0;

    transform: translateY(-50%);
}


.ourwork-process-content h2 {

    margin: 0;

    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.12;

    letter-spacing: -1.5px;
}


.ourwork-process-content > .ourwork-lead {

    margin: 22px 0 32px;

    color: var(--ow-muted);

    line-height: 1.8;
}


.ourwork-process-list {

    display: grid;

    gap: 22px;
}


.ourwork-process-item {

    display: flex;

    gap: 17px;
}


.ourwork-process-number {

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--ow-soft);

    color: var(--ow-blue);

    font-size: 12px;

    font-weight: 900;
}


.ourwork-process-item h3 {

    margin: 0 0 5px;

    font-size: 17px;
}


.ourwork-process-item p {

    margin: 0;

    color: var(--ow-muted);

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   INVOLVEMENT
========================================================= */

.ourwork-involve {

    padding: 105px 0;

    background: var(--ow-light);
}


.ourwork-involve-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.ourwork-involve-card {

    min-height: 235px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border: 1px solid var(--ow-border);

    border-radius: 22px;

    background: #fff;

    color: inherit;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.ourwork-involve-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 20px 50px rgba(15,31,61,.10);
}


.ourwork-involve-icon {

    width: 58px;
    height: 58px;

    margin-bottom: 23px;

    border-radius: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--ow-soft);

    color: var(--ow-blue);

    font-size: 23px;
}


.ourwork-involve-card h3 {

    margin: 0 0 10px;

    font-size: 21px;
}


.ourwork-involve-card p {

    margin: 0;

    color: var(--ow-muted);

    font-size: 13px;

    line-height: 1.7;
}


.ourwork-arrow {

    width: 40px;
    height: 40px;

    margin-top: 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--ow-soft);

    color: var(--ow-blue);

    transition: transform .25s ease;
}


.ourwork-involve-card:hover
.ourwork-arrow {

    transform: translateX(5px);
}


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

.ourwork-cta {

    position: relative;

    padding: 110px 0;

    overflow: hidden;

    text-align: center;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #071b3d,
            #174ca4
        );
}


.ourwork-cta-glow {

    position: absolute;

    width: 450px;
    height: 450px;

    right: -180px;
    top: -220px;

    border-radius: 50%;

    background: #60a5fa;

    filter: blur(90px);

    opacity: .18;
}


.ourwork-cta-content {

    position: relative;

    z-index: 2;

    max-width: 760px;

    margin: auto;
}


.ourwork-cta-content > span {

    display: inline-block;

    margin-bottom: 17px;

    color: #bfdbfe;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.ourwork-cta-content h2 {

    margin: 0;

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

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.ourwork-cta-content h2 span {

    display: block;

    color: #93c5fd;
}


.ourwork-cta-content p {

    max-width: 620px;

    margin: 22px auto 32px;

    color: #dbeafe;

    line-height: 1.8;
}


.ourwork-cta-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;
}


.ourwork-cta-primary,
.ourwork-cta-secondary {

    min-height: 50px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    transition: .25s ease;
}


.ourwork-cta-primary {

    color: #17449a;

    background: #fff;
}


.ourwork-cta-secondary {

    color: #fff;

    border: 1px solid rgba(255,255,255,.35);

    background: rgba(255,255,255,.07);
}


.ourwork-cta-primary:hover,
.ourwork-cta-secondary:hover {

    transform: translateY(-3px);
}


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

@media (max-width: 1000px) {

    .ourwork-hero-grid {

        grid-template-columns: 1fr;
    }


    .ourwork-hero-content {

        padding: 110px 0 30px;

        text-align: center;
    }


    .ourwork-hero-content > p {

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


    .ourwork-hero-actions {

        justify-content: center;
    }


    .ourwork-hero-visual {

        margin-bottom: 80px;
    }


    .ourwork-intro-grid {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .ourwork-focus-grid {

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


    .ourwork-process-grid {

        grid-template-columns: 1fr;

        gap: 55px;
    }


    .ourwork-involve-grid {

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

}


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

@media (max-width: 700px) {

    .ourwork-hero {

        min-height: auto;
    }


    .ourwork-hero-grid {

        min-height: auto;
    }


    .ourwork-hero-content {

        padding: 100px 0 30px;
    }


    .ourwork-hero h1 {

        font-size: clamp(38px, 11vw, 52px);

        letter-spacing: -1.2px;
    }


    .ourwork-hero-content > p {

        font-size: 15px;
    }


    .ourwork-hero-actions {

        flex-direction: column;

        align-items: stretch;
    }


    .ourwork-primary-btn,
    .ourwork-secondary-btn {

        width: 100%;
    }


    .ourwork-hero-visual {

        width: 310px;
        height: 310px;

        margin: 10px auto 70px;
    }


    .ourwork-center-card {

        width: 175px;

        min-height: 190px;

        padding: 20px;
    }


    .ourwork-center-icon {

        width: 55px;
        height: 55px;

        margin-bottom: 12px;

        border-radius: 17px;

        font-size: 22px;
    }


    .ourwork-center-card strong {

        font-size: 19px;
    }


    .ourwork-floating-card {

        padding: 9px 12px;

        font-size: 10px;
    }


    .work-card-one {

        top: 35px;
        left: -5px;
    }


    .work-card-two {

        top: 35px;
        right: -5px;
    }


    .work-card-three {

        bottom: 25px;
    }


    .ourwork-intro,
    .ourwork-focus,
    .ourwork-process,
    .ourwork-involve {

        padding: 75px 0;
    }


    .ourwork-focus-grid {

        grid-template-columns: 1fr;
    }


    .ourwork-focus-card {

        min-height: auto;
    }


    .ourwork-process-visual {

        width: 300px;
        height: 300px;
    }


    .ourwork-process-circle {

        inset: 20px;
    }


    .ourwork-process-circle::before {

        inset: 35px;
    }


    .ourwork-process-center {

        width: 105px;
        height: 105px;
    }


    .ourwork-process-center i {

        font-size: 24px;
    }


    .ourwork-process-dot {

        width: 48px;
        height: 48px;
    }


    .ourwork-involve-grid {

        grid-template-columns: 1fr;
    }


    .ourwork-cta {

        padding: 80px 0;
    }


    .ourwork-cta-buttons {

        flex-direction: column;

        align-items: stretch;
    }


    .ourwork-cta-primary,
    .ourwork-cta-secondary {

        width: 100%;
    }

}


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

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

    .ourwork-page *,
    .ourwork-page *::before,
    .ourwork-page *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }

}

/* =========================================================
   LINKED WORK CARDS — VISIT WEBSITE HOVER
========================================================= */

/* Only cards containing a direct link get this effect */
.ourwork-focus-card:has(> a) {
    position: relative;
    overflow: hidden;
}


/* Make the link cover the complete card */
.ourwork-focus-card > a {
    display: block;
    position: relative;
    height: 100%;
    color: inherit;
    text-decoration: none;
    z-index: 1;
}


/* ---------------------------------------------------------
   HOVER OVERLAY
--------------------------------------------------------- */

.ourwork-focus-card:has(> a)::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.62);

    opacity: 0;

    transition: opacity 0.3s ease;

    z-index: 2;

    pointer-events: none;
}


/* ---------------------------------------------------------
   CENTER "VISIT WEBSITE" BUTTON
--------------------------------------------------------- */

.ourwork-focus-card:has(> a)::after {
    content: "Visit Website  →";

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%)
        translateY(10px);

    padding: 12px 22px;

    border-radius: 10px;

    background: #2563EB;
    color: #ffffff;

    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.2px;

    white-space: nowrap;

    opacity: 0;

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.35);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    z-index: 3;

    pointer-events: none;
}


/* ---------------------------------------------------------
   HOVER STATE
--------------------------------------------------------- */

.ourwork-focus-card:has(> a):hover::before {
    opacity: 1;
}

.ourwork-focus-card:has(> a):hover::after {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        translateY(0);
}
