/* =========================================================
   BIIO ENERGY
   SERVICES PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.services-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #06344d;
    color: #fff;
}


.services-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        radial-gradient(
            circle at 80% 35%,
            rgba(57, 207, 74, 0.20),
            transparent 24%
        ),
        radial-gradient(
            circle at 95% 100%,
            rgba(57, 207, 74, 0.12),
            transparent 30%
        ),
        linear-gradient(
            115deg,
            #042d44 0%,
            #063f55 55%,
            #075063 100%
        );
}


.services-hero-bg::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -230px;
    top: -300px;

    border: 1px solid rgba(72, 233, 91, 0.18);

    border-radius: 50%;
}


.services-hero-bg::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: 100px;
    bottom: -320px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}


.services-hero-grid {
    position: absolute;
    inset: 0;

    z-index: 1;

    opacity: 0.22;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            rgba(0, 0, 0, 0.65) 55%,
            transparent 100%
        );

    -webkit-mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            rgba(0, 0, 0, 0.65) 55%,
            transparent 100%
        );
}


.services-hero-container {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1370px;

    margin: 0 auto;

    padding: 100px 5%;
}


.services-hero-content {
    max-width: 850px;
}


.services-eyebrow,
.services-section-label {
    display: flex;

    align-items: center;

    gap: 11px;

    color: #42d451;

    font-size: 11px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: 2.5px;
}


.services-eyebrow span,
.services-section-label span {
    width: 38px;
    height: 2px;

    flex: 0 0 38px;

    border-radius: 10px;

    background: #42d451;
}


.services-hero h1 {
    max-width: 850px;

    margin: 24px 0 0;

    color: #fff;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -3px;
}


.services-hero h1 span {
    display: block;

    color: #42d451;
}


.services-hero p {
    max-width: 680px;

    margin: 27px 0 0;

    color: rgba(255, 255, 255, 0.84);

    font-size: 16px;

    line-height: 1.8;

    font-weight: 500;
}



/* =========================================================
   INTRO
========================================================= */

.services-intro {
    padding: 100px 5%;

    background: #fff;
}


.services-intro-container {
    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.75fr 1.25fr;

    gap: 90px;

    align-items: start;
}


.services-intro-content {
    max-width: 760px;
}


.services-intro-content h2 {
    margin: 0;

    color: #06344d;

    font-size: clamp(40px, 4.3vw, 60px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2.5px;
}


.services-intro-content h2 span {
    display: block;

    color: #20b83d;
}


.services-intro-content p {
    max-width: 700px;

    margin: 25px 0 0;

    color: #627683;

    font-size: 16px;

    line-height: 1.8;
}



/* =========================================================
   SERVICES LIST
========================================================= */

.services-list {
    padding: 100px 5%;

    background:
        radial-gradient(
            circle at 0% 20%,
            rgba(57, 207, 74, 0.07),
            transparent 25%
        ),
        #f5faf8;
}


.services-list-container {
    width: 100%;

    max-width: 1250px;

    margin: 0 auto;
}


.services-list-heading {
    margin-bottom: 50px;
}


.services-list-heading h2 {
    margin: 20px 0 0;

    color: #06344d;

    font-size: clamp(40px, 4.3vw, 60px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2.5px;
}


.services-list-heading h2 span {
    color: #20b83d;
}



/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


.service-card {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(6, 52, 77, 0.07);

    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 10px 35px rgba(6, 52, 77, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.service-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(6, 52, 77, 0.12);
}



/* =========================================================
   SERVICE IMAGE
========================================================= */

.service-card-image {
    position: relative;

    width: 100%;

    height: 250px;

    overflow: hidden;

    background: #eaf5ef;
}


.service-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.service-card:hover .service-card-image img {
    transform: scale(1.05);
}


.service-card-number {
    position: absolute;

    top: 18px;
    right: 18px;

    min-width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(6, 52, 77, 0.9);

    color: #fff;

    font-size: 12px;

    font-weight: 800;

    backdrop-filter: blur(5px);
}


.service-card-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #eaf9ed,
            #d9f3e0
        );

    color: #20b83d;
}


.service-card-placeholder i {
    font-size: 52px;
}



/* =========================================================
   SERVICE CONTENT
========================================================= */

.service-card-content {
    padding: 28px 27px 30px;
}


.service-card-content h3 {
    margin: 0;

    color: #06344d;

    font-size: 21px;

    line-height: 1.3;

    font-weight: 800;
}


.service-card-content p {
    min-height: 70px;

    margin: 13px 0 0;

    color: #697c87;

    font-size: 14px;

    line-height: 1.7;
}


.service-card-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 20px;

    color: #20b83d;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}


.service-card-link:hover {
    gap: 12px;

    color: #06344d;
}


.service-card-link i {
    font-size: 15px;
}



/* =========================================================
   EMPTY STATE
========================================================= */

.services-empty {
    padding: 80px 30px;

    text-align: center;

    border: 1px solid rgba(6, 52, 77, 0.08);

    border-radius: 22px;

    background: #fff;
}


.services-empty-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eaf9ed;

    color: #20b83d;
}


