.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 950px;
    background-color: var(--black);
}

/* .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.hero-slide .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 660px;
    padding: clamp(180px, 22vw, 260px) 0 140px;
}

.hero-content .heading-48 {
    color: var(--white);
    font-family: var(--heading);
    font-weight: var(--font-bold);
    text-transform: none;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--white);
    font-size: 20px;
    font-weight: var(--font-medium);
    line-height: 1.4;
    max-width: 590px;
}

.hero-content .btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.hero-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* ******** || ABOUT ENERGUS || ******** */
.about-section .wrap {
    align-items: center;
    column-gap: 60px;
    row-gap: 40px;
}

.about-section .image-column {
    width: 550px;
    flex: 0 0 550px;
}

.about-section .image-column img {
    aspect-ratio: 1 / 1;
    min-height: 628px;
}
.about-section .ctent-column p {
    font-size: 18px;
    line-height: 28px;
}

.about-section .ctent-column p:first-of-type {
    font-weight: var(--font-semibold);
}

.about-stats {
    display: flex;
    flex-direction: column;
    width: 287px;
    flex-shrink: 0;
}

.about-stats li {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 16px;
    font-weight: var(--font-semibold)!important;
    color: var(--secondary);
    line-height: 1.4; margin: 0!important;
}

.about-stats li img {
    flex-shrink: 0;
}

.about-stats li:first-child {
    padding-top: 0;
}

.about-stats li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.content-wrapper.about-section.padd-tpbt100 {
    padding-bottom: 50px;
}

/* ******** || WHY ENERGUS STATS || ******** */
.why-energus-intro {
    grid-column: 1 / 3;
    grid-row: 1;
    max-width: 600px;
    align-self: start;
}

.why-energus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr;
    grid-template-rows: repeat(3, auto);
    align-items: start;
    gap: 40px;
}

.why-energus-media {
    position: relative;
    grid-column: 3;
    grid-row: 1 / 4;
    align-self: start;
    margin: 0;
}

.why-energus-media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 470px;
    border-radius: var(--radius-20) var(--radius-20) 0 0;
    object-fit: cover;
}

.why-energus-badge {
    position: absolute;
    top: 79.3%;
    left: 0.6%;
    width: 98.8%;
    max-width: none;
    border-radius: 0;
    pointer-events: none;
}

.why-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #F3F3F3;
    border-radius: var(--radius-20);
    padding: 30px 10px 30px 30px;
    min-height: 250px;
}

.why-stat p {
    font-size: 18px;
    font-weight: var(--font-semibold) !important;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 0;
}
.why-stat-1 {
    grid-column: 1;
    grid-row: 2;
}

.why-stat-2 {
    grid-column: 2;
    grid-row: 2;
}

.why-stat-3 {
    grid-column: 1;
    grid-row: 3;
}

.why-stat-4 {
    grid-column: 2;
    grid-row: 3;
}

.why-stats-side {
    grid-column: 4;
    grid-row: 1 / 4;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-energus-section.padd-tpbt100{padding-bottom: 60px;}

.industries-cta {
    margin-top: 20px;
}

/* ******** || TRUSTED BADGE || ******** */
.trusted-badge-section {
    padding-bottom: 60px;
    text-align: center;
}

.trusted-badge {
    display: inline-block;
    background-color: rgba(245, 137, 56, 0.2);
    border-radius: 90px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: var(--font-semibold)!important;
    font-style: italic;
    line-height: 24px;
    color: var(--sitetext);
    margin-bottom: 0;
}

/* ******** || CORE SOLUTIONS || ******** */
.core-solutions-section {
    position: relative;
    overflow: hidden;
    background: #000;z-index: 0;
    & img.bgimg {
        opacity: 0.5;z-index: 0;
    } 
}

.core-solutions-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.55) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.core-solutions-section .container {
    position: relative;
    z-index: 2;
}

.core-solutions-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.core-solutions-intro > div {
    max-width: 560px;
}

.core-solutions-intro .heading-44 {
    color: var(--white);
}

.core-solutions-intro p {
    max-width: 430px;
    color: var(--white);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
}

.core-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.solution-card-link-wrap {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-20);
    overflow: hidden;
}

.solution-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 460 / 400;
    transition: transform 0.4s ease;
}

.solution-card-link-wrap:hover .solution-photo img {
    transform: scale(1.08);
}

.solution-body {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 20px 50px 20px 20px;
    min-height: 120px;
}

.solution-num {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #EE4A2D;
    font-size: 16px;
    font-weight: var(--font-semibold);
    margin-bottom: 6px;
}

.solution-num::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #EE4A2D;
}

.solution-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 20px;
    font-weight: var(--font-semibold);
    color: var(--secondary);
    line-height: 26px;
}

.solution-icon {
    flex-shrink: 0;
}

.core-solutions-cta {
    text-align: center;
    margin-top: 50px;
}

