html, body {
    overflow-x: hidden; /* Prevents horizontal scrolling on mobile */
    width: 100%;
}

*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Segoe UI,Arial;background:#f4f6f9;color:#1f2933}

/* HEADER */
header{
 position:sticky;top:0;z-index:1000;
 background:#0b1c2d;color:#fff;
 display:flex;justify-content:space-between;
 padding:15px 40px;align-items:center
}
header h1{font-size:22px}
nav a{
 color:#fff;text-decoration:none;
 margin-left:22px;font-size:14px
}
nav a:hover{border-bottom:2px solid #fff}





/* SECTIONS */
section{padding:70px 40px}
.title{text-align:center;font-size:28px;margin-bottom:40px;}

/* CARDS */
.cards{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
 gap:20px;
 width: 100%;
}
.card{
 background:#ffffff;border-radius:6px;
 box-shadow:0 4px 10px rgba(0,0,0,.1);
 padding:25px;text-align:center
}
.card img{
 width:100%;height:180px;
 object-fit:cover;border-radius:6px
}

/* MATERIAL HOVER */
.material-card:hover{transform:scale(1.03);transition:.3s}

/* FOOTER */
footer{
 background:#0b1c2d;color:#fff;
 text-align:center;padding:18px;font-size:14px
}

/* RESPONSIVE */
@media(max-width:768px){
 header{flex-direction:column; padding: 15px 20px; text-align: center;}
 nav{margin-top:10px}
 hero h2{font-size:28px}
}

/* AUTO SCROLL CONTAINER */
.auto-scroll{
 display:flex;
 gap:25px;
 overflow:hidden;
 width: max-content;
 animation:scroll 22s linear infinite;
}

/* MATERIAL CARDS */
.material-card{
 min-width:260px;
 height:180px;
 border-radius:8px;
 position:relative;
 background-size:cover;
 background-position:center;
 box-shadow:0 6px 14px rgba(0,0,0,0.2);
 cursor:pointer;
 transition:transform .4s ease;
}

/* OVERLAY */
.material-card::after{
 content:"";
 position:absolute;
 inset:0;
 background:rgba(0,0,0,0.45);
 border-radius:8px;
}

/* TEXT */
.material-card span{
 position:absolute;
 bottom:20px;
 left:20px;
 color:#fff;
 font-size:20px;
 font-weight:600;
 z-index:2;
 letter-spacing:1px;
}

/* HOVER EFFECT */
.material-card:hover{
 transform:scale(1.05);
}

/* BACKGROUND IMAGES */
.steel{background-image:url('../images/steel.jpg')}
.aluminium{background-image:url('../images/aluminium.jpg')}
.titanium{background-image:url('../images/titanium.jpg')}
.inconel{background-image:url('../images/inconel.jpg')}
.copper{background-image:url('../images/copper.jpg')}

/* SCROLL ANIMATION */
@keyframes scroll{
 0%{transform:translateX(0)}
 100%{transform:translateX(-50%)}
}

/* SLIDER CONTAINER */
.material-slider{
 width:100%;
 overflow:hidden;
 padding:30px 0;
}

/* TRACK */
.slider-track{
 display:flex;
 gap:25px;
 width:max-content;
 animation:materialScroll 28s linear infinite;
}

/* PAUSE ON HOVER */
.material-slider:hover .slider-track{
 animation-play-state:paused;
}

/* MATERIAL CARD */
.material-card{
 min-width:280px;
 height:190px;
 border-radius:10px;
 position:relative;
 background-size:cover;
 background-position:center;
 text-decoration:none;
 box-shadow:0 8px 18px rgba(0,0,0,.25);
 transition:transform .4s ease;
}

/* DARK OVERLAY */
.material-card::before{
 content:"";
 position:absolute;
 inset:0;
 background:linear-gradient(to top,rgba(0,0,0,.6),rgba(0,0,0,.25));
 border-radius:10px;
 color: black;
}

/* TEXT */
.material-card span{
 position:absolute;
 bottom:18px;
 left:18px;
 color:#f4f2f2;
 font-size:20px;
 font-weight:600;
 letter-spacing:1px;
 z-index:2;
}

/* HOVER EFFECT */
.material-card:hover{
 transform:scale(1.06);
}

/* BACKGROUND IMAGES */
.steel{background-image:url('../images/steel.jpg')}
.aluminium{background-image:url('../images/aluminium.jpg')}
.titanium{background-image:url('../images/titanium.jpg')}
.inconel{background-image:url('../images/inconel.jpg')}

/* SEAMLESS SCROLL */
@keyframes materialScroll{
 0%{transform:translateX(0)}
 100%{transform:translateX(-50%)}
}

/* MOBILE SWIPE SUPPORT */
@media(max-width:768px){
 .material-slider{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
 }
 .slider-track{
  animation:none;
 }
}

section {
    position: relative;
    padding: 80px 20px;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* background image */
section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/aero.jpg") center / cover no-repeat;
    filter: blur(1px);
    transform: scale(1.1);
    z-index: -2;

}

/* dark overlay */
section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

section ul {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 30px;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

section ul li {
    padding: 12px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

section ul li:last-child {
    border-bottom: none;
}


.fade-in {
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===== WORLDWIDE MATERIAL SECTION ===== */
section {
    background: #ffffff;
    padding: 80px 40px;
    text-align: center;
}

section .title {
    font-size: 32px;
    margin-bottom: 50px;
    color: rgb(10, 10, 10);
}
section .titl {
    font-size: 32px;
    margin-bottom: 50px;
    color: whitesmoke;
}

/* cards container */
.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
    color: #0b1c2d;
}

/* individual card */
.card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
    cursor: pointer;
}

/* image */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* text */
.card p {
    padding: 15px;
    font-weight: 600;
    color: #0b1c2d;
    letter-spacing: 0.5px;
}

/* hover effect */
.card:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

/* responsive */
@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ===== FINAL HERO – WORKING BLUR + CENTER ALIGN ===== */

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* HERO IMAGE LAYERS */
.hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.45);
    opacity: 0;
    z-index: -2;
    animation: fade 5s infinite;
}

