/* ============================================================
   Job Express Services Pte Ltd — Shared Stylesheet
   Theme: Professional Business Blue | Fully Responsive
   ============================================================ */

:root {
  /* Brand purple from staff.jobexpress.sg, brightened for a livelier feel.
     Variable names kept as --blue-* for compatibility across the site. */
  --blue-900: #4c1f48;
  --blue-800: #732e6c;
  --blue-700: #9a3a90;
  --blue-600: #b3459f;
  --blue-500: #c76fc0;
  --blue-100: #f7e9f5;
  --blue-50:  #fbf6fb;
  --magenta:  #d861b4;
  --accent:   #f5a623;
  --ink:      #2b2130;
  --muted:    #6b6070;
  --line:     #eee4ec;
  --white:    #ffffff;
  --bg:       #ffffff;
  --radius:   14px;
  --shadow:   0 10px 30px rgba(94, 43, 89, .12);
  --shadow-sm:0 4px 14px rgba(94, 43, 89, .10);
  --maxw:     1180px;
  --font:     "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

/* Prevent grid/flex children from forcing extra width (fixes zoom-out) */
.hero-grid > *, .split > *, .cards > *, .steps > *, .value-grid > *,
.quotes > *, .team > *, .footer-grid > *, .stats-grid > * { min-width: 0; }

img { max-width: 100%; display: block; }

a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-800); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 76px 0; }

h1, h2, h3, h4 { color: var(--blue-900); line-height: 1.25; font-weight: 700; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--blue-600); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; font-size: 13px; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 40px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; transition: all .22s; white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-800); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: #fff; color: var(--blue-800); }
.btn-ghost { background: var(--blue-100); color: var(--blue-700); }
.btn-ghost:hover { background: var(--blue-600); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.brand .logo-img { height: 46px; width: auto; display: block; }
.brand .brand-name { font-weight: 800; color: var(--blue-900); font-size: 18px; line-height: 1.1; }
.brand .brand-name small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: .5px; }

.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { height: 3px; width: 24px; background: var(--blue-800); border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--ink); padding: 0;
  background: linear-gradient(180deg, var(--blue-50) 0%, #f2e8f1 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -160px; top: -60px;
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(216,97,180,.20), transparent 68%);
}
.hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { color: var(--ink); font-size: clamp(32px, 5vw, 52px); line-height: 1.12; }
.hero p.lead { color: var(--muted); font-size: 19px; margin: 20px 0 32px; max-width: 560px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { color: var(--blue-700); border-color: #e0c8dd; }
.hero .btn-outline:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.hero-badges { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-badges .stat b { font-size: 30px; color: var(--blue-700); display: block; }
.hero-badges .stat span { color: var(--muted); font-size: 14px; }

.hero-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 30px; box-shadow: var(--shadow);
}
.hero-card h3 { color: var(--ink); font-size: 20px; margin-bottom: 16px; }
.hero-card ul { list-style: none; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; }
.hero-card li .tick {
  flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--blue-100);
  display: grid; place-items: center; color: var(--blue-700); font-weight: 800; font-size: 13px; margin-top: 1px;
}

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--blue-100);
  display: grid; place-items: center; margin-bottom: 18px; font-size: 26px;
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; }

