/* =====================================================
   ROI TRADING COMPANY
   HOME PAGE UPDATE

   This file only adds the approved Home page updates.
   The original blue hero and original supplier-card
   design continue to come from style.css.
===================================================== */


/* =====================================================
   HOME SECTION SPACING
===================================================== */

.about-section,
.products-section,
.home-industries,
.partners-section,
.customers-section,
.why-roi-section {
    padding: 76px 0;
}

.home-contact-cta {
    padding: 62px 0;
}

.products-heading,
.home-industries-heading,
.partners-heading,
.customers-heading {
    margin-bottom: 34px;
}

.section-intro {
    font-size: 16px;
    line-height: 1.7;
}


/* =====================================================
   HOME INDUSTRIES HEADING
===================================================== */

.home-industries-heading {
    max-width: 790px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-industries-heading h2 {
    margin: 0 0 20px;
    color: var(--roi-dark-blue);
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -1px;
}

.home-industries-heading h2 span {
    color: var(--roi-blue);
}

.home-industries-heading .section-intro {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}


/* =====================================================
   HOME INDUSTRIES
===================================================== */

.home-industries {
    background: #f5f8fa;
}

.home-industries-grid {
    margin-top: 0;
}

.home-industry-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    min-height: 155px;
    padding: 22px 50px 22px 22px;
    overflow: hidden;
    border: 1px solid #dfe7eb;
    border-radius: 6px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.home-industry-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: #0b7661;
    transition: height 0.3s ease;
}

.home-industry-item:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 118, 97, 0.32);
    box-shadow: 0 14px 32px rgba(15, 47, 74, 0.09);
    color: inherit;
}

.home-industry-item:hover::before {
    height: 100%;
}

.home-industry-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 5px;
    background: #e8f5f1;
    color: #0b7661;
    font-size: 1.15rem;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.home-industry-item:hover .home-industry-icon {
    background: #0b7661;
    color: #ffffff;
}

.home-industry-number {
    display: block;
    margin-bottom: 4px;
    color: #0b7661;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.home-industry-item h3 {
    margin: 0 0 8px;
    color: #153550;
    font-size: 1.03rem;
    font-weight: 700;
}

.home-industry-item p {
    margin: 0;
    color: #6b7d8d;
    font-size: 0.84rem;
    line-height: 1.58;
}

.home-industry-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    color: #a3b2bc;
    font-size: 1rem;
    transform: translateY(-50%);
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.home-industry-item:hover .home-industry-arrow {
    color: #0b7661;
    transform: translateY(-50%) translateX(4px);
}

.home-industries-bottom {
    margin-top: 28px;
    text-align: center;
}

.home-industries-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 5px;
    background: #0b7661;
    color: #ffffff;
    font-size: 0.89rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.home-industries-button:hover {
    transform: translateY(-2px);
    background: #085d4d;
    color: #ffffff;
}


/* =====================================================
   SUPPLIER COUNTRIES

   Supplier grid and cards intentionally retain the
   original design from style.css.
===================================================== */

.manufacturer-country {
    display: block;
    color: #6d7f8e;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
}


/* =====================================================
   CUSTOMERS HEADING
===================================================== */

.customers-heading {
    max-width: 790px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.customers-heading h2 {
    margin: 0 0 20px;
    color: var(--roi-dark-blue);
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -1px;
}

.customers-heading h2 span {
    color: var(--roi-blue);
}

.customers-heading .section-intro {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}


/* =====================================================
   CUSTOMERS
===================================================== */

.customers-section {
    background: #f7f9fb;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}

.customer-card {
    display: flex;
    grid-column: span 2;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    padding: 20px;
    border: 1px solid #dfe7eb;
    border-radius: 8px;
    background: #ffffff;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.customer-card:nth-child(5) {
    grid-column: 2 / span 2;
}

.customer-card img {
    display: block;
    width: 100%;
    height: 86px;
    object-fit: contain;
}

.customer-card:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 118, 97, 0.25);
    box-shadow: 0 14px 28px rgba(15, 47, 74, 0.07);
}


/* =====================================================
   WHY ROI / PROCESS
===================================================== */

.roi-process {
    margin-top: 40px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {
    .about-section,
    .products-section,
    .home-industries,
    .partners-section,
    .customers-section,
    .why-roi-section {
        padding: 62px 0;
    }

    .home-contact-cta {
        padding: 54px 0;
    }

    .customers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-card,
    .customer-card:nth-child(5) {
        grid-column: auto;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767.98px) {
    .about-section,
    .products-section,
    .home-industries,
    .partners-section,
    .customers-section,
    .why-roi-section {
        padding: 52px 0;
    }

    .home-contact-cta {
        padding: 48px 0;
    }

    .products-heading,
    .home-industries-heading,
    .partners-heading,
    .customers-heading {
        margin-bottom: 28px;
    }

    .home-industries-heading,
    .customers-heading {
        text-align: left;
    }

    .home-industries-heading h2,
    .customers-heading h2 {
        font-size: 36px;
    }

    .home-industries-heading .section-intro,
    .customers-heading .section-intro {
        margin-left: 0;
    }

    .home-industry-item {
        min-height: auto;
        padding: 20px 46px 20px 18px;
    }

    .customers-grid {
        grid-template-columns: 1fr;
    }

    .customer-card {
        min-height: 118px;
        padding: 16px;
    }

    .customer-card img {
        height: 78px;
    }

    .home-industries-button {
        width: 100%;
    }
}