/*====================================================
JD VENDING SOLUTIONS
VERSION 2
====================================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

:root{

    --bg:#060a11;
    --bg2:#0b111c;

    --white:#ffffff;

    --text:#bcc7d5;

    --blue:#1c7cff;

    --line:rgba(255,255,255,.08);

    --glass:rgba(11,16,25,.72);

    --radius:26px;

}

body{

    font-family:"Inter",sans-serif;

    background:var(--bg);

    color:var(--white);

    overflow-x:hidden;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

}

.container{

    width:min(1520px,95%);

    margin:auto;

}

/*====================================================
HEADER
====================================================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    backdrop-filter:blur(18px);

    background:rgba(8,10,15,.72);

    border-bottom:1px solid rgba(255,255,255,.05);

}

.navigation{

    height:92px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:34px;

    font-weight:800;

    color:white;

    letter-spacing:-1px;

}

nav{

    display:flex;

    gap:42px;

}

nav a{

    color:#d2dae5;

    font-size:16px;

    transition:.3s;

}

nav a:hover{

    color:var(--blue);

}

.header-button{

    color:white;

    padding:18px 34px;

    border-radius:999px;

    border:1px solid var(--blue);

    transition:.35s;

}

.header-button:hover{

    background:var(--blue);

}



/*====================================================
HERO
====================================================*/

.hero{

    position:relative;

    padding:170px 0 200px;

    overflow:hidden;

    background:
      
        url("../images/hero-background.png");

    background-repeat:no-repeat;

    background-size:1600px auto;

    background-position:right 920px top 100px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr;

}

.hero-left{

    max-width:620px;

    position:relative;

    z-index:2;

    min-height:650px;

}

.hero-tag{

    display:inline-block;

    color:#1977ff;

    letter-spacing:4px;

    font-size:13px;

    font-weight:700;

    margin-bottom:25px;

}

.hero-left h1{

    font-size:92px;

    line-height:.92;

    letter-spacing:-5px;

    font-weight:900;

    margin-bottom:35px;

}

.hero-left p{

    font-size:22px;

    line-height:1.8;

    color:#b9c4d5;

    margin-bottom:50px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.hero-right{

    display:none;

}

.hero-right img{

    width:100%;

    max-width:760px;

    height:auto;

    filter:
    drop-shadow(0 45px 80px rgba(0,0,0,.45))
    drop-shadow(0 0 80px rgba(25,119,255,.20));

    transition:.35s;

}

.hero-right img:hover{

    transform:translateY(-10px);

}


/*====================================================
FEATURE STRIP
====================================================*/

.feature-strip{

    position:relative;

    margin-top:-30px;

    z-index:200;

    padding-bottom:120px;

}

.feature-wrapper{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    background:rgba(10,14,22,.86);

    backdrop-filter:blur(28px);

    border:1px solid rgba(255,255,255,.07);

    border-radius:30px;

    overflow:hidden;

    box-shadow:

    0 35px 80px rgba(0,0,0,.45);

}

.feature{

    display:flex;

    align-items:flex-start;

    gap:22px;

    padding:42px 36px;

    transition:.35s;

}

.feature:hover{

    background:rgba(18,109,255,.06);

}

.feature-icon{

    width:62px;

    height:62px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(18,109,255,.10);

    border:1px solid rgba(18,109,255,.25);

    color:var(--blue);

    font-size:24px;

    font-weight:700;

}

.feature-icon img {
    width: 42px;
    height: 42px;
}

.feature h3{

    font-size:23px;

    margin-bottom:12px;

}

.feature p{

    color:var(--text);

    line-height:1.7;

}

/*====================================================
GLOBAL SECTION
====================================================*/

.section{

    padding:140px 0;

}

.section-heading{

    max-width:820px;

    margin-bottom:80px;

}

.section-heading span{

    display:inline-block;

    color:var(--blue);

    letter-spacing:4px;

    font-size:13px;

    margin-bottom:22px;

}

.section-heading h2{

    font-size:72px;

    line-height:1;

    letter-spacing:-3px;

    font-weight:900;

    margin-bottom:30px;

}

.section-heading p{

    color:var(--text);

    font-size:22px;

    line-height:1.8;

    margin-bottom:24px;

}

/*====================================================
STATISTICS
====================================================*/

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.stat-card{

    background:linear-gradient(

        180deg,

        rgba(15,20,30,.96),

        rgba(8,11,18,.96)

    );

    border:1px solid rgba(255,255,255,.06);

    border-radius:26px;

    padding:42px;

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-10px);

    border-color:rgba(18,109,255,.45);

    box-shadow:

    0 25px 70px rgba(18,109,255,.18);

}

