/* =========================================================
   SERVICES — ORGANIZATION MAP

   1. Services hero
   2. Fault-to-power process
   3. Service process and industries
   4. Supporting CTA/content sections
   5. Tablet and mobile final overrides

   IMPORTANT: Source order is intentionally preserved because
   later responsive/final rules are part of the active cascade.
========================================================= */

/* ==================================================
   SERVICES PAGE
================================================== */

.service-page {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #07090b;
}


/* ==================================================
   SERVICES HERO
================================================== */

.service-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #07090b;
}


/* Full hero background */

.service-hero-background {
    position: absolute;
    inset: 0;
    z-index: -4;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* Dark background overlay */

.service-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(4, 7, 9, 0.97) 0%,
        rgba(4, 7, 9, 0.88) 37%,
        rgba(4, 7, 9, 0.30) 68%,
        rgba(4, 7, 9, 0.08) 100%
    );
}


/* ==================================================
   HERO CONTAINER
================================================== */

.service-hero-container {
    position: relative;
    z-index: 2;
    width: min(1250px, calc(100% - 60px));
    min-height: 550px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
}


/* ==================================================
   HERO CONTENT
================================================== */

.service-hero-content {
    position: relative;
    z-index: 10;
    min-width: 0;
    padding: 55px 0 55px 30px;
    opacity: 0;
    animation:
        serviceContentEntrance 0.9s ease 0.15s forwards;
}


/* Subtle red glow */

.service-hero-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: -90px;
    width: 420px;
    height: 350px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
        circle,
        rgba(227, 6, 19, 0.07) 0%,
        transparent 68%
    );
    transform: translateY(-50%);
}


/* Left vertical red line */

.service-hero-content::after {
    content: "";
    position: absolute;
    top: 48px;
    bottom: 48px;
    left: 0;
    width: 3px;
    border-radius: 10px;
    background: linear-gradient(
        180deg,
        #f00014 0%,
        #f00014 70%,
        rgba(240, 0, 20, 0.15) 100%
    );
    box-shadow:
        0 0 8px rgba(240, 0, 20, 0.22);
}


/* ==================================================
   HERO HEADING
================================================== */

.service-hero-title {
    max-width: 540px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow:
        0 5px 20px rgba(0, 0, 0, 0.45);
}

.service-hero-title span {
    display: block;
    margin-top: 3px;
    color: #f00014;
}

.service-hero-title strong {
    color: #ffffff;
    font-weight: 900;
}


/* Small red line below heading */

.service-hero-title::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    margin-top: 14px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #f00014,
        rgba(240, 0, 20, 0.20)
    );
    box-shadow:
        0 0 8px rgba(240, 0, 20, 0.22);
}


/* ==================================================
   HERO DESCRIPTION
================================================== */

.service-hero-description {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
}


/* ==================================================
   HERO BUTTONS
================================================== */

.service-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 31px;
    opacity: 0;
    animation:
        serviceButtonsEntrance 0.75s ease 0.65s forwards;
}

.service-primary-button,
.service-secondary-button {
    position: relative;
    min-width: 165px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 23px;
    overflow: hidden;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* Primary red button */

.service-primary-button {
    border: 1px solid #ef2028;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #f32630 0%,
        #df0d19 100%
    );
    box-shadow:
        0 8px 20px rgba(239, 32, 40, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}


/* Button shine */

.service-primary-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 38%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: skewX(-22deg);
    transition: left 0.55s ease;
}

.service-primary-button:hover::before {
    left: 135%;
}

.service-primary-button:hover {
    border-color: #c90d18;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #df0d19,
        #bd0711
    );
    box-shadow:
        0 12px 25px rgba(239, 32, 40, 0.30);
    transform: translateY(-3px);
}

.service-primary-button i {
    position: relative;
    z-index: 2;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-primary-button:hover i {
    transform: translateX(4px);
}


/* Secondary outline button */

.service-secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.70);
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.055),
        rgba(255, 255, 255, 0.015)
    );
    backdrop-filter: blur(5px);
}

.service-secondary-button:hover {
    border-color: #ffffff;
    color: #111111;
    background: #ffffff;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.24);
    transform: translateY(-3px);
}

.service-primary-button:active,
.service-secondary-button:active {
    transform: translateY(-1px) scale(0.98);
}


/* ==================================================
   HERO RIGHT IMAGE
================================================== */

