/* ==========================================================
INDUSTRY HERO
========================================================== */

.industry-hero {
    position: relative;
    height: clamp(420px, 62vh, 650px);
    min-height: 420px;
    overflow: hidden;
}

.industry-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(11,42,74,0.85),
        rgba(11,42,74,0.45)
    );
}

.industry-hero-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 700px;
    color: #fff;
}

.industry-label {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255,255,255,0.15);
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.industry-hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.12;
}

/* ==========================================================
COMMON
========================================================== */

.section-heading {
    margin-bottom: 50px;
}

.section-heading span {
    color: #1091ae;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0b2a4a;
    margin-top: 12px;
}

/* ==========================================================
DETAILS
========================================================== */

.industry-details {
    padding: 90px 0;
    background: #ffffff;
}

.industry-description {
    max-width: 1100px;
    margin: auto;
}

.industry-description p {
    font-size: 17px;
    line-height: 1.9;
    color: #5b6b7a;
    text-align: justify;
}

/* ==========================================================
APPLICATIONS
========================================================== */

.industry-applications {
    padding: 90px 0;
    background: #ffffff;
}

.application-card {
    background: #fb1717;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    height: 100%;
    transition: all .3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.application-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(16,145,174,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.application-icon i {
    font-size: 28px;
    color: #1091ae;
}

.application-card h5 {
    font-size: 16px;
    color: #0b2a4a;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================
PRODUCTS
========================================================== */

.industry-products {
    padding: 30px 0;
    background: #e7faff;
}

.industry-product-card {
    display: block;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    height: 100%;
    transition: all .35s ease;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.industry-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,.15);
}

.industry-product-image {
    height: 230px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .8s ease;
}

.industry-product-card:hover img {
    transform: scale(1.03);
}

.industry-product-content {
    padding: 20px;
    border-top: 1px solid #edf2f7;
}

.industry-product-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #0b2a4a;
    margin: 0;
    text-align: center;
    line-height: 1.45;
}

/* ==========================================================
CTA
========================================================== */

.industry-cta {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        #08446e,
        #1091ae
    );
    color: #fff;
}

.industry-cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.industry-cta p {
    max-width: 750px;
    margin: auto auto 30px;
    opacity: .95;
    line-height: 1.8;
}

.industry-cta .btn {
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
}

/* ==========================================================
RESPONSIVE
========================================================== */

