/* =========================================================
   B-I INDUSTRIES PRODUCT PAGE
   File: assets/css/product_BI.css
   ========================================================= */

/* -----------------------------
   Base / Page Shell
----------------------------- */
.bi-product-page {
    background: #0b0f14;
    color: #e9eef5;
    overflow-x: hidden;
}

.bi-product-page a {
    text-decoration: none;
}

.body_wrap.o-clip {
    position: relative;
    overflow: visible;
}

.body-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 900;
}

.body-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Make sure header stays above hero and dropdowns are not clipped */
#header {
    position: relative;
    z-index: 1000;
}

#header .menu-area,
#header .main-menu,
#header .submenu,
#header .dropdown-menu {
    z-index: 1100;
}

/* If your dropdown is inside a header wrapper, keep it on top */
#header .submenu,
#header .dropdown-menu {
    position: absolute;
}

/* -----------------------------
   Back to Top / Preloader
----------------------------- */
.xb-backtotop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
}

.xb-backtotop a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #0b0f14;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.preloader {
    position: fixed;
    inset: 0;
    background: #0b0f14;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loader-circle {
    width: 96px;
    height: 96px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-line-mask {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
}

.loader-line {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
}

.loader-logo img {
    width: 44px;
    height: auto;
    position: relative;
    z-index: 1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* -----------------------------
   Layout Helpers
----------------------------- */
.bi-page {
    position: relative;
    z-index: 1;
}

.bi-section {
    padding: 90px 0;
    position: relative;
}

.section-heading {
    margin-bottom: 0;
}

.section-heading span,
.bi-eyebrow,
.bi-label,
.bi-jnk-label {
    display: inline-block;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: #8fb3ff;
    margin-bottom: 14px;
}

.section-heading h2,
.bi-hero h1,
.bi-jnk-section h2,
.bi-cta h2 {
    margin: 0;
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
}

.section-heading p,
.bi-text,
.bi-hero-description,
.bi-hero-subtitle,
.bi-cta p {
    color: rgba(233, 238, 245, 0.78);
    line-height: 1.75;
}

.section-heading.light span,
.section-heading.light h2,
.section-heading.light p {
    color: #ffffff;
}

.section-heading h2 strong,
.bi-hero h1 span,
.bi-jnk-section h2 strong,
.bi-cta h2 strong {
    color: #7fb2ff;
    font-weight: 800;
}

.section-heading.text-center {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------
   Hero
----------------------------- */
.bi-hero {
    position: relative;
    padding: 120px 0 90px;
    background:
        radial-gradient(circle at top left, rgba(83, 136, 255, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(0, 255, 209, 0.08), transparent 25%),
        linear-gradient(180deg, #10161f 0%, #0b0f14 100%);
    overflow: hidden;
    z-index: 1;
}

.bi-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.15;
    pointer-events: none;
}

.bi-hero .container {
    position: relative;
    z-index: 2;
}

.dps-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 14px;
}

.dps-breadcrumb a,
.dps-breadcrumb span {
    color: rgba(233, 238, 245, 0.75);
}

.dps-breadcrumb a:hover {
    color: #ffffff;
}

.bi-label {
    color: #9ec2ff;
    margin-bottom: 14px;
}

.bi-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    margin-bottom: 18px;
}

.bi-hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #d9e6ff;
}

.bi-hero-description {
    max-width: 560px;
    margin-bottom: 28px;
}

.bi-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 3;
}

.btn.bi-btn-primary,
.btn.bi-btn-outline {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn.bi-btn-primary {
    background: #ffffff;
    color: #0b0f14;
    border: 1px solid #ffffff;
}

.btn.bi-btn-primary:hover {
    background: transparent;
    color: #ffffff;
}

.btn.bi-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn.bi-btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.bi-hero-product {
    position: relative;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-hero-product::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 178, 255, 0.24), transparent 68%);
    filter: blur(10px);
}

.bi-hero-product img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.35));
}

/* -----------------------------
   Agent Strip
----------------------------- */
.bi-agent-strip {
    background: #111722;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0;
}

.bi-agent-strip span {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bi-agent-strip small {
    color: rgba(233, 238, 245, 0.7);
}

.bi-agent-strip strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
}

.bi-agent-strip .text-md-end {
    text-align: right;
}

/* -----------------------------
   Cards
----------------------------- */
.bi-feature-card,
.bi-component-card,
.bi-application-card,
.bi-advantage,
.bi-jnk-card {
    background: #121922;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.bi-feature-card {
    padding: 26px 22px;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.bi-feature-card:hover,
.bi-advantage:hover,
.bi-component-card:hover,
.bi-application-card:hover,
.bi-jnk-card:hover {
    transform: translateY(-4px);
    border-color: rgba(127, 178, 255, 0.35);
}

.bi-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(127, 178, 255, 0.12);
    color: #8eb8ff;
    font-size: 22px;
    margin-bottom: 18px;
}

.bi-feature-card h3,
.bi-component-card h3,
.bi-application-card h3,
.bi-advantage h3,
.bi-jnk-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.bi-feature-card p,
.bi-component-card p,
.bi-application-card p,
.bi-advantage p,
.bi-text {
    color: rgba(233, 238, 245, 0.76);
    margin-bottom: 0;
}

/* -----------------------------
   Process
----------------------------- */
.bi-how-it-works {
    padding: 90px 0;
    background:
        linear-gradient(180deg, #0f1520 0%, #0b0f14 100%);
}

.bi-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.bi-process-item {
    background: #121922;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    position: relative;
}

.bi-process-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(127, 178, 255, 0.14);
    color: #8eb8ff;
    font-weight: 800;
    margin-bottom: 14px;
}

.bi-process-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
}