.service-hero-visual {
    position: relative;
    align-self: stretch;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.service-product-image {
    position: absolute;
    right: -25px;
    bottom: 20px;
    z-index: 3;
    width: 700px;
    height: auto;
    max-width: none;
    max-height: 515px;
    display: block;
    object-fit: contain;
    object-position: right bottom;
    opacity: 0;
    filter:
        brightness(0.60)
        contrast(0.88)
        saturate(0.65)
        drop-shadow(
            0 18px 22px rgba(0, 0, 0, 0.38)
        );
    animation:
        serviceProductEntrance 1s ease 0.25s forwards,
        serviceProductFloating 4s ease-in-out 1.2s infinite;
}


/* ==================================================
   HERO ANIMATIONS
================================================== */

@keyframes serviceContentEntrance {
    from {
        opacity: 0;
        transform:
            translateX(-70px)
            translateY(25px);
    }

    to {
        opacity: 1;
        transform:
            translateX(0)
            translateY(25px);
    }
}

@keyframes serviceButtonsEntrance {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serviceProductEntrance {
    from {
        opacity: 0;
        transform:
            translateX(75px)
            scale(0.92);
    }

    to {
        opacity: 1;
        transform:
            translateX(0)
            scale(1);
    }
}

@keyframes serviceProductFloating {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* ==================================================
   MEDIUM DESKTOP
================================================== */

@media screen and (max-width: 1199px) {
    .service-hero-container {
        width: min(
            1100px,
            calc(100% - 44px)
        );
        grid-template-columns: 44% 56%;
    }

    .service-hero-title {
        font-size: 38px;
    }

    .service-product-image {
        right: -20px;
        width: 630px;
        max-height: 490px;
    }
}


/* ==================================================
   TABLET
================================================== */

@media screen and (max-width: 991px) {
    .service-hero,
    .service-hero-container {
        min-height: 490px;
    }

    .service-hero-container {
        width: min(
            940px,
            calc(100% - 36px)
        );
        grid-template-columns: 47% 53%;
    }

    .service-hero-content {
        padding:
            48px 0
            48px 25px;
    }

    .service-hero-content::after {
        top: 42px;
        bottom: 42px;
    }

    .service-hero-title {
        max-width: 430px;
        font-size: 33px;
    }

    .service-hero-description {
        max-width: 340px;
        font-size: 12px;
    }

    .service-product-image {
        right: -25px;
        bottom: 20px;
        width: 530px;
        max-height: 450px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media screen and (max-width: 767px) {
    .service-hero {
        min-height: 390px;
        align-items: stretch;
    }

    .service-hero-background {
        object-position: center;
    }

    .service-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(4, 7, 9, 0.98) 0%,
            rgba(4, 7, 9, 0.90) 48%,
            rgba(4, 7, 9, 0.28) 100%
        );
    }

    .service-hero-container {
        width: 100%;
        min-height: 390px;
        grid-template-columns: 57% 43%;
    }

    .service-hero-content {
        padding:
            40px 4px
            40px 28px;
    }

    .service-hero-content::before {
        display: none;
    }

    .service-hero-content::after {
        top: 35px;
        bottom: 35px;
        left: 17px;
        width: 2px;
    }

    .service-hero-title {
        max-width: 250px;
        margin-bottom: 14px;
        font-size: 23px;
        line-height: 1.08;
        letter-spacing: -0.4px;
    }

    .service-hero-title::after {
        width: 35px;
        height: 2px;
        margin-top: 9px;
    }

    .service-hero-description {
        max-width: 220px;
        font-size: 8px;
        line-height: 1.65;
    }

    .service-hero-buttons {
        flex-wrap: nowrap;
        gap: 5px;
        margin-top: 14px;
    }

    .service-primary-button,
    .service-secondary-button {
        min-width: 0;
        min-height: 28px;
        gap: 5px;
        padding: 6px 8px;
        border-radius: 2px;
        font-size: 6px;
        letter-spacing: 0;
    }

    .service-primary-button i {
        font-size: 8px;
    }

    .service-product-image {
        right: -45px;
        bottom: 15px;
        width: 390px;
        max-height: 355px;
    }

    @keyframes serviceContentEntrance {
        from {
            opacity: 0;
            transform:
                translateX(-35px)
                translateY(10px);
        }

        to {
            opacity: 1;
            transform:
                translateX(0)
                translateY(10px);
        }
    }
}


/* ==================================================
   SMALL MOBILE
================================================== */

@media screen and (max-width: 480px) {
    .service-hero,
    .service-hero-container {
        min-height: 350px;
    }

    .service-hero-content {
        padding:
            34px 3px
            34px 25px;
    }

    .service-hero-content::after {
        top: 30px;
        bottom: 30px;
        left: 15px;
    }

    .service-hero-title {
        max-width: 215px;
        margin-bottom: 12px;
        font-size: 20px;
    }

    .service-hero-description {
        max-width: 190px;
        font-size: 7px;
    }

    .service-hero-buttons {
        gap: 5px;
        margin-top: 15px;
    }

    .service-primary-button,
    .service-secondary-button {
        min-height: 29px;
        padding: 7px;
        font-size: 5.5px;
    }

    .service-product-image {
        right: -50px;
        bottom: 12px;
        width: 330px;
        max-height: 305px;
    }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {
    .service-hero-content,
    .service-hero-buttons,
    .service-product-image {
        opacity: 1;
        animation: none;
    }

    .service-hero-content {
        transform: translateY(25px);
    }

    .service-hero-buttons,
    .service-product-image {
        transform: none;
    }
}

/* =========================================================
   FINAL FAULT TO POWER LAYOUT
   Fully contained alternating zig-zag — no cropped cards
========================================================= */

.fault-power-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 64px 30px 78px;
    overflow: hidden;
}

.fault-power-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
}

.fault-power-heading {
    margin-bottom: 36px;
}

.fault-power-process {
    box-sizing: border-box;
    width: 100%;
    min-height: 390px;
    padding: 8px 26px 0;
    overflow: visible;
    gap: 24px;
}

.fault-power-item {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 365px;
    overflow: visible;
}

.fault-power-section.is-visible .fault-power-item,
.fault-power-section.is-visible .fault-power-item-1,
.fault-power-section.is-visible .fault-power-item-2,
.fault-power-section.is-visible .fault-power-item-3,
.fault-power-section.is-visible .fault-power-item-4 {
    transform: translateY(0) !important;
}

.fault-power-card-row,
.fault-power-image,
.fault-power-information {
    box-sizing: border-box;
    min-width: 0;
}

.fault-power-card-row {
    gap: 13px;
}

.fault-power-image {
    height: 150px;
    min-height: 150px;
    max-height: 150px;
}

.fault-power-wave {
    top: 143px;
    left: 26px;
    width: calc(100% - 52px);
    height: 135px;
}

.fault-power-item-1 .fault-power-number,
.fault-power-item-3 .fault-power-number {
    top: 135px;
    left: 40%;
}

.fault-power-item-2 .fault-power-number,
.fault-power-item-4 .fault-power-number {
    top: 181px;
    left: 40%;
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .fault-power-section {
        padding-right: 24px;
        padding-left: 24px;
    }

    .fault-power-container {
        max-width: 1120px;
    }

    .fault-power-process {
        padding-right: 18px;
        padding-left: 18px;
        gap: 17px;
    }

    .fault-power-wave {
        left: 18px;
        width: calc(100% - 36px);
    }
}

@media screen and (max-width: 991px) {
    .fault-power-section {
        padding: 58px 24px 68px;
    }

    .fault-power-container {
        width: 100%;
    }

    .fault-power-process {
        min-height: 0;
        padding: 0;
        gap: 34px 24px;
    }

    .fault-power-item,
    .fault-power-item-1,
    .fault-power-item-2,
    .fault-power-item-3,
    .fault-power-item-4 {
        height: auto;
        padding: 0 !important;
    }

    .fault-power-item-1 .fault-power-number,
    .fault-power-item-2 .fault-power-number,
    .fault-power-item-3 .fault-power-number,
    .fault-power-item-4 .fault-power-number {
        position: relative;
        top: auto;
        left: auto;
    }
}

@media screen and (max-width: 767px) {
    .fault-power-section {
        padding: 48px 18px 58px;
    }

    .fault-power-process {
        gap: 27px;
    }
}

/* ==================================================
   OUR SERVICE PROCESS SECTION
================================================== */

.service-process-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 42px 24px 50px;
    color: #ffffff;
    background-color: #070a0d;
}


/* Background image */

.service-process-background {
    position: absolute;
    inset: 0;
    z-index: -4;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center;
    filter:
        brightness(0.58)
        contrast(0.96)
        saturate(0.62);
}


/* Balanced dark overlay — keeps text clear and image visible */

.service-process-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 12, 0.62) 0%,
            rgba(4, 8, 12, 0.46) 50%,
            rgba(4, 8, 12, 0.62) 100%
        ),
        linear-gradient(
            180deg,
            rgba(4, 8, 12, 0.16),
            rgba(4, 8, 12, 0.52)
        );
}


/* Subtle center glow */

.service-process-section::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 52%;
    left: 50%;
    width: 650px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
        circle,
        rgba(237, 28, 36, 0.09) 0%,
        rgba(237, 28, 36, 0.025) 42%,
        transparent 72%
    );
    transform: translate(-50%, -50%);
}


