﻿/* =====================================================
   INVENTORY MANAGEMENT PAGE
===================================================== */

:root {
    --inventory-primary: #0b63ce;
    --inventory-primary-dark: #074b9c;
    --inventory-dark: #0f172a;
    --inventory-text: #475569;
    --inventory-light: #f4f9ff;
    --inventory-border: #dce9f7;
    --inventory-white: #ffffff;
}


/* =====================================================
   COMMON SECTION STYLES
===================================================== */

.inventory-section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--inventory-primary);
    font-size: 0.90rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.inventory-section-title {
    margin-bottom: 20px;
    color: var(--inventory-dark);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

    .inventory-section-title span {
        display: block;
        color: var(--inventory-primary);
    }

.inventory-section-description {
    max-width: 720px;
    margin: 0 auto;
    color: var(--inventory-text);
    font-size: 16px;
    line-height: 1.8;
}


/* =====================================================
   HERO SECTION
===================================================== */

.inventory-hero {
    position: relative;
    min-height: 490px;
    margin-top: 68px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: linear-gradient( 90deg, rgba(4, 19, 42, 0.58) 0%, rgba(5, 39, 83, 0.40) 38%, rgba(7, 78, 146, 0.12) 70%, rgba(7, 78, 146, 0) 100% ), url("/images/products/inventory-management/inventory-hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inventory-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 54px 0;
}

.inventory-hero .inventory-section-label {
    color: #b9dcff;
}

.inventory-hero-title {
    margin-bottom: 22px;
    color: var(--inventory-white);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.13;
}

    .inventory-hero-title span {
        display: block;
        color: #8ec8ff;
    }

.inventory-hero-description {
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.8;
}

.inventory-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}


/* =====================================================
   BUTTONS
===================================================== */

.inventory-btn {
    min-height: 50px;
    padding: 13px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .inventory-btn:hover {
        transform: translateY(-3px);
    }

.inventory-btn-primary {
    color: var(--inventory-white);
    background: var(--inventory-primary);
    box-shadow: 0 12px 26px rgba(11, 99, 206, 0.3);
}

    .inventory-btn-primary:hover {
        color: var(--inventory-white);
        background: var(--inventory-primary-dark);
    }

.inventory-btn-outline {
    color: var(--inventory-white);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .inventory-btn-outline:hover {
        color: var(--inventory-dark);
        background: var(--inventory-white);
        border-color: var(--inventory-white);
    }

.inventory-btn-light {
    color: var(--inventory-primary);
    background: var(--inventory-white);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

    .inventory-btn-light:hover {
        color: var(--inventory-primary-dark);
        background: #f8fbff;
    }


/* =====================================================
   HERO HIGHLIGHTS
===================================================== */

.inventory-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.inventory-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

    .inventory-highlight-item i {
        color: #75c3ff;
    }


/* =====================================================
   OVERVIEW SECTION
===================================================== */

.inventory-overview {
    padding: 95px 0;
    background: var(--inventory-white);
}

.inventory-overview-image-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.inventory-overview-image {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 22px;
    background: #eaf4ff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.11);
}

    .inventory-overview-image::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient( 180deg, rgba(15, 23, 42, 0) 58%, rgba(15, 23, 42, 0.15) 100% );
        pointer-events: none;
    }

    .inventory-overview-image img {
        width: 100%;
        height: 500px;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform 0.6s ease;
    }

    .inventory-overview-image:hover img {
        transform: scale(1.035);
    }

.inventory-overview-content p {
    margin-bottom: 16px;
    color: var(--inventory-text);
    font-size: 17px;
    line-height: 1.82;
}

.inventory-overview-points {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.inventory-overview-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--inventory-dark);
    font-size: 15px;
    font-weight: 650;
}

    .inventory-overview-point i {
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 50%;
        color: var(--inventory-primary);
        background: #eaf4ff;
        font-size: 17px;
    }


/* =====================================================
   FEATURES SECTION
===================================================== */

.inventory-features {
    padding: 95px 0;
    background: var(--inventory-light);
}

.inventory-section-heading {
    max-width: 820px;
    margin: 0 auto 48px;
}

.inventory-feature-card {
    height: 100%;
    min-height: 220px;
    padding: 28px;
    border: 1px solid var(--inventory-border);
    border-radius: 18px;
    background: var(--inventory-white);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .inventory-feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
    }

.inventory-feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--inventory-primary);
    color: #ffffff;
    border-radius: 15px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.inventory-feature-card:hover .inventory-feature-icon {
    transform: scale(1.08);
}

.inventory-feature-card h3 {
    margin-bottom: 12px;
    color: var(--inventory-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.inventory-feature-card p {
    margin-bottom: 0;
    color: var(--inventory-text);
    font-size: 17px;
    line-height: 1.8;
}


/* =====================================================
   BENEFITS SECTION
===================================================== */

.inventory-benefits {
    padding: 95px 0;
    background: var(--inventory-white);
}

.inventory-benefits-content > p {
    margin-bottom: 25px;
    color: var(--inventory-text);
    font-size: 17px;
    line-height: 1.8;
}

.inventory-benefits-list {
    display: grid;
    gap: 22px;
}

.inventory-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.inventory-benefit-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    color: var(--inventory-primary);
    background: #eaf4ff;
    font-size: 14px;
}

.inventory-benefit-item h4 {
    margin-bottom: 5px;
    color: var(--inventory-dark);
    font-size: 17px;
    font-weight: 750;
}

.inventory-benefit-item p {
    margin-bottom: 0;
    color: var(--inventory-text);
    font-size: 17px;
    line-height: 1.7;
}


/* =====================================================
   BENEFIT BOXES
===================================================== */

.inventory-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.inventory-benefit-box {
    min-height: 210px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--inventory-border);
    border-radius: 18px;
    background: var(--inventory-light);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

    .inventory-benefit-box:hover {
        transform: translateY(-5px);
        background: var(--inventory-white);
        box-shadow: 0 20px 38px rgba(15, 23, 42, 0.10);
    }

    .inventory-benefit-box i {
        margin-bottom: 18px;
        color: var(--inventory-primary);
        font-size: 30px;
    }

    .inventory-benefit-box h3 {
        margin-bottom: 10px;
        color: var(--inventory-dark);
        font-size: 18px;
        font-weight: 750;
    }

    .inventory-benefit-box p {
        margin-bottom: 0;
        color: var(--inventory-text);
        font-size: 17px;
        line-height: 1.7;
    }


/* =====================================================
   CTA SECTION
===================================================== */

.inventory-cta {
    padding: 30px 0 95px;
    background: var(--inventory-white);
}

.inventory-cta-box {
    position: relative;
    padding: 48px;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient( 135deg, #064f9f 0%, #0b63ce 55%, #2286e8 100% );
    box-shadow: 0 24px 50px rgba(11, 99, 206, 0.22);
}

    .inventory-cta-box::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        top: -140px;
        right: -80px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
    }

.inventory-cta-content {
    position: relative;
    z-index: 2;
}

.inventory-cta-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #c8e5ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.inventory-cta h2 {
    margin-bottom: 14px;
    color: var(--inventory-white);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
}

    .inventory-cta h2 span {
        display: block;
        color: #b9dcff;
    }

.inventory-cta p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.75;
}


