html, body {
  width: 100%;
  min-height: 100%;
  position: relative;
  color: #000;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

/* Global responsive image constraints */
img {
  max-width: 100%;
  height: auto;
}
body {
  padding-top: 0px;
}

#livechat-compact-container, #livechat-eye-catcher {
display: none;
}

.container-fluid .row {
  max-width: none;
  margin: 0;
}

/* Override max-width for navbar to make it full width */
.navbar-fixed-top .row {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 20px;
}
/* --- header --- */
.navbar-fixed-top {
  background: transparent;
  height: 120px;
  transition: all 0.4s ease;
  z-index: 1000;
}
.navbar-fixed-top.scrolled {
  background: linear-gradient(135deg, #1a1a1a 0%, #c96416 50%, #1a1a1a 100%) !important;
  background-color: rgba(26, 26, 26, 0.95) !important;
  box-shadow: 0 2px 20px rgba(229, 171, 63, 0.15) !important;
  height: 80px !important;
}
/* Fallback for no-js */
.no-js .navbar-fixed-top {
  background: url('/truck-driveaway/img/pattern.jpg') 0 0 repeat;
}
.no-js body {
  padding-top: 100px;
}
.navbar {
  margin: -1px auto 0 auto!important;
}
.navbar-header {
  padding: 15px 15px 35px 15px;
  height: 120px;
  transition: all 0.4s ease;
}
.navbar-fixed-top.scrolled .navbar-header {
  padding: 8px 15px 25px 15px !important;
  height: 80px !important;
}
.navbar-header button,
.navbar-toggle {
  margin: -10px -10px 0 0!important;
  padding: 12px!important;
  min-width: 44px;
  min-height: 44px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  border: 2px solid #fff;
  display: none !important;
  width: auto !important;
  height: auto !important;
}

/* Show menu button only on mobile screens (phones only, not tablets) */
@media (max-width: 667px) {
  .navbar-header button,
  .navbar-toggle {
    display: block !important;
    position: absolute !important;
    right: -10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}

/* Mobile logo positioning - move further left */
@media (max-width: 768px) {
  .logo {
    left: -20px !important;
  }

  /* Ensure scrolled state also maintains left positioning on mobile */
  .navbar-fixed-top.scrolled .logo {
    left: -20px !important;
  }
}

/* Mobile header - always show gradient background */
@media (max-width: 768px) {
  .navbar-fixed-top {
    background: linear-gradient(135deg, #1a1a1a 0%, #c96416 50%, #1a1a1a 100%) !important;
    background-color: rgba(26, 26, 26, 0.95) !important;
    box-shadow: 0 2px 20px rgba(229, 171, 63, 0.15) !important;
  }
}
.navbar-header button span.icon-bar {
  border: 2px solid #fff;
  width: 40px;
  height: 4px;
  background-color: #fff;
  display: block;
  margin-bottom: 6px;
  margin: 8px 0;
}
.navbar-collapse {
  margin: 0!important;
  padding: 0!important;
}
.navbar-collapse .navbar-nav {
  margin-top: 0!important;
}
.navbar-collapse .navbar-nav li {
  background: #eee;
  border: 1px solid #bbb;
}
.navbar-collapse .navbar-nav li:hover {
  background: #fff;
}
.navbar-collapse .navbar-nav li a {
  color: #000!important;
  font-weight: 700;
  font-size: 1.3em;
  padding: 15px 30px 15px 30px;
  height: 50px;
  background-color: none;
  text-decoration: none;
    -webkit-text-shadow: none;
    text-shadow: none;
  transition: all 0.4s ease;
}
.navbar-collapse .navbar-nav li.active a,
.navbar-collapse .navbar-nav li:hover a {
  color: #E5AB3F!important;
}
.navbar-collapse .navbar-nav li:hover a {
  background: none!important;
}

.logo {
  position: absolute;
  top: 12px;
  left: 10px;
  transition: all 0.4s ease;
}

.navbar-fixed-top.scrolled .logo {
  top: 6px !important;
  transform: scale(0.8) !important;
}

.logo img {
  width: 180px;
  max-width: none;
  transition: all 0.4s ease;
  filter:
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15))
    drop-shadow(0 0 20px rgba(229, 171, 63, 0.2));
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.80));
  backdrop-filter: blur(8px);
  border: none;
  padding: 0px 12px;
}

.navbar-fixed-top.scrolled .logo img {
  width: 190px !important;
}

.logo img:hover {
  transform: scale(1.05);
  filter:
    drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4))
    drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2))
    drop-shadow(0 0 25px rgba(229, 171, 63, 0.4));
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.85));
}

/* ---resets--- */
a {
  color: #E5AB3F!important;
  text-decoration: underline;
}
a:hover {
  color: #c54803!important;
}
a:visited {  }

h1 {
  font-size: 3em;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 2.5em;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.8em;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.7em;
}
h4 {
  font-size: 1.25em;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.8em;
}
h5 {
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.8em;
}
p {
  font-size: 1.125em;
  line-height: 1.7em;
  font-weight: 400;
  margin-bottom: 1.5em;
  color: #444;
}
.smaller {
  font-size: 1.125em;
  line-height: 1.5em;
}
.smallest {
  font-size: 1em;
  line-height: 1.5em;
}
hr {
  border: 0;
    height: 0;
    border-top: none;
    border-bottom: 1px solid #999;
    clear: both;
}
ul {
  margin: 15px 0 20px 0;
}
/* --- home page rows --- */
.row0 {
  padding: 0;
}
/* Hero Section - Full Screen */
.hero-section {
  background-size: cover!important;
  height: 95vh;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 900px;
  padding: 0 25px;
  animation: fadeInUp 1.2s ease-out;
}

.hero-text h1 {
  color: #E5AB3F;
  font-size: 4em;
  margin-bottom: 25px;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  max-width: none;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1em;
  line-height: 1.6em;
  margin-bottom: 45px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  color: #fff;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-bottom: 70px;
}