.bi-process-line {
    display: none;
}

.bi-process-item h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
}

.bi-process-item p {
    color: rgba(233, 238, 245, 0.76);
    margin-bottom: 0;
}

/* -----------------------------
   Components Grid
----------------------------- */
.bi-component-card {
    height: 100%;
    padding: 20px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.bi-component-card img {
    width: 100%;
    max-width: 110px;
    height: auto;
    margin-bottom: 16px;
}

.bi-component-card h3 {
    font-size: 16px;
    margin-bottom: 0;
}

/* -----------------------------
   Advantages
----------------------------- */
.bi-advantages {
    padding: 90px 0;
    background: #0f1520;
}

.bi-advantage {
    display: flex;
    gap: 16px;
    padding: 22px;
    align-items: flex-start;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.bi-advantage i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(127, 178, 255, 0.14);
    color: #8eb8ff;
    font-size: 18px;
}

.bi-advantage p {
    margin-bottom: 0;
}

/* -----------------------------
   Application cards
----------------------------- */
.bi-application-card {
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.bi-application-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.bi-application-card > div {
    padding: 18px 18px 20px;
}

/* -----------------------------
   Standards
----------------------------- */
.bi-standards {
    padding: 90px 0;
    background: linear-gradient(180deg, #10161f 0%, #0b0f14 100%);
}

.bi-standard-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bi-standard-list > div {
    background: #121922;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.bi-standard-list i {
    color: #8eb8ff;
}

.bi-about-image {
    border-radius: 22px;
    width: 100%;
    height: auto;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.bi-highlight {
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(127, 178, 255, 0.12);
    border: 1px solid rgba(127, 178, 255, 0.18);
}

.bi-highlight strong {
    display: block;
    font-size: 38px;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 8px;
}

.bi-highlight span {
    color: rgba(233, 238, 245, 0.8);
}

/* -----------------------------
   JNK / Partner
----------------------------- */
.bi-jnk-section {
    padding: 90px 0;
    background: #0b0f14;
}

.bi-jnk-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.bi-jnk-features > div {
    background: #121922;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bi-jnk-features i {
    color: #8eb8ff;
}

.bi-jnk-card {
    padding: 28px;
    text-align: center;
}

.bi-jnk-logo {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
}

/* -----------------------------
   CTA
----------------------------- */
.bi-cta {
    padding: 90px 0;
    background:
        radial-gradient(circle at center, rgba(127, 178, 255, 0.12), transparent 35%),
        linear-gradient(180deg, #111722 0%, #0b0f14 100%);
}

.bi-cta .container {
    max-width: 1040px;
}

.bi-cta h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 16px;
}

.bi-cta-buttons {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.bi-cta .btn.bi-btn-primary,
.bi-cta .btn.bi-btn-outline {
    min-width: 170px;
}

.bi-cta .btn.bi-btn-primary {
    color: #0b0f14;
}

.bi-cta .btn.bi-btn-primary:hover {
    color: #ffffff;
}

/* -----------------------------
   Table / Text utilities
----------------------------- */
.table-responsive {
    border-radius: 18px;
    overflow: hidden;
}

.bi-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #121922;
    color: #e9eef5;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.bi-spec-table thead th {
    background: #172131;
    color: #ffffff;
    text-align: left;
    padding: 16px 18px;
    font-size: 14px;
}

.bi-spec-table tbody td,
.bi-spec-table tbody th {
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.bi-spec-table tbody th {
    white-space: nowrap;
    width: 260px;
    color: #ffffff;
    font-weight: 700;
}

.bi-spec-table tbody tr:hover {
    background: rgba(127, 178, 255, 0.04);
}

.bi-text {
    line-height: 1.8;
}

.mb-55 {
    margin-bottom: 55px;
}

/* -----------------------------
   Existing custom elements
----------------------------- */
.bi-section-heading,
.bi-section-heading--center {
    margin-bottom: 28px;
}

.bi-section-heading h2,
.bi-section-heading--center h2 {
    font-size: clamp(28px, 4vw, 46px);
}

.bi-section-intro {
    color: rgba(233, 238, 245, 0.78);
    line-height: 1.8;
}

/* -----------------------------
   Responsive
----------------------------- */
@media (max-width: 1199px) {
    .bi-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bi-hero {
        padding-top: 100px;
    }
}

@media (max-width: 991px) {
    .bi-hero {
        padding: 90px 0 70px;
    }

    .bi-hero-product {
        margin-top: 30px;
    }

    .bi-standard-list,
    .bi-jnk-features {
        grid-template-columns: 1fr;
    }

    .bi-section {
        padding: 75px 0;
    }

    .bi-agent-strip .text-md-end {
        text-align: left;
        margin-top: 14px;
    }
}

@media (max-width: 767px) {
    .bi-hero h1 {
        font-size: 34px;
    }

    .bi-hero-subtitle {
        font-size: 16px;
    }

    .bi-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn.bi-btn-primary,
    .btn.bi-btn-outline {
        width: 100%;
    }

    .bi-process {
        grid-template-columns: 1fr;
    }

    .bi-advantage {
        flex-direction: column;
    }

    .bi-application-card img {
        height: 200px;
    }

    .bi-spec-table tbody th {
        width: 170px;
        white-space: normal;
    }
}

@media (max-width: 575px) {
    .bi-section {
        padding: 64px 0;
    }

    .bi-hero {
        padding: 78px 0 60px;
    }

    .bi-highlight strong {
        font-size: 30px;
    }

    .bi-cta-buttons {
        flex-direction: column;
    }

    .bi-cta .btn.bi-btn-primary,
    .bi-cta .btn.bi-btn-outline {
        width: 100%;
    }
}