/* ASSIGN EACH IMAGE WITH DELAY */
.hero-img.img1 { background-image: url('../images/hero1.jpg'); animation-delay: 0s; }
.hero-img.img2 { background-image: url('../images/hero2.webp'); animation-delay: 3s; }
.hero-img.img3 { background-image: url('../images/hero3.webp'); animation-delay: 6s; }
.hero-img.img4 { background-image: url('../images/aero2.jpg'); animation-delay: 9s; }


/* CROSSFADE KEYFRAMES */
@keyframes fade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    20%  { opacity: 1; }
    25%  { opacity: 1; }
    100% { opacity: 1; }
}

/* HERO OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 41, 67, 0.55); /* dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
    color: #fff;
    backdrop-filter: blur(0px);
}

/* HERO TEXT */
.hero-overlay h2 {
    font-size: 42px;
    margin-bottom: 15px;
    max-width: 900px;
}

.hero-overlay p {
    font-size: 18px;
    max-width: 700px;
    margin-bottom: 25px;
}



/* RESPONSIVE TEXT */
@media screen and (max-width: 768px) {
    .hero-overlay h2 { font-size: 32px; }
    .hero-overlay p { font-size: 16px; }
}


/* ===== AVAILABLE RAW MATERIALS SECTION ===== */
section {
    position: relative;
    padding: 90px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* Background image with blur */
section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/aero.jpg") center/cover no-repeat;
    filter: blur(-1px);
    transform: scale(1.15);
    z-index: -2;
}

/* Dark overlay */
section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: -1;
}

/* Title */
section .title {
    font-size: 34px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* Center cards */
.cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Cards (hover stays as-is) */
.card {
    min-width: 260px;
    padding: 30px 25px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
 
/* ===== RAW MATERIAL STATS ONLY ===== */
.stats-section {
    position: relative;
    padding: 90px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* ===== STATS SECTION ONLY ===== */
.stats-section {
    position: relative;
    padding: 90px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* Background image — SOFT blur */
.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/raw-materials-bg.jpg") center/cover no-repeat;

    /* 🔽 reduced blur */
    filter: blur(3px);
    transform: scale(1.05);

    z-index: -2;
}

/* Softer dark overlay */
.stats-section::after {
    content: "";
    position: absolute;
    inset: 0;

    /* 🔽 reduced darkness */
    background: rgba(0,0,0,0.45);

    z-index: -1;
}

/* Content stays above background */
.stats-section .title,
.stats-section .cards {
    position: relative;
    z-index: 2;
}

/* Cards — NO blur on content */
.stats-section .card {
    background: rgba(255,255,255,0.18);
    padding: 28px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #222;
    background: #fff;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    border-bottom: 1px solid #ddd;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #f1ebeb;
    font-weight: 500;
}

.nav a.active,
.nav a:hover {
    border-bottom: 2px solid #e5dddd;
}

/* HERO */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
}


/* ===== HERO BACKGROUND BLUR (SAFE METHOD) ===== */

.hero {
    position: relative;
    overflow: hidden;
}

/* blurred background layer */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.1);
    z-index: 0;
}

/* dark overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* keep text above */
.hero h2,
.hero p {
    position: relative;
    z-index: 2;
}


/* CONTENT */
.content {
    padding: 70px 10%;
}

.light-bg {
    background: #8a8fa6;
}

.title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
    color: #070707;
}

.center-text {
    text-align: center;
    max-width: 800px;
    margin: auto;
    font-size: 16px;
}

/* CARDS */
.cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    width: 250px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 25px;
    border-top: 1px solid #ddd;
    font-size: 14px;
}



/* ===== WHY SHAREMETAL – BLUR BACKGROUND ===== */

/* ===== WHY SHAREMETAL – PREMIUM INDUSTRIAL ===== */