.hero-cta p {
  margin: 0;
  font-size: 1.2em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero-cta a {
  text-decoration: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  display: inline-block;
  color: #E5AB3F;
  font-size: 3em;
  animation: bounce 2s infinite;
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-arrow:hover {
  color: #fff;
  text-decoration: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tracking Section */
.tracking-section {
  padding: 80px 0;
  background-color: #1e1918;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('/truck-driveaway/img/hero/8b.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 20vh;
  display: flex;
  align-items: center;
  position: relative;
}

.tracking-section .row {
  width: 100%;
  margin: 0;
}

.tracking-section .col-sm-12 {
  padding: 0;
  display: flex;
  justify-content: center;
}

.tracking-card {
  background: rgba(50, 50, 50, 0.4);
  border-radius: 20px;
  padding: 40px;
  margin: 0 auto;
  max-width: 700px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.tracking-content {
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 2;
}

.tracking-content h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 2.5em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tracking-content p {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.tracking-form {
  margin: 40px 0;
}

.tracking-subtitle {
  margin-top: 0px;
  margin-bottom: 25px;
  font-size: 1.2em;
  line-height: 1.6em;
  color: #e0e0e0;
  font-weight: 300;
}

/* Animated Tracking Path Inline - positioned inside card */
.track-animation-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 15px 0;
  transform: scale(1.0);
  transition: transform 0.6s ease-out;
}

/* Legacy background animation - hidden */
.track-animation-background {
  display: none;
}

.track-animation-background.scale-up {
  display: none;
}

.track-animation-inline .tracking-path {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  padding: 0 10px;
}

.tracking-path {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  position: relative;
}

.path-segment {
  display: flex;
  align-items: center;
  margin: 10px 5px;
  flex-shrink: 0;
}

.tracking-line {
  width: 80px;
  height: 4px;
  background-color: #E5AB3F;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.tracking-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: lineProgress 3s infinite;
}

.tracking-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #87CEEB;
  margin-left: 4px;
  position: relative;
  animation: dotPulse 2s infinite ease-in-out;
}

.tracking-dot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #87CEEB;
  opacity: 0;
  animation: dotRipple 2s infinite;
}

@keyframes lineProgress {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    background-color: #87CEEB;
  }
  50% {
    transform: scale(1.2);
    background-color: #ADD8E6;
  }
}

@keyframes dotRipple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Stagger the animations for a wave effect */
.path-segment:nth-child(1) .tracking-line::before {
  animation-delay: 0s;
}
.path-segment:nth-child(1) .tracking-dot {
  animation-delay: 0s;
}
.path-segment:nth-child(1) .tracking-dot::before {
  animation-delay: 0s;
}

.path-segment:nth-child(2) .tracking-line::before {
  animation-delay: 0.4s;
}
.path-segment:nth-child(2) .tracking-dot {
  animation-delay: 0.4s;
}
.path-segment:nth-child(2) .tracking-dot::before {
  animation-delay: 0.4s;
}

.path-segment:nth-child(3) .tracking-line::before {
  animation-delay: 0.8s;
}
.path-segment:nth-child(3) .tracking-dot {
  animation-delay: 0.8s;
}
.path-segment:nth-child(3) .tracking-dot::before {
  animation-delay: 0.8s;
}

.path-segment:nth-child(4) .tracking-line::before {
  animation-delay: 1.2s;
}
.path-segment:nth-child(4) .tracking-dot {
  animation-delay: 1.2s;
}
.path-segment:nth-child(4) .tracking-dot::before {
  animation-delay: 1.2s;
}

.path-segment:nth-child(5) .tracking-line::before {
  animation-delay: 1.6s;
}
.path-segment:nth-child(5) .tracking-dot {
  animation-delay: 1.6s;
}
.path-segment:nth-child(5) .tracking-dot::before {
  animation-delay: 1.6s;
}

.row2  {
  padding: 0;
  display: none;
}
.row2 .wedge {
  padding: 0!important;
}
.row2 .wedge div {
  background-color: #000;
    opacity: 0.8;
  min-height: 100px;
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0% 75%, 0 0);
  clip-path: polygon(100% 0, 100% 100%, 0% 75%, 0 0);
}
.container-fluid.row3 {
  position: relative;
  overflow: hidden;
  padding: 40px 0 20px 0;
}

.container-fluid.row3::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('/truck-driveaway/img/hero/originals/6.jpg') center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  will-change: transform;
  transform: translateY(var(--parallax-y, 0px));
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.row3 .why {
  text-align: center;
  padding-top: 20px;
}
.row3 .why hr {
  display: none;
}
.row3 .why h2 {
  background-color: transparent!important;
  position:relative;
  top: 0px;
  width: auto;
  font-size: 2em;
  margin: 0 auto 10px auto;
  padding: 0 20px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  font-weight: 700;
  letter-spacing: 2px;
}
.container-fluid.row4 {
  position: relative;
  overflow: hidden;
  padding: 0px 0 40px 0;
}

.container-fluid.row4::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('/truck-driveaway/img/hero/originals/6.jpg') center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  will-change: transform;
  transform: translateY(var(--parallax-y, 0px));
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
/* Modern Why TruckMovers Cards */
.why-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.why-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

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

.why-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.why-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.why-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.why-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.why-card:hover .why-card-image img {
  transform: scale(1.1);
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.why-card:hover .gradient-overlay {
  opacity: 0.4;
}

.why-card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
}

.why-card-icon {
  position: absolute;
  top: -25px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #E5AB3F 0%, #fb5f0a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(229, 171, 63, 0.4);
  transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(229, 171, 63, 0.6);
}