.stat-card h3{

    font-size:56px;

    color:var(--blue);

    margin-bottom:18px;

}

.stat-card h4{

    font-size:24px;

    margin-bottom:16px;

}

.stat-card p{

    color:var(--text);

    line-height:1.8;

}

/*====================================================
MACHINES
====================================================*/

.machines{

    padding:160px 0;

}

.machine-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:36px;

}

.machine-card{

    background:linear-gradient(

        180deg,

        rgba(15,20,30,.96),

        rgba(8,11,18,.96)

    );

    border:1px solid rgba(255,255,255,.06);

    border-radius:32px;

    overflow:hidden;

    transition:.35s;

}

.machine-card:hover{

    transform:translateY(-8px);

    border-color:rgba(18,109,255,.45);

}

.machine-image{
    height:500px;          /* was probably 260-300px */
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
    overflow:hidden;
}

.machine1200 {
    width: 150%;
    max-width: 620px;
    display: block;
    margin: 0 auto;
}

.machine-image img{
    width:95%;
    max-width:100%;
    height:auto;
    object-fit:contain;
    transition:.4s;
}

.machine-card:hover img{

    transform:scale(1.05);

}

.machine-content{

    padding:38px;

}

.machine-content h3{

    font-size:34px;

    margin-bottom:18px;

}

.machine-content p{

    color:var(--text);

    line-height:1.8;

    margin-bottom:28px;

}

.machine-content a{

    color:var(--blue);

    font-weight:700;

}
/*====================================================
INDUSTRIES
====================================================*/

.industries{

    padding:160px 0;

}

.industry-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:32px;

}

.industry-card{

    background:linear-gradient(
    180deg,
    rgba(15,20,30,.96),
    rgba(8,11,18,.96));

    border:1px solid rgba(255,255,255,.06);

    border-radius:30px;

    padding:42px;

    transition:.35s;

}

.industry-card:hover{

    transform:translateY(-8px);

    border-color:rgba(28,124,255,.45);

    box-shadow:
    0 25px 60px rgba(28,124,255,.15);

}

.industry-card h3{

    font-size:30px;

    margin-bottom:20px;

}

.industry-card p{

    color:var(--text);

    line-height:1.8;

}

/*====================================================
FINANCE
====================================================*/

.finance{

    padding:160px 0;

}

.finance-box{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:80px;

    padding:70px;

    border-radius:36px;

    background:linear-gradient(
    180deg,
    rgba(14,20,32,.95),
    rgba(8,11,18,.98));

    border:1px solid rgba(255,255,255,.06);

}

.finance-box span{

    color:var(--blue);

    letter-spacing:4px;

    font-size:13px;

    display:block;

    margin-bottom:22px;

}

.finance-box h2{

    font-size:68px;

    line-height:1;

    margin-bottom:30px;

    letter-spacing:-3px;

}

.finance-box p{

    color:var(--text);

    line-height:1.8;

    font-size:21px;

    max-width:700px;

}