.why-bg {
    position: relative;
    padding: 90px 20px;
    background: #0f1419; /* same as about us */
    color: #eaeaea;
    overflow: hidden;
}

/* subtle depth overlay */
.why-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top,
        rgba(255,183,3,0.08),
        transparent 60%
    );
    pointer-events: none;
}

.why-bg .title {
    position: relative;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: #ffffff;
}

/* cards layout */
.why-bg .cards {
    position: relative;
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* premium card */
.why-bg .card {
    background: linear-gradient(145deg, #131a21, #0c1116);
    border: 1px solid rgba(255,183,3,0.25);
    padding: 36px 28px;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* hover = confidence, not flashy */
.why-bg .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(247, 243, 243, 0.95);
}

/* heading */
.why-bg .card h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hwb(0 3% 97% / 0.5);
    margin-bottom: 12px;
}

/* text */
.why-bg .card p {
    color: #060606;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* mobile */
@media (max-width: 768px) {
    .why-bg {
        padding: 70px 16px;
    }

    .why-bg .title {
        font-size: 1.6rem;
    }
}

/* ===== Choose Your Role – 3D Solid Professional Background ===== */
.choose-role {
    background: linear-gradient(145deg, #0f2438, #0b1c2d);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 -1px 0 rgba(0,0,0,0.4),
        0 12px 30px rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.6);
}


/* content above bg */
.choose-role .title,
.choose-role .role-cards {
    position: relative;
    z-index: 2;
    color: #ffffff;
}


/* cards container */
.role-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* individual role card */
.role-card {
    width: 300px;
    padding: 35px 25px;
    background: #ffffff;
    color: #000;              /* 🔴 black before hover */
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    transition: all 0.35s ease;
}

/* hover */
.role-card:hover {
    background: #909c2f;
    color: #fff;
    transform: translateY(-8px);
}

/* ===== LOGIN PAGE ===== */

.login-section {
    position: relative;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* blurred background */
.login-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/storage.jpg') center/cover no-repeat;
    filter: blur(7px);
    transform: scale(1.12);
    z-index: 0;
}

/* overlay */
.login-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 28, 45, 0.65);
    z-index: 1;
}

/* login card */
.login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
    text-align: center;
}

/* title */
.login-card h2 {
    font-size: 26px;
    margin-bottom: 6px;
    color: #0b1c2d;
}

.login-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 25px;
}

/* form inputs */
.login-card input,
.login-card select {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

/* focus */
.login-card input:focus,
.login-card select:focus {
    outline: none;
    border-color: #0b1c2d;
}

/* login button */
.login-btn {
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
}

/* note */
.login-note {
    margin-top: 18px;
    font-size: 13px;
    color: #6b7280;
}

/* responsive */
@media (max-width: 600px) {
    .login-card {
        margin: 0 15px;
        padding: 30px 25px;
    }
}


.materials-container {
    width: 95%;
    margin: 40px auto;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.seller-block {
    border: 1px solid #ddd;
    margin-bottom: 40px;
    background: #fff;
}

.seller-header {
    background: #111;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.verified {
    color: #4CAF50;
    font-size: 14px;
}

.location {
    font-size: 13px;
    opacity: 0.8;
}

.material-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.material-table th,
.material-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.material-table th {
    background: #f4f4f4;
}

.material-img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.btn-sm {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    text-decoration: none;
    font-size: 13px;
}

/* PREMIUM CONTACT WRAPPER */
.premium-contact{
 min-height:75vh;
 display:flex;
 align-items:center;
 justify-content:center;
 background:#f4f6f8;
}

/* PREMIUM CARD */
.premium-card{
 max-width:420px;
 width:90%;
 padding:38px 34px;
 border-radius:10px;
 margin: 20px auto;
 box-shadow:0 18px 45px rgba(0,0,0,.08);
}

/* HEADING */
.premium-card h2{
 text-align:center;
 font-size:26px;
 margin-bottom:6px;
 color: #000;
}

/* SUBTITLE */
.subtitle{
 text-align:center;
 font-size:14px;
 color:#666;
 margin-bottom:24px;
}

/* INPUTS */
.premium-card input,
.premium-card textarea{
 width:100%;
 padding:14px;
 margin-bottom:14px;
 border:1px solid #d1d5db;
 border-radius:6px;
 font-size:14px;
 background:#fff;
 transition:border .25s ease, box-shadow .25s ease;
}

/* FOCUS */
.premium-card input:focus,
.premium-card textarea:focus{
 border-color:#000;
 box-shadow:0 0 0 2px rgba(0,0,0,.08);
 outline:none;
}

/* TEXTAREA */
.premium-card textarea{
 height:120px;
 resize:none;
}

/* BUTTON */
.full-btn{
 width:100%;
 padding:14px;
 font-size:15px;
 letter-spacing:.5px;
}

/* ACTIVE NAV */
nav a.active{
 border-bottom:2px solid #000;
}

/* CONTACT PAGE BACKGROUND IMAGE WITH BLUR */
.premium-contact {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../images/md.jpg') center/cover no-repeat;
    overflow: hidden;
}

/* BLUR LAYER */
.premium-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/storage.jpg') center/cover no-repeat;
    filter: blur(7px);
    transform: scale(1.12);
    z-index: 0;
}

/* keep the card on top */
.premium-contact .card {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.95); /* slightly translucent */
}