@media(max-width:992px){

    .industry-hero {
        min-height: 420px;
    }

    .industry-hero h1 {
        font-size: 42px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .industry-product-image {
        height: 200px;
    }

    .industry-cta h2 {
        font-size: 30px;
    }
}

@media(max-width:576px){
    .industry-hero-content {
        left: 24px;
        right: 24px;
    }

    .industry-hero h1 {
        font-size: 34px;
    }

    .industry-details,
    .industry-cta {
        padding: 65px 0;
    }

    .industry-description p {
        font-size: 16px;
        text-align: justify;
    }
}



/* ==========================================
PRODUCT GROUPS
========================================== */

.industry-products-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.industry-subcategory-menu {
    position: sticky;
    top: 110px;
    padding: 20px;
    border: 1px solid rgba(16, 145, 174, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 35px rgba(11, 42, 74, .08);
}

.industry-subcategory-menu-title {
    margin-bottom: 14px;
    color: #0b2a4a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.industry-subcategory-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.industry-subcategory-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #476074;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    transition: .25s ease;
}

.industry-subcategory-tab:hover,
.industry-subcategory-tab.active {
    border-color: rgba(16, 145, 174, .18);
    background: #e9f9fc;
    color: #087d99;
}

/* ELNBAR special product card */
.industry-product-card-elnbar {
    border: 1px solid #b9e6f3;
    background: linear-gradient(135deg, #f4fcff 0%, #ffffff 100%);
}

.industry-product-card-elnbar .industry-product-image {
    background: linear-gradient(135deg, #e8f8fd, #f8fcff);
}

.industry-product-card-elnbar .industry-product-image img {
    object-fit: contain;
}

.industry-product-kicker {
    display: block;
    margin-bottom: 7px;
    color: #1091ae;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.industry-product-card-elnbar .industry-product-content h5 {
    margin-bottom: 12px;
}

.industry-product-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #189af0;
    font-size: 12px;
    font-weight: 700;
}

.industry-product-card-elnbar:hover .industry-product-link {
    color: #08446e;
}

.industry-subcategory-tab small {
    flex-shrink: 0;
    color: #8a9aaa;
    font-size: 11px;
    font-weight: 500;
}

.industry-products-panel {
    min-width: 0;
}

.industry-product-group {
    display: none;
    margin-bottom: 0;
}

.industry-product-group.active {
    display: block;
}

.subcategory-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}

.subcategory-heading h3 {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #0b2a4a;
    margin: 0;
    padding-bottom: 12px;
    position: relative;
}

.subcategory-heading h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    border-radius: 10px;
    background: #1091ae;
}

.industry-product-count {
    color: #7890a0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

@media(max-width:992px){
    .industry-products-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 22px;
    }
}

@media(max-width:767px){
    .industry-products-layout {
        display: block;
    }

    .industry-subcategory-menu {
        position: static;
        margin-bottom: 26px;
        padding: 15px;
    }

    .industry-subcategory-menu-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industry-subcategory-tab {
        display: block;
        min-height: 62px;
    }

    .industry-subcategory-tab small {
        display: block;
        margin-top: 4px;
    }
}

@media(max-width:480px){
    .industry-subcategory-menu-list {
        grid-template-columns: 1fr;
    }

    .subcategory-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================
   MOBILE RECOMMENDED SOLUTIONS REFINEMENTS
========================================================== */
@media(max-width:767px){
    .industry-products {
        padding: 42px 0 50px;
    }

    .industry-products .section-heading {
        margin-bottom: 30px;
        padding: 0 8px;
    }

    .industry-products .section-heading span {
        font-size: 11px;
        letter-spacing: 1.1px;
    }

    .industry-products .section-heading h2 {
        margin-top: 9px;
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.25;
    }

    .industry-subcategory-menu {
        margin-bottom: 20px;
        padding: 10px;
        border-radius: 13px;
        box-shadow: 0 7px 18px rgba(11, 42, 74, .06);
    }

    .industry-subcategory-menu-title {
        position: relative;
        margin-bottom: 8px;
        padding-bottom: 8px;
        font-size: 12px;
        text-align: center;
    }

    .industry-subcategory-menu-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 42px;
        height: 2px;
        border-radius: 4px;
        background: #1091ae;
        transform: translateX(-50%);
    }

    .industry-subcategory-menu-list {
        display: flex;
        flex-direction: row;
        gap: 0;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: thin;
    }

    .industry-subcategory-tab,
    .industry-subcategory-tab:hover,
    .industry-subcategory-tab.active {
        flex: 0 0 auto;
        width: max-content;
        min-width: 0;
        max-width: none;
        min-height: 44px;
        padding: 9px 11px;
        text-align: left;
    }

    .industry-subcategory-tab + .industry-subcategory-tab {
        margin-left: 6px;
        padding-left: 17px;
        border-left: 1px solid #b9dce8;
        border-radius: 0 11px 11px 0;
    }

    .industry-subcategory-tab span {
        display: block;
        white-space: nowrap;
    }

    .industry-subcategory-tab small {
        display: none;
    }

    .subcategory-heading {
        margin-bottom: 18px;
    }

    .subcategory-heading h3 {
        font-size: 21px;
        line-height: 1.3;
    }

    .industry-product-image {
        height: 180px;
        padding: 20px;
    }

    .industry-product-content {
        padding: 16px;
    }

    .industry-product-card {
        border-radius: 15px;
    }
}

