/* =========================================================
   S2 Logistics Ltd — FULL styles.css (White + Blue + Orange)
   Premium, vibrant, clean spacing, mobile-ready
   ========================================================= */

/* -----------------------------
   BRAND TOKENS (edit here only)
   ----------------------------- */
:root{
  /* Logo-inspired palette */
  --blue:   #0b5cff;   /* bright blue */
  --blue2:  #00b2ff;   /* cyan highlight */
  --navy:   #061a3a;   /* deep navy */
  --navy2:  #0a2a56;   /* secondary navy */
  --orange: #ff6a00;   /* orange pop */
  --orange2:#ffb000;   /* warm orange */

  /* Light site base */
  --bg:       #ffffff;
  --bg-soft:  #f6f9ff; /* soft blue tint */
  --bg-soft2: #fff5ec; /* soft orange tint */

  /* UI surfaces */
  --card:   #ffffff;
  --card2:  #f3f8ff;

  /* Text */
  --ink:   #0b1220;
  --muted: rgba(11,18,32,0.68);

  /* Lines & shadows */
  --border: rgba(11,18,32,0.10);
  --border2: rgba(11,92,255,0.18);

  --shadow:  0 18px 55px rgba(11,18,32,0.10);
  --shadow2: 0 14px 35px rgba(11,92,255,0.18);

  /* Layout */
  --radius: 18px;
  --radius2: 24px;
  --container: 1120px;

  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* -----------------------------
   RESET / BASE
   ----------------------------- */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(11,92,255,0.10), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(255,106,0,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }
.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }

