:root {
  --orange: #ff7a1a;
  --orange-dark: #e35f00;
  --navy: #0b1a33;
  --navy-light: #13284d;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --muted: #aebbd1;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

/* Animated gradient background - road/night sky feel */
.bg-animated {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(-45deg, #081426, #0b1a33, #13284d, #0e2140, #081426);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Moving road-line stripes drifting across the page */
.road-lines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    100deg,
    transparent 0px,
    transparent 120px,
    rgba(255,122,26,0.06) 120px,
    rgba(255,122,26,0.06) 124px
  );
  animation: roadScroll 10s linear infinite;
}
@keyframes roadScroll {
  from { background-position-x: 0; }
  to { background-position-x: -500px; }
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite;
}
.orb1 { width: 320px; height: 320px; background: var(--orange); top: 8%; left: 6%; animation-delay: 0s; }
.orb2 { width: 260px; height: 260px; background: #2f6fff; top: 55%; left: 78%; animation-delay: 3s; }
.orb3 { width: 220px; height: 220px; background: #ff9a4d; top: 78%; left: 12%; animation-delay: 6s; }

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-40px) translateX(30px); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6%;
  background: rgba(8, 18, 36, 0.45);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text);
  text-decoration: none;
}
.logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo span.hl { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: 2px;
}

/* Angled, industrial buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateX(-102%);
  transition: transform 0.3s cubic-bezier(.65,0,.35,1);
  z-index: -1;
}
.btn:hover {
  border-color: var(--orange);
}
.btn:hover::before {
  transform: translateX(0);
}
.btn-primary {
  background: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-primary::before {
  background: var(--navy);
}
.btn-primary:hover {
  border-color: var(--navy-light);
}
.btn-sm { padding: 9px 20px; font-size: 0.78rem; }

/* Angled industrial card */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--orange);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  padding: 30px;
  position: relative;
  transition: transform 0.3s ease, border-left-color 0.3s ease, background 0.3s ease;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 18px; height: 18px;
  background: var(--navy);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.6;
}
.card:hover {
  transform: translateY(-5px);
  border-left-color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6%;
}

footer {
  text-align: center;
  padding: 30px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 60px;
}

h1, h2, h3 { font-weight: 700; line-height: 1.2; }
p { color: var(--muted); line-height: 1.6; }

/* Form elements */
label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 3px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.09);
}
input::placeholder, textarea::placeholder { color: #7f8fab; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aebbd1' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
select option { background: var(--navy); color: var(--text); }

/* ---- Animated truck-on-road hero scene ---- */
.truck-scene {
  position: relative;
  height: 160px;
  margin-top: 70px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.truck-scene .sky-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,122,26,0.06));
}
.truck-scene .buildings {
  position: absolute;
  bottom: 38px;
  left: 0;
  width: 200%;
  height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  animation: driftBack 22s linear infinite;
  opacity: 0.5;
}
.truck-scene .buildings div {
  background: var(--navy-light);
  border-top: 2px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
@keyframes driftBack {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.truck-scene .road {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38px;
  background: #050b17;
  border-top: 2px solid rgba(255,255,255,0.15);
}
.truck-scene .road::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: 4px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg, var(--orange) 0 40px, transparent 40px 80px);
  animation: dashMove 1.4s linear infinite;
}
@keyframes dashMove {
  from { transform: translateY(-50%) translateX(0); }
  to { transform: translateY(-50%) translateX(-80px); }
}
.truck-scene .truck {
  position: absolute;
  bottom: 24px;
  left: -240px;
  width: 170px;
  animation: driveAcross 8s linear infinite;
}
@keyframes driveAcross {
  from { left: -240px; }
  to { left: 110%; }
}
.truck-scene .truck svg {
  width: 100%;
  height: auto;
  display: block;
  animation: truckBounce 0.28s ease-in-out infinite;
}
@keyframes truckBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

.truck-scene .truck-shadow {
  animation: shadowPulse 0.28s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.94); }
}

.wheel-spin {
  animation: wheelSpin 0.45s linear infinite;
}
@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.headlight-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: glowPulse 1.6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.5; }
}

/* exhaust puffs trailing from the rear of the van */
.exhaust {
  position: absolute;
  bottom: 6px;
  left: -6px;
  width: 10px;
  height: 10px;
}
.exhaust span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(200, 206, 218, 0.55);
  animation: puff 1.1s ease-out infinite;
}
.exhaust span:nth-child(2) { animation-delay: 0.37s; }
.exhaust span:nth-child(3) { animation-delay: 0.74s; }
@keyframes puff {
  0% { transform: translate(0, 0) scale(0.5); opacity: 0.6; }
  100% { transform: translate(-22px, -16px) scale(1.8); opacity: 0; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .truck-scene { height: 120px; }
}