/* ===== HERO – 3D SOLID PREMIUM (NO IMAGES) ===== */

/* disable all hero images */
.hero-img {
    display: none !important;
}

/* hero container */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    /* premium solid gradient */
    background: linear-gradient(
        145deg,
        #1d3043,
        #102a43,
        #0b1c2d
    );

    /* 3D depth */
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -40px 80px rgba(0,0,0,0.45);
}

/* remove old overlay darkness */
.hero::after {
    display: none !important;
}

/* overlay content */
.hero-overlay {
    position: relative;
    background: none;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 40px 20px;
}

/* heading */
.hero-overlay h2 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 18px;

    /* subtle text depth */
    text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

/* paragraph */
.hero-overlay p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 720px;
}

/* premium button */


/* responsive */
@media (max-width: 768px) {
    .hero-overlay h2 {
        font-size: 28px !important;
        line-height: 1.2;
    }
    .hero-overlay p {
        font-size: 15px !important;
    }
}

/* ===== STATS SECTION – WHITE BACKGROUND, COLORED CARDS ONLY ===== */

.stats-section {
    padding: 70px 20px;
    background: #ffffff;   /* KEEP SECTION WHITE */
    text-align: center;
}

/* title stays clean & professional */
.stats-section .title {
    color: #0b1c2d;
    font-size: 28px;
    margin-bottom: 45px;
    letter-spacing: 0.4px;
}

/* cards container */
.stats-section .cards {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* ===== 3D SOLID CARDS ===== */
.stats-section .card {
    min-width: 240px;
    padding: 35px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;

    /* solid premium fill */
    background: linear-gradient(145deg, #132f4c, #0d2238);

    border-radius: 16px;

    /* strong 3D depth */
    box-shadow:
        0 18px 35px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -6px 12px rgba(0,0,0,0.35);

    transition: all 0.35s ease;
}

/* hover effect */
.stats-section .card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 28px 55px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -8px 18px rgba(0,0,0,0.4);
}

/* mobile fix */
@media (max-width: 768px) {
    .stats-section .card {
        width: 100%;
        max-width: 320px;
    }
}
/* ===== SERVICES – INDUSTRIAL 3D SOLID (FINAL FIX) ===== */

.services,
.services::before,
.services::after {
    background-image: none !important;
    content: none !important;
}

/* Solid industrial background */
.services {
    background-color: #0e2236 !important; /* aerospace blue */
    padding: 90px 20px;
    position: relative;

    /* 3D depth */
    box-shadow:
        inset 0 12px 22px rgba(255,255,255,0.05),
        inset 0 -20px 32px rgba(0,0,0,0.55);
}

/* Title */
.services .titl {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 50px;
    text-align: center;
}

/* White professional card */
.services .glass-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 20px;
    max-width: 760px;
    margin: 0 auto;

    box-shadow:
        0 20px 45px rgba(0,0,0,0.35);
}

/* List */
.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Rows */
.services-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;

    font-size: 17px;
    font-weight: 500;
    color: #1f3346;

    border-bottom: 1px solid #e1e6eb;
}

.services-list li:last-child {
    border-bottom: none;
}

/* Icon box – corporate */
.services-list .icon {
    width: 36px;
    height: 36px;
    background: #0e2236;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
}

/* Hover – subtle, professional */
.services-list li:hover {
    background: #f7f9fb;
}

/* Mobile */
@media (max-width: 768px) {
    .services {
        padding: 70px 16px;
    }

    .services .glass-box {
        padding: 32px 28px;
    }

    .services .titl {
        font-size: 24px;
    }
}


/* ===== BUTTON FILL (ENTERPRISE STYLE) ===== */
.btn,
.hero-btn {
    position: relative;
    overflow: hidden;
    transition: color .3s ease;
}

.btn::before{
    position: absolute;
    inset: 0;
    z-index: -2;
    color: #fff !important;
}

.btn::after,
.hero-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffb703;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: -1;
}

.btn:hover::after,
.hero-btn:hover::after {
    transform: scaleX(1);
}

.btn:hover,
.hero-btn:hover {
    color: #000;
}

.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid #ffb703;
    color: #ffb703;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    border-radius: 6px;
    background: transparent;
}


.hero {
    position: relative;
    height: 70vh;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}


/* ===== CARD ENTRY ANIMATION ===== */
.card {
    opacity: 0;
    transform: translateY(24px);
    animation: cardReveal .7s ease forwards;
}

.cards .card:nth-child(odd) {
    animation-delay: .1s;
}