/* ---------- Alt / About ---------- */
.alt { background: var(--blue-50); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .panel h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 18px; }
.split .panel p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.feature-list { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .tick {
  flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--blue-600);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 2px;
}
.media-frame {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  aspect-ratio: 4/3; display: grid; place-items: center; color: #fff; text-align: center; padding: 30px;
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--blue-100); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid .num { font-size: 42px; font-weight: 800; color: var(--blue-600); }
.stats-grid .lbl { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-700), var(--blue-600)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); }
.cta-band p { color: #f3dcef; max-width: 640px; margin: 16px auto 28px; font-size: 17px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--blue-800), var(--blue-600) 70%, var(--magenta));
  color: #fff; padding: 74px 0 66px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 44px); }
.page-hero p { color: #f0dcec; margin-top: 14px; font-size: 18px; }
.breadcrumb { color: #e6c9e2; font-size: 14px; margin-bottom: 14px; }
.breadcrumb a { color: #f6e6f3; }

/* ---------- Service detail rows ---------- */
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 30px; }
.detail-row:nth-child(even) .detail-media { order: -1; }
.detail-media {
  border-radius: 16px; min-height: 260px; box-shadow: var(--shadow);
  display: grid; place-items: center; color: #fff; font-size: 60px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}
.detail-text h3 { font-size: 26px; margin-bottom: 14px; }
.detail-text p { color: var(--muted); margin-bottom: 14px; font-size: 16px; }
.tag {
  display: inline-block; background: var(--blue-100); color: var(--blue-700);
  padding: 5px 14px; border-radius: 30px; font-size: 13px; font-weight: 700; margin-bottom: 14px;
}

/* ---------- Jobs ---------- */
.job-toolbar {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between;
  align-items: center; margin-bottom: 30px;
}
.job-search { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 260px; }
.job-search input, .job-search select {
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit;
}
.job-search input { flex: 1; min-width: 180px; }
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.job-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.job-card .job-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-card h3 { font-size: 19px; margin-bottom: 6px; }
.job-card .company { color: var(--blue-600); font-weight: 600; font-size: 14px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.chip {
  background: var(--blue-50); color: var(--muted); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 20px; font-size: 13px;
}
.job-type { background: var(--accent); color: #1c2b3a; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.jobs-note {
  text-align: center; margin-top: 40px; padding: 26px; background: var(--blue-50);
  border-radius: var(--radius); border: 1px dashed var(--blue-500); color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

.office-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.office-card h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin-bottom: 12px; }
.office-card .row { display: flex; gap: 10px; margin-bottom: 8px; color: var(--muted); font-size: 15px; }
.office-card .row b { color: var(--ink); }
.map-frame { border: 0; width: 100%; height: 220px; border-radius: 10px; margin-top: 14px; }

.form-success {
  display: none; background: #e7f6ec; border: 1px solid #a7dcb8; color: #1d6b38;
  padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600;
}

/* ---------- Notice bar ---------- */
.notice {
  background: #fff6e5; border-bottom: 1px solid #f3dca6; color: #7a5300;
  font-size: 14px; text-align: center; padding: 10px 16px;
}
.notice b { color: #a06a00; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-50); color: var(--muted); border-top: 1px solid var(--line); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h4 { color: var(--ink); font-size: 16px; margin-bottom: 16px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue-600); }
.footer-list { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.footer-brand p { font-size: 14.5px; margin-top: 14px; max-width: 300px; color: var(--muted); }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px;
  text-align: center; font-size: 13.5px; color: var(--muted);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid, .split, .detail-row, .contact-grid { grid-template-columns: 1fr; }
  .detail-row:nth-child(even) .detail-media { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  section { padding: 56px 0; }
  .nav-links {
    position: fixed; top: 74px; right: 0; left: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 22px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s; height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-badges { gap: 20px; }
}

@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand .brand-name small { display: none; }
}

/* ============================================================
   Extra components (clients, process, FAQ, testimonials, team)
   ============================================================ */

/* Clients / trust strip */
.clients { background: var(--blue-50); }
.clients .cap { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 26px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.logo-chip {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 22px; color: var(--blue-700); font-weight: 700; font-size: 16px;
  box-shadow: var(--shadow-sm); min-width: 150px; justify-content: center;
}
.logo-chip span { font-size: 20px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow-sm);
}
.step .n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-600); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--ink);
  font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-600); font-size: 24px; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 15.5px; padding: 0 0 20px; margin: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
}
.quote .mark { font-family: Georgia, serif; font-size: 46px; line-height: .6; color: var(--blue-500); }
.quote p { color: var(--ink); font-size: 15.5px; font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-weight: 800; }
.quote .who b { display: block; font-size: 15px; color: var(--ink); }
.quote .who span { font-size: 13px; color: var(--muted); }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; box-shadow: var(--shadow-sm); }
.member .pic {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 26px;
}
.member h3 { font-size: 17px; margin-bottom: 4px; }
.member p { color: var(--blue-600); font-size: 14px; font-weight: 600; }
.member .bio { color: var(--muted); font-size: 13.5px; font-weight: 400; margin-top: 8px; }

/* Value / benefit cards (2-col with check bullets) */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start;
}
.value .vico { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--blue-100); display: grid; place-items: center; font-size: 22px; }
.value h3 { font-size: 18px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14.5px; }

/* Industry chips */
.chips-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ind-chip { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 10px 20px; font-weight: 600; color: var(--blue-700); box-shadow: var(--shadow-sm); font-size: 14.5px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .team { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

