/* =========================================================
   FLUXTQ INFRASTRUCTURE PAGE
   Page-specific styles only.
   Header and footer are inherited from home.css.
   ========================================================= */

:root {
    --infra-blue: #075bc5;
    --infra-navy: #082b59;
    --infra-dark: #062653;
    --infra-red: #ed2638;
    --infra-text: #102653;
    --infra-light: #eef7ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--infra-text);
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   HERO BANNER
   ========================================================= */

.infra-hero {
    position: relative;
    display: grid;
    grid-template-columns: 49% 51%;
    min-height: 215px;
    height: 215px;
    overflow: hidden;
    background: #0b315f;
}

.infra-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 21px 30px 20px 5.5%;
    color: #fff;
    background: linear-gradient(110deg, #082b59, #06336b);
}

.infra-hero-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: -70px;
    width: 100px;
    height: 100%;
    z-index: 1;
    background: #06336b;
    transform: skewX(-24deg);
    transform-origin: top;
}

.infra-breadcrumb {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.infra-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.infra-breadcrumb a:hover {
    color: #9dcaff;
}

.infra-hero-title {
    position: relative;
    z-index: 3;
    padding-left: 16px;
    border-left: 5px solid var(--infra-red);
}

.infra-hero-title h1 {
    margin: -3px 0 10px;
    color: #fff;
    font-size: clamp(29px, 3.1vw, 39px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
}

.infra-hero-title p {
    max-width: 390px;
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.65;
}

.infra-hero-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.infra-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   QUICK HIGHLIGHTS
   ========================================================= */

.infra-highlights {
    position: relative;
    z-index: 3;
    width: 93%;
    max-width: 1500px;
    min-height: 86px;
    margin: 13px auto 28px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1.05fr 1.05fr 1.15fr .95fr;
    align-items: center;
    border-radius: 17px;
    background: #f3f9ff;
    box-shadow: 0 8px 20px rgba(17, 55, 95, .08);
}

.infra-highlight {
    min-width: 0;
    min-height: 52px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-right: 1px solid #c8d9ed;
}

.infra-highlight:last-child {
    border-right: 0;
}

.highlight-icon-circle {
    width: 53px;
    height: 53px;
    flex: 0 0 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcefff;
}

.highlight-icon-circle svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--infra-blue);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.infra-highlight h3 {
    margin: 0 0 5px;
    color: var(--infra-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.infra-highlight p {
    margin: 2px 0;
    color: #102653;
    font-size: 11px;
    line-height: 1.4;
}


/* =========================================================
   FACTORY OVERVIEW
   ========================================================= */

.infra-overview {
    width: 89%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 9px 0 17px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 39px;
}

.infra-overview-image {
    position: relative;
    min-width: 0;
    height: 232px;
    padding-left: 0;
}

.infra-overview-image::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 28px;
    width: 30px;
    height: 74%;
    border-radius: 15px 0 0 15px;
    background: var(--infra-red);
}

.infra-overview-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 17px;
    box-shadow: 0 7px 22px rgba(10, 39, 77, .10);
}

.infra-overview-content {
    min-width: 0;
    padding-left: 0;
}

.infra-overview-content h2 {
    margin: 0 0 8px;
    color: var(--infra-text);
    font-size: clamp(23px, 2.5vw, 29px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.red-underline {
    display: block;
    width: 38px;
    height: 4px;
    margin-bottom: 13px;
    background: var(--infra-red);
}

.overview-description {
    margin: 0 0 13px;
    color: #102653;
    font-size: 13px;
    line-height: 1.65;
}

.infra-facts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.infra-facts li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 8px;
    color: #102653;
    font-size: 12px;
    line-height: 1.45;
}

.red-check {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--infra-red);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   CAPABILITY SECTION
   ========================================================= */

.infra-capabilities {
    width: 100%;
    padding: 8px 0 29px;
    background: #fff;
}

.infra-section-heading {
    width: 90%;
    margin: 0 auto 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
}

.infra-section-heading span {
    width: 47px;
    height: 4px;
    flex: 0 0 47px;
    background: var(--infra-red);
}

.infra-section-heading h2 {
    margin: 0;
    color: var(--infra-text);
    text-align: center;
    font-size: clamp(21px, 2.5vw, 27px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.6px;
}

.infra-section-description {
    width: 90%;
    margin: 0 auto 26px;
    color: #102653;
    text-align: center;
    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   CAPABILITY CARDS - 8 ITEMS
   ========================================================= */

.capability-grid {
    width: 91.5%;
    max-width: 1450px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.capability-card {
    position: relative;
    min-width: 0;
    height: 265px;
    overflow: hidden;
    border-radius: 17px;
    background: #082e60;
    box-shadow: 0 5px 12px rgba(8, 43, 89, .10);
}

.capability-card > img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.capability-card:hover > img {
    transform: scale(1.04);
}

.capability-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 97px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: linear-gradient(105deg, #06417f, #052b59);
    color: #fff;
}

.capability-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #07509b;
}

.capability-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.capability-info h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.capability-info p {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}


/* =========================================================
   OPERATIONAL STRENGTHS
   ========================================================= */

.operational-strengths {
    min-height: 120px;
    padding: 18px 5.5%;
    display: grid;
    grid-template-columns: 1.35fr repeat(5, 1fr);
    align-items: center;
    background: linear-gradient(100deg, #e7f5ff, #f1f8ff);
}

.operational-title {
    min-height: 75px;
    display: flex;
    align-items: center;
    padding-right: 22px;
    border-right: 1px solid #9fc5ed;
}

.operational-title h2 {
    margin: 0;
    color: var(--infra-text);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.operational-item {
    min-height: 75px;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-right: 1px solid #9fc5ed;
    text-align: center;
}

.operational-item:last-child {
    border-right: 0;
}

.operational-item svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #0750a5;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.operational-item strong {
    color: #102653;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}


/* =========================================================
   TABLET RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .infra-hero {
        grid-template-columns: 50% 50%;
        height: 230px;
        min-height: 230px;
    }

    .infra-hero-content {
        padding-left: 5%;
    }

    .infra-hero-title h1 {
        font-size: 31px;
    }

    .infra-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 0;
        padding: 15px;
    }

    .infra-highlight:nth-child(2) {
        border-right: 0;
    }

    .infra-overview {
        width: 90%;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .infra-overview-image {
        height: 210px;
    }

    .infra-facts li {
        font-size: 11px;
    }

    .capability-grid {
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .capability-card {
        height: 265px;
    }

    .capability-info {
        padding: 10px;
        gap: 9px;
    }

    .capability-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .capability-info h3 {
        font-size: 14px;
    }

    .capability-info p {
        font-size: 12px;
    }

    /* Operational strengths: title on its own row */

    .operational-strengths {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 0;
        padding: 20px 4%;
    }

    .operational-title {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 50px;
        padding: 0 0 12px;
        border-right: 0;
        border-bottom: 1px solid #9fc5ed;
        text-align: center;
    }

    .operational-title h2 {
        text-align: center;
    }

    .operational-item {
        min-height: 75px;
    }

    .operational-item:nth-child(4) {
        border-right: 0;
    }
}


/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .infra-hero {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .infra-hero-content {
        min-height: 215px;
        padding: 20px 6%;
    }

    .infra-hero-content::after {
        display: none;
    }

    .infra-hero-title h1 {
        font-size: 32px;
    }

    .infra-hero-image {
        height: 190px;
    }

    .infra-highlights {
        width: 92%;
        grid-template-columns: 1fr;
        margin-top: 15px;
        padding: 12px;
    }

    .infra-highlight {
        min-height: 65px;
        border-right: 0;
        border-bottom: 1px solid #c8d9ed;
    }

    .infra-highlight:last-child {
        border-bottom: 0;
    }

    .infra-overview {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 23px;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .infra-overview-image {
        height: 220px;
    }

    .infra-overview-content h2 {
        font-size: 25px;
    }

    .infra-section-heading {
        gap: 9px;
    }

    .infra-section-heading span {
        width: 22px;
        flex-basis: 22px;
    }

    .infra-section-heading h2 {
        font-size: 20px;
    }

    .infra-section-description {
        font-size: 11px;
    }

    .capability-grid {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .capability-card {
        height: 225px;
    }

    .capability-card > img {
        height: 145px;
    }

    .capability-info {
        min-height: 80px;
        padding: 9px 12px;
    }

    .capability-info h3 {
        font-size: 13px;
    }

    .capability-info p {
        font-size: 10px;
    }

    /* Operational strengths: two-column mobile layout */

    .operational-strengths {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 0;
        padding: 22px 6%;
    }

    .operational-title {
        grid-column: 1 / -1;
        min-height: 45px;
        justify-content: center;
        border-right: 0;
        border-bottom: 1px solid #9fc5ed;
        padding: 0 0 12px;
        text-align: center;
    }

    .operational-title h2 {
        font-size: 20px;
        text-align: center;
    }

    .operational-title h2 br {
        display: none;
    }

    .operational-item {
        min-height: 80px;
        border-right: 0;
    }

    .operational-item strong {
        font-size: 12px;
    }
}


/* =========================================================
   GLOBAL TYPOGRAPHY FOR INFRASTRUCTURE CONTENT
   Header and footer typography come from home.css.
   ========================================================= */

body,
button,
input,
textarea,
select {
    font-family: Arial, Helvetica, sans-serif;
}

.infra-hero-title h1,
.infra-overview-content h2,
.infra-section-heading h2,
.infra-highlight h3,
.capability-info h3,
.operational-title h2,
.operational-item strong {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}

.infra-hero-title p,
.overview-description,
.infra-section-description,
.infra-highlight p,
.infra-facts li,
.capability-info p {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
}


/*  */

/* =========================================================
   INFRASTRUCTURE HERO - REFINED DESIGN
   ========================================================= */

.infra-hero {
    position: relative;
    display: grid;
    grid-template-columns: 49% 51%;
    min-height: 250px;
    height: 250px;
    overflow: hidden;
    background: #082e60;
}

/* LEFT CONTENT AREA */

.infra-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px 55px 35px 5.5%;
    background: linear-gradient(
        110deg,
        #082b59 0%,
        #0a3975 100%
    );
}

/* DIAGONAL TRANSITION */

.infra-hero-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: -65px;
    width: 110px;
    height: 100%;
    background: #0a3975;
    transform: skewX(-22deg);
    transform-origin: top;
    z-index: 1;
}

/* HEADING BLOCK */

.infra-hero-title {
    position: relative;
    z-index: 3;
    max-width: 590px;
    padding-left: 22px;
    border-left: 5px solid #ed2638;
}

.infra-hero-title h1 {
    margin: 0 0 17px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(38px, 4.2vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
}

.infra-hero-title p {
    max-width: 490px;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

/* RIGHT IMAGE AREA */

.infra-hero-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

/* BLUR THE AI-GENERATED IMAGE */

.infra-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(2px);
    transform: scale(1.06);
    transition: filter 0.4s ease;
}

/* SOFT BLUE OVERLAY FOR A NATURAL LOOK */

.infra-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 43, 89, 0.18),
        rgba(8, 43, 89, 0.05)
    );
    pointer-events: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .infra-hero {
        height: 285px;
        min-height: 285px;
        grid-template-columns: 50% 50%;
    }

    .infra-hero-content {
        padding: 30px 35px 30px 5%;
    }

    .infra-hero-title h1 {
        font-size: 38px;
    }

    .infra-hero-title p {
        font-size: 14px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .infra-hero {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .infra-hero-content {
        min-height: 235px;
        padding: 35px 7%;
    }

    .infra-hero-content::after {
        display: none;
    }

    .infra-hero-title {
        padding-left: 17px;
    }

    .infra-hero-title h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .infra-hero-title p {
        font-size: 14px;
        line-height: 1.65;
    }

    .infra-hero-image {
        height: 170px;
    }

    .infra-hero-image img {
        filter: blur(6px);
    }

}