.why-card-icon i {
  color: #fff;
  font-size: 22px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.why-card-content h4 {
  margin: 25px 0 15px 0;
  font-size: 1.5em;
  font-weight: 700;
  color: #1e1918;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.why-card-content p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  margin: 0;
  flex: 1;
}

.why-card-content p a {
  color: #E5AB3F !important;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.why-card-content p a:hover {
  color: #fb5f0a !important;
  text-decoration: none;
}

.why-card-content p em {
  font-style: italic;
  color: #E5AB3F;
  font-weight: 600;
}

/* Staggered animation delays */
.why-card:nth-child(1) {
  animation-delay: 0.1s;
}

.why-card:nth-child(2) {
  animation-delay: 0.2s;
}

.why-card:nth-child(3) {
  animation-delay: 0.3s;
}

.why-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Focus styles for accessibility */
.why-card:focus-visible {
  outline: 3px solid #E5AB3F;
  outline-offset: 4px;
}

.why-card-content a:focus-visible {
  outline: 2px solid #E5AB3F;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Legacy card styles - keeping for backward compatibility */
.row4 .card {
  margin: 0 0 10px 0;
}
.row4 .card-content a {
  color: #002f5b;
}
.row4 .card-content {
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
}
.row4 .card-content h4 {
  margin: 20px 3px 10px 3px;
}
.row4 .card-content img {
  width: 100%;
  height: 107px;
}
.row4 .card-content p {
  font-size: 1.125em;
  line-height: 1.5em;
  padding: 0 3px;
}

/* We Move Everything Section */
.we-move-section {
  padding: 80px 0;
  background-color: #1e1918;
  min-height: 20vh;
  display: flex;
  align-items: center;
  position: relative;
}

.we-move-section .row {
  width: 100%;
  margin: 0;
}

.we-move-section .col-sm-12 {
  padding: 0;
  display: flex;
  justify-content: center;
}

.we-move-content {
  background: rgba(50, 50, 50, 0.4);
  border-radius: 20px;
  padding: 60px;
  margin: 0 auto;
  max-width: 1100px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.we-move-content h2 {
  color: #E5AB3F;
  margin-bottom: 30px;
  font-size: 3em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.we-move-content > p {
  font-size: 1.3em;
  margin-bottom: 50px;
  color: #FFFFFF;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.vehicles-equipment-section {
  margin-bottom: 60px;
}

.vehicles-equipment-section h3 {
  color: #E5AB3F;
  font-size: 2em;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: 700;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 750px;
  margin: 0 auto;
}

.equipment-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.equipment-item.special {
  justify-content: center;
}

.equipment-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E5AB3F 0%, #fb5f0a 100%);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(229, 171, 63, 0.4);
}

.equipment-item:hover .equipment-dot {
  transform: scale(1.3);
  box-shadow: 0 3px 12px rgba(229, 171, 63, 0.6);
}

.equipment-item span {
  color: #fff;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.4;
}

.equipment-item.special span {
  font-style: italic;
  color: #E5AB3F;
}

.how-we-do-it-section h3 {
  color: #E5AB3F;
  font-size: 2em;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: 700;
}

.load-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.load-type-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  cursor: pointer;
}

.load-type-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.load-type-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.load-type-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.load-type-card:hover .load-type-image img {
  transform: scale(1.15);
}

.load-type-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.load-type-card:hover .load-type-overlay {
  opacity: 0.8;
}

.load-type-overlay h4 {
  color: #fff;
  font-size: 1.8em;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  margin: 0;
}
.container-fluid.row7 {
  background: #fff;
  padding: 40px 0 40px 0!important;
}
.row7 .col-sm-12 {
  text-align: center;
  padding-top: 20px;
}
.row7 h3 {
  background-color: transparent!important;
  position: relative;
  top: 0px;
  width: auto;
  font-size: 2em;
  margin: 0 auto 10px auto;
  padding: 0 20px;
  color: #000;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  font-weight: 700;
  letter-spacing: 2px;
}
.row7 .customers {
  padding: 0 20px!important;
  text-align: center;
}
.row7 .customers div {
  padding: 0!important;
  text-align: center;
}
.row7 .customers div img {
  width: 100%;
  border: 2px solid #ddd!important;
}

/* Modern Customers Scrolling Banner */
.customers-banner {
  background: #fff;
  padding: 20px 0;
  margin: 20px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 100vw;
  width: 100%;
}

.customers-scroll-container {
  display: flex;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.customer-logo {
  flex: 0 0 auto;
  margin: 0 30px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.customer-logo:hover {
  opacity: 1;
}

.customer-logo img {
  max-height: 100px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: none !important;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.customer-logo:hover img {
  filter: grayscale(0%);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* iPad Pro and Large Tablet Font Improvements */
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
  /* Increase base font sizes for better readability on large tablets */
  body {
    font-size: 18px;
  }

  p {
    font-size: 1.3em !important;
    line-height: 1.6em !important;
  }

  h1 {
    font-size: 3.5em !important;
  }

  h2 {
    font-size: 3em !important;
  }

  h3 {
    font-size: 2.2em !important;
  }

  /* Hero section text improvements */
  .hero-text h1 {
    font-size: 4.5em !important;
  }

  .hero-subtitle {
    font-size: 1.4em !important;
    line-height: 1.7em !important;
  }

  .hero-cta p {
    font-size: 1.4em !important;
  }

  /* Navigation improvements */
  .navbar-collapse .navbar-nav li a {
    font-size: 1.4em !important;
  }

  /* Button improvements */
  .btn {
    font-size: 1.2em !important;
    padding: 15px 30px !important;
  }

  /* Tracking section improvements */
  .tracking-content h2 {
    font-size: 3em !important;
  }

  .tracking-content p {
    font-size: 1.5em !important;
  }
}

/* Fix for tablet horizontal scroll issues */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /* Ensure no elements exceed viewport width */
  * {
    box-sizing: border-box;
  }

  body, html, .container-fluid, .row {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Faster animation for tablet */
  .customers-scroll-container {
    animation: scroll-logos 15s linear infinite;
  }
}

/* Responsive adjustments for customer banner */
/* Tablet Portrait and Mobile Landscape */
@media only screen and (max-width: 768px) {
  /* Additional overflow protection for mobile */
  body, html {
    overflow-x: hidden;
  }

  /* Much faster animation for mobile */
  .customers-scroll-container {
    animation: scroll-logos 10s linear infinite;
  }

  /* Fix typography scaling for tablets */
  .hero-text h1 {
    font-size: 3.5em !important;
    line-height: 1.1 !important;
  }

  /* Ensure buttons meet touch target requirements */
  .btn {
    min-height: 44px !important;
    min-width: 120px !important;
    padding: 12px 24px !important;
    font-size: 1.2em !important;
  }

  /* Form inputs need to be touch-friendly */
  .tracking-form input[type="text"] {
    min-height: 44px !important;
    padding: 12px 16px !important;
    font-size: 1.2em !important;
    border-radius: 6px !important;
  }

  /* Navigation improvements */
  .navbar-header button {
    min-width: 50px !important;
    min-height: 50px !important;
    padding: 15px !important;
  }

  .navbar-header button span.icon-bar {
    width: 24px;
    height: 3px;
    margin: 4px 0;
  }
}
.container-fluid.row8 {
  background: #fff;
  padding: 40px 0 40px 0!important;
  position: relative;
  overflow: hidden;
}

/* Geometric Orange Shapes for Our Hubs */
.container-fluid.row8::before,
.container-fluid.row8::after {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, #C8862D 0%, #D4952F 50%, #C8862D 100%);
  opacity: 0.8;
  z-index: 1;
}

/* Left geometric shape */
.container-fluid.row8::before {
  top: -20%;
  left: -15%;
  width: 40%;
  height: 140%;
  clip-path: polygon(0 0, 70% 0, 40% 100%, 0 100%);
  transform: skewY(-5deg);
}

/* Right geometric shape */
.container-fluid.row8::after {
  top: -20%;
  right: -15%;
  width: 40%;
  height: 140%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 60% 100%);
  transform: skewY(5deg);
}
.row8 .col-sm-12 {
  text-align: center;
  padding-top: 20px;
  position: relative;
  z-index: 2;
}
.row8 .col-sm-12 hr {
  display: none;
}
.row8 .col-sm-12 h2 {
  background-color: transparent!important;
  position: relative;
  top: 0px;
  width: auto;
  font-size: 2em;
  margin: 0 auto 10px auto;
  padding: 0 20px;
  color: #000;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  font-weight: 700;
  letter-spacing: 2px;
}
.row8 .col-sm-12 p {
  font-size: 1.250em;
  line-height: 1.75em;
  font-weight: 400;
  margin-bottom: 20px;
  color: #000;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.map-container {
  text-align: center;
  padding: 0 20px 30px 20px;
}
.hub-map-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 0;
  margin: 20px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 600px;
  display: inline-block;
}
.hub-map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.hub-map-card img {
  width: 100%;
  height: auto;
  display: block;
}
.featured-container {
  text-align: center;
  padding: 0 20px 40px 20px;
}
.featured-container h3 {
  color: #000;
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}
.featured-container h3 span {
  color: #E5AB3F;
}
.laredo-scroll-banner {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0 auto;
  padding: 0;
  max-width: 800px;
}
.laredo-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #E5AB3F #f0f0f0;
}
.laredo-scroll-container::-webkit-scrollbar {
  height: 8px;
}
.laredo-scroll-container::-webkit-scrollbar-track {
  background: #f0f0f0;
}
.laredo-scroll-container::-webkit-scrollbar-thumb {
  background: #E5AB3F;
  border-radius: 4px;
}
.laredo-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #fb5f0a;
}
.laredo-image {
  flex: 0 0 300px;
  height: 200px;
  position: relative;
  overflow: hidden;
}
.laredo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.laredo-image:hover img {
  transform: scale(1.05);
}
.container-fluid.row9 {
  padding: 80px 0;
  background-color: #1e1918;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('/truck-driveaway/img/hero/3b.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 20vh;
  display: flex;
  align-items: center;
  position: relative;
}
.row9 .row {
  width: 100%;
  margin: 0;
}

.row9 .col-sm-12 {
  padding: 0;
  display: flex;
  justify-content: center;
}

.drivers-section-wrapper {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.drivers-header {
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.row9 h3 {
  color: #E5AB3F;
  font-size: 3em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 0 !important;
}

.row9 p {
  color: #FFFFFF;
  font-size: 2.5em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-weight: 300;
  text-align: center;
}

.drivers-content {
  padding: 60px;
  margin: 0 auto;
  max-width: 1100px;
  position: relative;
  z-index: 2;
}

.drivers-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.driver-card {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.driver-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.driver-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.driver-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.driver-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.driver-card:hover .driver-image-container img {
  transform: scale(1.1);
}

.driver-info {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.driver-info h4 {
  margin: 0 0 15px 0;
  font-size: 1.5em;
  font-weight: 700;
  color: #1e1918;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.driver-info p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  margin: 0 0 15px 0;
  text-align: center;
}
.container-fluid.row10 {
  background-color: #1e1918;
  padding: 0 0 80px 0;
}
.row10 .drivewithus {
  display: none;
  text-align: center;
  padding-top: 20px;
}
.row10 .drivewithus button {
  width: 280px;
  margin-bottom: 20px;
}
.row10 h5 {
  margin: 30px 0 20px 0;
  color: #fff;
}

/* --- buttons --- */
.btn {
  font-size: 1.4em;
  height: 58px;
  /* Ensure mobile/tablet touch targets */
  min-height: 44px;
  min-width: 120px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  background: #E5AB3F!important;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-shadow: none;
  padding: 0 45px;
  margin: 0 5px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}
.btn:hover, .btn.selected, .btn:active {
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.btn.btn-default:hover, .btn.btn-default.selected, .btn.btn-default:active, .btn.btn-action:hover, .btn.btn-action.selected {
  background: #fb5f0a!important;
  color: #000;
  transform: translateY(-2px);
}
.btn.btn-secondary {
  background: #2377ba;
  color: #fff;
}
.btn.btn-secondary:hover, .btn.btn-secondary.selected, .btn.btn-secondary:active {
  background: #23527c;
  color: #fff;
}
.btn.btn-link {
  background: none;
  border: none;
  color: #2377ba;
  font-size: 14px;
  font-weight: 600;
}
.btn.btn-link:hover, .btn.btn-link.selected {
  color: #333;
}
.btn-toggle {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
}
.btn-toggle:hover, .btn-toggle:active, .btn-toggle.selected {
  background: #e4e7eb;
}
.buttons .container-box:nth-of-type(2) span {
  /* CSS class name color */
  color: #5f8ee4;
}
.container-fluid.footer {
  background: url('/truck-driveaway/img/pattern.jpg') 0 0 repeat;
  color: #fff;
  margin: 30px auto 0 auto!important;
  padding: 30px 0!important;
  display: block;
}
.container-fluid.footer .row {
  padding: 0 30px!important;
}
.footer .callus,
.footer .social,
.footer .copyright,
.footer ul.footernav {
  margin: 0;
  padding: 0;
}
.footer .callus,
.footer .social {
  float: none;
}
.footer .callus a {
  text-decoration: none;
}
.footer .copyright,
.footer .social {
  margin-top: 20px!important;
}
.footer .copyright {
  color: #fff!important;
}
.footer .callus {
  margin-top: 20px;
}
.footer .social {
  margin-left: -20px;
}
.footer .callus em {
  color: #fff!important;
}
.footer .callus span {
  color: #E5AB3F;
}
.footer ul.footernav {
  list-style-type: none;
}
.footer ul.footernav li {
  display: inline;
  margin-right: 25px;
}
.footer ul.footernav li a {
  color: #fff!important;
  text-decoration: none;
  text-transform: uppercase;
}
.footer ul.footernav li:hover a {
  color: #E5AB3F!important;
}

/*==========  Mobile First Media Queries  ==========*/

/* Horizontal Landscape Layouts - Fix header font size for all landscape orientations */
@media only screen and (max-height: 600px) and (min-width: 768px) {
  /* Reduce navigation font size to prevent header breaking in landscape */
  .navbar-collapse .navbar-nav li a {
    font-size: 1.1em !important;
  }
}

/* Horizontal Mobile Layouts (Landscape Small Screens) - Fix cutoff issues */
@media only screen and (max-width: 1024px) and (max-height: 500px) {
  /* Add body padding for horizontal mobile to prevent header cutoff */
  body {
    padding-top: 70px !important;
  }
  
  /* Hero section adjustments for horizontal mobile */
  .hero-section {
    height: calc(100vh - 70px) !important;
    padding: 10px 0 !important;
    margin-top: 0 !important;
  }
  
  .hero-content {
    padding: 0 20px !important;
    max-width: 90% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
  }
  
  .hero-text h1 {
    font-size: 2.5em !important;
    margin-bottom: 15px !important;
    line-height: 1 !important;
  }
  
  .hero-subtitle {
    font-size: 1em !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
  }
  
  .hero-cta {
    margin-bottom: 30px !important;
  }
  
  .hero-cta .btn {
    font-size: 1.1em !important;
    padding: 10px 20px !important;
    height: auto !important;
  }
  
  .hero-cta p {
    font-size: 1em !important;
    margin-top: 10px !important;
  }
  
  .scroll-indicator {
    bottom: 5px !important;
  }
  
  .scroll-arrow {
    font-size: 2em !important;
  }
  
  /* Navbar adjustments for horizontal mobile */
  .navbar-fixed-top {
    height: 70px !important;
  }
  
  .navbar-header {
    padding: 5px 15px !important;
    height: 70px !important;
  }
  
  .logo {
    top: 5px !important;
  }
  
  .logo img {
    width: 160px !important;
  }
  
  .navbar-collapse .navbar-nav li a {
    height: 70px !important;
    padding: 25px 12px !important;
    font-size: 1.1em !important;
  }
  
  /* Tracking section adjustments */
  .tracking-section {
    padding: 40px 0 !important;
  }
  
  .tracking-card {
    padding: 25px !important;
    margin: 0 10px !important;
  }
  
  .tracking-content h2 {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }
  
  .tracking-content p {
    font-size: 1.2em !important;
    margin-bottom: 20px !important;
  }
  
  /* Section padding adjustments */
  .row3, .row4, .row7, .row8, .row9 {
    padding: 30px 0 !important;
  }
  
  .why-cards-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    padding: 15px !important;
  }
  
  .why-card-content {
    padding: 20px !important;
  }
  
  .why-card-content h4 {
    font-size: 1.2em !important;
  }
  
  .why-card-content p {
    font-size: 0.95em !important;
  }
  
  /* We Move section adjustments */
  .we-move-content {
    padding: 30px 20px !important;
  }
  
  .we-move-content h2 {
    font-size: 2em !important;
  }
  
  .equipment-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  
  .equipment-item {
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  
  .equipment-item span {
    font-size: 0.85em !important;
  }
  
  /* Driver section adjustments */
  .drivers-content {
    padding: 30px 20px !important;
  }
  
  .drivers-cards-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  .driver-info {
    padding: 15px !important;
  }
  
  .driver-info h4 {
    font-size: 1.1em !important;
  }
  
  .driver-info p {
    font-size: 0.9em !important;
  }
  
  /* Map and hub sections */
  .map-container, .featured-container {
    padding: 20px 15px !important;
  }
  
  .hub-map-card {
    max-width: 100% !important;
  }
  
  .laredo-image {
    flex: 0 0 200px !important;
    height: 120px !important;
  }
  
  /* Footer adjustments */
  .container-fluid.footer {
    padding: 20px 0 !important;
  }
  
  .footer .row {
    padding: 0 20px !important;
  }
  
  /* About us page specific fixes (uses body.home but has different content) */
  body.home .hero-text h5 {
    font-size: 1.1em !important;
    margin-bottom: 10px !important;
  }
  
  body.home .hero-subtitle + .hero-subtitle {
    margin-bottom: 15px !important;
  }
  
  /* Handle multiple hero subtitles for about-us page */
  body.home .hero-text p.hero-subtitle:not(:last-of-type) {
    margin-bottom: 10px !important;
  }
}

/* Extra small horizontal screens */
@media only screen and (max-width: 700px) and (max-height: 400px) {
  /* Ensure body padding is still applied for extra small screens */
  body {
    padding-top: 70px !important;
  }
  
  .hero-section {
    height: calc(100vh - 70px) !important;
  }
  
  .hero-text h1 {
    font-size: 1.8em !important;
    margin-bottom: 10px !important;
  }
  
  .hero-subtitle {
    font-size: 0.9em !important;
    margin-bottom: 15px !important;
  }
  
  .hero-cta {
    margin-bottom: 20px !important;
  }
  
  .hero-cta .btn {
    font-size: 0.9em !important;
    padding: 8px 16px !important;
  }
  
  .why-cards-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
  }
  
  .why-card-image {
    height: 120px !important;
  }
  
  .why-card-content {
    padding: 15px !important;
  }
  
  .why-card-content h4 {
    font-size: 1em !important;
    margin-bottom: 8px !important;
  }
  
  .why-card-content p {
    font-size: 0.8em !important;
    line-height: 1.3 !important;
  }
  
  .equipment-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
  
  .equipment-item span {
    font-size: 0.75em !important;
  }
  
  .drivers-cards-container {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .driver-image-container {
    height: 80px !important;
  }
  
  .driver-info {
    padding: 10px !important;
  }
  
  .driver-info h4 {
    font-size: 0.9em !important;
    margin-bottom: 5px !important;
  }
  
  .driver-info p {
    font-size: 0.75em !important;
    margin-bottom: 8px !important;
  }
  
  /* About us page specific fixes for extra small screens */
  body.home .hero-text h5 {
    font-size: 0.9em !important;
    margin-bottom: 8px !important;
  }
  
  body.home .hero-subtitle {
    font-size: 0.8em !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
  }
  
  body.home .hero-text p.hero-subtitle:not(:last-of-type) {
    margin-bottom: 8px !important;
  }
}

/* Mobile fallback for background-attachment fixed issues */
@media only screen and (max-width: 743px) {
  .container-fluid.row3::before,
  .container-fluid.row4::before {
    background-attachment: scroll !important;
    transform: none !important;
  }
}

/* Mobile Performance Optimizations */
@media only screen and (max-width: 767px) {
  /* Reduce animations for better mobile performance */
  .track-animation-background,
  .bounce-animation,
  .parallax-bg {
    animation: none !important;
    transform: none !important;
  }

  /* Optimize image container sizes */
  .laredo-image {
    flex: 0 0 250px;
    height: 160px;
  }

  /* Better mobile spacing */
  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Improve mobile text readability */
  h2, h3, h4 {
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
  }

  p {
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
  }
}

/* Mobile Button and Touch Target Improvements */
@media only screen and (max-width: 768px) {
  /* Ensure all buttons meet touch target requirements */
  .btn, button {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 12px 24px !important;
    font-size: 16px !important; /* Prevent iOS zoom */
  }

  /* Improve form elements */
  input, select, textarea {
    font-size: 16px !important; /* Prevent iOS zoom */
  }
}

/* Very Small Screens - Extra protection for title */
@media only screen and (max-width : 319px) {
  .hero-text h1 {
    font-size: 1.3em !important;
    letter-spacing: 0.2px;
    line-height: 1.05;
    margin-bottom: 8px;
  }
  
  .hero-subtitle {
    font-size: 0.9em !important;
    font-weight: 400 !important;
    line-height: 1.4em !important;
    margin-bottom: 10px !important;
  }
  
  .hero-cta h5 {
    font-size: 0.9em !important;
    margin-bottom: 8px !important;
  }
  
  .hero-cta .btn {
    font-size: 1em !important;
    padding: 12px 24px !important;
    min-height: 44px !important;
    min-width: 120px !important;
  }
  
  .hero-cta p {
    font-size: 0.8em !important;
    margin-top: 8px !important;
  }
  
  .hero-text {
    padding: 0 10px;
  }

  /* Add body padding for mobile fixed navbar */
  body {
    padding-top: 120px;
  }

  /* Adjust hero section height to account for navbar */
  .hero-section {
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
  .hero-text h1 {
    font-size: 2.2em;
    width: 100%;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 100%;
    word-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.95em !important;
    font-weight: 400 !important;
    line-height: 1.5em !important;
    margin-bottom: 15px !important;
  }
  
  .hero-cta h5 {
    font-size: 1em;
    margin-bottom: 10px;
  }
  
  .hero-cta .btn {
    font-size: 1.1em;
    padding: 12px 24px;
    min-height: 44px !important;
    min-width: 120px !important;
  }
  
  .hero-cta p {
    font-size: 0.85em;
    margin-top: 10px;
  }
  
  .hero-text {
    padding: 0 15px;
    max-width: 100%;
  }
  
  /* Add body padding for mobile fixed navbar */
  body {
    padding-top: 120px;
  }
  
  /* Adjust hero section height to account for navbar */
  .hero-section {
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

  .tracking-content h2 {
    font-size: 2em;
  }
  
  /* We Move Everything - Very Small Mobile */
  .we-move-content {
    padding: 20px 10px;
    margin: 0 5px;
    max-width: calc(100vw - 10px);
  }
  
  .we-move-content h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .vehicles-equipment-section {
    margin-bottom: 40px;
  }
  
  .equipment-item {
    padding: 10px 12px;
    gap: 10px;
  }
  
  .equipment-dot {
    width: 10px;
    height: 10px;
  }

  /* Mobile tracking animation adjustments */
  .track-animation-background {
    transform: scale(0.5);
    opacity: 0.3;
  }
  
  /* OUR HUBS - Very Small Mobile */
  .row8 .col-sm-12 h2 {
    font-size: 1.8em;
  }
  .row8 .col-sm-12 p {
    font-size: 1.1em;
    padding: 0 15px;
  }
  .map-container {
    padding: 0 10px 20px 10px;
  }
  .featured-container {
    padding: 0 10px 30px 10px;
  }
  .featured-container h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
  }
  .hub-map-card {
    max-width: 100%;
  }
  .laredo-scroll-banner {
    max-width: 100%;
  }
  .laredo-image {
    flex: 0 0 180px;
    height: 130px;
  }

  .track-animation-background.scale-up {
    transform: scale(0.7);
    opacity: 0.6;
  }

  .tracking-path {
    max-width: 400px;
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 0 10px;
  }

  .path-segment {
    margin: 5px 2px;
    min-width: 60px;
  }

  .tracking-line {
    width: 50px;
    height: 3px;
  }

  .tracking-dot {
    width: 12px;
    height: 12px;
    margin-left: 2px;
  }

  .tracking-dot::before {
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-width: 1px;
  }
  
  .tracking-card {
    padding: 20px 15px;
    border-radius: 15px;
    margin: 0 10px;
    max-width: calc(100vw - 20px);
  }

  .tracking-form input[type="text"] {
    max-width: min(280px, calc(100vw - 80px)) !important;
    min-width: 200px !important;
    font-size: 1.4em !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
  }
  
  /* Driver Cards - Very Small Mobile */
  .drivers-cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .drivers-content {
    padding: 20px 10px;
    margin: 0 5px;
    max-width: calc(100vw - 10px);
  }
  
  .driver-image-container {
    height: 160px;
  }
  
  .driver-info {
    padding: 20px 15px;
  }
  
  .driver-info h4 {
    font-size: 1.2em;
  }
  
  .driver-info p {
    font-size: 1em;
  }
  
  .row9 h3 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .row9 p {
    font-size: 1.1em;
    margin-bottom: 30px;
    padding: 0 10px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
  .hero-text h1 {
    font-size: 2.8em;
    letter-spacing: 1px;
    line-height: 1.15;
    max-width: 100%;
    word-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 1.0em !important;
    font-weight: 400 !important;
    line-height: 1.5em !important;
    margin-bottom: 18px !important;
  }
  
  .hero-text {
    padding: 0 20px;
  }
  
  /* Add body padding for mobile fixed navbar */
  body {
    padding-top: 120px;
  }
  
  /* Adjust hero section height to account for navbar */
  .hero-section {
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

  .tracking-content h2 {
    font-size: 2.2em;
  }

  /* Slightly larger tracking animation for phones */
  .track-animation-background {
    transform: scale(0.6);
    opacity: 0.35;
  }

  .track-animation-background.scale-up {
    transform: scale(0.8);
    opacity: 0.65;
  }

  .tracking-path {
    max-width: 500px;
    overflow: hidden;
  }

  .tracking-line {
    width: 60px;
  }

  .tracking-dot {
    width: 14px;
    height: 14px;
  }
  
  .tracking-card {
    padding: 25px 20px;
    border-radius: 18px;
    margin: 0 15px;
    max-width: calc(100vw - 30px);
  }

  .tracking-form input[type="text"] {
    max-width: min(290px, calc(100vw - 70px)) !important;
    font-size: 1.5em !important;
  }

  .row9 .drivers .card {
    padding-bottom: 20px;
  }
  .row9 .drivers .card-content {
    padding: 0 20px 20px 20px;
  }
  .row9 .drivers .card-content img {
    margin-right: 20px;
    width: auto;
    height: auto;
  }
  .row4 .card-content img {
    width: 50%;
  }
  
  /* Responsive Why Cards - Mobile */
  /* Grid rules moved to page-specific section at bottom of file */
  
  .why-card-image {
    height: 220px;
  }
  
  .why-card-content {
    padding: 25px 20px;
  }
  
  .why-card-content h4 {
    font-size: 1.3em;
  }
  
  .why-card-content p {
    font-size: 1.05em;
  }
  
  /* We Move Everything - Mobile 480px+ */
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    width: 100%;
  }
  
  /* OUR HUBS - Mobile 480px+ */
  .laredo-image {
    flex: 0 0 200px;
    height: 150px;
  }
  
  .equipment-item {
    padding: 10px 12px;
    gap: 8px;
  }
  
  .equipment-item span {
    font-size: 0.9em;
    line-height: 1.2;
  }
  
  .equipment-item.special {
    max-width: none;
    margin: 0;
  }
  
  /* Driver Cards - Mobile 480px+ */
  .drivers-cards-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .drivers-content {
    padding: 25px 15px;
    margin: 0 10px;
    max-width: calc(100vw - 20px);
  }
  
  .driver-image-container {
    height: 180px;
  }
  
  .driver-info {
    padding: 25px 20px;
  }
  
  .driver-info h4 {
    font-size: 1.3em;
  }
  
  .driver-info p {
    font-size: 1.05em;
  }
  
  /* We Move Everything - Mobile */
  .we-move-content {
    padding: 25px 12px;
    margin: 0 8px;
    max-width: calc(100vw - 16px);
  }
  
  .we-move-content h2 {
    font-size: 2em;
  }
  
  .we-move-content > p {
    font-size: 1.05em;
    margin-bottom: 30px;
  }
  
  .vehicles-equipment-section h3,
  .how-we-do-it-section h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }
  
  .equipment-item {
    padding: 12px 15px;
    gap: 12px;
    margin: 0;
  }
  
  .equipment-item span {
    font-size: 0.95em;
  }
  
  .load-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .load-type-image {
    height: 220px;
  }
  
  .load-type-overlay h4 {
    font-size: 1.4em;
  }
}

/* Tablet Landscape - Critical fixes */
@media only screen and (min-width: 600px) and (max-width: 991px) {
  /* Optimize typography for tablet landscape */
  .hero-text h1 {
    font-size: 4em !important;
    line-height: 1.1 !important;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 1.3em !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
  }

  /* Touch-friendly buttons for tablets */
  .btn {
    min-height: 48px !important;
    min-width: 140px !important;
    padding: 14px 28px !important;
    font-size: 1.3em !important;
    border-radius: 6px;
  }

  /* Form improvements for tablets */
  .tracking-form input[type="text"] {
    min-height: 48px !important;
    padding: 14px 20px !important;
    font-size: 1.3em !important;
    max-width: 350px !important;
  }

  /* Better spacing for content sections */
  .we-move-content {
    padding: 40px 30px;
    margin: 0 20px;
  }

  .drivers-content {
    padding: 40px 30px;
    margin: 0 20px;
  }

  /* Navigation touch targets */
  .navbar-collapse .navbar-nav li a {
    padding: 12px 20px !important;
    font-size: 1.1em !important;
  }

  /* Tablet-specific layout improvements */
  .customer-logo {
    margin: 0 15px !important;
    height: 80px !important;
  }

  .customer-logo img {
    max-height: 60px !important;
    max-width: 140px !important;
  }

  /* Better tablet grid for equipment lists */
  .equipment-item {
    padding: 15px 20px !important;
    margin: 10px 0 !important;
  }

  /* Optimize driver cards for tablet */
  .driver-image-container {
    height: 200px !important;
  }

  .driver-info {
    padding: 25px 20px !important;
  }

  /* Better tablet hub map sizing */
  .hub-map-card {
    max-width: 600px !important;
    margin: 20px auto !important;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 680px) {
  .row6 ul {
    float: left;
  }
  .row6 ul.continued {
    padding: 0 0 0 40px!important;
    margin-top: 10px!important;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 744px) {
  #livechat-compact-container, #livechat-eye-catcher {
  display: inherit;
  }

  .hero-text h1 {
    font-size: 4em;
    letter-spacing: 2px;
  }

  /* RESET hero subtitle back to inline styles for desktop */
  .hero-subtitle {
    font-size: 1.6em !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    margin-bottom: 25px !important;
  }
  
  /* RESET hero CTA elements back to original desktop sizes */
  .hero-cta h5 {
    font-size: 1.2em !important;
    margin-bottom: 15px !important;
  }
  
  .hero-cta .btn {
    font-size: 1.4em !important;
    height: 58px !important;
    padding: 15px 30px !important;
  }
  
  .hero-cta p {
    font-size: 1.2em !important;
    margin-top: 15px !important;
  }
  
  /* Reset body padding for tablets and up */
  body {
    padding-top: 0;
  }
  
  /* Reset hero section height for tablets and up */
  .hero-section {
    height: 95vh;
  }

  .tracking-content h2 {
    font-size: 2.5em;
  }
  
  .tracking-card {
    padding: 35px;
    max-width: 650px;
  }

  .container-fluid {
    padding: 0!important;
  }
  .container-fluid.footer, .row10 .drivewithus {
    display: block;
  }
  .navbar-collapse {
    margin: 0 auto!important;
  }
  .navbar-collapse .navbar-nav li {
    background: none!important;
    border: 0!important;
  }
  .navbar-collapse .navbar-nav li:hover {
    background: none!important;
  }
  .navbar-collapse .navbar-nav li a {
    color: #fff!important;
    height: 120px!important;
    padding: 50px 15px!important;
    font-size: 1.1em;
    transition: all 0.4s ease;
  }
  .navbar-fixed-top.scrolled .navbar-collapse .navbar-nav li a {
    height: 80px!important;
    padding: 30px 12px!important;
    font-size: 1.1em;
  }
  .logo img {
    width: 240px;
  }
  .navbar-fixed-top.scrolled .logo img {
    width: 190px;
  }
  .row3 .why h2 {
    width: 450px;
    font-size: 2.5em;
  }
  .row4 .row .col-sm-3 {
    padding: 10px!important;
  }
  .row4 .card-content img {
    width: 100%;
  }
  
  /* Responsive Why Cards - Tablet */
  /* Grid rules moved to page-specific section at bottom of file */
  
  .why-card-image {
    height: 240px;
  }
  
  .why-card-content {
    padding: 28px 25px;
  }
  
  .why-card-content h4 {
    font-size: 1.4em;
  }
  
  .why-card-content p {
    font-size: 1.08em;
  }
  
  /* We Move Everything - Tablet */
  .we-move-content {
    padding: 45px 30px;
    margin: 0 15px;
    max-width: calc(100vw - 30px);
  }
  
  /* OUR HUBS - Tablet */
  .row8 .col-sm-12 h2 {
    font-size: 2.5em;
  }
  .featured-container h3 {
    font-size: 1.8em;
  }
  .hub-map-card {
    max-width: 700px;
  }
  .laredo-scroll-banner {
    max-width: 900px;
  }
  .laredo-image {
    flex: 0 0 250px;
    height: 180px;
  }
  
  .we-move-content h2 {
    font-size: 2.6em;
  }
  
  .we-move-content > p {
    font-size: 1.2em;
    margin-bottom: 40px;
  }
  
  .vehicles-equipment-section h3,
  .how-we-do-it-section h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  
  .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 650px;
  }
  
  .equipment-item {
    padding: 14px 18px;
    gap: 14px;
  }
  
  .equipment-item span {
    font-size: 1.05em;
  }
  
  .load-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .load-type-image {
    height: 260px;
  }
  
  .load-type-overlay h4 {
    font-size: 1.6em;
  }
  .row7 .customers div img {
    width: 100%;
  }
  
  /* Driver Cards - Tablet */
  .drivers-cards-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .drivers-content {
    padding: 45px 30px;
    margin: 0 15px;
    max-width: calc(100vw - 30px);
  }
  
  .driver-image-container {
    height: 220px;
  }
  
  .driver-info {
    padding: 28px 25px;
  }
  
  .driver-info h4 {
    font-size: 1.4em;
  }
  
  .driver-info p {
    font-size: 1.08em;
  }
  .footer .callus,
  .footer .social {
    float: right;
  }
  .footer .copyright {
    padding-top: 25px;
  }
  .footer .callus {
    margin-top: 0;
  }
  .footer .callus {
    margin-top: -5px;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  .hero-text h1 {
    font-size: 5em;
    letter-spacing: 2.5px;
  }

  .hero-subtitle {
    font-size: 1.6em;
    font-weight: 300;
  }

  /* Desktop tracking animation - larger base size */
  .track-animation-background {
    transform: scale(1.1);
    opacity: 0.5;
  }

  .track-animation-background.scale-up {
    transform: scale(1.4);
    opacity: 0.8;
  }
  
  .tracking-card {
    padding: 40px;
    max-width: 700px;
  }

  .navbar-collapse .navbar-nav li a {
    font-size: 1.2em!important;
    padding: 50px 18px!important;
    height: 120px!important;
  }
  .navbar-fixed-top.scrolled .navbar-collapse .navbar-nav li a {
    font-size: 1.2em!important;
    padding: 30px 15px!important;
    height: 80px!important;
  }
  .navbar-collapse .navbar-nav {
    margin-right: 0!important;
  }
  /* Responsive Why Cards - Desktop */
  .why-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 30px;
  }
  
  .why-card-image {
    height: 260px;
  }
  
  .why-card-content {
    padding: 30px;
  }
  
  .why-card-content h4 {
    font-size: 1.5em;
  }
  
  .why-card-content p {
    font-size: 1.1em;
  }
  
  /* We Move Everything - Desktop */
  .we-move-content {
    padding: 60px;
    max-width: 1100px;
  }
  
  /* OUR HUBS - Desktop */
  .featured-container h3 {
    font-size: 2em;
  }
  .hub-map-card {
    max-width: 800px;
  }
  .laredo-scroll-banner {
    max-width: 1000px;
  }
  .laredo-image {
    flex: 0 0 320px;
    height: 220px;
  }
  
  .we-move-content h2 {
    font-size: 3em;
  }
  
  .we-move-content > p {
    font-size: 1.3em;
    margin-bottom: 50px;
  }
  
  .vehicles-equipment-section h3,
  .how-we-do-it-section h3 {
    font-size: 2em;
    margin-bottom: 40px;
  }
  
  .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 750px;
  }
  
  .equipment-item {
    padding: 15px 20px;
    gap: 15px;
  }
  
  .equipment-item span {
    font-size: 1.1em;
  }
  
  .load-types-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .load-type-image {
    height: 280px;
  }
  
  .load-type-overlay h4 {
    font-size: 1.8em;
  }
  
  /* Driver Cards - Desktop */
  .drivers-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .drivers-content {
    padding: 60px;
    max-width: 1100px;
  }
  
  .driver-image-container {
    height: 200px;
  }
  
  .driver-info {
    padding: 30px;
  }
  
  .driver-info h4 {
    font-size: 1.5em;
  }
  
  .driver-info p {
    font-size: 1.1em;
  }
}

@media only screen and (min-height: 1300px) {
  .container-fluid.footer, .row10 .drivewithus {
    display: block;
  }
}

/* Show Drive With Us section on all screen sizes */
@media only screen and (max-width: 743px) {
  .row10 .drivewithus {
    display: block;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  .navbar-collapse .navbar-nav li a {
    font-size: 1.3em!important;
    padding: 50px 20px!important;
    height: 120px!important;
  }
  .navbar-fixed-top.scrolled .navbar-collapse .navbar-nav li a {
    font-size: 1.3em!important;
    padding: 30px 17px!important;
    height: 80px!important;
  }

  /* Large desktop tracking animation - even bigger */
  .track-animation-background {
    transform: scale(1.3);
    opacity: 0.6;
  }

  .track-animation-background.scale-up {
    transform: scale(1.6);
    opacity: 0.9;
  }
}

/* IE10 and IE11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .row2 .wedge div {
    min-height: 40px!important;
  }
}

/* Drive Page Specific Styles */

/* TruckMovers Touch Modern Section Responsive Design */
@media only screen and (max-width: 743px) {
  .touch-content {
    flex-direction: column !important;
    gap: 30px !important;
    padding: 40px 20px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .touch-image {
    flex: none !important;
    order: 2;
  }
  
  .touch-text {
    order: 1;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .touch-text h3 {
    font-size: 2em !important;
    text-align: center;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .touch-text p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  
  .app-buttons {
    justify-content: center !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
  }
}

@media only screen and (max-width: 480px) {
  .touch-section-wrapper {
    padding: 0 10px !important;
    margin: 0 auto !important;
    max-width: calc(100vw - 20px) !important;
    box-sizing: border-box !important;
  }
  
  .touch-content {
    padding: 30px 15px !important;
    border-radius: 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .touch-image {
    flex: 0 0 250px !important;
  }
  
  .touch-text {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .touch-text h3 {
    font-size: 1.8em !important;
    margin-bottom: 20px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }
  
  .touch-text p {
    font-size: 1.1em !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
  }
  
  .app-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .app-buttons img {
    height: 50px !important;
    max-width: 100% !important;
  }
}

/* Index Page (home) - 4 Card Grid Layout (2 rows x 2 columns on desktop, single column on mobile) - DEFAULT */
/* Default grid layout for index.php */
.why-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

@media only screen and (min-width: 992px) {
  /* Desktop - 2 columns x 2 rows for index.php (default) */
  body.home .why-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
  }
}

@media only screen and (min-width: 744px) and (max-width: 991px) {
  /* Tablet - 2 columns x 2 rows for index.php (default) */
  body.home .why-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 700px;
  }

  /* Reduce navigation text size for tablets to prevent wrapping */
  .navbar-collapse .navbar-nav li a {
    font-size: 1.0em !important;
    padding: 50px 12px !important;
    height: 120px !important;
  }

  .navbar-fixed-top.scrolled .navbar-collapse .navbar-nav li a {
    font-size: 1.0em !important;
    padding: 30px 10px !important;
    height: 80px !important;
  }
}

/* Drive Page - 6 Card Grid Layout (2 rows x 3 columns on desktop, single column on mobile) */
@media only screen and (min-width: 1200px) {
  /* Large Desktop - 3 columns x 2 rows for drive page */
  body.drive .why-cards-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  /* Medium Desktop - 3 columns x 2 rows for drive page */
  body.drive .why-cards-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
  }

  /* Reduce navigation text size for tablet landscape to prevent wrapping */
  .navbar-collapse .navbar-nav li a {
    font-size: 1.1em !important;
    padding: 50px 15px !important;
    height: 120px !important;
  }

  .navbar-fixed-top.scrolled .navbar-collapse .navbar-nav li a {
    font-size: 1.1em !important;
    padding: 30px 12px !important;
    height: 80px !important;
  }
}

@media only screen and (min-width: 744px) and (max-width: 991px) {
  /* Tablet - 2 columns x 3 rows for drive page */
  body.drive .why-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 700px;
  }
}

/* Mobile - Single column for all pages */
@media only screen and (max-width: 743px) {
  .why-cards-container {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 500px;
  }
}

/* Drive page body class specific hero background */
body.drive .hero-section {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/truck-driveaway/img/home-main.png') center center;
  background-size: cover;
}

/* Drive page horizontal mobile fixes */
@media only screen and (max-width: 1024px) and (max-height: 500px) {
  body.drive {
    padding-top: 70px !important;
  }
  
  body.drive .hero-section {
    height: calc(100vh - 70px) !important;
    padding: 10px 0 !important;
    background-position: center center !important;
    background-size: cover !important;
  }
  
  body.drive .hero-content {
    padding: 0 20px !important;
    max-width: 90% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
  }
  
  body.drive .hero-text h1 {
    font-size: 2.2em !important;
    margin-bottom: 12px !important;
    line-height: 1 !important;
  }
  
  body.drive .hero-subtitle {
    font-size: 0.9em !important;
    margin-bottom: 18px !important;
    line-height: 1.3 !important;
  }
  
  body.drive .hero-cta {
    margin-bottom: 25px !important;
  }
  
  body.drive .hero-cta .btn {
    font-size: 1em !important;
    padding: 8px 16px !important;
    height: auto !important;
  }
  
  body.drive .hero-cta p {
    font-size: 0.9em !important;
    margin-top: 8px !important;
  }
  
  body.drive .scroll-indicator {
    bottom: 5px !important;
  }
  
  body.drive .scroll-arrow {
    font-size: 1.8em !important;
  }
}

/* Extra small horizontal screens for Drive page */
@media only screen and (max-width: 700px) and (max-height: 400px) {
  body.drive {
    padding-top: 70px !important;
  }
  
  body.drive .hero-section {
    height: calc(100vh - 70px) !important;
  }
  
  body.drive .hero-text h1 {
    font-size: 1.6em !important;
    margin-bottom: 8px !important;
  }
  
  body.drive .hero-subtitle {
    font-size: 0.8em !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
  }
  
  body.drive .hero-cta {
    margin-bottom: 15px !important;
  }
  
  body.drive .hero-cta .btn {
    font-size: 0.85em !important;
    padding: 6px 12px !important;
  }
  
  body.drive .hero-cta p {
    font-size: 0.8em !important;
  }
  
  /* Fix TruckMovers Touch section cutoff on horizontal small screens */
  body.drive .touch-content {
    padding: 20px 15px !important;
    gap: 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  body.drive .touch-text {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: calc(100% - 160px) !important;
  }
  
  body.drive .touch-text h3 {
    font-size: 1.4em !important;
    margin-bottom: 10px !important;
    word-wrap: break-word !important;
  }
  
  body.drive .touch-text p {
    font-size: 0.8em !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  body.drive .touch-image {
    flex: 0 0 140px !important;
    max-width: 140px !important;
  }
}

/* Drive page specific footer adjustments */
body.drive .container-fluid.footer {
  display: block !important;
}

body.drive .row10 .drivewithus {
  display: block !important;
}

/* Corporate Headquarters Section - Modern Styling */
.headquarters-section {
  padding: 60px 0;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.headquarters-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Diagonal lines from top-left to bottom-right */
    linear-gradient(45deg, transparent 48%, rgba(100, 100, 100, 0.1) 48%, rgba(100, 100, 100, 0.1) 52%, transparent 52%),
    /* Diagonal lines from top-right to bottom-left */
    linear-gradient(-45deg, transparent 48%, rgba(120, 120, 120, 0.08) 48%, rgba(120, 120, 120, 0.08) 52%, transparent 52%),
    /* Horizontal lines */
    linear-gradient(0deg, transparent 48%, rgba(90, 90, 90, 0.06) 48%, rgba(90, 90, 90, 0.06) 52%, transparent 52%),
    /* Vertical lines */
    linear-gradient(90deg, transparent 48%, rgba(110, 110, 110, 0.07) 48%, rgba(110, 110, 110, 0.07) 52%, transparent 52%);
  background-size: 120px 120px, 140px 140px, 200px 200px, 180px 180px;
  background-position: 0 0, 60px 70px, 0 100px, 90px 0;
  pointer-events: none;
  opacity: 0.4;
}

.headquarters-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #E5AB3F 0%, #C54803 100%);
  margin: 0 auto 40px auto;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(229, 171, 63, 0.3);
}

.headquarters-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.headquarters-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.headquarters-info {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-content {
  background: rgba(255, 255, 255, 0.5);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(229, 171, 63, 0.1);
  backdrop-filter: blur(10px);
}

.headquarters-description,
.visit-invitation {
  font-size: 1.1em;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
  font-weight: 400;
}

.location-link {
  color: #E5AB3F;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.location-link:hover {
  color: #C54803;
  border-bottom-color: #C54803;
  text-decoration: none;
}

.company-address {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  margin-top: 25px;
  position: relative;
  overflow: hidden;
}

.company-address::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(229, 171, 63, 0.1), transparent);
  transition: left 0.5s ease;
}

.company-address:hover::before {
  left: 100%;
}

.company-name {
  display: block;
  font-size: 1.2em;
  font-weight: 700;
  color: #E5AB3F;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.address-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  transition: color 0.3s ease;
}

.address-link:hover {
  color: #E5AB3F;
  text-decoration: none;
}

/* Gallery Section */
.headquarters-gallery {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.gallery-thumbnails {
  order: 1;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.thumbnail-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
}

.thumbnail-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.thumbnail-item:hover::before {
  opacity: 1;
}

.thumbnail-item:hover {
  transform: translateY(-4px);
  border-color: #E5AB3F;
  box-shadow: 0 8px 25px rgba(229, 171, 63, 0.3);
}

.thumbnail-item.active {
  border-color: #C54803;
  box-shadow: 0 0 20px rgba(197, 72, 3, 0.4);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
  transform: scale(1.1);
}

.gallery-instructions {
  text-align: center;
  color: #666;
  font-size: 0.95em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.instruction-text {
  font-weight: 500;
}

.instruction-icons {
  color: #E5AB3F;
  font-size: 1.2em;
}

.gallery-main {
  order: 2;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  aspect-ratio: 4/3;
}

.carousel {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.carousel-inner .item {
  height: 100%;
  position: relative;
}

.carousel-inner .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iframe-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  text-align: center;
}

.carousel-caption p {
  margin: 0;
  font-size: 1em;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(229, 171, 63, 0.3);
}

.carousel-control:hover {
  background: rgba(229, 171, 63, 0.9);
  color: white;
  text-decoration: none;
  border-color: #E5AB3F;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.left {
  left: 20px;
}

.carousel-control.right {
  right: 20px;
}

.carousel-control i {
  font-size: 1.2em;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .headquarters-gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .gallery-thumbnails {
    order: 2;
  }
  
  .gallery-main {
    order: 1;
  }
  
  .headquarters-title {
    font-size: 2.2em;
  }
  
  .info-content {
    padding: 25px;
  }
}

@media (max-width: 767px) {
  .headquarters-section {
    padding: 40px 0;
  }
  
  .headquarters-title {
    font-size: 1.8em;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .info-content {
    padding: 20px;
  }
  
  .headquarters-gallery {
    padding: 0 15px;
    gap: 25px;
  }
  
  .carousel-control {
    width: 40px;
    height: 40px;
  }
  
  .carousel-control i {
    font-size: 1em;
  }
}

@media (max-width: 575px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .gallery-instructions {
    flex-direction: column;
    gap: 5px;
  }
}