.finance-buttons{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/*====================================================
ABOUT
====================================================*/

.about{

    padding:160px 0;

}

/*====================================================
CONTACT
====================================================*/

.contact{

    padding:160px 0;

}

.contact-actions{

    display:flex;

    gap:20px;

    margin-top:50px;

}

/*==================================================
FOOTER
==================================================*/

.footer{
    padding:70px 0 30px;
    border-top:1px solid rgba(255,255,255,.08);
    background:#080d16;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:90px;
    margin-bottom:50px;
}

.footer h3{
    font-size:42px;
    font-weight:800;
}

.footer h4{
    font-size:18px;
    margin-bottom:20px;
}

.footer p,
.footer a{
    color:#9aa7bd;
    text-decoration:none;
    display:block;
    margin-bottom:12px;
    transition:.3s;
}

.footer a:hover{
    color:#2d7dff;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:25px;
    text-align:center;
    color:#7d8798;
    font-size:14px;
}

/*====================================================
RESPONSIVE
====================================================*/

/* ---------- Tablet ---------- */

@media (max-width:992px){

    .container{
        width:min(95%,900px);
    }

    .navigation{
        height:82px;
    }

    nav{
        display:none;
    }

    .logo{
        font-size:30px;
    }

    .header-button{
        padding:15px 28px;
    }

    .hero{
        padding:120px 0 100px;
    }

    .hero-grid{
        grid-template-columns:1fr;
    }

    .hero-left{
        max-width:100%;
    }

    .hero-left h1{
        font-size:68px;
    }

    .hero-left p{
        font-size:20px;
    }

    .feature-wrapper{
        grid-template-columns:repeat(2,1fr);
    }

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .machine-grid{
        grid-template-columns:1fr;
    }

    .industry-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .finance-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .finance-buttons{
        flex-direction:row;
        flex-wrap:wrap;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

}


/* ---------- Mobile ---------- */

@media (max-width:768px){

    .container{
        width:94%;
    }

    .navigation{
        height:76px;
    }

    nav{
        display:none;
    }

    .logo{
        font-size:22px;
        line-height:1.1;
    }

    .header-button{
        padding:12px 22px;
        font-size:14px;
    }

    .hero{
    background-image:url("../images/hero-background-mobile.png");
    background-repeat:no-repeat;

    /* try these */
    background-size:100% auto;
    background-position:center 80px;

    height:980px;     /* adjust between 900–1050px */

    padding:0;
    }

    .hero-grid{
        display:block;
    }

    .hero-left{
    display:block;
    min-height:800px;   /* adjust to match your mobile background */
}

.hero-tag,
.hero-left h1,
.hero-left p{
    display:none;
}

   .hero-cta{
        display:flex;
        gap:16px;
        justify-content:flex-start;

        margin-top:720px;
        margin-left:600px;
    }

    .hero-right{
        display:none;
    }

    .feature-strip{

        margin-top:-120px;   /* adjust this one number */

        position:relative;

        z-index:20;

        padding-bottom:80px;

    }

    .feature-wrapper{
        grid-template-columns:1fr;
    }

    .feature{
        padding:34px 28px;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .machine-grid{
        grid-template-columns:1fr;
    }

    .industry-grid{
        grid-template-columns:1fr;
    }

    .section{
        padding:90px 0;
    }

    .section-heading{
        text-align:left;
        margin-bottom:50px;
    }

    .section-heading h2{
        font-size:44px;
        line-height:1.05;
    }

    .section-heading p{
        font-size:18px;
    }

    .finance{
        padding:90px 0;
    }

    .finance-box{
        padding:34px;
        gap:35px;
    }

    .finance-box h2{
        font-size:42px;
    }

    .finance-buttons{
        flex-direction:column;
        width:100%;
    }

    .finance-buttons a{
        width:100%;
    }

    .contact-buttons{
        flex-direction:column;
        width:100%;
    }

    .contact-buttons a{
        width:100%;
    }

    .footer{
        padding:60px 0 30px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        gap:40px;
        text-align:center;
    }

}

/* HERO CTA BUTTONS */

.hero-cta{
    display:flex;
    gap:20px;
    margin-top:720px;
    margin-left:50px;   /* adjust this value */
}

.hero-cta-blue{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    background:#1c7cff;
    color:#fff;
    border-radius:999px;
    font-weight:600;
    font-size:16px;
    transition:.3s;
}

.hero-cta-blue:hover{
    background:#3d8cff;
}

.hero-cta-outline{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:999px;
    color:#fff;
    font-size:16px;
    font-weight:600;
    text-decoration:none;
    background:transparent;
}

.hero-cta-outline:hover{
    border-color:#1c7cff;
    color:#1c7cff;
}

.finance-buttons{
    display:flex;
    gap:20px;
    margin-top:45px;
    flex-wrap:wrap;
}

.finance-button-blue{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 32px;
    border-radius:999px;
    background:#1977ff;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.finance-button-blue:hover{
    background:#2d86ff;
}

.finance-button-outline{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 32px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.finance-button-outline:hover{
    border-color:#1977ff;
    color:#1977ff;
}

/* CONTACT BUTTONS */

.contact-buttons{
    display:flex;
    gap:24px;
    margin-top:60px;
    align-items:center;
}

.contact-button-blue{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:180px;
    height:58px;

    padding:0 34px;

    background:#1977ff;
    color:#fff;

    border-radius:999px;

    font-size:18px;
    font-weight:600;

    text-decoration:none;

    box-shadow:0 12px 30px rgba(25,119,255,.35);

    transition:.3s;
}

.contact-button-blue:hover{
    background:#2a86ff;
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(25,119,255,.45);
}

.contact-button-outline{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:180px;
    height:58px;

    padding:0 34px;

    border:1px solid rgba(255,255,255,.18);

    color:#fff;

    border-radius:999px;

    font-size:18px;
    font-weight:600;

    text-decoration:none;

    transition:.3s;
}

.contact-button-outline:hover{
    border-color:#1977ff;
    background:rgba(25,119,255,.08);
    transform:translateY(-3px);
}