/* =========================================================
   GK CONSULTANCY - ABOUT PAGE
   BLUE PROFESSIONAL THEME
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #172033;
    background: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   COMMON
========================================================= */

.about-container,
.why-container {
    width: min(1180px, 90%);
    margin: auto;
}

.section-heading {
    width: min(850px, 92%);
    margin: 0 auto 60px;
    text-align: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 18px;
}

.section-label span {
    width: 35px;
    height: 2px;
    background: #2563eb;
    display: inline-block;
}

.center-label {
    justify-content: center;
}

.section-heading h2 {
    margin: 0 0 18px;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.15;

    color: #101828;

    font-weight: 400;
}

.section-heading h2 span {
    color: #2563eb;
}

.section-heading p {
    margin: auto;

    max-width: 720px;

    color: #667085;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   HERO
========================================================= */

.about-hero {

    min-height: 560px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            110deg,
            rgba(8, 18, 40, .97),
            rgba(15, 45, 90, .92),
            rgba(37, 99, 235, .72)
        ),
        url("../images/about-hero.jpg");

    background-size: cover;
    background-position: center;

    margin-top: 132px;

    overflow: hidden;
}

.about-hero::after {

    content: "";

    position: absolute;

    right: -160px;
    bottom: -180px;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 50%;
}

.about-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(59,130,246,.28),
            transparent 35%
        );
}

.about-hero-content {

    position: relative;

    z-index: 2;

    width: min(1180px, 90%);

    margin: auto;

    color: white;

    padding: 80px 0;
}

.about-hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 16px;

    border: 1px solid rgba(255,255,255,.25);

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(10px);

    border-radius: 30px;

    font-size: 12px;

    letter-spacing: 1.5px;

    font-weight: 600;
}

.about-hero-content h1 {

    max-width: 800px;

    margin: 25px 0 20px;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.05;

    font-weight: 400;
}

.about-hero-content h1 span {

    color: #93c5fd;
}

.about-hero-content h1 .blue-text {

    color: #60a5fa;
}

.about-hero-content p {

    max-width: 650px;

    margin: 0 0 28px;

    color: rgba(255,255,255,.82);

    font-size: 15px;

    line-height: 1.8;
}

.breadcrumb {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 13px;

    color: rgba(255,255,255,.7);
}

.breadcrumb a {

    color: #ffffff;

    transition: .3s;
}

.breadcrumb a:hover {
    color: #93c5fd;
}


/* =========================================================
   ABOUT INTRO
========================================================= */

.about-intro {

    padding: 110px 0;

    background: #ffffff;
}

.about-container {

    display: grid;

    grid-template-columns: .95fr 1.05fr;

    gap: 85px;

    align-items: center;
}


/* IMAGE */

.about-image-area {

    position: relative;

    padding: 15px 15px 35px 0;
}

.image-frame {

    position: relative;

    border-radius: 5px;

    overflow: hidden;

    box-shadow:
        0 25px 60px rgba(15,23,42,.15);
}

.image-frame::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(15,23,42,.35)
        );
}

.image-frame img {

    width: 100%;

    height: 540px;

    object-fit: cover;

    transition: .6s;
}

.image-frame:hover img {
    transform: scale(1.04);
}


/* EXPERIENCE */

.experience-box {

    position: absolute;

    left: -20px;

    bottom: 0;

    width: 190px;

    min-height: 125px;

    padding: 22px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #2563eb;

    color: #ffffff;

    box-shadow:
        0 20px 40px rgba(37,99,235,.28);
}

.experience-box strong {

    font-family: 'DM Serif Display', serif;

    font-size: 50px;

    font-weight: 400;

    line-height: 1;
}

.experience-box sup {
    font-size: 24px;
}

.experience-box span {

    margin-top: 7px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    line-height: 1.5;
}


/* DOTS */

.image-dots {

    position: absolute;

    right: -5px;

    top: 0;

    width: 100px;

    height: 100px;

    background-image:
        radial-gradient(
            #2563eb 1.5px,
            transparent 1.5px
        );

    background-size: 12px 12px;

    opacity: .35;

    z-index: -1;
}


/* CONTENT */

.about-content h2 {

    margin: 0 0 22px;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(36px, 4vw, 52px);

    font-weight: 400;

    line-height: 1.15;

    color: #101828;
}

.about-content h2 span {
    color: #2563eb;
}

.about-content > p {

    color: #667085;

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 17px;
}


/* FEATURES */

.about-features {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    margin-top: 30px;
}

.about-feature {

    display: flex;

    align-items: flex-start;

    gap: 13px;
}

