/* ==========================================
   NEXPAK SOLUTIONS WEBSITE V2
   GLOBAL STYLES
========================================== */

:root{

    --navy:#0A2342;
    --blue:#1D4ED8;
    --gold:#D4AF37;
    --white:#ffffff;
    --light:#F8FAFC;
    --grey:#6B7280;
    --dark:#111827;

    --shadow:0 15px 40px rgba(0,0,0,.12);

    --radius:18px;

    --transition:.35s ease;

}

/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{

scroll-behavior:smooth;

}

body{

font-family:'Inter',sans-serif;

background:var(--light);
   
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
transition: background-image 1s ease-in-out;

color:var(--dark);

overflow-x:hidden;

line-height:1.6;

}

/* LINKS */

a{

text-decoration:none;

transition:var(--transition);

}

/* IMAGES */

img{

max-width:100%;

display:block;

}

/* CONTAINER */

.container{

width:min(1200px,92%);

margin:auto;

}

/* SECTIONS */

section{

padding:100px 0;

}

/* TITLES */

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h5{

color:var(--gold);

font-size:15px;

letter-spacing:4px;

text-transform:uppercase;

margin-bottom:15px;

}

.section-title h2{

font-size:48px;

font-weight:800;

color:var(--navy);

margin-bottom:20px;

}

.section-title p{

max-width:760px;

margin:auto;

font-size:18px;

color:var(--grey);

line-height:1.8;

}

/* BUTTONS */

.primary-btn{

display:inline-flex;

align-items:center;

gap:12px;

padding:16px 34px;

background:var(--gold);

color:var(--navy);

font-weight:700;

border-radius:50px;

box-shadow:var(--shadow);

transition:var(--transition);

}

.primary-btn:hover{

transform:translateY(-4px);

background:#c99715;

}

.secondary-btn{

display:inline-flex;

align-items:center;

gap:12px;

padding:16px 34px;

border:2px solid white;

color:white;

font-weight:700;

border-radius:50px;

transition:var(--transition);

}

.secondary-btn:hover{

background:white;

color:var(--navy);

}

/* CARDS */

.card{

background:white;

border-radius:var(--radius);

box-shadow:var(--shadow);

transition:var(--transition);

overflow:hidden;

}

.card:hover{

transform:translateY(-8px);

}

/* GOLD LINE */

.gold-line{

width:90px;

height:5px;

background:var(--gold);

margin:20px auto;

border-radius:10px;

}

/* TEXT */

.text-center{

text-align:center;

}

/* SPACING */

.mt-1{margin-top:15px;}
.mt-2{margin-top:30px;}
.mt-3{margin-top:45px;}
.mt-4{margin-top:60px;}

.mb-1{margin-bottom:15px;}
.mb-2{margin-bottom:30px;}
.mb-3{margin-bottom:45px;}
.mb-4{margin-bottom:60px;}

/* SIMPLE FADE */

.fade{

opacity:0;

transform:translateY(40px);

transition:.8s ease;

}

.fade.show{

opacity:1;

transform:translateY(0);

}

/* MOBILE */

@media(max-width:768px){

section{

padding:70px 0;

}

.section-title h2{

font-size:34px;

}

.section-title p{

font-size:16px;

}

.primary-btn,
.secondary-btn{

padding:14px 24px;

font-size:15px;

}

  }
/* ==========================================
   HEADER & NAVIGATION
========================================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(10,35,66,.88);
    backdrop-filter:blur(14px);
    transition:.35s ease;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:90px;
}

.logo img{
    height:80px;
    transition:.3s ease;
}

.logo img:hover{
    transform:scale(1.05);
}

nav{
    display:flex;
    align-items:center;
    gap:35px;
}

nav a{
    color:#fff;
    font-weight:600;
    font-size:15px;
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0%;
    height:3px;
    background:var(--gold);
    transition:.3s;
}

nav a:hover{
    color:var(--gold);
}

nav a:hover::after{
    width:100%;
}

.shop-btn{
    background:var(--gold);
    color:var(--navy);
    padding:14px 26px;
    border-radius:50px;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:10px;
    box-shadow:var(--shadow);
}

.shop-btn:hover{
    transform:translateY(-3px);
    background:#c99715;
}

/* ==========================================
   HERO SECTION
========================================== */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    overflow:hidden;

    background:url("../hero.jpg") center center/cover no-repeat;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(10,35,66,.82),
        rgba(10,35,66,.65)
    );
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    color:white;
    padding:20px;
}

