/* ===== Variables ===== */
:root{
  --brand:#0b5; /* primary green */
  --brand-dark:#094a3a;
  --text:#0b132b;
  --muted:#6b7280;
  --bg:#f7faf9;
  --white:#fff;
  --shadow:0 10px 25px rgba(0,0,0,.08);
  --radius:18px;
}

/* ===== Global Styles ===== */
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:var(--bg);scroll-behavior:smooth}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1120px,92%);margin:0 auto}

/* ===== Navigation ===== */
.nav{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.8);backdrop-filter:saturate(180%) blur(12px);
  box-shadow:0 1px 0 rgba(0,0,0,.06)
}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.logo{display:flex;align-items:center;gap:10px;font-weight:800}
.logo .dot{width:12px;height:12px;border-radius:50%;background:var(--brand)}
.menu{display:flex;gap:22px}
.menu a{color:#111827;font-weight:600;opacity:.9}
.menu a:hover{color:var(--brand)}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  background: linear-gradient(rgba(10,50,100,0.4), rgba(10,50,100,0.4)),
              url("assets/warehouse_bg.jpg") center/cover no-repeat;
  color: white;
  padding: 120px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.hero-content {
  max-width: 650px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e6f9f1;
  color: #065f46;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.lead {
  font-size: 18px;
  margin: 0 0 22px;
}
.cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tags {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef8f2;
  color: #065f46;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;border:2px solid transparent;
  font-weight:800;cursor:pointer;transition:.2s box-shadow,.2s transform,.2s background
}
.btn.primary{background:var(--brand);color:#fff;box-shadow:var(--shadow)}
.btn.primary:hover{transform:translateY(-2px);background:linear-gradient(180deg,#0c6,#0a5)}
.btn.ghost{border-color:#d1fae5;color:#065f46;background:#f0fcf6}
.btn.ghost:hover{background:#def7ec}

/* ===== Sections ===== */
.section{padding:56px 0}
.section h2{font-size:32px;margin:0 0 8px}
.section p.sub{color:var(--muted);margin:0 0 24px}

/* ===== Cards ===== */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;display:flex;flex-direction:column;gap:10px}
.card .title{font-weight:800;font-size:18px}
.card .desc{color:var(--muted);font-size:14px}
.card .actions{margin-top:auto;display:flex;gap:8px}

.card img {
  width: 100%;           /* full card width */
  height: 180px;         /* fixed height for all cards */
  object-fit: cover;     /* crop/scale image to cover the area */
  border-radius: var(--radius) var(--radius) 0 0; /* rounded top corners */
}


/* ===== Grids ===== */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.product{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.product .body{padding:12px;display:flex;flex-direction:column;gap:8px}
.product .name{font-weight:800}
.product .meta{color:var(--muted);font-size:13px}
.product .btn{width:100%}

/* ===== Form / Modal ===== */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;padding:16px}
.modal.open{display:flex}
.modal .panel{background:#fff;border-radius:16px;box-shadow:var(--shadow);width:min(560px,96%);padding:18px}
.modal .header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding-bottom:10px;margin-bottom:14px;font-weight:800}
.form{display:grid;gap:12px}
.form label{display:grid;gap:6px;font-weight:700}
.form input,.form textarea{
  padding:10px 12px;border-radius:10px;border:1px solid #e5e7eb;font-size:14px
}
.form small{color:#6b7280}
.alert{padding:12px;border-radius:12px;background:#ecfeff;border:1px solid #a5f3fc;color:#064e3b;font-weight:700}

/* ===== About / KPIs ===== */
.about-hero{background:#fff;padding:48px;border-radius:var(--radius);box-shadow:var(--shadow)}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.kpi{background:#fff;border-radius:16px;padding:16px;box-shadow:var(--shadow);text-align:center}
.kpi .num{font-size:28px;font-weight:900}
.kpi .lbl{color:var(--muted);font-size:12px}

/* ===== Footer ===== */
.footer {
  padding: 36px 0;
  border-top: 1px solid #1e293b;
  background: #09122C;
  margin-top: 40px;
  color: #e5e7eb; /* make all footer text visible */
}

.footer .cols {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
}

.footer h4 {
  margin: 0 0 8px;
  color: #ffffff; /* headings white */
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: #cbd5e1; /* light gray links */
  text-decoration: none;
}
.footer a:hover {
  color: #38bdf8; /* highlight on hover */
}

.copy {
  color: #94a3b8; /* lighter gray */
  font-size: 13px;
  margin-top: 10px;
}

/* Bottom row */
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer .powered {
  font-size: 13px;
  color: #94a3b8;
  text-align: right;
}

.footer .powered a {
  color: #38bdf8;
  font-weight: 500;
  text-decoration: none;
}

.footer .powered a:hover {
  color: #0ea5e9;
}

.logo img {
  height: 70px;
  width: auto;
}


/* ===== Responsive ===== */
@media (max-width:1024px){
  .hero .container{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .product-grid{grid-template-columns:1fr 1fr 1fr}
}
@media (max-width:640px){
  .cards{grid-template-columns:1fr}
  .product-grid{grid-template-columns:1fr 1fr}
  .h1{font-size:38px}
}

@media (max-width:780px){
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
}
.footer .cols {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
    margin:0 auto;
}
.logo img {
    height: 50px;
    width: auto;
    padding-right: 15px;
}
.menu {
    gap: 10px;
}
.menu a {
    font-weight: 200;
    font-size: 14px;
}
}