.feature-icon {

    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 18px;
}

.about-feature h4 {

    margin: 0 0 5px;

    color: #172033;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .5px;
}

.about-feature p {

    margin: 0;

    color: #667085;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   MISSION
========================================================= */

.mission-section {

    padding: 110px 0;

    background: #f8fafc;

    position: relative;
}

.mission-grid {

    width: min(1050px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.purpose-card {

    position: relative;

    padding: 45px;

    background: #ffffff;

    border: 1px solid #e6edf7;

    border-radius: 4px;

    overflow: hidden;

    transition: .4s;
}

.purpose-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(15,23,42,.1);
}

.purpose-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background: #2563eb;
}

.featured-purpose {

    background:
        linear-gradient(
            135deg,
            #0f2f63,
            #2563eb
        );

    color: white;
}

.featured-purpose h3,
.featured-purpose p {
    color: white;
}

.purpose-icon {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 25px;

    margin-bottom: 25px;
}

.featured-purpose .purpose-icon {

    background: rgba(255,255,255,.12);

    color: #ffffff;
}

.purpose-number {

    position: absolute;

    right: 30px;
    top: 25px;

    font-size: 55px;

    font-weight: 800;

    color: rgba(37,99,235,.07);
}

.featured-purpose .purpose-number {
    color: rgba(255,255,255,.1);
}

.purpose-card h3 {

    margin: 0 0 15px;

    font-family: 'DM Serif Display', serif;

    font-size: 32px;

    font-weight: 400;

    color: #101828;
}

.purpose-card p {

    margin: 0 0 25px;

    color: #667085;

    font-size: 13px;

    line-height: 1.8;
}

.purpose-card a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #2563eb;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;
}

.featured-purpose a {
    color: #ffffff;
}


/* =========================================================
   WHAT WE DO
========================================================= */

.what-we-do {

    padding: 110px 0;

    background: #ffffff;
}

.services-grid {

    width: min(1180px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.about-service-card {

    position: relative;

    padding: 28px;

    min-height: 330px;

    border: 1px solid #e5eaf1;

    background: #ffffff;

    overflow: hidden;

    transition: .4s;
}

.about-service-card::before {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    background: #2563eb;

    transform: scaleX(0);

    transform-origin: left;

    transition: .4s;
}

.about-service-card:hover::before {
    transform: scaleX(1);
}

.about-service-card:hover {

    transform: translateY(-8px);

    border-color: #bfdbfe;

    box-shadow:
        0 20px 45px rgba(37,99,235,.1);
}

.service-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 45px;
}

.service-top > span {

    color: #94a3b8;

    font-size: 12px;

    font-weight: 700;
}

.service-icon {

    width: 50px;
    height: 50px;

    border-radius: 13px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eff6ff;

    color: #2563eb;

    font-size: 21px;

    transition: .35s;
}

.about-service-card:hover .service-icon {

    background: #2563eb;

    color: #ffffff;

    transform: rotate(-5deg);
}

.about-service-card h3 {

    margin: 0 0 12px;

    font-size: 18px;

    font-weight: 700;

    color: #172033;
}

.about-service-card p {

    margin: 0 0 25px;

    color: #667085;

    font-size: 12px;

    line-height: 1.7;
}

.about-service-card a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #2563eb;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================================
   WHY US
========================================================= */

.why-section {

    padding: 110px 0;

    background: #f8fafc;
}

.why-container {

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    gap: 80px;

    align-items: center;
}

.why-content h2 {

    margin: 0 0 20px;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(38px, 4vw, 55px);

    line-height: 1.15;

    font-weight: 400;

    color: #101828;
}

.why-content h2 span {
    color: #2563eb;
}

.why-content > p {

    color: #667085;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 14px;
}

.why-list {

    margin-top: 35px;
}

.why-item {

    display: flex;

    gap: 18px;

    padding: 20px 0;

    border-bottom: 1px solid #e2e8f0;
}

.why-number {

    color: #2563eb;

    font-size: 13px;

    font-weight: 800;

    min-width: 30px;
}

.why-item h4 {

    margin: 0 0 5px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .5px;

    color: #172033;
}

.why-item p {

    margin: 0;

    color: #667085;

    font-size: 11px;

    line-height: 1.6;
}


/* IMAGE */

.why-image {

    position: relative;

    padding: 0 0 25px 25px;
}

.why-image::before {

    content: "";

    position: absolute;

    left: 0;
    top: 25px;

    width: 80%;

    height: 85%;

    border: 2px solid #2563eb;

    z-index: 0;
}

.why-image img {

    position: relative;

    z-index: 1;

    width: 100%;

    height: 540px;

    object-fit: cover;

    box-shadow:
        0 25px 60px rgba(15,23,42,.16);
}

.why-badge {

    position: absolute;

    z-index: 3;

    left: 0;
    bottom: 0;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 18px 22px;

    background: #2563eb;

    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(37,99,235,.25);
}

.why-badge > i {

    font-size: 27px;
}

.why-badge div {

    display: flex;

    flex-direction: column;
}

.why-badge strong {
    font-size: 13px;
}

.why-badge span {
    font-size: 10px;
    opacity: .8;
}


/* =========================================================
   CTA
========================================================= */

.about-cta {

    padding: 90px 20px;

    background:
        linear-gradient(
            120deg,
            #0b1f40,
            #123e7a,
            #2563eb
        );

    position: relative;

    overflow: hidden;

    text-align: center;
}

.about-cta::before {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    left: -180px;
    top: -200px;
}

.about-cta::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    right: -120px;
    bottom: -150px;
}