.hero-content h5{
    color:var(--gold);
    letter-spacing:5px;
    margin-bottom:18px;
    font-size:18px;
}

.hero-content h1{
    font-size:72px;
    font-weight:800;
    line-height:1.1;
    margin-bottom:30px;
}

.hero-content p{
    font-size:22px;
    line-height:1.8;
    max-width:780px;
    margin:auto;
    opacity:.95;
}

.hero-buttons{
    margin-top:45px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* ==========================================
   HERO FEATURE BOXES
========================================== */

.hero-features{
    margin-top:70px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.hero-features div{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:18px;
    padding:28px 20px;
    transition:.35s;
}

.hero-features div:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.14);
}

.hero-features i{
    color:var(--gold);
    font-size:34px;
    margin-bottom:15px;
}

.hero-features h3{
    font-size:24px;
    margin-bottom:8px;
    color:white;
}

.hero-features span{
    color:#ddd;
    font-size:15px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

.hero-content h1{
    font-size:52px;
}

.hero-content p{
    font-size:18px;
}

.hero-features{
    grid-template-columns:repeat(2,1fr);
}

nav{
    gap:18px;
}

}

@media(max-width:768px){

.header{
    flex-direction:column;
    justify-content:center;
    height:auto;
    padding:18px 0;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
    margin:20px 0;
}

.hero-content h1{
    font-size:38px;
}

.hero-content h5{
    font-size:15px;
}

.hero-content p{
    font-size:16px;
}

.hero-features{
    grid-template-columns:1fr;
}

.shop-btn{
    margin-top:10px;
}

}
/* ==========================================
   STATISTICS
========================================== */

.stats{
    background:var(--navy);
    color:white;
    padding:80px 0;
}

.stats .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.stat-card{
    text-align:center;
    padding:30px 20px;
}

.stat-card h2{
    font-size:52px;
    color:var(--gold);
    margin-bottom:10px;
    font-weight:800;
}

.stat-card p{
    font-size:18px;
    color:#d1d5db;
}

/* ==========================================
   WHY CHOOSE NEXPAK
========================================== */

.why{
    background:white;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.why-card{
    background:white;
    border-radius:20px;
    padding:40px 30px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.35s ease;
    border-top:5px solid transparent;
}

.why-card:hover{
    transform:translateY(-10px);
    border-top:5px solid var(--gold);
}

.why-card i{
    font-size:55px;
    color:var(--gold);
    margin-bottom:20px;
}

.why-card h3{
    color:var(--navy);
    margin-bottom:15px;
    font-size:24px;
}

.why-card p{
    color:var(--grey);
    line-height:1.8;
}

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

.industries{
    background:#f8fafc;
}

.industries-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.industries-grid div{
    background:white;
    border-radius:18px;
    padding:35px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.35s;
}

.industries-grid div:hover{
    transform:translateY(-8px);
}

.industries-grid i{
    font-size:48px;
    color:var(--gold);
    margin-bottom:18px;
}

.industries-grid span{
    display:block;
    font-size:18px;
    font-weight:700;
    color:var(--navy);
}

/* ==========================================
   SHOP BY CATEGORY
========================================== */

.categories{
    background:white;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.category-card{
    overflow:hidden;
    border-radius:20px;
    box-shadow:var(--shadow);
    background:white;
    transition:.4s;
}

.category-card:hover{
    transform:translateY(-10px);
}

.category-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.4s;
}

.category-card:hover img{
    transform:scale(1.08);
}

.category-card h3{
    padding:25px;
    text-align:center;
    color:var(--navy);
    font-size:24px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:900px){

.stats .container{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.stats .container,
.why-grid,
.category-grid,
.industries-grid{
    grid-template-columns:1fr;
}

.stat-card h2{
    font-size:42px;
}

.section-title h2{
    font-size:34px;
}

}
/* ==========================================
   FEATURED PRODUCTS
========================================== */

.featured{
    background:#f8fafc;
}

.featured-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
    gap:30px;
}

.product-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.35s ease;
    position:relative;
}

