﻿/* =========================================================
   PIHM INFRASTRUCTURE HERO
   Fully isolated from Kingster / GDLR Core CSS
   ========================================================= */

.pihm-infrastructure-page {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   HERO
   ========================================================= */

.pihm-infrastructure-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #192f59 0%, #233f70 55%, #17294b 100%);
}


    /* =========================================================
   DECORATIVE CIRCLES
   ========================================================= */

    .pihm-infrastructure-hero::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(239, 127, 27, 0.10);
        top: -180px;
        right: -100px;
    }


    .pihm-infrastructure-hero::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
        bottom: -170px;
        left: -80px;
    }


/* =========================================================
   HERO INNER
   ========================================================= */

.pihm-infrastructure-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 30px;
    text-align: center;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.pihm-infrastructure-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    color: #ef7f1b;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================================================
   MAIN HEADING
   ========================================================= */

.pihm-infrastructure-hero h1 {
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-family: "Playfair Display", serif !important;
    font-size: clamp(38px, 5vw, 68px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: normal;
    text-transform: none !important;
}


    /* Orange part of heading */

    .pihm-infrastructure-hero h1 span {
        color: #ef7f1b !important;
        font-family: "Playfair Display", serif !important;
    }


/* =========================================================
   DESCRIPTION
   ========================================================= */

.pihm-infrastructure-hero-description {
    max-width: 760px;
    margin: 0 auto 35px !important;
    color: rgba(255,255,255,0.84) !important;
    font-family: Poppins, sans-serif;
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-weight: 400;
    font-style: normal;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.pihm-infrastructure-hero-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}


/* =========================================================
   HIGHLIGHT PILL
   ========================================================= */

.pihm-infrastructure-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 30px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 500;
}


    /* =========================================================
   HIGHLIGHT ICON
   ========================================================= */

    .pihm-infrastructure-highlight i {
        color: #ef7f1b;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .pihm-infrastructure-hero {
        min-height: 430px;
    }

    .pihm-infrastructure-hero-inner {
        padding: 70px 25px;
    }

    .pihm-infrastructure-hero h1 {
        font-size: 46px !important;
    }

    .pihm-infrastructure-hero-description {
        max-width: 680px;
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .pihm-infrastructure-hero {
        min-height: auto;
    }

    .pihm-infrastructure-hero-inner {
        padding: 65px 18px 60px;
    }

    .pihm-infrastructure-eyebrow {
        margin-bottom: 15px;
        padding: 7px 14px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .pihm-infrastructure-hero h1 {
        margin-bottom: 16px !important;
        font-size: 36px !important;
        line-height: 1.18 !important;
        letter-spacing: normal;
    }

    .pihm-infrastructure-hero-description {
        margin-bottom: 28px !important;
        padding: 0 5px;
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .pihm-infrastructure-hero-highlights {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 32px;
    }

    .pihm-infrastructure-highlight {
        width: 100%;
        max-width: 290px;
        justify-content: center;
        min-height: 45px;
        padding: 9px 14px;
        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .pihm-infrastructure-hero-inner {
        padding: 55px 15px 50px;
    }

    .pihm-infrastructure-hero h1 {
        font-size: 31px !important;
    }

    .pihm-infrastructure-hero-description {
        font-size: 13.5px !important;
    }

    .pihm-infrastructure-highlight {
        max-width: 270px;
        font-size: 12.5px;
    }
}




/* =========================================================
   PIHM INFRASTRUCTURE GALLERY
   Fully isolated from Kingster / GDLR CSS
   ========================================================= */

.pihm-infrastructure-gallery {
    width: 100%;
}


    /* =========================================================
   GALLERY GRID
   ========================================================= */

    .pihm-infrastructure-gallery
    .gdlr-core-gallery-item-holder {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }


        /* =========================================================
   REMOVE KINGSTER COLUMN WIDTH BEHAVIOUR
   ========================================================= */

        .pihm-infrastructure-gallery
        .gdlr-core-gallery-item-holder
        .gdlr-core-gallery-column {
            width: 100% !important;
            float: none !important;
            clear: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }


    /* =========================================================
   IMAGE CONTAINER
   ========================================================= */

    .pihm-infrastructure-gallery
    .gdlr-core-gallery-list {
        width: 100%;
        overflow: hidden;
    }


        /* =========================================================
   IMAGE
   ========================================================= */

        .pihm-infrastructure-gallery
        .gdlr-core-gallery-list img {
            display: block !important;
            width: 100% !important;
            height: 100% !important;
            aspect-ratio: 4 / 3;
            object-fit: cover !important;
            object-position: center center;
        }


        /* =========================================================
   LIGHTBOX LINK
   ========================================================= */

        .pihm-infrastructure-gallery
        .gdlr-core-gallery-list > a {
            display: block;
            width: 100%;
            height: 100%;
        }


        /* =========================================================
   IMAGE HOVER
   ========================================================= */

        .pihm-infrastructure-gallery
        .gdlr-core-gallery-list img {
            transition: transform 0.4s ease;
        }

        .pihm-infrastructure-gallery
        .gdlr-core-gallery-list:hover img {
            transform: scale(1.03);
        }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .pihm-infrastructure-gallery
    .gdlr-core-gallery-item-holder {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .pihm-infrastructure-gallery
    .gdlr-core-gallery-item-holder {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pihm-infrastructure-gallery
    .gdlr-core-gallery-list img {
        aspect-ratio: 4 / 3;
    }
}