.cta-content {

    position: relative;

    z-index: 2;

    max-width: 750px;

    margin: auto;
}

.cta-icon {

    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.12);

    color: #ffffff;

    font-size: 23px;
}

.cta-content h2 {

    margin: 0 0 15px;

    color: #ffffff;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(35px, 4vw, 50px);

    font-weight: 400;
}

.cta-content p {

    margin: 0 auto 30px;

    max-width: 650px;

    color: rgba(255,255,255,.78);

    font-size: 14px;

    line-height: 1.8;
}

.cta-content a {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 26px;

    border-radius: 30px;

    background: #ffffff;

    color: #1d4ed8;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .5px;

    transition: .35s;
}

.cta-content a:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.2);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .about-hero {
        margin-top: 118px;
        min-height: 520px;
    }

    .about-container {

        grid-template-columns: 1fr;

        gap: 60px;
    }

    .about-image-area {

        width: min(650px, 100%);

        margin: auto;
    }

    .image-frame img {
        height: 500px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-image {
        width: min(650px, 100%);
        margin: auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .about-hero {

        margin-top: 112px;

        min-height: 580px;

        background-position: center;
    }

    .about-hero-content {

        padding: 70px 0;
    }

    .about-hero-content h1 {

        font-size: 48px;

        line-height: 1.08;
    }

    .about-hero-content p {
        font-size: 13px;
    }

    .about-intro,
    .mission-section,
    .what-we-do,
    .why-section {

        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {

        font-size: 38px;
    }

    .about-content h2,
    .why-content h2 {

        font-size: 38px;
    }

    .image-frame img {

        height: 430px;
    }

    .experience-box {

        left: 0;

        width: 165px;

        min-height: 110px;
    }

    .experience-box strong {
        font-size: 42px;
    }

    .about-features {

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .services-grid {

        grid-template-columns: 1fr;

        max-width: 500px;
    }

    .about-service-card {
        min-height: auto;
    }

    .purpose-card {
        padding: 32px;
    }

    .why-image {
        padding-left: 15px;
    }

    .why-image img {
        height: 430px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .about-hero {

        margin-top: 124px;

        min-height: 550px;
    }

    .about-hero-content {

        width: calc(100% - 35px);

        padding: 55px 0;
    }

    .about-hero-tag {

        font-size: 10px;

        padding: 8px 12px;
    }

    .about-hero-content h1 {

        font-size: 41px;

        margin-top: 20px;
    }

    .breadcrumb {
        font-size: 11px;
    }

    .about-container,
    .why-container {

        width: calc(100% - 35px);
    }

    .section-heading {

        width: calc(100% - 30px);
    }

    .section-label {

        font-size: 10px;

        letter-spacing: 1.5px;
    }

    .section-heading h2 {

        font-size: 34px;
    }

    .section-heading p {

        font-size: 12px;
    }

    .about-content h2,
    .why-content h2 {

        font-size: 34px;
    }

    .about-content > p {

        font-size: 13px;

        line-height: 1.8;
    }

    .image-frame img {

        height: 360px;
    }

    .experience-box {

        width: 145px;

        padding: 17px;
    }

    .experience-box strong {
        font-size: 36px;
    }

    .experience-box span {
        font-size: 9px;
    }

    .image-dots {
        right: -2px;
        width: 70px;
        height: 70px;
    }

    .purpose-card {

        padding: 27px;
    }

    .purpose-card h3 {
        font-size: 28px;
    }

    .purpose-card p {
        font-size: 12px;
    }

    .about-service-card {

        padding: 24px;
    }

    .why-image {

        padding: 10px 0 35px 10px;
    }

    .why-image img {

        height: 360px;
    }

    .why-image::before {

        left: 0;
        top: 20px;

        width: 85%;
        height: 82%;
    }

    .why-badge {

        padding: 14px 17px;
    }

    .why-badge > i {
        font-size: 22px;
    }

    .why-badge strong {
        font-size: 11px;
    }

    .why-badge span {
        font-size: 9px;
    }

    .cta-content h2 {
        font-size: 35px;
    }

    .cta-content p {
        font-size: 12px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .about-hero-content h1 {
        font-size: 36px;
    }

    .section-heading h2,
    .about-content h2,
    .why-content h2 {
        font-size: 31px;
    }

    .image-frame img {
        height: 320px;
    }

    .experience-box {
        width: 130px;
    }

}/* =========================================================
   EHS PARTNERS + CLIENT LOGOS
   UNIQUE CSS - NO CONFLICT WITH EXISTING PAGE CSS
========================================================= */


/* =========================================================
   CONTAINER
========================================================= */

.ehs-container{

    width:100%;

    max-width:1180px;

    margin:0 auto;

    padding-left:24px;

    padding-right:24px;

}



/* =========================================================
   SECTION HEADING
========================================================= */

.ehs-section-heading{

    max-width:780px;

    margin:0 auto 55px;

    text-align:center;

}


.ehs-section-label{

    display:inline-block;

    margin-bottom:14px;

    color:#0b5ed7;

    font-family:"Poppins",sans-serif;

    font-size:12px;

    font-weight:700;

    letter-spacing:1.8px;

    text-transform:uppercase;

}


.ehs-section-heading h2{

    margin:0;

    color:#062a5c;

    font-family:"Poppins",sans-serif;

    font-size:38px;

    font-weight:700;

    line-height:1.3;

}


.ehs-section-heading p{

    max-width:720px;

    margin:20px auto 0;

    color:#64748b;

    font-family:"Poppins",sans-serif;

    font-size:15px;

    line-height:1.8;

}


.ehs-blue-divider{

    width:70px;

    height:4px;

    margin:20px auto;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        #0b5ed7,
        #4f9cff
    );

}



/* =========================================================
   PARTNERS SECTION
========================================================= */

.ehs-partners-section{

    position:relative;

    padding:95px 0;

    background:#f8fafc;

    overflow:hidden;

}


.ehs-partners-section::before{

    content:"";

    position:absolute;

    width:300px;

    height:300px;

    top:-150px;

    right:-100px;

    border-radius:50%;

    background:rgba(11,94,215,.05);

}


.ehs-partners-section::after{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    bottom:-130px;

    left:-100px;

    border-radius:50%;

    background:rgba(79,156,255,.05);

}


.ehs-partners-section .ehs-container{

    position:relative;

    z-index:2;

}



/* =========================================================
   PARTNER GRID
========================================================= */

.ehs-partners-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}



/* =========================================================
   PARTNER CARD
========================================================= */

.ehs-partner-card{

    position:relative;

    display:grid;

    grid-template-columns:180px 1fr;

    min-height:300px;

    overflow:hidden;

    background:#ffffff;

    border:1px solid #e3eaf3;

    border-radius:18px;

    box-shadow:
        0 12px 35px rgba(6,42,92,.07);

    transition:

        transform .35s ease,

        box-shadow .35s ease,

        border-color .35s ease;

}


.ehs-partner-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:4px;

    height:100%;

    background:linear-gradient(
        180deg,
        #0b5ed7,
        #4f9cff
    );

}


.ehs-partner-card:hover{

    transform:translateY(-8px);

    border-color:#bcd4f5;

    box-shadow:
        0 20px 50px rgba(6,42,92,.13);

}



/* =========================================================
   PARTNER LOGO
========================================================= */

.ehs-partner-logo{

    display:flex;

    align-items:center;

    justify-content:center;

    padding:25px;

    background:
        linear-gradient(
            145deg,
            #eef6ff,
            #f8fbff
        );

    border-right:1px solid #e5edf7;

}


.ehs-partner-logo img{

    width:130px;

    height:130px;

    object-fit:contain;

    transition:.35s ease;

}


.ehs-partner-card:hover
.ehs-partner-logo img{

    transform:scale(1.06);

}



/* =========================================================
   PARTNER INFORMATION
========================================================= */

.ehs-partner-info{

    padding:32px 30px;

}


.ehs-partner-tag{

    display:inline-block;

    padding:6px 12px;

    border-radius:30px;

    background:#eaf3ff;

    color:#0b5ed7;

    font-family:"Poppins",sans-serif;

    font-size:10px;

    font-weight:700;

    letter-spacing:1px;

}


.ehs-partner-info h3{

    margin:15px 0 12px;

    color:#062a5c;

    font-family:"Poppins",sans-serif;

    font-size:20px;

    font-weight:700;

    line-height:1.4;

}


.ehs-partner-info p{

    margin:0 0 18px;

    color:#64748b;

    font-family:"Poppins",sans-serif;

    font-size:13px;

    line-height:1.75;

}



/* =========================================================
   PARTNER POINTS
========================================================= */

.ehs-partner-points{

    display:flex;

    flex-direction:column;

    gap:9px;

}


.ehs-partner-points span{

    display:flex;

    align-items:center;

    gap:8px;

    color:#334155;

    font-family:"Poppins",sans-serif;

    font-size:12px;

    font-weight:500;

}


.ehs-partner-points i{

    color:#0b5ed7;

    font-size:13px;

}



/* =========================================================
   CLIENT LOGO SECTION
========================================================= */

.ehs-client-logo-section{

    padding:95px 0;

    background:#ffffff;

}


.ehs-client-logo-section .ehs-section-heading{

    margin-bottom:45px;

}



/* =========================================================
   CLIENT LOGO GRID
========================================================= */

.ehs-client-logo-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}



/* =========================================================
   CLIENT LOGO CARD
========================================================= */

.ehs-client-logo-card{

    position:relative;

    height:260px;

    overflow:hidden;

    background:#f8fafc;

    border:1px solid #e1e8f0;

    border-radius:18px;

    box-shadow:
        0 10px 30px rgba(6,42,92,.06);

    transition:

        transform .35s ease,

        box-shadow .35s ease;

}


.ehs-client-logo-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 45px rgba(6,42,92,.12);

}