.cards .card:nth-child(even) {
    animation-delay: .2s;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== HEADING REVEAL ===== */
.title,
.titl {
    opacity: 0;
    transform: translateY(18px);
    animation: headingReveal .6s ease forwards;
}

@keyframes headingReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SERVICES – FORCE REMOVE BACKGROUND IMAGE ===== */
.services,
.services::before,
.services::after {
    background-image: none !important;
}

/* ===== SOLID INDUSTRIAL BACKGROUND ===== */
.services {
    background: #0e2236 !important;
    padding: 90px 20px;

    /* 3D depth */
    box-shadow:
        inset 0 10px 18px rgba(255,255,255,0.04),
        inset 0 -18px 28px rgba(0,0,0,0.55);
}

/* inner box */
.services .glass-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 45px 55px;
    max-width: 760px;
    margin: auto;
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

/* text */
.services .titl {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
}


.services-list li {
    padding: 18px 0;
    font-size: 17px;
    font-weight: 500;
    color: #1f3346;
    border-bottom: 1px solid #e1e6eb;
    transition: background .25s ease;
}

.services-list li:hover {
    background: #f4f6f9;
}

/* ===== GLOBAL ===== */
body {
    font-family: "Inter", "Segoe UI", sans-serif;
    margin: 0;
    background: #f4f6f9;
    color: #1f2933;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: #0e2236;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.nav a {
    margin-left: 25px;
    color: #f1ebeb;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 4px;
    transition: 0.3s;
}

.nav a:hover,
.nav a.active {
    border-bottom: 2px solid #ffb703;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 90px 20px;
    background: #f7f9fb;
}

.about-container {
    max-width: 1200px;
    margin: auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #0e2236;
}

.about-header p {
    font-size: 16px;
    color: #556b82;
    max-width: 680px;
    margin: 12px auto 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 22px;
    color: #0e2236;
    margin-bottom: 12px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #445a70;
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-box {
    background: lab(62.31% 0.33 -39.87 / 0.756);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 16px 36px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 28px;
    color: #0e2236;
    margin-bottom: 6px;
}

.stat-box span {
    font-size: 13px;
    color: #dfe5ea;
}

/* ===== WHY SHAREMETAL ===== */
.why-bg {
    background: #306197b9;
    color: #ffffff;
    padding: 90px 20px;
    position: relative;
}

.why-bg .title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    letter-spacing: 1px;
    font-weight: 700;
}

.why-bg .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.why-bg .card {
    background: linear-gradient(145deg, #a8ccf0, #09427c);
    border-radius: 10px;
    padding: 36px 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    color: whitesmoke;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-bg .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(247, 246, 246, 0.959);
}

.why-bg .card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: whitesmoke;
}

.why-bg .card p {
    font-size: 14px;
    line-height: 1.6;
    color: #c7c7c7;
}

/* ===== HOW IT WORKS ===== */
.content {
    padding: 90px 20px;
    background: #ffffff;
}

.content .title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #0e2236;
}

