/* =========================================================
   CIVILLENCE ENGINEERING LIMITED
   CLIENTS PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.clients-page {

    position: relative;

    overflow: hidden;

    background: #ffffff;

    color: #061b33;

}



/* =========================================================
   ENGINEERING BACKGROUND
========================================================= */

.clients-engineering-bg,
.clients-background-drawing,
.clients-cta-drawing {

    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

}



.engineering-line {

    position: absolute;

    height: 1px;

    background: rgba(6, 27, 51, 0.12);

    transform-origin: left center;

}



.line-1 {

    width: 70%;

    top: 18%;

    left: 10%;

    transform: rotate(-12deg);

}



.line-2 {

    width: 65%;

    top: 55%;

    left: 38%;

    transform: rotate(17deg);

}



.line-3 {

    width: 55%;

    top: 78%;

    left: -5%;

    transform: rotate(-7deg);

}



.engineering-circle {

    position: absolute;

    border: 1px solid rgba(242, 140, 0, 0.20);

    border-radius: 50%;

}



.circle-1 {

    width: 220px;

    height: 220px;

    right: 8%;

    top: 20%;

}



.circle-2 {

    width: 110px;

    height: 110px;

    right: 20%;

    bottom: 15%;

}



.engineering-ruler {

    position: absolute;

    height: 26px;

    border-top: 1px solid rgba(6, 27, 51, 0.12);

    border-bottom: 1px solid rgba(6, 27, 51, 0.12);

}



.ruler-1 {

    width: 300px;

    right: 5%;

    top: 35%;

    transform: rotate(90deg);

}



.ruler-2 {

    width: 220px;

    left: -50px;

    bottom: 18%;

    transform: rotate(-22deg);

}



/* =========================================================
   HERO
========================================================= */

.clients-hero {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            #031326 0%,
            #061b33 60%,
            #0b2a4a 100%
        );

    color: #ffffff;

    overflow: hidden;

}



.clients-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    pointer-events: none;

}



.clients-hero-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);

    gap: 80px;

    align-items: center;

}



.clients-hero-content {

    max-width: 800px;

}



.clients-eyebrow,
.clients-label {

    display: inline-block;

    margin-bottom: 20px;

    color: #f28c00;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;

}



.clients-hero h1 {

    margin: 0;

    font-size: clamp(44px, 6vw, 82px);

    line-height: .98;

    font-weight: 800;

    letter-spacing: -3px;

}



.clients-hero h1 span {

    color: #f28c00;

}



.clients-hero p {

    max-width: 720px;

    margin: 30px 0 0;

    color: rgba(255,255,255,.78);

    font-size: 18px;

    line-height: 1.8;

}



.clients-hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 38px;

}



/* =========================================================
   BUTTONS
========================================================= */

.clients-primary-button,
.clients-secondary-button,
.clients-phone-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    min-height: 58px;

    padding: 0 26px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: .3s ease;

}



.clients-primary-button {

    background: #f28c00;

    color: #061b33;

}



.clients-primary-button:hover {

    background: #ffab27;

    color: #061b33;

    transform: translateY(-3px);

}



.clients-secondary-button {

    border: 1px solid rgba(255,255,255,.35);

    color: #ffffff;

}



.clients-secondary-button:hover {

    border-color: #f28c00;

    color: #f28c00;

}



.clients-phone-button {

    border: 1px solid rgba(6,27,51,.2);

    color: #061b33;

}



.clients-phone-button:hover {

    background: #061b33;

    color: #ffffff;

}



/* =========================================================
   HERO PANEL
========================================================= */

.clients-hero-panel {

    position: relative;

    min-height: 380px;

    border: 1px solid rgba(255,255,255,.18);

    background: rgba(255,255,255,.045);

    overflow: hidden;

}



.hero-panel-top-line {

    position: absolute;

    top: 0;

    left: 0;

    width: 95px;

    height: 6px;

    background: #f28c00;

}



.hero-panel-content {

    position: relative;

    z-index: 2;

    padding: 55px 50px;

}



.hero-panel-number {

    display: block;

    color: #f28c00;

    font-size: 54px;

    font-weight: 800;

    line-height: 1;

}



.hero-panel-label {

    display: block;

    margin-top: 8px;

    color: rgba(255,255,255,.55);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}