.ehs-client-logo-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:
        transform .5s ease;

}


.ehs-client-logo-card:hover img{

    transform:scale(1.06);

}



/* =========================================================
   CLIENT OVERLAY
========================================================= */

.ehs-client-overlay{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:25px 28px;

    background:
        linear-gradient(
            to top,
            rgba(6,42,92,.96),
            rgba(6,42,92,.72),
            transparent
        );

    transform:translateY(8px);

    transition:.35s ease;

}


.ehs-client-logo-card:hover
.ehs-client-overlay{

    transform:translateY(0);

}


.ehs-client-overlay h4{

    margin:0 0 5px;

    color:#ffffff;

    font-family:"Poppins",sans-serif;

    font-size:18px;

    font-weight:600;

}


.ehs-client-overlay span{

    color:rgba(255,255,255,.8);

    font-family:"Poppins",sans-serif;

    font-size:12px;

}



/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

    .ehs-partners-grid{

        grid-template-columns:1fr;

    }


    .ehs-client-logo-grid{

        grid-template-columns:1fr 1fr;

    }


    .ehs-section-heading h2{

        font-size:32px;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media(max-width:650px){

    .ehs-container{

        padding-left:18px;

        padding-right:18px;

    }


    .ehs-partners-section,
    .ehs-client-logo-section{

        padding:65px 0;

    }


    .ehs-section-heading{

        margin-bottom:35px;

    }


    .ehs-section-heading h2{

        font-size:27px;

        line-height:1.3;

    }


    .ehs-section-heading p{

        font-size:13px;

        line-height:1.7;

    }


    .ehs-partner-card{

        grid-template-columns:1fr;

        min-height:auto;

    }


    .ehs-partner-logo{

        min-height:180px;

        border-right:none;

        border-bottom:1px solid #e5edf7;

    }


    .ehs-partner-logo img{

        width:110px;

        height:110px;

    }


    .ehs-partner-info{

        padding:25px 22px 28px;

    }


    .ehs-partner-info h3{

        font-size:18px;

    }


    .ehs-partner-info p{

        font-size:13px;

    }


    .ehs-client-logo-grid{

        grid-template-columns:1fr;

        gap:20px;

    }


    .ehs-client-logo-card{

        height:220px;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:400px){

    .ehs-section-heading h2{

        font-size:24px;

    }


    .ehs-partner-logo{

        min-height:155px;

    }


    .ehs-partner-info{

        padding:22px 18px;

    }


    .ehs-partner-info h3{

        font-size:17px;

    }


    .ehs-client-logo-card{

        height:200px;

    }


    .ehs-client-overlay{

        padding:20px;

    }


    .ehs-client-overlay h4{

        font-size:16px;

    }

}