/* ====================================
   Supply Page Base Styles
==================================== */

:root{
    --supply-primary:#214f99;
    --supply-primary-dark:#183c75;
    --supply-accent:#5e832a;
    --supply-text:#1f2933;
    --supply-muted:#5f6b7a;
    --supply-light:#f5f7fa;
    --supply-border:#dfe5ec;
    --supply-white:#ffffff;
    --supply-shadow:0 12px 30px rgba(15,23,42,.08);
    --supply-shadow-hover:0 18px 42px rgba(15,23,42,.12);
}

/* ====================================
   Supply Hero Section
==================================== */

.supply-hero{
    padding:140px 0;
    background:var(--supply-primary);
    color:var(--supply-white);
    text-align:center;
}

.supply-hero h1{
    margin:18px 0;
    color:var(--supply-white);
    font-size:62px;
    font-weight:800;
    line-height:1.14;
    animation:supplyFadeUp .7s ease both;
}

.supply-hero p{
    max-width:850px;
    margin:0 auto;
    color:rgba(255,255,255,.9);
    font-size:20px;
    line-height:1.8;
    animation:supplyFadeUp .8s ease both;
}

/* ====================================
   Supply Overview Section
==================================== */

.supply-overview{
    padding:100px 0;
    background:var(--supply-white);
}

.supply-layout{
    display:grid;
    grid-template-columns:300px minmax(0,1fr);
    gap:50px;
    align-items:start;
}

.left-sidebar{
    position:sticky;
    top:120px;
    align-self:start;
}

/* ====================================
   Product Categories Section
==================================== */

.product-categories{
    padding:110px 0;
    background:var(--supply-light);
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
    margin-top:48px;
}

.product-card{
    overflow:hidden;
    background:var(--supply-white);
    border:1px solid var(--supply-border);
    border-radius:8px;
    box-shadow:var(--supply-shadow);
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover{
    transform:translateY(-6px);
    border-color:#cbd7e5;
    box-shadow:var(--supply-shadow-hover);
}

.product-card img{
    display:block;
    width:100%;
    height:220px;
    object-fit:cover;
}

.product-content{
    padding:25px;
}

.product-content h3{
    margin:0 0 14px;
    color:var(--supply-text);
    font-size:22px;
    font-weight:700;
}

.product-content p{
    margin:0;
    color:var(--supply-muted);
    line-height:1.7;
}

/* ====================================
   Materials Section
==================================== */

.materials-section{
    padding:110px 0;
    background:var(--supply-white);
}

.materials-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:18px;
    margin-top:48px;
}

.material-item{
    padding:24px 18px;
    background:var(--supply-light);
    border:1px solid var(--supply-border);
    border-radius:8px;
    color:var(--supply-text);
    font-weight:700;
    text-align:center;
    transition:background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}

.material-item:hover{
    transform:translateY(-4px);
    background:var(--supply-primary);
    border-color:var(--supply-primary);
    color:var(--supply-white);
}

/* ====================================
   Industries Section
==================================== */

.industries-section{
    padding:110px 0;
    background:var(--supply-light);
}

.industry-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
    margin-top:48px;
}

.industry-card{
    padding:34px 24px;
    background:var(--supply-white);
    border:1px solid var(--supply-border);
    border-radius:8px;
    box-shadow:var(--supply-shadow);
    color:var(--supply-text);
    font-size:18px;
    font-weight:700;
    text-align:center;
    transition:background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.industry-card:hover{
    transform:translateY(-5px);
    background:var(--supply-primary);
    color:var(--supply-white);
    box-shadow:var(--supply-shadow-hover);
}

/* ====================================
   Process Section
==================================== */

.process-section{
    padding:110px 0;
    background:var(--supply-white);
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
    margin-top:56px;
}

.process-card{
    padding:34px;
    background:var(--supply-white);
    border:1px solid var(--supply-border);
    border-top:4px solid var(--supply-primary);
    border-radius:8px;
    box-shadow:var(--supply-shadow);
    transition:transform .25s ease, box-shadow .25s ease;
}

.process-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--supply-shadow-hover);
}

.process-card span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:58px;
    height:58px;
    margin-bottom:20px;
    background:var(--supply-primary);
    border-radius:50%;
    color:var(--supply-white);
    font-size:20px;
    font-weight:800;
}

.process-card h3{
    margin:0 0 14px;
    color:var(--supply-text);
    font-size:24px;
    font-weight:700;
}

.process-card p{
    margin:0;
    color:var(--supply-muted);
    line-height:1.8;
}