.hero-panel-content h2 {

    margin: 55px 0 15px;

    max-width: 280px;

    font-size: 38px;

    line-height: 1.05;

}



.hero-panel-content h2 strong {

    color: #f28c00;

}



.hero-panel-content p {

    margin: 0;

    color: rgba(255,255,255,.65);

    font-size: 15px;

    line-height: 1.7;

}



.hero-panel-drawing {

    position: absolute;

    right: -50px;

    bottom: -50px;

    width: 260px;

    height: 260px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;

}



.hero-panel-drawing::before,
.hero-panel-drawing::after {

    content: "";

    position: absolute;

    background: rgba(242,140,0,.3);

}



.hero-panel-drawing::before {

    width: 100%;

    height: 1px;

    top: 50%;

}



.hero-panel-drawing::after {

    height: 100%;

    width: 1px;

    left: 50%;

}



/* =========================================================
   INTRODUCTION
========================================================= */

.clients-introduction {

    position: relative;

    padding: 110px 0;

    background: #ffffff;

}



.clients-introduction-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

}



.clients-introduction-heading h2,
.clients-section-heading h2,
.clients-capabilities-header h2,
.clients-cta h2 {

    margin: 0;

    font-size: clamp(34px, 4vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;

    color: #061b33;

}



.clients-introduction-heading h2 span,
.clients-section-heading h2 span,
.clients-capabilities-header h2 span,
.clients-cta h2 span {

    color: #f28c00;

}



.clients-introduction-text {

    padding-top: 10px;

}



.clients-introduction-text p {

    margin: 0 0 22px;

    color: #52606d;

    font-size: 17px;

    line-height: 1.8;

}



/* =========================================================
   CLIENT LOGOS
========================================================= */

.clients-logos-section {

    position: relative;

    padding: 120px 0;

    background: #f5f7f9;

    overflow: hidden;

}



.clients-section-heading {

    position: relative;

    z-index: 2;

    max-width: 760px;

    margin-bottom: 60px;

}



.clients-section-heading p {

    max-width: 650px;

    margin-top: 24px;

    color: #617080;

    font-size: 17px;

    line-height: 1.8;

}



/* =========================================================
   LOGO GRID
========================================================= */

.clients-logo-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}


/* =========================================================
   CLIENT CARD
========================================================= */

.client-logo-card {

    position: relative;

    min-height: 430px;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border: 1px solid rgba(6,27,51,.14);

    overflow: hidden;

    isolation: isolate;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    box-shadow:
        0 8px 25px rgba(6,27,51,.06);

}


/* ENGINEERING TOP EDGE */

.client-logo-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 4px;

    background: #f28c00;

    transform: scaleX(.18);

    transform-origin: left;

    transition: transform .35s ease;

    z-index: 5;

}


/* TECHNICAL CORNER */

.client-logo-card::after {

    content: "";

    position: absolute;

    width: 95px;
    height: 95px;

    right: -48px;
    bottom: -48px;

    border: 1px solid rgba(6,27,51,.12);

    transform: rotate(45deg);

    pointer-events: none;

    z-index: 1;

}


/* HOVER */

.client-logo-card:hover {

    transform: translateY(-9px);

    border-color: rgba(242,140,0,.55);

    box-shadow:
        0 22px 48px rgba(6,27,51,.14);

}


.client-logo-card:hover::before {

    transform: scaleX(1);

}


/* =========================================================
   CARD NUMBER
========================================================= */

.client-card-number {

    position: absolute;

    top: 20px;
    right: 22px;

    z-index: 6;

    color: rgba(6,27,51,.20);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 3px;

}


/* =========================================================
   LOGO AREA
========================================================= */

.client-logo-image {

    position: relative;

    flex: 1;

    min-height: 310px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 45px 50px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fafc 100%
        );

}


/* ENGINEERING GRID */

.client-logo-image::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(6,27,51,.045) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(6,27,51,.045) 1px,
            transparent 1px
        );

    background-size: 34px 34px;

    pointer-events: none;

}


/* TECHNICAL DIAGONAL */

.client-logo-image::after {

    content: "";

    position: absolute;

    width: 240px;
    height: 1px;

    right: -35px;
    bottom: 35px;

    background: rgba(242,140,0,.18);

    transform: rotate(-25deg);

    pointer-events: none;

}