/* =====================================================
   LARGE TABLET RESPONSIVE
===================================================== */

@media (max-width: 1199.98px) {

    .inventory-hero-title {
        font-size: 46px;
    }

    .inventory-section-title {
        font-size: 36px;
    }

    .inventory-overview-image,
    .inventory-overview-image img {
        height: 470px;
        min-height: 470px;
    }

    .inventory-feature-card {
        padding: 25px;
    }
}


/* =====================================================
   TABLET RESPONSIVE
===================================================== */

@media (max-width: 991.98px) {

    .inventory-hero {
        min-height: 510px;
        background-position: 64% center;
    }

        .inventory-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(4, 19, 42, 0.16);
        }

    .inventory-hero-content {
        max-width: 650px;
        padding: 48px 0;
    }

    .inventory-hero-title {
        font-size: 43px;
    }

    .inventory-overview,
    .inventory-features,
    .inventory-benefits {
        padding: 78px 0;
    }

    .inventory-overview-image-wrapper {
        max-width: 680px;
    }

    .inventory-overview-image,
    .inventory-overview-image img {
        height: 480px;
        min-height: 480px;
    }

    .inventory-overview-content {
        margin-top: 10px;
    }

    .inventory-benefits-grid {
        margin-top: 15px;
    }

    .inventory-cta-box {
        padding: 42px;
    }

    .inventory-cta .text-lg-end {
        margin-top: 26px;
        text-align: left !important;
    }
}


/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 767.98px) {

    .inventory-hero {
        min-height: 500px;
        margin-top: 64px;
        background-position: 68% center;
    }

    .inventory-hero-content {
        padding: 42px 0;
    }

    .inventory-hero-title {
        font-size: 36px;
    }

    .inventory-hero-description {
        font-size: 15px;
    }

    .inventory-hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .inventory-btn {
        width: 100%;
    }

    .inventory-hero-highlights {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .inventory-section-title {
        font-size: 32px;
    }

    .inventory-overview,
    .inventory-features,
    .inventory-benefits {
        padding: 65px 0;
    }

    .inventory-overview-image,
    .inventory-overview-image img {
        height: 390px;
        min-height: 390px;
    }

    .inventory-feature-card {
        min-height: 190px;
        padding: 22px;
        border-radius: 16px;
    }

        .inventory-feature-card h3 {
            font-size: 17px;
        }

        .inventory-feature-card p {
            font-size: 14px;
        }

    .inventory-benefits-grid {
        grid-template-columns: 1fr;
    }

    .inventory-benefit-box {
        min-height: auto;
    }

    .inventory-cta {
        padding: 20px 0 70px;
    }

    .inventory-cta-box {
        padding: 34px 24px;
        border-radius: 20px;
    }

    .inventory-cta h2 {
        font-size: 30px;
    }
}


/* =====================================================
   SMALL MOBILE RESPONSIVE
===================================================== */

@media (max-width: 575.98px) {

    .inventory-hero-title {
        font-size: 32px;
    }

    .inventory-section-title {
        font-size: 29px;
    }

    .inventory-section-label {
        font-size: 12px;
    }

    .inventory-overview-image,
    .inventory-overview-image img {
        height: 330px;
        min-height: 330px;
    }

    .inventory-overview-content p {
        font-size: 14px;
    }

    .inventory-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }

    .inventory-cta h2 {
        font-size: 27px;
    }

    .inventory-cta p {
        font-size: 14px;
    }
}