/* ******** || COMMERCIAL & INDUSTRIAL OVERVIEW || ******** */
.overview-section .image-column {
    width: 730px;
}

.overview-section .ctent-column p {
    font-size: 18px;
    line-height: 28px;
}

/* ******** || OUR PROCESS || ******** */
.process-intro {
    max-width: 700px;
    margin: 0 auto 50px;
}

.process-photo {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    &:before {
        content: "";
        position: absolute;
        width: 200px;
        height: 200px;
        background: var(--orange);
        left: 0;
        top: 5px;
        z-index: -1;
        border-radius: 50%;
    }
}

.process-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.process-num {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: #e84655;
    color: var(--white);
    font-size: 18px;
    font-weight: var(--font-bold);
}

.process-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.projects-section {
    .projects-nav {top: 60px;}
}

/* ======================================================================
   MEDIA QUERIES (all breakpoints for this file, grouped here)
   Order: min-width ascending, then max-width descending.
   Later rules win cascade ties at equal specificity, so a min-width
   ladder must climb (largest matching breakpoint wins) while a
   max-width ladder must descend (narrowest matching breakpoint wins).
   ====================================================================== */

@media (min-width: 1440px) {
    .overview-section .ctent-column {
        padding-left: 140px;
    }
}

@media (max-width: 1439px) {
.about-section .image-column {
        width: 380px;
        flex: 0 0 380px;
        position: relative;
        top: 0;
    }

    .about-section .wrap {
        column-gap: 40px;
    }

    .about-stats {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .about-stats li {
        width: 25%;
        border-bottom: none;
        padding: 15px;
        margin: 0;
    }

    .overview-section .image-column {
        width: 480px;
    }

    .about-section .image-column img {
    min-height: auto;
    object-fit: contain;
}
}

@media (max-width: 1199px) {
    .core-solutions-intro {
        gap: 24px;
    }

    .core-solutions-intro > div {
        max-width: 460px;
    }

    .core-solutions-intro p {
        max-width: 380px;
    }

    .core-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-energus-grid,
    .why-stats-side {
        gap: 10px;
    }
}

@media (max-width: 992px) {

    .about-stats li {
        width: 50%;
    }

        .about-section .image-column {
        top: 0;
        margin: 20px auto;
    }

    .why-energus-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 20px;
    }

    .why-energus-intro {
        grid-column: 1 / -1;
        grid-row: auto;
        max-width: 100%;
        margin-bottom: 0;
    }

    .why-energus-media {
        grid-column: 1 / -1;
        grid-row: auto;
        align-self: auto;
        margin-top: 10px;
        margin-bottom: 0;
    }

    .why-energus-media img {
        margin-left: auto;
        margin-right: auto;
    }

    .why-stats-side {
        display: contents;
    }

    .why-stat,
    .why-stat-1,
    .why-stat-2,
    .why-stat-3,
    .why-stat-4 {
        grid-column: auto;
        grid-row: auto;
        min-height: 200px;
        padding: 20px;
        margin-bottom: 0;
    }

}
@media (max-width: 767px) {
    .hero-slide {
        min-height: 650px;
    }

    .hero-content {
        padding: clamp(140px, 40vw, 200px) 0 100px;
    }

    .hero-content .heading-48 {
        margin-bottom: 15px;
    }

    .about-section .image-column {
        width: 100%;
        max-width: 400px;
        flex: 1 1 100%;
    }

    .overview-section .image-column {
        width: 100%;
        max-width: none;
    }

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

    .process-title {
        font-size: 18px;
        line-height: 1.2;
    }

    .solution-title {
        font-size: 16px;
        line-height: 1.3;
    }

        .core-solutions-intro {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        gap: 0;
    }
    .core-solutions-intro p {
        max-width: 100%;
    }
    .core-solutions-cta {
        margin-top: 30px;
    }
    
    ul.core-solutions-grid li {margin-bottom: 10px;}



}

@media (max-width: 576px) {
    .core-solutions-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px 10px;
    }

    .core-solutions-grid .solution-card {
        margin-bottom: 0;
    }

    .process-photo {
        width: 160px;
        height: 160px;

        &:before {
            width: 160px;
            height: 160px;
        }
    }

    .trusted-badge {
        font-size: 14px;
        line-height: 20px;
        padding: 14px 20px;
    }
        .about-stats li {
        width: 100%;
        padding: 0 15px 15px;
        & img {max-width: 40px;
    max-height: 40px;
}
    }
.about-section .ctent-column p {
    font-size: 16px;
    line-height: 1.4;
}
.hero-content p {
    font-size: 16px;
}

.process-intro {
    margin: 0 auto 30px;
}

}

@media (max-width: 480px) {
    .why-energus-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .why-stat {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        min-height: auto;
    }

    .why-stat img {
        max-width: 40px;
        height: auto;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