/* =========================================================
   LOGO
========================================================= */

.client-logo-image img {

    position: relative;

    z-index: 3;

    display: block;

    width: auto;

    max-width: 88%;

    max-height: 190px;

    object-fit: contain;

    transition:
        transform .35s ease,
        filter .35s ease;

}


/* LOGO HOVER */

.client-logo-card:hover .client-logo-image img {

    transform: scale(1.07);

}


/* =========================================================
   CARD FOOTER
========================================================= */

.client-card-footer {

    position: relative;

    z-index: 4;

    min-height: 120px;

    padding: 25px 30px 28px;

    background: #ffffff;

    border-top: 1px solid rgba(6,27,51,.10);

}


/* CATEGORY */

.client-card-footer span {

    position: relative;

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 10px;

    color: #f28c00;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2.5px;

    text-transform: uppercase;

}


.client-card-footer span::before {

    content: "";

    width: 22px;

    height: 2px;

    background: #f28c00;

}


/* CLIENT NAME */

.client-card-footer h3 {

    margin: 0;

    color: #061b33;

    font-size: 22px;

    line-height: 1.25;

    font-weight: 800;

}


/* =========================================================
   RESPONSIVE CARD ADJUSTMENTS
========================================================= */

@media (max-width: 1100px) {

    .client-logo-card {

        min-height: 410px;

    }

    .client-logo-image {

        min-height: 285px;

    }

}


@media (max-width: 768px) {

    .client-logo-card {

        min-height: 390px;

    }

    .client-logo-image {

        min-height: 270px;

        padding: 35px;

    }

    .client-logo-image img {

        max-width: 88%;

        max-height: 165px;

    }

    .client-card-footer {

        min-height: 115px;

        padding: 23px 25px 26px;

    }

    .client-card-footer h3 {

        font-size: 20px;

    }

}


@media (max-width: 480px) {

    .client-logo-card {

        min-height: 370px;

    }

    .client-logo-image {

        min-height: 245px;

        padding: 28px;

    }

    .client-logo-image img {

        max-width: 90%;

        max-height: 145px;

    }

    .client-card-number {

        top: 16px;

        right: 18px;

    }

    .client-card-footer {

        min-height: 110px;

        padding: 22px 22px 25px;

    }

    .client-card-footer h3 {

        font-size: 19px;

    }

}


/* =========================================================
   BACKGROUND ENGINEERING DRAWINGS
========================================================= */