code{
  background: rgba(11,92,255,0.08);
  border: 1px solid rgba(11,92,255,0.18);
  padding: 2px 6px;
  border-radius: 10px;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar{
  background: linear-gradient(90deg, rgba(11,92,255,0.12), rgba(255,106,0,0.10));
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}
.topbar-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.badge{
  font-weight: 900;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,106,0,0.14);
  border: 1px solid rgba(255,106,0,0.28);
  color: #b74400;
}
.topbar-text{
  font-size: 13px;
  color: rgba(11,18,32,0.72);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.topbar-right{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.toplink{
  font-size: 13px;
  text-decoration:none;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(11,18,32,0.06);
}
.toplink:hover{
  border-color: rgba(11,92,255,0.28);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  min-width: 240px;
}
.brand-logo{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  box-shadow: var(--shadow2);
}

/* When you use your uploaded logo image */
.brand-logo-img{
  width: 160px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.brand-text{ min-width: 0; }
.brand-name{
  font-weight: 900;
  letter-spacing: -0.02em;
}
.brand-tag{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav a{
  font-size: 14px;
  color: rgba(11,18,32,0.72);
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 14px;
}
.nav a:hover{
  background: rgba(11,92,255,0.10);
  color: var(--ink);
}

/* Hamburger + Mobile nav (script.js uses these IDs) */
.hamburger{
  display:none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.95);
  cursor: pointer;
}
.hamburger span{
  display:block;
  height: 2px;
  width: 18px;
  background: rgba(11,18,32,0.75);
  margin: 4px auto;
  border-radius: 2px;
}
.mobile-nav{
  display:none;
  padding: 12px 0 18px;
  border-top: 1px solid var(--border);
}
.mobile-nav a{
  display:block;
  padding: 10px 0;
  color: rgba(11,18,32,0.78);
  text-decoration:none;
}
.mobile-nav a:hover{ color: var(--blue); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

.btn-primary{
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  box-shadow: 0 18px 45px rgba(11,92,255,0.22);
}
.btn-primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.btn-ghost{
  background: rgba(255,255,255,0.92);
  border-color: rgba(11,18,32,0.12);
  color: var(--ink);
  box-shadow: 0 10px 18px rgba(11,18,32,0.05);
}
.btn-ghost:hover{
  border-color: rgba(255,106,0,0.35);
  box-shadow: 0 14px 30px rgba(255,106,0,0.14);
}
.btn-block{ width: 100%; }

/* =========================================================
   FLOATING ACTION BUTTONS
   ========================================================= */
.fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.fab-btn{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 900;
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff9a3c);
  box-shadow: 0 18px 45px rgba(255,106,0,0.22);
  transition: transform 120ms ease, filter 120ms ease;
}
.fab-btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.fab-btn-ghost{
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 18px 45px rgba(11,92,255,0.20);
}
.fab-ic{ font-size: 16px; }
.fab-tx{ font-size: 14px; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  padding: 54px 0 26px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-60px 0 auto 0;
  height: 460px;
  background:
    radial-gradient(720px 280px at 18% 18%, rgba(11,92,255,0.18), transparent 70%),
    radial-gradient(720px 280px at 82% 22%, rgba(255,106,0,0.14), transparent 72%);
  filter: blur(18px);
  pointer-events:none;
  z-index:-1;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(11,92,255,0.10);
  border: 1px solid rgba(11,92,255,0.18);
  color: rgba(11,18,32,0.78);
  font-size: 13px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255,106,0,0.18);
}

.hero-copy h1{
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  margin: 16px 0 12px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.lead{
  color: rgba(11,18,32,0.68);
  font-size: 16px;
  line-height: 1.68;
  max-width: 62ch;
}
.hero-actions{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* Trust cards */
.trust{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.trust-item{
  background: linear-gradient(180deg, #fff, var(--card2));
  border: 1px solid rgba(11,92,255,0.16);
  border-radius: 18px;
  padding: 12px 14px;
  min-width: 150px;
  box-shadow: 0 14px 30px rgba(11,18,32,0.06);
}
.trust-kpi{ font-weight: 900; color: var(--navy); }
.trust-sub{ font-size: 12px; color: rgba(11,18,32,0.62); margin-top: 3px; }

.note{
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,106,0,0.22);
  background: rgba(255,106,0,0.07);
  color: rgba(11,18,32,0.78);
}

/* =========================================================
   QUOTE CARD / TABS
   ========================================================= */
.hero-card{
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border: 1px solid rgba(11,92,255,0.16);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset: -60px -60px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,106,0,0.22), transparent 60%);
  pointer-events:none;
}
.hero-card::after{
  content:"";
  position:absolute;
  inset: auto auto -80px -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(11,92,255,0.18), transparent 60%);
  pointer-events:none;
}

.tabs{
  display:flex;
  gap: 8px;
  background: rgba(11,92,255,0.08);
  border: 1px solid rgba(11,92,255,0.16);
  border-radius: 18px;
  padding: 6px;
}
.tab{
  flex:1;
  border: 0;
  background: transparent;
  color: rgba(11,18,32,0.65);
  font-weight: 900;
  border-radius: 14px;
  padding: 10px 10px;
  cursor: pointer;
}
.tab.active{
  background: linear-gradient(135deg, rgba(11,92,255,0.18), rgba(255,106,0,0.14));
  color: var(--navy);
  border: 1px solid rgba(11,18,32,0.08);
}

.panel{ display:none; padding: 14px 4px 4px; }
.panel.active{ display:block; }
.panel-title{
  margin: 10px 0 4px;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.panel-sub{
  margin: 0 0 12px;
  color: rgba(11,18,32,0.65);
  font-size: 13px;
  line-height: 1.5;
}

/* =========================================================
   FORMS
   ========================================================= */
.form{ display:flex; flex-direction: column; gap: 12px; }
.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-4{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.field span{
  display:block;
  font-size: 12px;
  color: rgba(11,18,32,0.65);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,0.12);
  background: rgba(255,255,255,0.98);
  color: var(--ink);
  padding: 12px 12px;
  outline: none;
  box-shadow: 0 10px 18px rgba(11,18,32,0.04);
}
.field textarea{ resize: vertical; }
.field input::placeholder,
.field textarea::placeholder{ color: rgba(11,18,32,0.40); }

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(11,92,255,0.45);
  box-shadow: 0 0 0 4px rgba(11,92,255,0.15);
}

.checkbox{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(11,18,32,0.70);
  font-size: 13px;
}
.checkbox input{ width: 16px; height: 16px; }

.fineprint{
  color: rgba(11,18,32,0.55);
  font-size: 12px;
  line-height: 1.5;
}

.hp{ display:none !important; }

/* Results */
.result{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,92,255,0.18);
  background: rgba(11,92,255,0.06);
  display:none;
}
.result.show{ display:block; }
.result strong{ font-weight: 900; }

/* =========================================================
   SECTIONS / CONTENT
   ========================================================= */
.section{ padding: 62px 0; }

.section.muted{
  background: linear-gradient(180deg, rgba(11,92,255,0.06), rgba(255,106,0,0.05));
  border-top: 1px solid rgba(11,18,32,0.08);
  border-bottom: 1px solid rgba(11,18,32,0.08);
}

.section-head h2{
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-head p{
  margin: 0 0 18px;
  max-width: 72ch;
  line-height: 1.65;
  color: rgba(11,18,32,0.68);
}

/* Service cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: linear-gradient(180deg, #fff, var(--card2));
  border: 1px solid rgba(11,92,255,0.14);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(11,18,32,0.08);
}
.card h3{ margin: 0 0 6px; letter-spacing: -0.02em; color: var(--navy); }
.card p{ margin: 0 0 10px; color: rgba(11,18,32,0.68); }
.card ul{ margin: 0; padding-left: 18px; color: rgba(11,18,32,0.78); }
.card li{ margin: 6px 0; }

/* How it works */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{
  display:flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,106,0,0.18);
  background: rgba(255,106,0,0.06);
}
.step-num{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 900;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(11,92,255,0.18), rgba(255,106,0,0.18));
  border: 1px solid rgba(11,18,32,0.10);
}
.step-body h3{ margin: 0 0 4px; color: var(--navy); }
.step-body p{ margin: 0; color: rgba(11,18,32,0.68); }