.product-card:hover{
    transform:translateY(-10px);
}

.product-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.badge{
    position:absolute;
    top:15px;
    left:15px;
    background:var(--gold);
    color:var(--navy);
    padding:8px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
}

.product-card h3{
    color:var(--navy);
    padding:20px 20px 10px;
}

.product-card p{
    color:var(--grey);
    padding:0 20px 20px;
}

.product-btn{
    display:block;
    margin:20px;
    text-align:center;
    padding:14px;
    background:var(--navy);
    color:#fff;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
}

.product-btn:hover{
    background:var(--gold);
    color:var(--navy);
}

/* ==============================
   SECURITY PAGE
============================== */

.security-page {

    width:100%;
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#020b16;

}

.security-page img {

    width:100%;
    height:auto;

    display:block;

}

/* ==========================================
   SECURITY PAGE BUTTONS
========================================== */

.security-page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.security-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* BUTTON STYLE */

.security-btn {
    position: absolute;
    padding: 12px 28px;
    background: #0b3d91;
    color: white;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}


.security-btn:hover {
    background: #ff8c00;
}


/* POSITIONING */

.products-btn {
    bottom: 60px;
    left: 35%;
}


.quote-btn {
    bottom: 60px;
    right: 35%;
}

/* SECURITY HOME BUTTON */

.home-btn {
    top: 30px;
    left: 30px;
}

/* ==========================================
   TESTIMONIALS
========================================== */

.testimonials{
    background:#fff;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.testimonial{
    background:#fff;
    border-radius:20px;
    box-shadow:var(--shadow);
    padding:40px;
    text-align:center;
    transition:.35s;
}

.testimonial:hover{
    transform:translateY(-8px);
}

.testimonial:first-line{
    color:var(--gold);
}

.testimonial strong{
    display:block;
    margin-top:20px;
    color:var(--navy);
}

/* ==========================================
   CALL TO ACTION
========================================== */

.cta{
    background:linear-gradient(135deg,var(--navy),#163d74);
    color:white;
    text-align:center;
}

.cta h2{
    font-size:48px;
    margin-bottom:20px;
}

.cta p{
    max-width:750px;
    margin:0 auto 40px;
    font-size:19px;
    line-height:1.8;
}

/* ==========================================
   FOOTER
========================================== */

footer{
    background:#08192f;
    color:white;
    padding:80px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
    margin-bottom:50px;
}

.footer-grid h3{
    color:var(--gold);
    margin-bottom:20px;
}

.footer-grid a{
    display:block;
    color:#d1d5db;
    margin-bottom:12px;
}

.footer-grid a:hover{
    color:var(--gold);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    padding-top:25px;
    text-align:center;
    color:#bfc7d5;
}

/* ==========================================
   WHATSAPP BUTTON
========================================== */

.whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    width:70px;
    height:70px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:34px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:9999;
    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.12);
}

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

@media(max-width:768px){

.security h2,
.cta h2{
    font-size:34px;
}

.security-services,
.featured-grid,
.testimonial-grid,
.footer-grid{
    grid-template-columns:1fr;
}

.whatsapp{
    width:60px;
    height:60px;
    font-size:28px;
}

  }
/* ==========================================
   SCROLL TO TOP BUTTON
========================================== */

.scroll-top{

position:fixed;

bottom:110px;

right:25px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:var(--gold);

color:var(--navy);

font-size:22px;

cursor:pointer;

opacity:0;

visibility:hidden;

transition:.3s;

box-shadow:var(--shadow);

z-index:999;

}

.scroll-top.show{

opacity:1;

visibility:visible;

}

.scroll-top:hover{

transform:translateY(-5px);

   }
/* ==========================================
   EXTRA ANIMATIONS
========================================== */

nav a.active{

color:var(--gold);

}

.pulse{

animation:pulse 1s;

}

@keyframes pulse{

0%{

transform:scale(1);

}

50%{

transform:scale(1.08);

}

100%{

transform:scale(1);

}

}

.hero{

transition:background-image 1s ease-in-out,
opacity .6s ease;

  }