.bg-grid {

    position: absolute;

    inset: 0;

    opacity: .5;

    background-image:
        linear-gradient(
            rgba(6,27,51,.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(6,27,51,.05) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

}



.bg-circle {

    position: absolute;

    right: -100px;

    top: 15%;

    width: 500px;

    height: 500px;

    border: 1px solid rgba(6,27,51,.10);

    border-radius: 50%;

}



.bg-compass {

    position: absolute;

    right: 20%;

    top: 10%;

    color: rgba(242,140,0,.16);

    font-size: 180px;

    font-weight: 200;

}



.bg-angle {

    position: absolute;

    width: 600px;

    height: 1px;

    right: -100px;

    top: 45%;

    background: rgba(6,27,51,.10);

    transform: rotate(-20deg);

}



.bg-ruler {

    position: absolute;

    left: -80px;

    bottom: 15%;

    color: rgba(6,27,51,.10);

    font-size: 25px;

    letter-spacing: 10px;

    transform: rotate(-20deg);

}



.bg-crane {

    position: absolute;

    right: 5%;

    bottom: 8%;

    color: rgba(6,27,51,.10);

    font-size: 30px;

    white-space: pre;

}



.bg-excavator {

    position: absolute;

    left: 2%;

    top: 20%;

    color: rgba(242,140,0,.12);

    font-size: 32px;

    white-space: pre;

    transform: rotate(-5deg);

}



/* =========================================================
   CAPABILITIES
========================================================= */

.clients-capabilities {

    padding: 120px 0;

    background: #ffffff;

}



.clients-capabilities-header {

    display: grid;

    grid-template-columns: 1fr .8fr;

    gap: 80px;

    margin-bottom: 60px;

}



.clients-capabilities-header > p {

    margin: 0;

    color: #617080;

    font-size: 17px;

    line-height: 1.8;

}



.capabilities-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(6,27,51,.12);

    border-left: 1px solid rgba(6,27,51,.12);

}



.capability-card {

    position: relative;

    min-height: 300px;

    padding: 35px;

    border-right: 1px solid rgba(6,27,51,.12);

    border-bottom: 1px solid rgba(6,27,51,.12);

    transition: .3s ease;

}



.capability-card:hover {

    background: #061b33;

    color: #ffffff;

}



.capability-number {

    display: block;

    color: #f28c00;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}



.capability-icon {

    margin: 45px 0 25px;

    color: #f28c00;

    font-size: 35px;

    font-weight: 300;

}



.capability-card h3 {

    margin: 0 0 15px;

    font-size: 21px;

    line-height: 1.25;

}



.capability-card p {

    margin: 0;

    color: #687684;

    font-size: 14px;

    line-height: 1.7;

}



.capability-card:hover p {

    color: rgba(255,255,255,.65);

}



/* =========================================================
   CTA
========================================================= */

.clients-cta {

    position: relative;

    padding: 100px 0;

    background: #061b33;

    color: #ffffff;

    overflow: hidden;

}



.clients-cta-inner {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

}



.clients-cta h2 {

    color: #ffffff;

}



.clients-cta h2 span {

    display: block;

}



.clients-cta p {

    max-width: 650px;

    margin: 25px 0 0;

    color: rgba(255,255,255,.68);

    font-size: 17px;

    line-height: 1.7;

}



.clients-cta-actions {

    display: flex;

    flex-direction: column;

    gap: 12px;

    flex-shrink: 0;

}



/* CTA DRAWINGS */

.cta-line {

    position: absolute;

    height: 1px;

    background: rgba(255,255,255,.08);

}



.line-a {

    width: 600px;

    right: -50px;

    top: 30%;

    transform: rotate(-15deg);

}



.line-b {

    width: 500px;

    right: 5%;

    bottom: 20%;

    transform: rotate(15deg);

}



.cta-circle {

    position: absolute;

    right: 10%;

    top: 20%;

    width: 300px;

    height: 300px;

    border: 1px solid rgba(242,140,0,.15);

    border-radius: 50%;

}



.cta-ruler {

    position: absolute;

    left: 0;

    bottom: 10%;

    color: rgba(255,255,255,.08);

    font-size: 30px;

    letter-spacing: 8px;

    transform: rotate(-8deg);

}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .clients-hero-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .clients-hero-panel {

        max-width: 500px;

    }


    .clients-logo-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .capabilities-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .clients-capabilities-header {

        grid-template-columns: 1fr;

        gap: 30px;

    }

}



@media (max-width: 768px) {

    .clients-hero {

        min-height: auto;

        padding: 100px 0 80px;

    }


    .clients-hero h1 {

        font-size: 48px;

        letter-spacing: -2px;

    }


    .clients-hero p {

        font-size: 16px;

    }


    .clients-hero-panel {

        min-height: 320px;

    }


    .hero-panel-content {

        padding: 45px 35px;

    }


    .clients-introduction,

    .clients-logos-section,

    .clients-capabilities {

        padding: 80px 0;

    }


    .clients-introduction-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .clients-logo-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .client-logo-card {

        min-height: 300px;

    }


    .capabilities-grid {

        grid-template-columns: 1fr;

    }


    .clients-cta {

        padding: 80px 0;

    }


    .clients-cta-inner {

        flex-direction: column;

        align-items: flex-start;

    }


    .clients-cta-actions {

        width: 100%;

    }


    .clients-primary-button,
    .clients-secondary-button,
    .clients-phone-button {

        width: 100%;

    }

}



@media (max-width: 480px) {

    .clients-hero h1 {

        font-size: 40px;

    }


    .clients-hero-actions {

        flex-direction: column;

    }


    .clients-hero-actions a {

        width: 100%;

    }


    .client-logo-image {

        min-height: 210px;

        padding: 35px;

    }


    .client-logo-image img {

        max-height: 125px;

    }


    .clients-section-heading h2,
    .clients-capabilities-header h2,
    .clients-cta h2 {

        font-size: 36px;

    }


    .capability-card {

        min-height: 260px;

        padding: 28px;

    }

}