/* Business split */
.split{
  display:grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  align-items: start;
}
.bullets{ margin: 14px 0 18px; display:grid; gap: 10px; }
.bullet{ display:flex; gap: 10px; color: rgba(11,18,32,0.82); }
.check{
  width: 22px; height: 22px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(11,92,255,0.12);
  border: 1px solid rgba(11,92,255,0.22);
  color: var(--blue);
  font-weight: 900;
}
.callout{
  background: linear-gradient(180deg, #fff, rgba(255,106,0,0.06));
  border: 1px solid rgba(255,106,0,0.18);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(11,18,32,0.08);
}
.callout h3{ margin: 0 0 10px; color: var(--navy); }
.callout li, .callout p{ color: rgba(11,18,32,0.68); line-height: 1.65; }
.callout ul{ margin: 10px 0 0; padding-left: 18px; }

/* Mini cards */
.mini-cards{ display:grid; gap: 10px; margin: 12px 0 14px; }
.mini-card{
  background: rgba(11,92,255,0.06);
  border: 1px solid rgba(11,92,255,0.14);
  border-radius: 16px;
  padding: 12px;
}
.mini-title{ font-weight: 900; color: var(--navy); }
.mini-sub{ color: rgba(11,18,32,0.68); font-size: 13px; margin-top: 4px; }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}
.contact-card{
  background: linear-gradient(180deg, #fff, rgba(11,92,255,0.05));
  border: 1px solid rgba(11,92,255,0.14);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(11,18,32,0.08);
}
.contact-line{ margin: 10px 0; color: rgba(11,18,32,0.86); }
.contact-line a{ color: var(--blue); text-decoration: none; }
.contact-line a:hover{ text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  padding: 28px 0;
  border-top: 1px solid rgba(11,18,32,0.10);
  background: linear-gradient(90deg, rgba(11,92,255,0.06), rgba(255,106,0,0.05));
}
.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-brand{ font-weight: 900; color: var(--navy); }
.footer-sub{ color: rgba(11,18,32,0.65); font-size: 13px; margin-top: 4px; }
.footer-links{ display:flex; gap: 12px; }
.footer-links a{ color: rgba(11,18,32,0.70); text-decoration:none; }
.footer-links a:hover{ color: var(--orange); }
.footer-bottom{ margin-top: 12px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .nav{ display:none; }
  .hamburger{ display:block; }
  .grid-2{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: 1fr; }

  .topbar-inner{ flex-direction: column; align-items:flex-start; }
  .topbar-right{ justify-content:flex-start; }

  .brand-tag{ display:none; }
  .brand-logo-img{ width: 140px; }

  .fab{ right: 12px; bottom: 18px; }
}