/* Bottom red glow line */

.service-process-section::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(237, 28, 36, 0.7),
        transparent
    );
}


/* ==================================================
   CONTAINER
================================================== */

/* Service Process content width same as Hero */

.service-process-container {
    position: relative;
    z-index: 2;
    width: min(1250px, calc(100% - 60px));
    margin: 0 auto;
}


/* ==================================================
   SECTION HEADING
================================================== */

.service-process-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.service-process-visible
.service-process-heading {
    opacity: 1;
    transform: translateY(0);
}

.service-process-label {
    display: block;
    margin-bottom: 8px;
    color: #f12531;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.service-process-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(29px, 2.8vw, 40px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.8px;
    text-shadow:
        0 7px 22px rgba(0, 0, 0, 0.55);
}

.service-process-heading p {
    max-width: 620px;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}


/* ==================================================
   PROCESS STEPS
================================================== */

.service-process-steps {
    position: relative;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 70px;
}


/* Dotted line connecting all steps */

.service-process-steps::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 28px;
    right: 16.5%;
    left: 16.5%;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.48) 0,
        rgba(255, 255, 255, 0.48) 5px,
        transparent 5px,
        transparent 10px
    );
}


/* ==================================================
   INDIVIDUAL STEP
================================================== */

.service-process-step {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 0 18px;
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease
        var(--service-process-delay, 0ms),
        transform 0.7s ease
        var(--service-process-delay, 0ms);
}

.service-process-step-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-process-step-top {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}


/* Red number */

.service-process-number {
    position: relative;
    z-index: 3;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #fa2633,
        #d90a16
    );
    box-shadow:
        0 9px 24px rgba(237, 28, 36, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Step icon */

.service-process-icon {
    position: relative;
    z-index: 3;
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(5px);
    font-size: 22px;
    transition:
        color 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}


/* Step hover */

.service-process-step:hover
.service-process-number {
    box-shadow:
        0 13px 32px rgba(237, 28, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-4px) scale(1.05);
}

.service-process-step:hover
.service-process-icon {
    border-color: rgba(237, 28, 36, 0.7);
    color: #ffffff;
    background: rgba(237, 28, 36, 0.15);
    transform: translateY(-4px);
}


/* ==================================================
   STEP TEXT
================================================== */

.service-process-information {
    padding-left: 3px;
}

.service-process-information h3 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.service-process-step:hover
.service-process-information h3 {
    color: #f12531;
}

.service-process-information p {
    max-width: 270px;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.68;
}


/* Connector arrow */

.service-process-connector {
    position: absolute;
    z-index: 1;
    top: 27px;
    right: -52px;
    width: 52px;
    height: 1px;
}

.service-process-connector::after {
    content: "";
    position: absolute;
    top: -3px;
    right: 0;
    width: 7px;
    height: 7px;
    border-top:
        1px solid rgba(237, 28, 36, 0.9);
    border-right:
        1px solid rgba(237, 28, 36, 0.9);
    transform: rotate(45deg);
}


/* ==================================================
   TABLET
================================================== */

@media screen and (max-width: 991px) {
    .service-process-section {
        min-height: 370px;
        padding: 40px 20px 46px;
    }

    .service-process-heading {
        margin-bottom: 31px;
    }

    .service-process-steps {
        gap: 35px;
    }

    .service-process-step {
        padding: 0 8px;
    }

    .service-process-number {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 12px;
    }

    .service-process-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 20px;
    }

    .service-process-step-top {
        gap: 10px;
    }

    .service-process-information h3 {
        font-size: 14px;
    }

    .service-process-connector {
        right: -26px;
        width: 26px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media screen and (max-width: 767px) {
    .service-process-section {
        min-height: 0;
        padding: 38px 18px 44px;
    }

    .service-process-background {
        object-position: center;
    }

    .service-process-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 8, 11, 0.78),
                rgba(5, 8, 11, 0.88)
            );
    }

    .service-process-heading {
        margin-bottom: 28px;
    }

    .service-process-label {
        margin-bottom: 7px;
        font-size: 9px;
    }

    .service-process-heading h2 {
        font-size: 24px;
    }

    .service-process-heading p {
        max-width: 400px;
        margin-top: 9px;
        font-size: 9px;
    }

    .service-process-steps {
        max-width: 480px;
        margin: 0 auto;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-process-steps::before {
        top: 28px;
        right: auto;
        bottom: 28px;
        left: 33px;
        width: 1px;
        height: auto;
        background: repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.34) 0,
            rgba(255, 255, 255, 0.34) 5px,
            transparent 5px,
            transparent 10px
        );
    }

    .service-process-step {
        display: grid;
        grid-template-columns:
            102px minmax(0, 1fr);
        align-items: center;
        gap: 13px;
        padding: 13px;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(5px);
    }

    .service-process-step-top {
        min-height: 55px;
        gap: 7px;
        margin: 0;
    }

    .service-process-number {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
        font-size: 10px;
    }

    .service-process-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 17px;
    }

    .service-process-information {
        padding: 0;
    }

    .service-process-information h3 {
        font-size: 13px;
    }

    .service-process-information p {
        max-width: none;
        margin-top: 6px;
        font-size: 8px;
        line-height: 1.6;
    }

    .service-process-connector {
        display: none;
    }
}


/* ==================================================
   SMALL MOBILE
================================================== */

@media screen and (max-width: 480px) {
    .service-process-section {
        padding: 34px 14px 40px;
    }

    .service-process-heading h2 {
        font-size: 21px;
    }

    .service-process-step {
        grid-template-columns:
            88px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .service-process-step-top {
        gap: 5px;
    }

    .service-process-number {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-width: 2px;
        font-size: 9px;
    }

    .service-process-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 9px;
        font-size: 15px;
    }

    .service-process-information h3 {
        font-size: 12px;
    }

    .service-process-information p {
        font-size: 7.5px;
    }

    .service-process-steps::before {
        left: 29px;
    }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {
    .service-process-heading,
    .service-process-step {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .service-process-number,
    .service-process-icon {
        transition: none;
    }
}
/* Process width matching Hero on every screen */

@media screen and (max-width: 1199px) {
    .service-process-container {
        width: min(1100px, calc(100% - 44px));
    }
}

@media screen and (max-width: 991px) {
    .service-process-container {
        width: min(940px, calc(100% - 36px));
    }
}

@media screen and (max-width: 767px) {
    .service-process-container {
        width: 100%;
    }
}

/* =========================================
   FROM FAULT TO POWER SECTION
========================================= */

.fault-power-section {
    position: relative;
    width: 100%;
    padding: 70px 20px 82px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 5%,
            rgba(237, 28, 36, 0.045),
            transparent 32%
        ),
        #ffffff;
}

.fault-power-container {
    width: calc(100% - 100px);
    max-width: 1320px;
    margin: 0 auto;
}


/* =========================================
   HEADING
========================================= */

.fault-power-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.fault-power-heading h2 {
    margin: 0;
    color: #171717;
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.3px;
}

.fault-power-heading h2 span {
    color: #ed1c24;
}

.fault-power-heading-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 13px auto 9px;
}

