

/* ================================================================
   BANNER
   ================================================================ */
.industryBanner {
    position: relative;
    padding: 170px 0 70px;
    text-align: center;
    overflow: hidden;
}

.industryBannerBg {
    position: absolute;
    inset: 0;
    background: url(../images/about-us/inner-banner-bg.jpg) center/cover no-repeat;
    z-index: 0;
}

.industryBannerBg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(220, 247, 210, 0.92) 0%, rgba(245, 255, 240, 0.88) 50%, rgba(255, 255, 255, 0.90) 100%);
}

.industryBannerInner {
    position: relative;
    z-index: 1;
}

.industryBanner .breadcrumbWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.industryBanner .breadcrumbWrap a {
    font-size: 15px;
    color: #555;
    transition: color 0.3s ease;
}

.industryBanner .breadcrumbWrap a:hover {
    color: var(--blue);
}

.industryBanner .breadcrumbSep {
    color: #999;
    font-size: 14px;
}

.industryBanner .breadcrumbCurrent {
    font-size: 15px;
    color: var(--green);
    font-weight: 600;
}

.industryBannerTitle {
    font-size: 55px;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 22px;
    font-family: "Nata Sans", sans-serif;
    letter-spacing: 1px;
}

.industryBannerSubtitle {
    font-size: 17px;
    color: #444;
    line-height: 1.75;
    max-width: 700px;
    margin: 0 auto;
}

/* ================================================================
   SECTION
   ================================================================ */
.industryListingSec {
    background-color: #fff;
    padding-top: 80px;
    padding-bottom: 100px;
}

/* ================================================================
   BENTO GRID
   ================================================================ */
.industryBentoGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 265px 265px 210px 210px;
    gap: 14px;
}

/* Oil & Gas — col 1, rows 1–2 */
.industryCard--oil-gas {
    grid-column: 1;
    grid-row: 1 / 3;
}

/* Agriculture — col 2, row 1 */
.industryCard--agriculture {
    grid-column: 2;
    grid-row: 1;
}

/* Food & Chemical Manufacturing — col 3, row 1 */
.industryCard--food-chemical {
    grid-column: 3;
    grid-row: 1;
}

/* Pharma & Biotech — col 2, row 2 */
.industryCard--pharma {
    grid-column: 4/2;
    grid-row: 2;
}

/* Brand / Logo — col 3, row 2 */
.industryCard--brand {
    grid-column: 3;
    grid-row: 2;
}

/* Flame Retardants — cols 1–2, row 3 */
.industryCard--flame {
    grid-column: 1 / 3;
    grid-row: 3;
}

/* Water Treatment — col 3, row 3 */
.industryCard--water {
    grid-column: 3;
    grid-row: 3;
}

/* Mining & Mineral Exploration — col 1, row 4 */
.industryCard--mining {
    grid-column: 1;
    grid-row: 4;
}

/* Energy Storage — cols 2–3, row 4 */
.industryCard--energy {
    grid-column: 2 / 4;
    grid-row: 4;
}

/* ================================================================
   CARD BASE
   ================================================================ */
.industryCard {
    border-radius: 18px;
    overflow: hidden;
}

.industryCardInner {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Gradient overlay */
.industryCardOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
    border-radius: 18px;
    transition: background 0.4s ease;
}

.industryCard:hover .industryCardOverlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.82) 100%);
}

/* Card content */
.industryCardContent {
    position: relative;
    z-index: 2;
    padding: 24px 26px 26px;
}

.industryCardTitle {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    font-family: "Nata Sans", sans-serif;
    line-height: 1.25;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

/* Oil & Gas is bigger — larger title */
.industryCard--oil-gas .industryCardTitle {
    font-size: 26px;
    margin-bottom: 10px;
}

/* Extra content (desc + button) – hidden by default, revealed on hover */
.industryCardExtra {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: max-height 0.45s ease, opacity 0.4s ease, transform 0.4s ease;
}

.industryCard:hover .industryCardExtra {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

/* Oil & Gas always shows content since card is large */


.industryCardDesc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-top: 10px;
    margin-bottom: 18px;
}

/* View Details button */
.industryViewBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    border-radius: 8px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: 0.45s;
    font-size: 14px;
}

.industryViewBtn span {
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    font-family: "Manjari", sans-serif;
}

.industryViewBtn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #048FEA, #282C75);
    transition: 0.45s;
}

.industryViewBtn:hover {
    border: 1px solid var(--blue);
    background-color: #fff;
}

.industryViewBtn:hover span {
    color: #048FEA;
}

.industryViewBtn:hover::before {
    width: 0;
}

/* ================================================================
   BRAND / LOGO CARD
   ================================================================ */
.industryCardInner--brand {
    background: linear-gradient(145deg, #f0faf0 0%, #e8f5e2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.industryBrandLogo {
    width: auto;
    max-width: 180px;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(61, 199, 24, 0.18));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.industryCard--brand:hover .industryBrandLogo {
    transform: scale(1.06);
    filter: drop-shadow(0 6px 22px rgba(61, 199, 24, 0.3));
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1199px) {
    .industryBentoGrid {
        grid-template-rows: 240px 240px 190px 190px;
        gap: 12px;
    }

    .industryBannerTitle {
        font-size: 46px;
    }
}

@media (max-width: 900px) {
    .industryBentoGrid {
        grid-template-rows: 210px 210px 170px 170px;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .industryBentoGrid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 200px 200px 180px 180px 190px;
        gap: 10px;
    }

    /* Reset explicit placement then reassign for 2-col */
    .industryCard--oil-gas     { grid-column: 1 / 3; grid-row: 1; }
    .industryCard--agriculture { grid-column: 1;     grid-row: 2; }
    .industryCard--food-chemical { grid-column: 2;   grid-row: 2; }
    .industryCard--pharma      { grid-column: 1/3;     grid-row: 3; }
    .industryCard--brand       { grid-column: 2;     grid-row: 3; }
    .industryCard--flame       { grid-column: 1 / 3; grid-row: 4; }
    .industryCard--water       { grid-column: 1 / 3; grid-row: 5; }
    .industryCard--mining      { grid-column: 1;     grid-row: 6; }
    .industryCard--energy      { grid-column: 2;     grid-row: 6; }

    .industryBannerTitle {
        font-size: 30px;
    }

    .industryBannerSubtitle br {
        display: none;
    }

    .industryBanner {
        padding: 120px 20px 55px;
    }

    .industryCardExtra {
        max-height: 0 !important;
        opacity: 0 !important;
    }

    .industryCard--oil-gas .industryCardExtra {
        max-height: 160px !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .industryBentoGrid {
        grid-template-columns: 1fr;
        grid-template-rows: 280px 200px 200px 200px 160px 180px 180px 180px 0;
        gap: 10px;
    }

    .industryCard--oil-gas     { grid-column: 1; grid-row: 1; }
    .industryCard--agriculture { grid-column: 1; grid-row: 2; }
    .industryCard--food-chemical { grid-column: 1; grid-row: 3; }
    .industryCard--pharma      { grid-column: 1; grid-row: 4; }
    /* .industryCard--brand       { grid-column: 1; grid-row: 5; } */
    .industryCard--flame       { grid-column: 1; grid-row: 5; }
    .industryCard--water       { grid-column: 1; grid-row: 6; }
    .industryCard--mining      { grid-column: 1; grid-row: 7; }
    .industryCard--energy      { grid-column: 1; grid-row: 8; }

    .industryBanner {
        padding: 110px 15px 45px;
    }
}

/*===industry-listing.css end===*/