.content .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.content .card {
    background: hsla(216, 65%, 55%, 0.647);
    border-radius: 10px;
    padding: 34px 26px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.content .card:hover {
    transform: translateY(-6px);
}

.content .card h4 {
    color: #0e2236;
    font-size: 17px;
    margin-bottom: 8px;
}

.content .card p {
    color: #f7f8f9;
    font-size: 14px;
}

/* ===== FORCE THANK YOU SECTION TO BE A SLIM STRIP ===== */

.hero.hero-end {
    height: auto !important;
    min-height: unset !important;

    padding: 26px 20px; /* strip thickness */
    
    background: linear-gradient(
        145deg,
        #132f4c,
        #0e2236,
        #0b1c2d
    );

    text-align: center;
    color: #ffffff;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -14px 22px rgba(0,0,0,0.55);
}

/* REMOVE background image completely */
.hero.hero-end .hero-bg {
    display: none !important;
}

/* keep text size SAME */
.hero.hero-end h2 {
    margin-bottom: 6px;
}

.hero.hero-end p {
    margin: 0;
    color: #cbd5e1;
}

/* Seller Dashboard Logout Button */
.logout-btn {
    background: linear-gradient(145deg, #6d3bc3, #7f1d1d);
    color: #f5f1f1;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.logout-btn:hover {
    background: linear-gradient(145deg, #dc2626, #991b1b);
}


/* Seller Dashboard Layout */
.dashboard-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Inventory Card */
.inventory-card {
    background: linear-gradient(145deg, #162f4a, #10273d);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.06);
}

/* Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Labels */
.inventory-card label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: white;
}

/* Inputs */
.inventory-card input,
.inventory-card select {
    width: 100%;
    padding: 10px 12px;
    background: #0b1c2d;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
}

.inventory-card input::placeholder {
    color: #6b7280;
}

/* Footer */
.form-footer {
    margin-top: 30px;
    text-align: right;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(145deg, #2563eb, #1e40af);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.submit-btn:hover {
    background: linear-gradient(145deg, #3b82f6, #1d4ed8);
}

.section-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    margin: 14px auto 30px auto;
    opacity: 0.9;
}

.dashboard-section {
    padding-bottom: 80px;
}

.inventory-card {
    position: relative;
}

.inventory-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
    pointer-events: none;
}

.img-box {
    position: relative;
}

.delete-img {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc2626;
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 50%;
    text-decoration: none;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
    background: #0b1c2d;
    color: #fff;
}

.status-note {
    margin-bottom: 20px;
    font-size: 14px;
}

.pending {
    color: #d97706;
}

.material-preview-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

/* ==============================
   MATERIAL PREVIEW PAGE
============================== */

.dashboard-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.title {
    font-size: 24px;
    font-weight: 600;
    color: #0b1c2d;
}

.section-divider {
    height: 3px;
    width: 80px;
    background: #0b1c2d;
    margin: 10px 0 25px;
}

/* STATUS */
.status-note {
    margin-bottom: 20px;
    font-size: 14px;
}
.status-note .pending {
    color: #d97706;
    background: #fef3c7;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
}

/* CARD */
.inventory-card {
    background: #1f3c57;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.inventory-card h4 {
    margin-bottom: 15px;
    color: #0b1c2d;
    font-size: 18px;
    color: #ffffff;
}

/* IMAGE GRID */
.shop-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.img-box {
    position: relative;
    background: #f3f7fb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* DELETE IMAGE */
.delete-img {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 50%;
    text-decoration: none;
}

.delete-img:hover {
    background: #b91c1c;
}


/* ACTION BUTTONS */
.preview-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.preview-actions a {
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* BUTTON COLORS */
.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #0f172a;
    color: #fff;
}

.btn-secondary:hover {
    background: #020617;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
}

.btn-danger:hover {
    background: #b91c1c;
}

/* ==============================
   MATERIAL PREVIEW TABLE – CLEAN GRID
============================== */

.material-preview-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.material-preview-table th,
.material-preview-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    vertical-align: middle;
}

/* REMOVE EXTRA RIGHT BORDER */
.material-preview-table th:last-child,
.material-preview-table td:last-child {
    border-right: none;
}

/* HEADER COLUMN */
.material-preview-table th {
    width: 35%;
    background: #4677a8;
    font-weight: 600;
    color: #0f172a;
    text-transform: uppercase;
    font-size: 12px;
    text-align: left;
}

/* VALUE COLUMN */
.material-preview-table td {
    background: #4677a8;
    color: #0c0c0c;
    border-bottom: 1px solid #e5e7eb;
}

/* LAST ROW BOTTOM BORDER */
.material-preview-table tr:last-child th,
.material-preview-table tr:last-child td {
    border-bottom: none;
}

/* DOCUMENT LINK */
.material-preview-table a {
    color: #f6f1f1;
    font-weight: 500;
    text-decoration: none;
}
.material-preview-table a:hover {
    text-decoration: underline;
}

/* ==============================
   SUCCESS POPUP
============================== */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-card {
    background: #ffffff;
    padding: 30px;
    width: 420px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: popupFade 0.3s ease;
}

.popup-card h3 {
    margin-bottom: 10px;
    color: #0b1c2d;
}

.popup-card p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 25px;
}

.popup-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

@keyframes popupFade {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.img-actions {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    gap: 6px;
}

.replace-img {
    background: #2563eb;
    color: #fff;
    border: none;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
}

.replace-img:hover {
    background: #1d4ed8;
}

.delete-img {
    background: #dc2626;
    color: #fff;
    border: none;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 50%;
    cursor: pointer;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.img-box {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.delete-img {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-weight: bold;
}

.preview-dashboard-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.preview-dashboard-btn {
    padding: 16px 36px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.preview-dashboard-btn:hover {
    background-color: #333;
}

/* ===== SELLER PAGE ===== */

/* seller-page.css */
body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
}

.sp-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.sp-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 10px;
}

.sp-divider {
    width: 60px;
    height: 4px;
    background: #ff6600;
    margin-bottom: 30px;
}

.sp-materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sp-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sp-card-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.sp-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

.sp-status.Rejected{
    background:#ffe5e5;
    color:#d90429;
    padding:4px 10px;
    border-radius:6px;
    font-size:12px;
    font-weight:600;
}


.sp-card-details p {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #000;
}

.sp-card-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.sp-img-box {
    flex: 1 1 80px;
    max-width: 100px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.sp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-card-footer {
    margin-top: auto;
}

.sp-btn-secondary {
    text-decoration: none;
    background: #007bff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.sp-btn-secondary:hover {
    background: #0056b3;
}

.sp-dashboard-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.sp-btn-primary {
    background: #ff6600;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.sp-btn-primary:hover {
    background: #e65c00;
}

.sp-btn-logout {
    background: #d9534f;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.sp-btn-logout:hover {
    background: #c9302c;
}

.sp-card-empty {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #666;
}

/* Card Top Image */
.sp-card-top-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 10px;
}

/* Details Section with Background */
.sp-card-details.sp-details-bg {
    background-color: #f4f4f4; /* light industrial background */
    padding: 12px 15px;
    border-radius: 0 0 8px 8px;
}

/* Material Name and Status */
.sp-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.sp-details-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #000;
}
.sp-status {
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    background-color: #777;
    text-transform: capitalize;
}

.sp-status.Pending {
    background-color: #f0ad4e;
}

.sp-status.Approved {
    background: #5cb85c;
}

.sp-status.Rejected {
    background: #d9534f;
}

/* Row Style Details */
.sp-details-rows p {
    margin: 6px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #121111;
    font-size: 0.95rem;
}
.sp-details-rows p:last-child {
    border-bottom: none;
}

/* Card Footer Button */
.sp-card-footer {
    padding: 10px 15px;
    text-align: right;
}
.sp-btn-secondary {
    text-decoration: none;
    background-color: #111111;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}
.sp-btn-secondary:hover {
    background-color: #222;
}

/* Grid Layout for Cards */
.sp-materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.sp-card {
    background-color: #7bb8e06a;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/*buyer-style*/

.material-view {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 80px 8%;
    background: #2e4465e4;
}

.material-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.material-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.material-code {
    color: #f9f7f7;
    margin-bottom: 20px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    font-size: 15px;
    margin-bottom: 25px;
}

.cert-box {
    background: #fff;
    padding: 12px 18px;
    border-left: 4px solid #ffb703;
    margin-bottom: 25px;
    border-radius: 6px;
}

.cert-box a {
    text-decoration: none;
    color: #0b1c2d;
    font-weight: 600;
}

.buy-btn {
    padding: 14px 40px;
    background: #ffb703;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.buy-btn:hover {
    background: #ffc933;
}

/*seller info*/

.seller-card {
    padding: 50px 8%;
    background: #ffffff;
}

.seller-card h2 {
    margin-bottom: 20px;
    color: black;
}

.seller-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: #2b3b63;
    padding: 25px;
    border-radius: 12px;
}

/* popup */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-box {
    background: #fff;
    padding: 35px;
    width: 420px;
    border-radius: 14px;
    position: relative;
}

.popup-box h3 {
    margin-bottom: 20px;
}

.popup-box input,
.popup-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.popup-box button {
    width: 100%;
    padding: 12px;
    background: #0b1c2d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
}

.popup .close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
}

/* ===============================
   MOBILE RESPONSIVE – MATERIAL VIEW
================================ */

@media (max-width: 768px) {

    /* Header */
    .main-header {
        flex-direction: column;
        padding: 12px;
    }

    .main-header nav {
        margin-top: 10px;
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Material section */
    .material-view {
        flex-direction: column;
        padding: 16px;
        gap: 20px;
    }

    .material-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .material-info h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .material-code {
        font-size: 14px;
        margin-bottom: 14px;
    }

    /* Specs grid becomes cards */
    .spec-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .spec-grid div {
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 14px;
        background: #fafafa;
    }

    /* Certificate box */
    .cert-box {
        font-size: 14px;
        margin-top: 12px;
    }

    /* Buy button */
    .buy-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        border-radius: 10px;
        margin-top: 18px;
    }

    /* Popup */
    .popup {
        padding: 15px;
    }

    .popup-box {
        width: 100%;
        max-width: 380px;
        padding: 20px;
        border-radius: 12px;
    }

    .popup-box h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .popup-box input,
    .popup-box textarea {
        width: 100%;
        font-size: 14px;
        padding: 10px;
        margin-bottom: 10px;
    }

    .popup-box button {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        border-radius: 8px;
    }

    .popup-box .close {
        top: 10px;
        right: 14px;
        font-size: 22px;
    }

    /* Footer */
    .footer {
        text-align: center;
        font-size: 13px;
        padding: 12px;
    }
}

/* ===============================
   EXTRA SMALL DEVICES (PHONES)
================================ */

@media (max-width: 480px) {

    .material-info h1 {
        font-size: 20px;
    }

    .spec-grid div {
        font-size: 13px;
    }

    .buy-btn {
        font-size: 15px;
    }
}

/* ===============================
   SHOP STYLE – PREMIUM MARKETPLACE
================================ */

.shop-header {
    text-align: center;
    padding: 40px 20px 20px;
}

.shop-header h1 {
    font-size: 32px;
    font-weight: 600;
}

.shop-header p {
    color: #777;
    margin-top: 6px;
}

/* GRID */
.shop-grid {
    padding: 30px 40px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

/* PRODUCT CARD */
.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* BODY */
.product-body {
    padding: 18px 18px 22px;
}

.brand {
    font-size: 13px;
    color: #888;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.product-body h3 {
    font-size: 18px;
    margin: 6px 0 12px;
    line-height: 1.3;
}

/* TAGS */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tags span {
    background: #f2f2f2;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #333;
}

/* CTA */
.product-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
    .shop-grid {
        padding: 20px;
        gap: 20px;
    }

    .shop-header h1 {
        font-size: 26px;
    }
}

.form-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.buyer-form-card h3 {
    margin-bottom: 20px;
    color: #0b1c2d;
    border-bottom: 2px solid #ffb703;
    display: inline-block;
}

/* BUYER MATERIAL LIST */

.shop-header {
    padding: 30px 20px;
    text-align: center;
}

.shop-header h1 {
    font-size: 28px;
}

.shop-header p {
    color: #666;
}

/* GRID */
.shop-grid {
    padding: 20px 40px 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* CARD */
.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.product-body {
    padding: 16px;
}

.product-body h3 {
    font-size: 17px;
    margin-bottom: 12px;
}

/* TAGS */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tags span {
    background: #f1f1f1;
    padding: 5px 10px;
    border-radius: 14px;
    font-size: 12px;
}

/* BUTTON */
.product-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
    .shop-grid {
        padding: 20px;
    }
}

/* ===============================
   STICKY FOOTER FIX
================================ */

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}

/* Optional empty state styling */
.empty-state {
    width: 100%;
    text-align: center;
    color: #666;
    padding: 80px 20px;
    font-size: 16px;
}

.material-image-gallery{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.material-img{
    width:220px;
    height:180px;
    object-fit:cover;
    border-radius:10px;
    border:1px solid #ddd;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    transition:.3s;
}

.material-img:hover{
    transform:scale(1.05);
}

/* MAIN LAYOUT */
.material-container{
    display:flex;
    gap:40px;
    padding:40px;
    max-width:1400px;
    margin:auto;
}

/* LEFT SIDE */
.material-left{
    flex:1.2;
}

/* RIGHT SIDE */
.material-right{
    flex:1;
}

/* IMAGE GRID */
.pro-gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.pro-thumb{
    width:100%;
    height:230px;
    overflow:hidden;
    border-radius:12px;
    border:1px solid #e2e2e2;
    background:#fff;
    box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.pro-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.pro-thumb img:hover{
    transform:scale(1.08);
}

/* TITLE */
.material-right h1{
    font-size:32px;
    margin-bottom:10px;
}

/* SPEC GRID */
.spec-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:20px;
}

.spec-grid div{
    background:#f7f9fc;
    padding:12px 15px;
    border-radius:8px;
    font-size:15px;
}

/* FORM CARD */
.buyer-form-card{
    margin-top:30px;
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.buyer-form-card h3{
    margin-bottom:15px;
}

/* INPUTS */
.form-input{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border-radius:8px;
    border:1px solid #dcdcdc;
    font-size:14px;
}

/* BUTTON */
.buy-btn{
    background:#1c7ed6;
    color:white;
    padding:14px;
    border:none;
    border-radius:10px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.buy-btn:hover{
    background:#1864ab;
}

/* MOBILE */
@media(max-width:900px){
    .material-container{
        flex-direction:column;
    }
}

/* PAGE LAYOUT */
.material-view{
display:grid;
grid-template-columns: 1.1fr 1fr;
gap:40px;
padding:50px;
max-width:1400px;
margin:auto;
}

/* IMAGE GALLERY */
.material-image-gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:18px;
align-content:start;
}

.material-img{
width:100%;
height:220px;
object-fit:cover;
border-radius:12px;
box-shadow:0 6px 18px rgba(0,0,0,0.12);
transition:.3s;
background:#fff;
}

.material-img:hover{
transform:scale(1.04);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* RIGHT PANEL */
.material-info{
background:#0f172a;
padding:40px;
border-radius:16px;
box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.material-info h1{
margin-top:0;
font-size:32px;
letter-spacing:.5px;
}

/* SPEC GRID */
.spec-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
margin-top:25px;
}

.spec-grid div{
background:#111827;
padding:14px;
border-radius:10px;
font-size:15px;
}

/* ENQUIRY CARD */
.buyer-form-card{
box-shadow:0 8px 30px rgba(0,0,0,0.15);
border:1px solid #eee;
}

.buyer-form-card h3{
margin-top:0;
margin-bottom:18px;
}

/* INPUTS */
.form-input{
width:100%;
padding:12px 14px;
margin-bottom:14px;
border-radius:8px;
border:1px solid #ddd;
font-size:14px;
transition:.2s;
}

.form-input:focus{
outline:none;
border-color:#2563eb;
box-shadow:0 0 0 2px rgba(37,99,235,0.15);
}

/* BUTTON */
.buy-btn{
background:#2563eb;
color:white;
border:none;
padding:14px;
font-size:16px;
border-radius:10px;
cursor:pointer;
font-weight:600;
transition:.25s;
}

.buy-btn:hover{
background:#1e40af;
transform:translateY(-2px);
}

/* RESPONSIVE */
@media(max-width:1000px){
.material-view{
grid-template-columns:1fr;
}
.material-info{
order:-1;
}
}
