/* ===========================
   Baldev Transportation Ltd.
   Stylesheet
=========================== */

:root {
  --color-black: #14171a;
  --color-charcoal: #1f2328;
  --color-charcoal-light: #2b3038;
  --color-white: #ffffff;
  --color-off-white: #f4f5f7;
  --color-grey: #6b7280;
  --color-grey-light: #d1d5db;
  --color-red: #c8102e;
  --color-red-dark: #a30d25;
  --color-amber: #f5a623;

  --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1200px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(20, 23, 26, 0.12);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.15;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-red);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 64px 0; }

.section--dark {
  background: var(--color-charcoal);
  color: var(--color-off-white);
}

.section--dark h2, .section--dark h3 { color: var(--color-white); }

.section--grey { background: var(--color-off-white); }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--color-grey);
  font-size: 1.05rem;
  margin-top: 12px;
}

.section--dark .section-head p { color: #c3c8ce; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-red-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn--outline:hover { background: var(--color-white); color: var(--color-charcoal); }

.btn--dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}
.btn--dark:hover { background: var(--color-black); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */

.topbar {
  background: var(--color-black);
  color: #b7bcc2;
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar a { color: #e6e8ea; }
.topbar a:hover { color: var(--color-red); }

.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 6px; }

.topbar__social { display: flex; gap: 14px; }

/* ---------- Header / Nav ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 28px;
}

.nav__brand-logo { height: 40px; width: auto; flex-shrink: 0; display: block; }

.nav {
  flex-wrap: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links a {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--color-charcoal);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--color-red);
  border-color: var(--color-red);
}

.nav__cta { display: flex; align-items: center; gap: 18px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-charcoal);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background:
    linear-gradient(100deg, rgba(20,23,26,0.94) 30%, rgba(20,23,26,0.6) 65%, rgba(20,23,26,0.4) 100%),
    url('/images/illustrations/hero.svg') center bottom/cover no-repeat,
    var(--color-black);
}

.hero--page {
  min-height: 300px;
  background:
    linear-gradient(100deg, rgba(20,23,26,0.94) 20%, rgba(20,23,26,0.72) 100%),
    url('/images/illustrations/hero.svg') center bottom/cover no-repeat,
    var(--color-black);
}

.hero__content { max-width: 680px; padding: 90px 0; }

.hero__content p.lead {
  font-size: 1.15rem;
  color: #dfe2e6;
  margin: 18px 0 34px;
  max-width: 560px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__badges {
  display: flex;
  gap: 28px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero__badges div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-white);
}
.hero__badges div span {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b7bcc2;
}

.hero-page__eyebrow { color: var(--color-amber); }

/* breadcrumb on page heroes */
.breadcrumb {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #c3c8ce;
}
.breadcrumb a:hover { color: var(--color-red); }

/* ---------- Marquee strip ---------- */

.strip {
  background: var(--color-red);
  color: var(--color-white);
}
.strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.strip .container span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid #e9eaec;
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(200,16,46,0.08);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 10px; text-transform: none; }
.card p { color: var(--color-grey); font-size: 0.98rem; }

.card--service {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card--service a.card__link {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-red);
}

/* Photo card (fleet / services with image) */
.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--color-charcoal);
}
.photo-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-card:hover img { transform: scale(1.07); }
.photo-card__body {
  padding: 22px 24px 26px;
  color: var(--color-white);
}
.photo-card__body h3 { text-transform: none; margin-bottom: 6px; }
.photo-card__body p { color: #c3c8ce; font-size: 0.92rem; }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--color-red);
}
.stats span {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-grey);
}
.section--dark .stats span { color: #c3c8ce; }

/* ---------- About split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.split--reverse .split__media { order: 2; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--color-charcoal);
}
.checklist li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-red);
  margin-top: 3px;
}
.section--dark .checklist li { color: #e6e8ea; }

/* ---------- Timeline (About page) ---------- */

.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--color-grey-light);
}
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -34px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-red);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-red);
}
.timeline__item strong { display: block; font-family: var(--font-heading); color: var(--color-red); letter-spacing: 1px; }

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid #e9eaec;
}
.testimonial p { font-size: 1.02rem; color: var(--color-charcoal); margin-bottom: 20px; }
.testimonial__person { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-charcoal); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
}
.testimonial__person strong { display: block; font-size: 0.95rem; text-transform: none; font-family: var(--font-body); }
.testimonial__person span { font-size: 0.82rem; color: var(--color-grey); }
.stars { color: var(--color-amber); margin-bottom: 14px; letter-spacing: 2px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 52px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #ffe1e5; }

/* ---------- Forms ---------- */

.form-panel {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-grey);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 14px;
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-charcoal);
  background: var(--color-off-white);
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-red);
  background: var(--color-white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--color-grey); margin-top: 12px; }

/* ---------- Thank-you page ---------- */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0;
}
.thank-you__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(200,16,46,0.08);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.thank-you__icon svg { width: 38px; height: 38px; }
.thank-you p { color: var(--color-grey); max-width: 480px; margin: 16px auto 30px; }

/* ---------- Contact info blocks ---------- */

.info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.info-list .card__icon { margin-bottom: 0; flex-shrink: 0; }
.info-list strong { display: block; font-family: var(--font-heading); letter-spacing: 0.5px; margin-bottom: 4px; }
.info-list p, .info-list a { color: var(--color-grey); font-size: 0.95rem; }
.info-list a:hover { color: var(--color-red); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 0;
  width: 100%;
  height: 340px;
}

/* ---------- Careers ---------- */

.job-card {
  border: 1px solid #e9eaec;
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.job-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.job-card h3 { text-transform: none; margin-bottom: 6px; }
.job-card .tags { display: flex; gap: 10px; flex-wrap: wrap; }
.job-card .tags span {
  background: var(--color-off-white);
  color: var(--color-grey);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--color-black);
  color: #b7bcc2;
  padding-top: 72px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid #2b3038;
}
.footer__brand { display: flex; align-items: center; margin-bottom: 18px; }
.footer__brand-logo { height: 42px; width: auto; }
.footer p { font-size: 0.92rem; line-height: 1.7; }
.footer h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 12px; font-size: 0.92rem; }
.footer ul li a:hover { color: var(--color-red); }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-charcoal-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.footer__social a:hover { background: var(--color-red); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__bottom a:hover { color: var(--color-white); }

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav__links { gap: 20px; }
  .nav__cta { gap: 12px; }
  .nav__cta .btn--dark { display: none; }
}

@media (max-width: 992px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split img { height: 320px; }
  .split--reverse .split__media { order: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    background: var(--color-charcoal);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px;
    gap: 26px;
    transition: right var(--transition);
    z-index: 200;
  }
  .nav__links.is-open { right: 0; }
  .nav__links a { color: var(--color-white); }
  .nav__toggle { display: flex; }
  .nav__cta .btn { display: none; }
  .hero__badges { gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer__top { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
}

/* Nav overlay for mobile menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}
.nav-overlay.is-open { display: block; }
