/* ============================================
   My Express Freight - Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1a1230;
  --primary-light: #2d1f4e;
  --primary-dark: #110c1d;
  --accent: #6c5ce7;
  --accent-hover: #5a4bd6;
  --secondary: #00d084;
  --secondary-light: #2ee89e;
  --gold: #f4a261;
  --dark: #110c1d;
  --dark-light: #1a1230;
  --gray-900: #1a1a2e;
  --gray-800: #2d2d44;
  --gray-700: #444466;
  --gray-600: #666688;
  --gray-400: #9999aa;
  --gray-300: #bbbbcc;
  --gray-200: #e0e0e8;
  --gray-100: #f0f0f5;
  --white: #ffffff;
  --font-main: 'Lato', 'Roboto', 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-xl: 0 12px 60px rgba(0,0,0,0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--gray-900);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

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

.section-gray {
  background: var(--gray-100);
}

.section-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.section-dark .section-title,
.section-primary .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.section-dark .section-subtitle {
  color: var(--gray-400);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 208, 132, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-icon {
  font-size: 1.1em;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--dark);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--gray-400);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-left a {
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-left a:hover {
  color: var(--white);
}

.top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-right a {
  color: var(--gray-400);
  font-weight: 500;
}
.top-bar-right a:hover {
  color: var(--secondary);
}

/* --- Header / Navbar --- */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  padding: 28px 16px;
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--gray-800);
  position: relative;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  transform: scaleX(1);
}

.nav-links > li > a:hover {
  color: var(--primary);
}

/* Dropdown */
.has-dropdown > a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid var(--gray-200);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.dropdown a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dropdown a:hover .dropdown-icon {
  background: rgba(29, 140, 248, 0.1);
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gray-800);
  transition: var(--transition);
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(0, 208, 132, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 60%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%),
    linear-gradient(150deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%),
    linear-gradient(30deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%);
  background-size: 80px 140px;
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, #e8a845 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
}

.hero-stat-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,208,132,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card .learn-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .learn-more:hover {
  gap: 10px;
  color: var(--primary);
}

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0.2;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Advantages / Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(0,208,132,0.1), rgba(0,208,132,0.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.testimonial-info span {
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--accent);
  font-weight: 700;
}

.cta-banner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* --- Partners / Trust --- */
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.trust-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--gray-400);
}

.footer-col a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-icon {
  color: var(--secondary);
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--white);
}

/* --- Certifications --- */
.certifications {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.cert-badge {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 100px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(29,140,248,0.15), transparent 60%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .separator {
  font-size: 0.7rem;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0,208,132,0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666688' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* --- Quote Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent);
  color: var(--white);
}

.modal h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal .subtitle {
  color: var(--gray-600);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* --- Service Detail Page --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* When only one child (no image), content goes full width */
.service-detail-grid > :only-child {
  grid-column: 1 / -1;
  max-width: 100%;
}

.service-detail-grid.reverse {
  direction: rtl;
}
.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-image {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--gray-400);
  position: relative;
}

.service-detail-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-features-list {
  margin-bottom: 28px;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.check-icon {
  color: #4ade80;
  font-weight: 700;
  margin-top: 2px;
}

/* --- Carriers Page --- */
.carrier-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.carrier-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.carrier-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--secondary);
}

.carrier-card-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(0,208,132,0.1), rgba(0,208,132,0.03));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  color: var(--secondary);
}