.services-empty-icon i {
    font-size: 25px;
}


.services-empty h3 {
    margin: 0;

    color: #06344d;

    font-size: 22px;

    font-weight: 800;
}


.services-empty p {
    margin: 10px 0 0;

    color: #6a7d88;

    font-size: 14px;
}



/* =========================================================
   CTA
========================================================= */

.services-cta {
    position: relative;

    overflow: hidden;

    padding: 95px 5%;

    background:
        linear-gradient(
            115deg,
            #06344d 0%,
            #06465a 65%,
            #075064 100%
        );

    color: #fff;
}


.services-cta-circle {
    position: absolute;

    width: 620px;
    height: 620px;

    right: -260px;
    top: -360px;

    border:
        1px solid rgba(57, 207, 74, 0.2);

    border-radius: 50%;
}


.services-cta-circle::after {
    content: "";

    position: absolute;

    width: 410px;
    height: 410px;

    right: 105px;
    top: 105px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}


.services-cta-container {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}


.services-section-label-light {
    justify-content: center;
}


.services-cta-container h2 {
    margin: 22px 0 0;

    color: #fff;

    font-size: clamp(38px, 4.5vw, 60px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -2px;
}


.services-cta-container h2 span {
    color: #42d451;
}


.services-cta-container p {
    max-width: 680px;

    margin: 20px auto 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 15px;

    line-height: 1.7;
}


.services-cta-btn {
    min-height: 52px;

    margin-top: 30px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 28px;

    background: #27c542;

    color: #fff;

    font-size: 14px;

    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 10px 24px rgba(20, 173, 54, 0.2);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.services-cta-btn:hover {
    background: #1fb239;

    transform: translateY(-2px);

    color: #fff;
}


.services-cta-btn i {
    font-size: 17px;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .services-hero-container {
        padding-left: 7%;
        padding-right: 7%;
    }


    .services-intro-container {
        grid-template-columns: 1fr 1.5fr;

        gap: 55px;
    }


    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 800px) {

    .services-hero {
        min-height: 560px;
    }


    .services-hero-container {
        padding: 80px 7%;
    }


    .services-hero h1 {
        font-size: 49px;

        letter-spacing: -2px;
    }


    .services-hero p {
        font-size: 14px;
    }


    .services-intro {
        padding: 75px 7%;
    }


    .services-intro-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .services-intro-content h2 {
        font-size: 43px;
    }


    .services-list {
        padding: 75px 7%;
    }


    .services-list-heading {
        margin-bottom: 38px;
    }


    .services-list-heading h2 {
        font-size: 43px;
    }


    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }


    .service-card-image {
        height: 220px;
    }


    .services-cta {
        padding: 75px 7%;
    }

}


@media (max-width: 560px) {

    .services-hero {
        min-height: 540px;
    }


    .services-hero-container {
        padding: 65px 6%;
    }


    .services-eyebrow,
    .services-section-label {
        font-size: 9px;

        letter-spacing: 1.8px;
    }


    .services-hero h1 {
        margin-top: 20px;

        font-size: 39px;

        line-height: 1.06;

        letter-spacing: -1.5px;
    }


    .services-hero p {
        margin-top: 20px;

        font-size: 13px;

        line-height: 1.7;
    }


    .services-intro {
        padding: 60px 6%;
    }


    .services-intro-content h2 {
        font-size: 36px;

        letter-spacing: -1.5px;
    }


    .services-intro-content p {
        font-size: 14px;
    }


    .services-list {
        padding: 60px 6%;
    }


    .services-list-heading h2 {
        font-size: 36px;

        letter-spacing: -1.5px;
    }


    .services-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .service-card-image {
        height: 230px;
    }


    .service-card-content {
        padding: 25px 22px 27px;
    }


    .service-card-content p {
        min-height: auto;
    }


    .services-cta {
        padding: 65px 6%;
    }


    .services-cta-container h2 {
        font-size: 36px;

        letter-spacing: -1.5px;
    }


    .services-cta-container p {
        font-size: 13px;
    }


    .services-cta-btn {
        width: 100%;
    }

}