:root{
  --brand:#0b1c2d;          /* main brand color */
  --bg:#0b1c2d;             /* used for hero backgrounds etc. */
  --text:#0b1220;
  --muted:#5a6475;
  --card:#ffffff;
  --line:#e7e9ee;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  line-height:1.6;
  background:#f1f3f7;
}
.break-anywhere{
  display:inline-block;
  max-width:100%;
  white-space: normal;
  overflow-wrap:anywhere;
  word-break: break-word;
}

a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 18px}

.header{
  position:sticky; top:0; z-index:10;
  background:rgba(11,28,45,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:16px;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand img{height:55px; width:auto; display:block}
.nav{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.nav a{
  text-decoration:none;
  color:#fff;
  font-size:14px;
  opacity:.92;
  padding:8px 10px;
  border-radius:10px;
}
.nav a:hover{background:rgba(255,255,255,.08)}
.nav a.active{background:rgba(255,255,255,.14)}

/* HERO */
.hero{
  background: radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,.18), transparent 55%),
              radial-gradient(900px 500px at 90% 0%, rgba(255,255,255,.10), transparent 60%),
              var(--bg);
  color:#fff;
  padding:54px 0 64px; /* merged your padding + padding-bottom */
}
.hero h1{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.12;
  max-width: 980px;
}
.hero p{margin:0 0 18px;max-width:780px;opacity:.92}
.hero .sub{font-size:14px;opacity:.85;max-width:880px}

.hero-bg{
  background:
    linear-gradient(rgba(11,28,45,.80), rgba(11,28,45,.80)),
    url("../images/home/home-warehouse.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

/* Buttons (single source of truth) */
.btn{
  display:inline-block;
  padding:11px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  line-height:1;
  border:1px solid transparent;
  transition: filter .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

/* Default on LIGHT backgrounds */
.btn-primary{
  background: var(--brand);
  color:#fff;
  border:1px solid rgba(11,28,45,.85);
}
.btn-primary:hover{ filter:brightness(1.08); }

.btn-secondary{
  background:#fff;
  color: var(--brand);
  border:1px solid rgba(11,28,45,.30);
}
.btn-secondary:hover{
  background:#f7f8fb;
  border-color: rgba(11,28,45,.45);
}

.btn-ghost{
  background: transparent;
  color: var(--brand);
  border:1px solid rgba(11,28,45,.30);
}
.btn-ghost:hover{
  background: rgba(11,28,45,.06);
  border-color: rgba(11,28,45,.45);
}
.hero-img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(20,30,50,.12);
}
/* Make card headings equal height so bullets align */
.card h3{
  min-height: 60px;     /* adjust: try 48–60 */
  display:flex;
  align-items:flex-start;
  margin: 0 0 10px;
}
.card ul{
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 640px){
  .hero-img{ height:200px; }
}

/* HERO overrides (dark background) */
/* You asked: primary + secondary both white in hero */
.hero .btn-primary,
.hero .btn-secondary{
  background:#fff;
  color: var(--brand);
  border-color: rgba(255,255,255,.70);
}
.hero .btn-primary:hover,
.hero .btn-secondary:hover{ filter:brightness(.95); }

/* Ghost stays outline in hero */
.hero .btn-ghost{
  background: transparent;
  color:#fff;
  border-color: rgba(255,255,255,.70);
}
.hero .btn-ghost:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.90);
}

main{padding:44px 0}
.section{padding:26px 0}
.section h2{margin:0 0 12px; font-size:26px}
.section p{margin:0 0 14px; color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}
.card{
  background:#fff;
  border:1px solid rgba(20,30,50,.12);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}
.section.cta{
  background:#fff;
  border:1px solid rgba(20,30,50,.12);
  border-radius:18px;
  padding:26px;
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

/* Force 4 columns for the "What we do" row */
.grid-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.break-anywhere{ overflow-wrap:anywhere; word-break:break-word; }

/* Laptop */
@media (max-width: 1100px){
  .grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 640px){
  .grid-4{ grid-template-columns: 1fr; }
}
.project-photo{
  width:100%;
  height:220px;              /* change to 200–260 if you want */
  object-fit:cover;
  object-position:center;
  border-radius:16px;
  border:1px solid rgba(20,30,50,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.kpi{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-top:10px;
}
.kpi .pill{
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  color:var(--muted);
  background:#fff;
}

.timeline{
  border-left:2px solid var(--line);
  padding-left:16px;
  display:grid;
  gap:12px;
}
.step{
  position:relative;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow: var(--shadow);
}
.step::before{
  content:"";
  position:absolute;
  left:-25px;
  top:18px;
  width:12px; height:12px;
  border-radius:50%;
  background:var(--bg);
}

.notice{
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  background:#fbfcff;
  color:var(--muted);
  font-size:13px;
}

.contact-box{
  display:grid;
  gap:10px;
  padding:16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow);
}
.contact-box a{color:var(--bg); font-weight:700; text-decoration:none}
.contact-box a:hover{text-decoration:underline}

.footer{
  border-top:1px solid var(--line);
  padding:20px 0;
  color:var(--muted);
  font-size:13px;
}

/* subtle animation */
.reveal{opacity:0; transform:translateY(10px); transition: opacity .5s ease, transform .5s ease}
.reveal.show{opacity:1; transform:translateY(0)}



/* ---------- Mobile layout fixes ---------- */
@media (max-width: 720px){

  /* Give the page some breathing room */
  .container{
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header: stack logo + nav nicely */
  .header-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Logo size on mobile */
  .brand img{
    max-height: 44px;   /* adjust 38–52 */
    width: auto;
    display:block;
  }

  /* Nav wraps cleanly */
  .nav{
    width: 100%;
    display:flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav a{
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 15px;
  }

  /* Hero text sizing */
  .hero h1{ font-size: 28px; line-height: 1.15; }
  .hero p{ font-size: 16px; }
  .hero .sub{ font-size: 14px; }

  /* Contact section: reduce white space */
  .section.cta{
    padding: 18px;
    border-radius: 16px;
  }

  /* Contact box: keep it compact + readable */
  .contact-box{
    padding: 14px;
  }
  .contact-box div{
    font-size: 16px;
    line-height: 1.45;
  }
/* Force long emails/links to wrap on mobile */
.contact-box a{
  display:inline-block;
  max-width:100%;
  white-space: normal;
  overflow-wrap:anywhere;
  word-break: break-word;
}

  /* Prevent email overflow */
  .contact-box a{
    overflow-wrap: anywhere;   /* key fix */
    word-break: break-word;
  }
}




