.carrier-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.carrier-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Technology Page --- */
.tech-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech-mockup {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.tech-mockup-screen {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.tech-mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.tech-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tech-mockup-dot:nth-child(1) { background: #ff5f57; }
.tech-mockup-dot:nth-child(2) { background: #febc2e; }
.tech-mockup-dot:nth-child(3) { background: #28c840; }

.tech-mockup-content {
  display: grid;
  gap: 12px;
}

.tech-mockup-row {
  height: 12px;
  background: var(--gray-200);
  border-radius: 6px;
}

.tech-mockup-row:nth-child(2) { width: 80%; }
.tech-mockup-row:nth-child(3) { width: 65%; }
.tech-mockup-row:nth-child(4) { width: 90%; }

.tech-features {
  display: grid;
  gap: 24px;
}

.tech-feature {
  display: flex;
  gap: 16px;
}

.tech-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,208,132,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.tech-feature h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.tech-feature p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  height: 450px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-content p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
}

.team-card h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 10px;
  display: flex;
  gap: 16px;
}

.blog-tag {
  background: rgba(0,208,132,0.1);
  color: var(--secondary);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.blog-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-content h3 a:hover {
  color: var(--secondary);
}

.blog-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--secondary);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(0,208,132,0.1), rgba(0,208,132,0.03));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-card p, .contact-info-card a {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contact-info-card a:hover {
  color: var(--secondary);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

/* --- Careers --- */
.careers-hero {
  text-align: center;
}

.job-listing {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.job-listing:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.job-info h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.job-tags {
  display: flex;
  gap: 10px;
}

.job-tag {
  padding: 4px 12px;
  background: var(--gray-100);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* --- Tracking Page --- */
.tracking-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.tracking-box h2 {
  font-size: 1.8rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 8px;
}

.tracking-box .subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.tracking-input-group {
  display: flex;
  gap: 12px;
}

.tracking-input-group .form-control {
  flex: 1;
}

.tracking-result {
  margin-top: 32px;
  display: none;
}

.tracking-timeline {
  position: relative;
  padding-left: 36px;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: 2px solid var(--white);
}

.timeline-item:first-child .timeline-dot {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

.timeline-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.timeline-item .time {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* --- Two-Column CTA --- */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.dual-cta-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.dual-cta-card:first-child {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.dual-cta-card:last-child {
  background: linear-gradient(135deg, var(--secondary), #00a86b);
  color: var(--white);
}

.dual-cta-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.dual-cta-card p {
  opacity: 0.85;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 { font-size: 2.8rem; }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { max-width: 500px; margin: 40px auto 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-showcase { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }

  .mobile-toggle { display: flex; }

  .nav-links, .nav-actions {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
  }

  .nav-links.active, .nav-actions.active {
    display: flex;
  }

  .nav-links > li > a {
    padding: 14px 0;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .hero { min-height: auto; padding: 80px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .dual-cta { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .tracking-input-group { flex-direction: column; }
  .page-header h1 { font-size: 2rem; }
  .carrier-benefits-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 2rem; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }
.animate-in:nth-child(6) { transition-delay: 0.5s; }

/* --- About Image Panel --- */
.about-image-panel {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius-lg);
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.about-logo-display {
  max-width: 85%;
  max-height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* --- Highway Animation Scene (unused) --- */
.highway-scene {
  border-radius: var(--radius-lg);
  height: 450px;
  position: relative;
  overflow: hidden;
}

.highway-sky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, #4a90c4 0%, #87CEEB 40%, #b8dff0 80%, #d4eaf5 100%);
}

.highway-sky::before,
.highway-sky::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.85);
  border-radius: 50px;
}
.highway-sky::before {
  width: 120px;
  height: 36px;
  top: 40px;
  box-shadow: 30px -14px 0 10px rgba(255,255,255,0.7), 65px -4px 0 6px rgba(255,255,255,0.6);
  animation: cloud-drift 22s linear infinite;
}
.highway-sky::after {
  width: 80px;
  height: 28px;
  top: 90px;
  box-shadow: 22px -10px 0 8px rgba(255,255,255,0.65);
  animation: cloud-drift 30s linear infinite;
  animation-delay: -12s;
}
@keyframes cloud-drift {
  from { left: -200px; }
  to { left: 110%; }
}

/* Hills */
.highway-hills {
  position: absolute;
  bottom: 40%;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
}
.hill {
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 0 0;
}
.hill-1 { width: 320px; height: 55px; left: -30px; background: #5d7d35; }
.hill-2 { width: 420px; height: 70px; left: 160px; background: #6a8c3f; }
.hill-3 { width: 340px; height: 45px; right: -20px; background: #5d7d35; }

/* Road */
.highway-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
  z-index: 2;
}
.road-surface {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #5a7c32 0%, #5a7c32 4%,
    #666 4%, #555 5.5%, #444 7%, #444 93%, #555 94.5%, #666 96%,
    #5a7c32 96%
  );
}
.road-surface::before,
.road-surface::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #fff;
}
.road-surface::before { top: 7%; }
.road-surface::after { bottom: 7%; }

.road-lines {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: 3px;
  transform: translateY(-50%);
  display: flex;
  animation: lines-scroll 0.7s linear infinite;
}
.road-lines span {
  flex-shrink: 0;
  width: 40px;
  height: 3px;
  background: #f0c040;
  margin-right: 30px;
}
@keyframes lines-scroll {
  from { transform: translateY(-50%) translateX(0); }
  to { transform: translateY(-50%) translateX(-70px); }
}

/* Single Truck - drives left to right */
.truck {
  position: absolute;
  bottom: 10%;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  animation: truck-drive 7s linear infinite;
  transform: scaleX(-1);
}
.truck .trailer-logo {
  transform: scaleX(-1);
}
@keyframes truck-drive {
  from { right: -260px; left: auto; }
  to { right: 110%; left: auto; }
}

/* Cab - leads on the right side */
.truck-cab {
  width: 50px;
  height: 48px;
  background: linear-gradient(180deg, #1a1230 0%, #2d1f4e 100%);
  border-radius: 3px 12px 3px 3px;
  position: relative;
  z-index: 1;
  margin-left: -2px;
}
.cab-window {
  position: absolute;
  top: 5px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: linear-gradient(160deg, #a8d8ea 0%, #6ab7d9 100%);
  border-radius: 2px 8px 2px 2px;
  border: 1.5px solid #0e0a15;
}
.truck-wheel.tw-cab {
  right: 8px;
  bottom: -9px;
}

/* Trailer - behind the cab */
.truck-trailer {
  position: relative;
}
.trailer-body {
  width: 160px;
  height: 60px;
  background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 50%, #ddd 100%);
  border: 1.5px solid #bbb;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.15);
  overflow: hidden;
}
.trailer-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.trailer-undercarriage {
  height: 7px;
  background: #333;
  border-radius: 0 0 2px 2px;
}

/* Wheels */
.truck-wheel {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #555 30%, #222 60%, #111 100%);
  border-radius: 50%;
  position: absolute;
  bottom: -9px;
  border: 2px solid #444;
  animation: wheel-rotate 0.3s linear infinite;
}
.truck-wheel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.tw-front { left: 10px; }
.tw-rear { right: 10px; }
.tw-cab { right: 8px; }

@keyframes wheel-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .highway-scene { height: 280px; }
  .trailer-body { width: 120px; height: 45px; }
  .trailer-logo { height: 20px; }
  .truck-cab { width: 38px; height: 38px; }
}