/* ====================================
   Why Choose Us Section
==================================== */

.why-supply{
    padding:110px 0;
    background:var(--supply-light);
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
    margin-top:48px;
}

.why-card{
    padding:34px;
    background:var(--supply-white);
    border:1px solid var(--supply-border);
    border-radius:8px;
    box-shadow:var(--supply-shadow);
    text-align:center;
    transition:transform .25s ease, box-shadow .25s ease;
}

.why-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--supply-shadow-hover);
}

.why-card h3{
    margin:0 0 14px;
    color:var(--supply-primary);
    font-size:24px;
    font-weight:700;
}

.why-card p{
    margin:0;
    color:var(--supply-muted);
    line-height:1.8;
}

/* ====================================
   CTA Section
==================================== */

.supply-cta{
    padding:110px 0;
    background:var(--supply-primary);
    color:var(--supply-white);
    text-align:center;
}

.supply-cta h2{
    margin:0 0 18px;
    color:var(--supply-white);
    font-size:50px;
    font-weight:800;
    line-height:1.18;
}

.supply-cta p{
    max-width:750px;
    margin:0 auto 34px;
    color:rgba(255,255,255,.9);
    font-size:20px;
    line-height:1.8;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:14px 32px;
    border-radius:6px;
    font-weight:700;
    text-decoration:none;
    transition:background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.primary-btn{
    background:var(--supply-white);
    border:2px solid var(--supply-white);
    color:var(--supply-primary);
}

.secondary-btn{
    background:transparent;
    border:2px solid var(--supply-white);
    color:var(--supply-white);
}

.primary-btn:hover{
    transform:translateY(-2px);
    background:#eef3f9;
    border-color:#eef3f9;
    color:var(--supply-primary);
}

.secondary-btn:hover{
    transform:translateY(-2px);
    background:var(--supply-white);
    color:var(--supply-primary);
}

/* ====================================
   Animation Section
==================================== */

@keyframes supplyFadeUp{
    from{
        opacity:0;
        transform:translateY(18px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ====================================
   Responsive Section - 1200px
==================================== */

@media(max-width:1200px){

    .supply-hero h1{
        font-size:54px;
    }

    .supply-layout{
        grid-template-columns:280px minmax(0,1fr);
        gap:40px;
    }

    .products-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .materials-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .industry-grid,
    .process-grid,
    .why-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* ====================================
   Responsive Section - 991px
==================================== */

@media(max-width:991px){

    .supply-overview,
    .product-categories,
    .materials-section,
    .industries-section,
    .process-section,
    .why-supply,
    .supply-cta{
        padding:85px 0;
    }

    .supply-layout{
        grid-template-columns:1fr;
        gap:0;
    }

    .left-sidebar{
        display:none;
    }

    .products-grid,
    .materials-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* ====================================
   Responsive Section - 768px
==================================== */

@media(max-width:768px){

    .supply-hero{
        padding:100px 0;
    }

    .supply-hero h1{
        font-size:40px;
    }

    .supply-hero p{
        font-size:17px;
    }

    .products-grid,
    .materials-grid,
    .industry-grid,
    .process-grid,
    .why-grid{
        grid-template-columns:1fr;
    }

    .product-card img{
        height:240px;
    }

    .process-card,
    .why-card{
        padding:30px 24px;
    }

    .supply-cta h2{
        font-size:34px;
    }

    .supply-cta p{
        font-size:18px;
    }

    .cta-buttons{
        flex-direction:column;
        align-items:stretch;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
    }
}

/* ====================================
   Responsive Section - 480px
==================================== */

@media(max-width:480px){

    .supply-hero{
        padding:78px 0;
    }

    .supply-hero h1{
        font-size:32px;
    }

    .supply-hero p{
        font-size:16px;
        line-height:1.7;
    }

    .supply-overview,
    .product-categories,
    .materials-section,
    .industries-section,
    .process-section,
    .why-supply,
    .supply-cta{
        padding:65px 0;
    }

    .products-grid,
    .materials-grid,
    .industry-grid,
    .process-grid,
    .why-grid{
        margin-top:36px;
    }

    .product-card img{
        height:215px;
    }

    .product-content,
    .process-card,
    .why-card{
        padding:24px 20px;
    }

    .material-item,
    .industry-card{
        padding:22px 18px;
    }

    .product-content h3,
    .process-card h3,
    .why-card h3{
        font-size:21px;
    }

    .supply-cta h2{
        font-size:30px;
    }

    .supply-cta p{
        font-size:16px;
    }
}