.fault-power-heading-mark span {
    width: 43px;
    height: 2px;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        transparent,
        #ed1c24
    );
}

.fault-power-heading-mark span:last-child {
    background: linear-gradient(
        90deg,
        #ed1c24,
        transparent
    );
}

.fault-power-heading-mark i {
    color: #ed1c24;
    font-size: 18px;
    filter: drop-shadow(
        0 4px 6px rgba(237, 28, 36, 0.28)
    );
}

.fault-power-heading p {
    margin: 0;
    color: #6d6d6d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}


/* =========================================
   ZIG-ZAG PROCESS
========================================= */

.fault-power-process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    min-height: 450px;
    padding: 0 4px;
}

/* Remove previous straight connecting line */

.fault-power-process::before,
.fault-power-process::after {
    display: none !important;
}


/* =========================================
   CURVED RED TIMELINE
========================================= */

.fault-power-wave {
    position: absolute;
    top: 177px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 150px;
    overflow: visible;
    pointer-events: none;
}

.fault-power-wave path {
    fill: none;
    stroke: #ed1c24;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(
        0 3px 5px rgba(237, 28, 36, 0.15)
    );
}


/* =========================================
   INDIVIDUAL ITEMS
========================================= */

.fault-power-item {
    position: relative;
    z-index: 2;
    min-width: 0;
    height: 430px;
    margin: 0 !important;
    opacity: 0;
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

/* Top items */

.fault-power-item-1,
.fault-power-item-3 {
    padding: 0 0 225px !important;
    transform: translateY(-28px);
}

/* Bottom items */

.fault-power-item-2,
.fault-power-item-4 {
    padding: 225px 0 0 !important;
    transform: translateY(28px);
}


/* Scroll animation visible state */

.fault-power-section.is-visible
.fault-power-item {
    opacity: 1;
    transform: translateY(0);
}

.fault-power-section.is-visible
.fault-power-item:nth-child(1) {
    transition-delay: 0ms;
}

.fault-power-section.is-visible
.fault-power-item:nth-child(2) {
    transition-delay: 110ms;
}

.fault-power-section.is-visible
.fault-power-item:nth-child(3) {
    transition-delay: 220ms;
}

.fault-power-section.is-visible
.fault-power-item:nth-child(4) {
    transition-delay: 330ms;
}


/* =========================================
   IMAGE AND INFORMATION ROW
========================================= */

.fault-power-card-row {
    display: grid;
    align-items: center;
    gap: 15px;
}

.fault-power-item-1 .fault-power-card-row,
.fault-power-item-3 .fault-power-card-row {
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);
}

.fault-power-item-2 .fault-power-card-row,
.fault-power-item-4 .fault-power-card-row {
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);
}


/* =========================================
   IMAGES
========================================= */

.fault-power-image {
    position: relative;
    width: 100%;
    height: 175px;
    min-height: 175px;
    max-height: 175px;
    overflow: hidden;
    border: 1px solid rgba(237, 28, 36, 0.1);
    border-radius: 14px;
    background: #eeeeee;
    box-shadow:
        0 15px 32px rgba(20, 20, 20, 0.13),
        0 5px 14px rgba(237, 28, 36, 0.05);
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.fault-power-image::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.2),
        transparent 42%
    );
}

.fault-power-image::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 65%,
        rgba(0, 0, 0, 0.12)
    );
}

.fault-power-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
}

.fault-power-item:hover
.fault-power-image {
    border-color: rgba(237, 28, 36, 0.27);
    box-shadow:
        0 21px 40px rgba(20, 20, 20, 0.17),
        0 8px 20px rgba(237, 28, 36, 0.09);
    transform: translateY(-5px);
}

.fault-power-item:hover
.fault-power-image img {
    transform: scale(1.055);
}


/* =========================================
   TEXT INFORMATION
========================================= */

.fault-power-information {
    width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
    text-align: left;
}

/* Repair and Restore text alignment */

.fault-power-item-2
.fault-power-information,
.fault-power-item-4
.fault-power-information {
    text-align: right;
}

.fault-power-information h3 {
    margin: 0 0 7px;
    color: #171717;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.4px;
    transition: color 0.3s ease;
}

.fault-power-item:hover
.fault-power-information h3 {
    color: #ed1c24;
}


/* Small red line under title */

.fault-power-title-line {
    display: block;
    width: 38px;
    height: 3px;
    margin: 0 0 10px;
    border-radius: 10px;
    background: #ed1c24;
}

.fault-power-item-2
.fault-power-title-line,
.fault-power-item-4
.fault-power-title-line {
    margin-right: 0;
    margin-left: auto;
}

.fault-power-information p {
    width: 100%;
    max-width: 165px;
    margin: 0;
    color: #666666;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.6;
}

.fault-power-item-2
.fault-power-information p,
.fault-power-item-4
.fault-power-information p {
    margin-left: auto;
}


/* =========================================
   NUMBER CIRCLES
========================================= */

