/* MK Transport Co. — shared stylesheet */
:root {
  --navy: #0b1f3a;
  --navy-dark: #071628;
  --accent: #d9232e;
  --accent-dark: #b01c25;
  --orange: #f97316;
  --light: #f4f6f8;
  --text: #1f2a36;
  --muted: #5b6b7a;
  --white: #ffffff;
  --border: #dde3e8;
}

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

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand-text { color: var(--white); font-size: 1.25rem; font-weight: 700; letter-spacing: .5px; line-height: 1.2; }
.brand-text span { display: block; font-size: .72rem; font-weight: 400; color: #b9c6d4; letter-spacing: 2px; text-transform: uppercase; }
.main-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 4px;
}
.main-nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.main-nav a.active { background: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #123a63 55%, #1a4a7a 100%);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 10px; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 1.15rem; color: #d7e1ec; max-width: 720px; margin: 0 auto 24px; }
.hero .btn { display: inline-block; margin: 4px 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--light); }
.section-title {
  font-size: 1.9rem;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 32px;
}
.section-title.left, .section-sub.left { text-align: left; margin-left: 0; }

/* ---------- Certifications ---------- */
.certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 28px;
  padding: 12px 0 4px;
}
.certs img { height: 56px; width: auto; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 28px 12px; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat .label { font-weight: 600; color: var(--navy); margin-top: 6px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.card img { height: 64px; width: auto; margin: 0 auto 14px; }
.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 8px; letter-spacing: 1px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; max-width: 900px; margin: 0 auto; }
.feature { background: var(--white); border-left: 4px solid var(--accent); border-radius: 4px; padding: 16px 18px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.feature h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Terminals ---------- */
.terminals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.terminal { background: var(--navy); color: var(--white); border-radius: 8px; padding: 24px 20px; }
.terminal h3 { color: var(--orange); letter-spacing: 1px; margin-bottom: 6px; }
.terminal p { color: #d7e1ec; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 44px 20px;
}
.cta-band h2 { font-size: 1.7rem; margin-bottom: 8px; }
.cta-band p { margin-bottom: 18px; color: #ffe3e5; }
.cta-band .btn { background: var(--white); color: var(--accent); }
.cta-band .btn:hover { background: #f0f0f0; }

/* ---------- Team ---------- */
.leader { display: flex; gap: 32px; align-items: flex-start; max-width: 900px; margin: 0 auto 48px; flex-wrap: wrap; }
.leader img { width: 260px; border-radius: 8px; }
.leader-info { flex: 1; min-width: 280px; }
.leader-info h2 { color: var(--navy); font-size: 1.6rem; }
.leader-info .role { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; margin-bottom: 12px; }
.leader-info blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  margin: 16px 0;
  font-style: italic;
  color: var(--muted);
}
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.member img { width: 100%; height: 240px; object-fit: cover; object-position: top; }
.member-body { padding: 18px; }
.member-body h3 { color: var(--navy); font-size: 1.1rem; }
.member-body .role { color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.member-body p { color: var(--muted); font-size: .92rem; }
.member-body a { font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-info h3 { color: var(--navy); margin-bottom: 6px; }
.contact-info p { color: var(--muted); margin-bottom: 14px; }
.form-box { background: var(--light); border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.form-box label { display: block; font-weight: 600; margin: 12px 0 4px; color: var(--navy); }
.form-box input, .form-box textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}
.form-box textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c6d4; padding: 40px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.site-footer h4 { color: var(--white); margin-bottom: 10px; }
.site-footer a { color: #d7e1ec; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .terminals { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  .cards, .team-grid, .features, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { justify-content: center; text-align: center; }
  .main-nav ul { justify-content: center; }
  .leader { justify-content: center; }
}