.fault-power-number {
    position: absolute;
    z-index: 5;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 4px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(
        145deg,
        #ff3c45,
        #df0711
    );
    box-shadow:
        0 7px 18px rgba(237, 28, 36, 0.34),
        0 0 0 2px rgba(237, 28, 36, 0.1);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Circle positions */

.fault-power-item-1
.fault-power-number {
    top: 171px;
    left: 40%;
}

.fault-power-item-2
.fault-power-number {
    top: 217px;
    left: 40%;
}

.fault-power-item-3
.fault-power-number {
    top: 171px;
    left: 40%;
}

.fault-power-item-4
.fault-power-number {
    top: 217px;
    left: 40%;
}


/* Dotted vertical connector */

.fault-power-number::after {
    position: absolute;
    top: 46px;
    left: 50%;
    width: 1px;
    height: 27px;
    content: "";
    background: repeating-linear-gradient(
        to bottom,
        rgba(237, 28, 36, 0.65) 0 3px,
        transparent 3px 6px
    );
    transform: translateX(-50%);
}

.fault-power-item-2
.fault-power-number::after,
.fault-power-item-4
.fault-power-number::after {
    top: auto;
    bottom: 46px;
}

.fault-power-item:hover
.fault-power-number {
    transform: scale(1.1);
    box-shadow:
        0 10px 24px rgba(237, 28, 36, 0.44),
        0 0 0 5px rgba(237, 28, 36, 0.08);
}


/* =========================================
   LARGE TABLET
========================================= */

@media screen and (max-width: 1199px) {

    .fault-power-container {
        width: calc(100% - 44px);
        max-width: 1100px;
    }

    .fault-power-process {
        gap: 14px;
    }

    .fault-power-card-row {
        grid-template-columns: 1.08fr 0.92fr;
        gap: 11px;
    }

    .fault-power-image {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }

    .fault-power-information h3 {
        font-size: 15px;
    }

    .fault-power-information p {
        font-size: 9px;
    }

    .fault-power-wave {
        top: 162px;
    }

    .fault-power-item-1
    .fault-power-number,
    .fault-power-item-3
    .fault-power-number {
        top: 156px;
    }
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 991px) {

    .fault-power-container {
        width: calc(100% - 36px);
        max-width: 940px;
    }

    .fault-power-section {
        padding: 60px 24px 68px;
    }

    .fault-power-heading {
        margin-bottom: 38px;
    }

    .fault-power-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 25px;
        min-height: 0;
        max-width: 850px;
        margin: 0 auto;
    }

    .fault-power-wave {
        display: none;
    }

    .fault-power-item,
    .fault-power-item-1,
    .fault-power-item-2,
    .fault-power-item-3,
    .fault-power-item-4 {
        height: auto;
        padding: 0 !important;
        transform: translateY(25px);
    }

    .fault-power-section.is-visible
    .fault-power-item {
        transform: translateY(0);
    }

    .fault-power-card-row {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 16px;
    }

    .fault-power-image {
        height: 190px;
        min-height: 190px;
        max-height: 190px;
    }

    .fault-power-information h3 {
        font-size: 17px;
    }

    .fault-power-information p {
        font-size: 10px;
    }

    .fault-power-number,
    .fault-power-item-1 .fault-power-number,
    .fault-power-item-2 .fault-power-number,
    .fault-power-item-3 .fault-power-number,
    .fault-power-item-4 .fault-power-number {
        position: relative;
        top: auto;
        left: auto;
        width: 52px;
        height: 52px;
        margin: -10px auto 0;
    }

    .fault-power-number::after {
        display: none;
    }
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 767px) {

    .fault-power-section {
        padding: 48px 18px 60px;
    }

    .fault-power-heading {
        margin-bottom: 32px;
    }

    .fault-power-heading h2 {
        font-size: 24px;
        letter-spacing: -0.7px;
        white-space: nowrap;
    }

    .fault-power-heading p {
        max-width: 320px;
        margin: 0 auto;
        font-size: 11px;
    }

    .fault-power-process {
        grid-template-columns: 1fr;
        gap: 27px;
        max-width: 500px;
    }

    .fault-power-item-1 .fault-power-card-row,
    .fault-power-item-2 .fault-power-card-row,
    .fault-power-item-3 .fault-power-card-row,
    .fault-power-item-4 .fault-power-card-row {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 0.78fr);
        gap: 13px;
    }

    /* Keep image first on every mobile card */

    .fault-power-item-2
    .fault-power-image,
    .fault-power-item-4
    .fault-power-image {
        grid-column: 1;
        grid-row: 1;
    }

    .fault-power-item-2
    .fault-power-information,
    .fault-power-item-4
    .fault-power-information {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }

    .fault-power-item-2
    .fault-power-title-line,
    .fault-power-item-4
    .fault-power-title-line {
        margin-right: auto;
        margin-left: 0;
    }

    .fault-power-item-2
    .fault-power-information p,
    .fault-power-item-4
    .fault-power-information p {
        margin-right: auto;
        margin-left: 0;
    }

    .fault-power-image {
        height: 145px;
        min-height: 145px;
        max-height: 145px;
        border-radius: 12px;
    }

    .fault-power-information h3 {
        font-size: 14px;
    }

    .fault-power-title-line {
        width: 31px;
        height: 2px;
        margin-bottom: 7px;
    }

    .fault-power-information p {
        max-width: 145px;
        font-size: 9px;
        line-height: 1.5;
    }

    .fault-power-number,
    .fault-power-item-1 .fault-power-number,
    .fault-power-item-2 .fault-power-number,
    .fault-power-item-3 .fault-power-number,
    .fault-power-item-4 .fault-power-number {
        width: 46px;
        height: 46px;
        margin-top: -8px;
        border-width: 4px;
        font-size: 11px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media screen and (max-width: 390px) {

    .fault-power-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .fault-power-heading h2 {
        font-size: 20px;
    }

    .fault-power-card-row {
        grid-template-columns: 1fr 0.82fr;
        gap: 10px;
    }

    .fault-power-image {
        height: 130px;
        min-height: 130px;
        max-height: 130px;
    }

    .fault-power-information h3 {
        font-size: 13px;
    }

    .fault-power-information p {
        font-size: 8px;
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .fault-power-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .fault-power-image,
    .fault-power-image img,
    .fault-power-number {
        transition: none;
    }
}

/* =========================================
   FINAL PRIORITY: FULLY VISIBLE FAULT-TO-POWER
========================================= */

.fault-power-section {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 64px 30px 78px !important;
    overflow: hidden !important;
    background:
        radial-gradient(
            circle at 50% 5%,
            rgba(237, 28, 36, 0.045),
            transparent 32%
        ),
        #ffffff !important;
}

.fault-power-container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.fault-power-heading {
    margin-bottom: 36px !important;
}

.fault-power-process {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 390px !important;
    padding: 8px 26px 0 !important;
    overflow: visible !important;
    gap: 24px !important;
}

.fault-power-item {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 365px !important;
    overflow: visible !important;
}

.fault-power-item-1,
.fault-power-item-3 {
    padding: 0 0 190px !important;
}

.fault-power-item-2,
.fault-power-item-4 {
    padding: 190px 0 0 !important;
}

.fault-power-section.is-visible .fault-power-item {
    transform: translateY(0) !important;
}

.fault-power-card-row,
.fault-power-image,
.fault-power-information {
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.fault-power-card-row {
    gap: 13px !important;
}

.fault-power-image {
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
}

.fault-power-wave {
    top: 143px !important;
    left: 26px !important;
    width: calc(100% - 52px) !important;
    height: 135px !important;
}

.fault-power-item-1 .fault-power-number,
.fault-power-item-3 .fault-power-number {
    top: 135px !important;
    left: 40% !important;
}

.fault-power-item-2 .fault-power-number,
.fault-power-item-4 .fault-power-number {
    top: 181px !important;
    left: 40% !important;
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .fault-power-section {
        padding-right: 24px !important;
        padding-left: 24px !important;
    }

    .fault-power-container {
        max-width: 1120px !important;
    }

    .fault-power-process {
        padding-right: 18px !important;
        padding-left: 18px !important;
        gap: 17px !important;
    }

    .fault-power-wave {
        left: 18px !important;
        width: calc(100% - 36px) !important;
    }
}

@media screen and (max-width: 991px) {
    .fault-power-section {
        padding: 58px 24px 68px !important;
    }

    .fault-power-process {
        min-height: 0 !important;
        padding: 0 !important;
        gap: 34px 24px !important;
    }

    .fault-power-item,
    .fault-power-item-1,
    .fault-power-item-2,
    .fault-power-item-3,
    .fault-power-item-4 {
        height: auto !important;
        padding: 0 !important;
    }

    .fault-power-wave {
        display: none !important;
    }

    .fault-power-item-1 .fault-power-number,
    .fault-power-item-2 .fault-power-number,
    .fault-power-item-3 .fault-power-number,
    .fault-power-item-4 .fault-power-number {
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
}

@media screen and (max-width: 767px) {
    .fault-power-section {
        padding: 48px 18px 58px !important;
    }

    .fault-power-process {
        gap: 27px !important;
    }
}
/* Repair text more down */
@media screen and (min-width: 992px) {
    .fault-power-item-2 .fault-power-information {
        transform: translateY(35px) !important;
    }

    .fault-power-item-4 .fault-power-information {
        transform: translateY(18px) !important;
    }
}

/* =========================================
   INDUSTRIES WE POWER — ENHANCED
========================================= */

.industries-power-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 335px;
    display: flex;
    align-items: center;
    padding: 38px 30px 30px;
    overflow: hidden;
    background: #050608;
}

/* Background image */
.industries-power-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    opacity: 0.28;
    filter: grayscale(25%) contrast(1.08);
    transform: scale(1.03);
}

/* Dark overlay */
.industries-power-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(3, 4, 6, 0.98) 0%,
            rgba(5, 6, 8, 0.87) 38%,
            rgba(5, 6, 8, 0.82) 62%,
            rgba(3, 4, 6, 0.97) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.82)
        );
}

/* Red background glow */
.industries-power-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 750px;
    height: 260px;
    border-radius: 50%;
    background: rgba(237, 28, 36, 0.07);
    filter: blur(90px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.industries-power-container {
    position: relative;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
}

/* Heading */
.industries-power-heading {
    margin-bottom: 25px;
}

.industries-power-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2.6px;
}

.industries-power-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(25px, 2.4vw, 35px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.industries-power-heading h2 span {
    color: #ed1c24;
}

.industries-heading-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 10px;
}

.industries-heading-mark span {
    width: 58px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.55)
    );
}

.industries-heading-mark span:last-child {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.55),
        transparent
    );
}

.industries-heading-mark i {
    color: #ed1c24;
    font-size: 18px;
    filter: drop-shadow(
        0 0 7px rgba(237, 28, 36, 0.6)
    );
}

/* Industries grid */
.industries-power-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    gap: 34px;
}

.industries-power-item {
    position: relative;
    min-width: 0;
    padding: 5px 0;
    text-align: center;
}

/* Icon box */
.industries-power-icon {
    position: relative;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 13px;
    overflow: hidden;
    border: 2px solid #ed1c24;
    border-radius: 14px;
    color: #ed1c24;
    background:
        linear-gradient(
            145deg,
            rgba(24, 25, 29, 0.9),
            rgba(5, 6, 8, 0.88)
        );
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(237, 28, 36, 0.08),
        inset 0 0 18px rgba(237, 28, 36, 0.025);
    transition:
        color 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.industries-power-icon::before {
    position: absolute;
    top: -80%;
    left: -60%;
    width: 45%;
    height: 240%;
    content: "";
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: left 0.55s ease;
}

.industries-power-icon i {
    position: relative;
    z-index: 2;
    font-size: 31px;
    line-height: 1;
}

/* Titles */
.industries-power-item h3 {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.15px;
    white-space: nowrap;
    transition: color 0.35s ease;
}

/* Hover */
.industries-power-item:hover .industries-power-icon {
    color: #ffffff;
    border-color: #ff353d;
    background:
        linear-gradient(
            145deg,
            #f5262f,
            #bf0710
        );
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.42),
        0 0 25px rgba(237, 28, 36, 0.3);
    transform: translateY(-7px);
}

.industries-power-item:hover
.industries-power-icon::before {
    left: 135%;
}

.industries-power-item:hover h3 {
    color: #ed1c24;
}

/* Bottom description */
.industries-power-description {
    margin: 21px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.industries-power-description strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Tablet */
@media screen and (max-width: 991px) {
    .industries-power-section {
        min-height: auto;
        padding: 48px 24px 44px;
    }

    .industries-power-background {
        object-position: center;
    }

    .industries-power-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 34px 22px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .industries-power-section {
        padding: 43px 18px 40px;
    }

    .industries-power-heading {
        margin-bottom: 27px;
    }

    .industries-power-label {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .industries-power-heading h2 {
        font-size: 24px;
    }

    .industries-heading-mark span {
        width: 43px;
    }

    .industries-power-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 14px;
    }

    .industries-power-icon {
        width: 66px;
        height: 66px;
        margin-bottom: 11px;
    }

    .industries-power-icon i {
        font-size: 27px;
    }

    .industries-power-item h3 {
        font-size: 11px;
        white-space: normal;
    }

    .industries-power-description {
        max-width: 310px;
        margin-top: 27px;
        font-size: 12px;
    }
}
/* Repair image — remove remaining upper space */
.fault-power-item-2 .fault-power-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: transparent !important;
    transform: scale(1.12) translateY(-5px) !important;
}

/* Repair image hover */
.fault-power-item-2:hover .fault-power-image img {
    transform: scale(1.17) translateY(-5px) !important;
}

/* Make Industries background image clearly visible */
.industries-power-background {
    opacity: 0.55 !important;
    filter: grayscale(15%) contrast(1.05) !important;
    object-fit: cover !important;
    object-position: center 35% !important;
}

.industries-power-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3, 4, 6, 0.88) 0%,
            rgba(5, 6, 8, 0.67) 45%,
            rgba(5, 6, 8, 0.65) 60%,
            rgba(3, 4, 6, 0.86) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.28),
            rgba(0, 0, 0, 0.58)
        ) !important;
}
/* Our Service Process small heading slightly bigger */
.service-process-label {
    font-size: 13px !important;
    letter-spacing: 2.2px !important;
}
/* Powering Every Sector heading slightly bigger */
.industries-power-label {
    font-size: 12px !important;
    letter-spacing: 2.8px !important;
}

/* Services Hero — reduced height on mobile only */

@media screen and (max-width: 767px) {
    .service-hero,
    .service-hero-container {
        height: 350px;
        min-height: 350px;
    }
}
/* =========================================
   SERVICES HERO — MOBILE FINAL FIX
========================================= */

@media screen and (max-width: 767px) {

    .service-hero,
    .service-hero-container {
        height: 330px !important;
        min-height: 330px !important;
        max-height: 330px !important;
    }

    .service-hero {
        overflow: hidden;
    }

    .service-hero-container {
        width: 100%;
        display: grid;
        grid-template-columns: 57% 43%;
        align-items: stretch;
    }

    .service-hero-content {
        align-self: center;
        padding: 42px 4px 25px 28px;
    }

    .service-product-image {
        right: -40px;
        bottom: 5px;
        width: 350px;
        max-height: 305px;
    }
}

@media screen and (max-width: 480px) {

    .service-hero,
    .service-hero-container {
        height: 310px !important;
        min-height: 310px !important;
        max-height: 310px !important;
    }

    .service-hero-container {
        grid-template-columns: 59% 41%;
    }

    .service-hero-content {
        padding: 38px 3px 20px 25px;
    }

    .service-product-image {
        right: -45px;
        bottom: 3px;
        width: 305px;
        max-height: 280px;
    }
}
/* =========================================
   FAULT TO POWER — MOBILE FINAL LAYOUT
========================================= */

@media screen and (max-width: 767px) {

    .fault-power-section {
        padding: 42px 15px 50px;
        overflow: hidden;
    }

    .fault-power-container {
        width: 100%;
        max-width: none;
    }

    .fault-power-heading {
        margin-bottom: 30px;
    }

    .fault-power-heading h2 {
        font-size: 24px;
        white-space: nowrap;
    }

    .fault-power-heading p {
        max-width: 420px;
        margin: 0 auto;
        font-size: 10px;
    }

    .fault-power-process {
        width: 100% !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 25px 18px !important;
        margin: 0 auto;
        padding: 0;
        zoom: 1;
    }

    .fault-power-wave {
        display: none !important;
    }

    .fault-power-item,
    .fault-power-item-1,
    .fault-power-item-2,
    .fault-power-item-3,
    .fault-power-item-4 {
        height: auto !important;
        padding: 0 !important;
        transform: translateY(20px);
    }

    .fault-power-section.is-visible .fault-power-item {
        transform: translateY(0);
    }

    .fault-power-card-row,
    .fault-power-item-1 .fault-power-card-row,
    .fault-power-item-2 .fault-power-card-row,
    .fault-power-item-3 .fault-power-card-row,
    .fault-power-item-4 .fault-power-card-row {
        display: grid;
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(0, 0.85fr) !important;
        align-items: center;
        gap: 10px !important;
    }

    /* Same image-left and content-right layout */

    .fault-power-item-2 .fault-power-image,
    .fault-power-item-4 .fault-power-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .fault-power-item-2 .fault-power-information,
    .fault-power-item-4 .fault-power-information {
        grid-column: 2 !important;
        grid-row: 1 !important;
        text-align: left !important;
    }

    .fault-power-image {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        border-radius: 10px;
    }

    .fault-power-information {
        text-align: left !important;
    }

    .fault-power-information h3 {
        margin-bottom: 5px;
        font-size: 12px !important;
    }

    .fault-power-title-line,
    .fault-power-item-2 .fault-power-title-line,
    .fault-power-item-4 .fault-power-title-line {
        width: 27px;
        height: 2px;
        margin: 0 0 6px !important;
    }

    .fault-power-information p,
    .fault-power-item-2 .fault-power-information p,
    .fault-power-item-4 .fault-power-information p {
        max-width: 115px;
        margin: 0 !important;
        font-size: 7px !important;
        line-height: 1.5;
    }

    .fault-power-number,
    .fault-power-item-1 .fault-power-number,
    .fault-power-item-2 .fault-power-number,
    .fault-power-item-3 .fault-power-number,
    .fault-power-item-4 .fault-power-number {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 38px !important;
        height: 38px !important;
        margin: -6px auto 0 !important;
        border-width: 3px;
        font-size: 9px !important;
    }

    .fault-power-number::after {
        display: none !important;
    }
}
.industries-power-background {
    opacity: 0.75 !important;
    filter:
        grayscale(5%)
        brightness(1.08)
        contrast(1) !important;
}

.industries-power-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3, 4, 6, 0.7) 0%,
            rgba(5, 6, 8, 0.43) 45%,
            rgba(5, 6, 8, 0.41) 60%,
            rgba(3, 4, 6, 0.68) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.36)
        ) !important;
}

/* Services Hero content — smaller on mobile only */

@media screen and (max-width: 767px) {

    .service-hero-content {
        width: 100%;
        max-width: 210px;
        padding: 36px 2px 25px 26px;
    }

    .service-hero-content::after {
        top: 32px;
        bottom: 28px;
        left: 15px;
    }

    .service-hero-title {
        max-width: 205px;
        margin-bottom: 11px;
        font-size: 19px;
        line-height: 1.05;
        letter-spacing: -0.3px;
    }

    .service-hero-title::after {
        width: 30px;
        margin-top: 7px;
    }

    .service-hero-description {
        max-width: 175px;
        font-size: 6.8px;
        line-height: 1.55;
    }

    .service-hero-buttons {
        gap: 4px;
        margin-top: 12px;
    }

    .service-primary-button,
    .service-secondary-button {
        min-height: 25px;
        padding: 5px 7px;
        font-size: 5.2px;
    }

    .service-primary-button i {
        font-size: 7px;
    }
}

@media screen and (max-width: 390px) {

    .service-hero-content {
        max-width: 190px;
        padding-left: 23px;
    }

    .service-hero-title {
        max-width: 185px;
        font-size: 17px;
    }

    .service-hero-description {
        max-width: 155px;
        font-size: 6px;
    }

    .service-primary-button,
    .service-secondary-button {
        min-height: 23px;
        padding: 5px 6px;
        font-size: 4.7px;
    }
}
/* Services Hero image — smaller on mobile */

@media screen and (max-width: 767px) {
    .service-product-image {
        right: -32px;
        bottom: 6px;
        width: 300px;
        max-width: none;
        max-height: 280px;
    }
}

@media screen and (max-width: 390px) {
    .service-product-image {
        right: -30px;
        bottom: 5px;
        width: 270px;
        max-height: 250px;
    }
}
/* SERVICES HERO — MOBILE HEIGHT ONLY */
@media screen and (max-width: 767px) {

    .service-hero,
    .service-hero-container {
        height: 285px !important;
        min-height: 285px !important;
        max-height: 285px !important;
    }

    .service-hero-content {
        padding-top: 36px !important;
        padding-bottom: 15px !important;
    }

    .service-product-image {
        max-height: 255px !important;
        bottom: 0 !important;
    }
}

@media screen and (max-width: 390px) {

    .service-hero,
    .service-hero-container {
        height: 265px !important;
        min-height: 265px !important;
        max-height: 265px !important;
    }

    .service-hero-content {
        padding-top: 32px !important;
    }

    .service-product-image {
        max-height: 235px !important;
    }
}
/* SERVICES HERO IMAGE — MOBILE POSITION */
@media screen and (max-width: 767px) {

    .service-product-image {
        width: 245px !important;
        max-width: none !important;
        max-height: 225px !important;
        right: -5px !important;
        bottom: 22px !important;
        object-fit: contain;
    }
}

@media screen and (max-width: 390px) {

    .service-product-image {
        width: 220px !important;
        max-height: 205px !important;
        right: -3px !important;
        bottom: 20px !important;
    }
}
@media screen and (min-width: 992px) {
  .industries-power-container.industries-power-container {
    width: calc(100% - 60px) !important;
    max-width: 1360px !important;
    margin-inline: auto !important;
  }
}
@media screen and (max-width: 767px) {
  .service-hero-content {
    padding-top: 18px !important;
    padding-bottom: 10px !important;
  }

  .service-hero-title {
    margin-bottom: 6px !important;
  }

  .service-hero-title::after {
    margin-top: 4px !important;
  }

  .service-hero-buttons {
    margin-top: 7px !important;
  }
}
/* =========================================
   PAGE CONTAINER WIDTH SYSTEM
========================================= */

:is(main .container,.service-hero-container,.choose-aei-container,.fault-power-container,.service-process-container,.industries-power-container,.aei-testimonials-container) {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
}

@media (min-width: 576px) {
    :is(main .container,.service-hero-container,.choose-aei-container,.fault-power-container,.service-process-container,.industries-power-container,.aei-testimonials-container) { max-width: 540px !important; }
}

@media (min-width: 768px) {
    :is(main .container,.service-hero-container,.choose-aei-container,.fault-power-container,.service-process-container,.industries-power-container,.aei-testimonials-container) { max-width: 720px !important; }
}

@media (min-width: 992px) {
    :is(main .container,.service-hero-container,.choose-aei-container,.fault-power-container,.service-process-container,.industries-power-container,.aei-testimonials-container) { max-width: 960px !important; }
}

@media (min-width: 1200px) {
    :is(main .container,.service-hero-container,.choose-aei-container,.fault-power-container,.service-process-container,.industries-power-container,.aei-testimonials-container) { max-width: 1140px !important; }
}

@media (min-width: 1400px) {
    :is(main .container,.service-hero-container,.choose-aei-container,.fault-power-container,.service-process-container,.industries-power-container,.aei-testimonials-container) { max-width: 1320px !important; }
}
/* Services Hero same height as Home — iPhone/mobile only */
@media screen and (max-width: 480px) {
    .service-hero,
    .service-hero-container {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }

    .service-hero-content {
        padding: 22px 3px 18px 25px !important;
    }

    .service-hero-content::after {
        top: 20px !important;
        bottom: 20px !important;
    }

   .service-product-image {
        right: -1px !important;
        bottom: 35px !important;
        width: 180px !important;
        max-height: 140px !important;
    }
}
/* Services Hero content extra compact — iPhone/mobile only */
@media screen and (max-width: 480px) {
    .service-hero-content {
        padding-right: 3px !important;
        padding-left: 18px !important;
    }

    .service-hero-content::after {
        left: 9px !important;
    }

    .service-hero-title {
        max-width: 150px !important;
        margin-bottom: 6px !important;
        font-size: 12px !important;
        line-height: 1.02 !important;
    }

    .service-hero-title::after {
        width: 23px !important;
        margin-top: 5px !important;
    }

    .service-hero-description {
        max-width: 135px !important;
        font-size: 4px !important;
        line-height: 1.35 !important;
    }

    .service-hero-buttons {
        gap: 3px !important;
        margin-top: 7px !important;
    }

    .service-primary-button,
    .service-secondary-button {
        min-height: 21px !important;
        padding: 4px 5px !important;
        font-size: 4px !important;
    }

    .service-primary-button i {
        font-size: 5px !important;
    }
}
/* =========================================
   FAULT TO POWER — COMPACT MOBILE
========================================= */

@media screen and (max-width: 480px) {

    .fault-power-section {
        padding: 24px 15px 28px !important;
    }

    .fault-power-heading {
        margin-bottom: 18px !important;
    }

    .fault-power-heading h2 {
        font-size: 21px !important;
        line-height: 1.05 !important;
    }

    .fault-power-heading-mark {
        margin: 8px auto 6px !important;
    }

    .fault-power-heading-mark i {
        font-size: 15px !important;
    }

    .fault-power-heading p {
        max-width: 300px !important;
        font-size: 8px !important;
        line-height: 1.35 !important;
    }

    .fault-power-process {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 10px !important;
    }

    .fault-power-card-row,
    .fault-power-item-1 .fault-power-card-row,
    .fault-power-item-2 .fault-power-card-row,
    .fault-power-item-3 .fault-power-card-row,
    .fault-power-item-4 .fault-power-card-row {
        gap: 7px !important;
    }

    .fault-power-image {
        height: 105px !important;
        min-height: 105px !important;
        max-height: 105px !important;
    }

    .fault-power-information h3 {
        margin-bottom: 3px !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
    }

    .fault-power-title-line {
        margin-bottom: 4px !important;
    }

    .fault-power-information p,
    .fault-power-item-2 .fault-power-information p,
    .fault-power-item-4 .fault-power-information p {
        font-size: 6.5px !important;
        line-height: 1.35 !important;
    }

    .fault-power-number,
    .fault-power-item-1 .fault-power-number,
    .fault-power-item-2 .fault-power-number,
    .fault-power-item-3 .fault-power-number,
    .fault-power-item-4 .fault-power-number {
        width: 34px !important;
        height: 34px !important;
        margin-top: -6px !important;
        font-size: 8px !important;
    }
}
/* =========================================
   INDUSTRIES WE POWER — COMPACT MOBILE
========================================= */

@media screen and (max-width: 480px) {

    .industries-power-section {
        min-height: 0 !important;
        padding: 24px 15px 22px !important;
    }

    .industries-power-heading {
        margin-bottom: 16px !important;
    }

    .industries-power-label {
        margin-bottom: 3px !important;
        font-size: 7px !important;
        letter-spacing: 1.8px !important;
    }

    .industries-power-heading h2 {
        font-size: 19px !important;
        line-height: 1.05 !important;
    }

    .industries-heading-mark {
        gap: 7px !important;
        margin-top: 6px !important;
    }

    .industries-heading-mark span {
        width: 34px !important;
    }

    .industries-heading-mark i {
        font-size: 14px !important;
    }

    .industries-power-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 10px !important;
    }

    .industries-power-item {
        padding: 0 !important;
    }

    .industries-power-icon {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 6px !important;
        border-radius: 11px !important;
    }

    .industries-power-icon i {
        font-size: 21px !important;
    }

    .industries-power-item h3 {
        font-size: 9px !important;
        line-height: 1.1 !important;
    }

    .industries-power-description {
        max-width: 290px !important;
        margin-top: 16px !important;
        font-size: 8px !important;
        line-height: 1.35 !important;
    }
}
