    /* ============================================
       STICKY HEADER & SUB-HEADER FIXED
       ============================================ */

    /* Remove any default body margin/padding */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
    }

    /* Top Sub-header - Sticky at very top of page */
    .top-subheader {
      position: sticky;
      top: 0;
      z-index: 1031;
      background-color: #0a1a3a;
      color: #ffffff;
      padding: 8px 0;
      font-size: 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      width: 100%;
    }

    /* Carrier Portal Button - matching Client Portal style */
    .top-subheader .btn-portal.carrier {
      background-color: transparent;
      color: #f9f9f9;
      text-decoration: none;
      padding: 6px 15px;
      border-radius: 4px;
      font-weight: 500;
      font-size: 13px;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
    }

    .top-subheader .btn-portal.carrier:hover {
      background-color: #ff5f13;
      color: #ffffff;
    }

    .top-subheader .btn-portal {
      background-color: transparent;
      color: #f9f9f9;
      text-decoration: none;
      padding: 6px 15px;
      border-radius: 4px;
      font-weight: 500;
      font-size: 13px;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
    }

    .top-subheader .btn-portal:hover {
      background-color: #ff5f13;
      color: #ffffff;
    }

    /* Optional: subtle separator between portal buttons */
    .top-subheader .portal-separator {
      color: rgba(255, 255, 255, 0.2);
      margin: 0 8px;
    }

    /* Main Header - Below sub-header, transparent background */
    .header {
      position: fixed;
      top: 41px; /* Height of top sub-header */
      left: 0;
      width: 100%;
      z-index: 1030;
      background-color: transparent;
      padding: 20px 0;
      transition: all 0.3s ease-in-out;
    }

    /* When scrolled - header becomes sticky at top with solid background */
    .header.scrolled {
      top: 0;
      background-color: #0a1a3a !important;
      padding: 10px 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Logo transition */
    .header .logo img {
      max-height: 66px;
      transition: all 0.3s ease;
    }

    .header.scrolled .logo img {
      max-height: 50px;
    }

    /* Nav link colors */
    .header .navmenu a {
      color: rgba(255, 255, 255, 0.8);
    }

    .header.scrolled .navmenu a {
      color: rgba(255, 255, 255, 0.9);
    }

    .header .navmenu a:hover,
    .header .navmenu .active {
      color: #ff5f13 !important;
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
      .top-subheader {
        position: sticky;
        top: 0;
      }
      
      .header {
        top: 80px;
        padding: 12px 0;
      }
      
      .header.scrolled {
        top: 0;
        padding: 8px 0;
      }
    }

    @media (max-width: 480px) {
      .top-subheader {
        position: sticky;
        top: 0;
      }
      
      .header {
        top: 105px;
      }
      
      .header.scrolled {
        top: 0;
      }
    }

    /* Page Title padding adjustment to account for fixed header */
    .page-title {
      padding: 180px 0 120px 0 !important;
      min-height: auto !important;
    }

    /* Mobile responsive adjustments for portal buttons */
    @media (max-width: 768px) {
      .top-subheader .btn-portal,
      .top-subheader .btn-portal.carrier {
        padding: 4px 10px;
        font-size: 11px;
      }
      
      .top-subheader .portal-separator {
        margin: 0 4px;
      }
    }

    @media (max-width: 576px) {
      .top-subheader .language-portal {
        gap: 6px;
      }
      
      .top-subheader .btn-portal span,
      .top-subheader .btn-portal.carrier span {
        display: none;
      }
      
      .top-subheader .btn-portal i,
      .top-subheader .btn-portal.carrier i {
        margin-right: 0;
        font-size: 14px;
      }
      
      .top-subheader .btn-portal,
      .top-subheader .btn-portal.carrier {
        padding: 6px 8px;
      }
    }

    /* FIX: Dropdown menu text colors when header is scrolled */
    .header.scrolled .navmenu .dropdown ul {
      background: white !important;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .header.scrolled .navmenu .dropdown ul li a {
      color: #0e1d34 !important;
      background: transparent !important;
    }

    .header.scrolled .navmenu .dropdown ul li a:hover {
      color: #ff5f13 !important;
      background: rgba(255, 95, 19, 0.05) !important;
      padding-left: 20px !important;
    }

    /* Also fix the parent dropdown arrow color when scrolled */
    .header.scrolled .navmenu a {
      color: rgba(255, 255, 255, 0.9);
    }

    .header.scrolled .navmenu .dropdown > a {
      color: rgba(255, 255, 255, 0.9);
    }

    /* Ensure dropdown toggle icon is visible */
    .header.scrolled .navmenu .dropdown .toggle-dropdown {
      color: rgba(255, 255, 255, 0.7);
    }

    /* Fix for mobile menu when scrolled */
    @media (max-width: 1199px) {
      .header.scrolled .navmenu ul {
        background: white !important;
      }
      
      .header.scrolled .navmenu ul li a {
        color: #0e1d34 !important;
      }
      
      .header.scrolled .navmenu ul li a:hover {
        color: #ff5f13 !important;
      }
    }

    /* Custom Dispatching Page Styles */
    :root {
      --accent-dispatch: #ff5f13;
    }
    
    /* Hero Section with Image Background */
    .page-title {
      position: relative;
      overflow: hidden;
      background-image: url('assets/img/dispatching.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      min-height: 80vh;
    }
    
    /* Dark overlay with 0.85 opacity */
    .page-title::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #0e1d34 0%, #1a2f4e 100%);
      opacity: 0.85;
      z-index: 1;
    }
    
    /* Gradient circles for visual interest */
    .page-title::after {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(255,95,19,0.15) 0%, rgba(255,95,19,0) 70%);
      border-radius: 50%;
      z-index: 2;
    }
    
    .page-title .container {
      position: relative;
      z-index: 10;
    }
    
    /* Floating elements - trucks and road icons */
    .floating-icon {
      position: absolute;
      opacity: 0.1;
      pointer-events: none;
      z-index: 3;
      color: #ff5f13;
      filter: drop-shadow(0 0 20px rgba(255, 95, 19, 0.3));
      animation: floatIcon 15s ease-in-out infinite;
    }
    
    .floating-icon i {
      font-size: 80px;
    }
    
    /* Larger variations */
    .floating-icon.large i {
      font-size: 120px;
    }
    
    .floating-icon.small i {
      font-size: 50px;
    }
    
    /* Position each icon differently */
    .floating-icon-1 {
      top: 10%;
      left: 3%;
      animation: floatIcon 18s ease-in-out infinite;
    }
    
    .floating-icon-2 {
      top: 20%;
      right: 2%;
      width: 180px;
      height: 180px;
      animation: floatIcon 22s ease-in-out infinite reverse;
    }
    
    .floating-icon-3 {
      bottom: 15%;
      left: 5%;
      animation: floatIcon 20s ease-in-out infinite 2s;
    }
    
    .floating-icon-4 {
      bottom: 25%;
      right: 5%;
      animation: floatIcon 25s ease-in-out infinite 1s;
    }
    
    .floating-icon-5 {
      top: 40%;
      left: 15%;
      animation: floatIcon 15s ease-in-out infinite 0.5s;
    }
    
    @keyframes floatIcon {
      0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
      }
      25% {
        transform: translate(30px, -20px) rotate(5deg) scale(1.05);
      }
      50% {
        transform: translate(-20px, -40px) rotate(10deg) scale(1.1);
      }
      75% {
        transform: translate(-40px, -15px) rotate(5deg) scale(1.05);
      }
      100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
      }
    }
    
    /* Smoother animation for some */
    .floating-icon-2, .floating-icon-4 {
      animation-name: floatIconSmooth;
    }
    
    @keyframes floatIconSmooth {
      0% {
        transform: translate(0, 0) rotate(0deg);
      }
      33% {
        transform: translate(25px, -25px) rotate(8deg);
      }
      66% {
        transform: translate(-25px, -15px) rotate(-5deg);
      }
      100% {
        transform: translate(0, 0) rotate(0deg);
      }
    }
    
    /* For browsers that support backdrop-filter, add a subtle glow */
    @supports (backdrop-filter: blur(5px)) {
      .floating-icon {
        filter: drop-shadow(0 0 15px rgba(255, 95, 19, 0.5));
        backdrop-filter: blur(2px);
      }
    }
    
    /* Ensure proper z-index stacking */
    .page-title::before {
      z-index: 1;
    }
    .page-title::after {
      z-index: 2;
    }
    .floating-icon {
      z-index: 3;
    }
    .page-title .container {
      z-index: 10;
    }
    
    /* Badge styling */
    .badge-dispatch {
      background: rgba(255,95,19,0.15);
      color: #fff;
      padding: 8px 20px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 600;
      display: inline-block;
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255,95,19,0.3);
      margin-bottom: 20px;
    }
    
    /* Stats Cards - Modified for dispatching */
    .stats-dispatch {
      margin-top: -80px;
      position: relative;
      z-index: 20;
    }
    
    .stat-card {
      background: #fff;
      padding: 40px 30px;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.08);
      text-align: center;
      transition: all 0.3s ease;
      border-bottom: 4px solid transparent;
      animation: fadeInUp 1s ease;
    }
    
    .stat-card:hover {
      transform: translateY(-10px);
      border-bottom-color: #ff5f13;
      box-shadow: 0 30px 60px rgba(255,95,19,0.15);
    }
    
    .stat-card .stat-icon {
      width: 80px;
      height: 80px;
      background: rgba(255,95,19,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px;
      transition: 0.3s;
    }
    
    .stat-card:hover .stat-icon {
      background: #ff5f13;
      transform: scale(1.1);
    }
    
    .stat-card:hover .stat-icon i {
      color: #fff;
    }
    
    .stat-card .stat-icon i {
      font-size: 36px;
      color: #ff5f13;
      transition: 0.3s;
    }
    
    .stat-card h3 {
      font-size: 42px;
      font-weight: 800;
      color: #0e1d34;
      margin-bottom: 5px;
    }
    
    .stat-card p {
      color: #6c757d;
      font-size: 16px;
      margin: 0;
    }
    
    /* Section Titles */
    .section-title-dispatch {
      text-align: center;
      margin-bottom: 60px;
    }
    
    .section-title-dispatch span {
      color: #ff5f13;
      font-size: 16px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 2px;
      display: block;
      margin-bottom: 10px;
    }
    
    .section-title-dispatch h2 {
      font-size: 42px;
      font-weight: 700;
      color: #0e1d34;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }
    
    .section-title-dispatch h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: #ff5f13;
      border-radius: 2px;
    }
    
    .section-title-dispatch p {
      color: #6c757d;
      max-width: 700px;
      margin: 20px auto 0;
      font-size: 18px;
    }
    
    /* Service Cards - Modified for dispatching features */
    .feature-card-dispatch {
      background: #fff;
      border-radius: 20px;
      padding: 40px 30px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
      height: 100%;
      position: relative;
      border: 1px solid rgba(0,0,0,0.03);
      text-align: center;
    }
    
    .feature-card-dispatch:hover {
      transform: translateY(-10px);
      box-shadow: 0 30px 60px rgba(255,95,19,0.15);
    }
    
    .feature-card-dispatch::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: #ff5f13;
      transform: scaleX(0);
      transition: transform 0.3s ease;
      transform-origin: left;
    }
    
    .feature-card-dispatch:hover::before {
      transform: scaleX(1);
    }
    
    .feature-icon-dispatch {
      width: 90px;
      height: 90px;
      background: rgba(255,95,19,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px;
      transition: 0.3s;
    }
    
    .feature-card-dispatch:hover .feature-icon-dispatch {
      background: #ff5f13;
      transform: scale(1.1) rotate(5deg);
    }
    
    .feature-card-dispatch:hover .feature-icon-dispatch i {
      color: #fff;
    }
    
    .feature-icon-dispatch i {
      font-size: 42px;
      color: #ff5f13;
      transition: 0.3s;
    }
    
    .feature-card-dispatch h3 {
      font-size: 22px;
      font-weight: 700;
      color: #0e1d34;
      margin-bottom: 15px;
    }
    
    .feature-card-dispatch p {
      color: #6c757d;
      line-height: 1.7;
      margin-bottom: 0;
    }
    
    /* Pricing Card - 7% Rate Highlight */
    .pricing-card {
      background: linear-gradient(135deg, #ff5f13 0%, #ff8c42 100%);
      border-radius: 30px;
      padding: 50px;
      color: #fff;
      position: relative;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(255,95,19,0.3);
    }
    
    .pricing-card::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
      border-radius: 50%;
    }
    
    .pricing-card::after {
      content: '';
      position: absolute;
      bottom: -30%;
      left: -10%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
      border-radius: 50%;
    }
    
    .pricing-content {
      position: relative;
      z-index: 5;
    }
    
    .pricing-card .rate-number {
      font-size: 80px;
      font-weight: 800;
      line-height: 1;
      margin-bottom: 10px;
      display: inline-block;
    }
    
    .pricing-card .rate-label {
      font-size: 24px;
      font-weight: 600;
      opacity: 0.9;
    }
    
    .pricing-features {
      list-style: none;
      padding: 0;
      margin: 30px 0 0;
    }
    
    .pricing-features li {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 15px;
      font-size: 18px;
    }
    
    .pricing-features li i {
      font-size: 24px;
      color: #fff;
      background: rgba(255,255,255,0.2);
      border-radius: 50%;
      padding: 4px;
    }
    
    /* Benefits Grid */
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
    }
    
    .benefit-item-dispatch {
      background: #fff;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.03);
      transition: 0.3s;
      border: 1px solid rgba(0,0,0,0.03);
    }
    
    .benefit-item-dispatch:hover {
      transform: translateX(10px);
      box-shadow: 0 15px 30px rgba(255,95,19,0.1);
      border-color: rgba(255,95,19,0.2);
    }
    
    .benefit-icon-dispatch {
      width: 60px;
      height: 60px;
      background: rgba(255,95,19,0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }
    
    .benefit-icon-dispatch i {
      font-size: 28px;
      color: #ff5f13;
    }
    
    .benefit-item-dispatch h4 {
      font-size: 20px;
      font-weight: 700;
      color: #0e1d34;
      margin-bottom: 10px;
    }
    
    .benefit-item-dispatch p {
      color: #6c757d;
      line-height: 1.6;
      margin: 0;
    }
    
    /* Process Timeline - Vertical for dispatching */
    .process-timeline {
      position: relative;
      padding-left: 50px;
    }
    
    .process-timeline::before {
      content: '';
      position: absolute;
      left: 24px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, #ff5f13 0%, rgba(255,95,19,0.2) 100%);
    }
    
    .timeline-item {
      position: relative;
      margin-bottom: 40px;
      padding-left: 30px;
    }
    
    .timeline-number {
      position: absolute;
      left: -62px;
      top: 0;
      width: 50px;
      height: 50px;
      background: #fff;
      border: 3px solid #ff5f13;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: 700;
      color: #ff5f13;
      background: #fff;
      z-index: 5;
      transition: 0.3s;
    }
    
    .timeline-item:hover .timeline-number {
      background: #ff5f13;
      color: #fff;
      transform: scale(1.1);
    }
    
    .timeline-content {
      background: #fff;
      padding: 25px;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.03);
      transition: 0.3s;
    }
    
    .timeline-item:hover .timeline-content {
      transform: translateX(10px);
      box-shadow: 0 15px 30px rgba(255,95,19,0.1);
    }
    
    .timeline-content h3 {
      font-size: 22px;
      font-weight: 700;
      color: #0e1d34;
      margin-bottom: 10px;
    }
    
    .timeline-content p {
      color: #6c757d;
      margin: 0;
    }
    
    /* CTA Section */
    .cta-dispatch {
      background: linear-gradient(135deg, #0e1d34 0%, #1a2f4e 100%);
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }
    
    .cta-dispatch::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(255,95,19,0.15) 0%, rgba(255,95,19,0) 70%);
      border-radius: 50%;
    }
    
    .cta-dispatch .container {
      position: relative;
      z-index: 5;
    }
    
    .cta-content {
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
    }
    
    .cta-content h2 {
      font-size: 42px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 20px;
    }
    
    .cta-content p {
      color: rgba(255,255,255,0.8);
      font-size: 18px;
      margin-bottom: 40px;
    }
    
    .cta-button {
      display: inline-flex;
      align-items: center;
      gap: 15px;
      background: #ff5f13;
      color: #fff;
      padding: 18px 45px;
      border-radius: 50px;
      font-size: 18px;
      font-weight: 600;
      text-decoration: none;
      transition: 0.3s;
      border: 2px solid transparent;
    }
    
    .cta-button:hover {
      background: transparent;
      border-color: #ff5f13;
      color: #fff;
      gap: 20px;
    }
    
    .cta-button i {
      font-size: 20px;
      transition: 0.3s;
    }
    
    /* Mobile adjustments */
    @media (max-width: 768px) {
      .page-title h1 {
        font-size: 36px;
      }
      
      .section-title-dispatch h2 {
        font-size: 32px;
      }
      
      .stats-dispatch {
        margin-top: 40px;
      }
      
      .benefits-grid {
        grid-template-columns: 1fr;
      }
      
      .floating-icon i {
        font-size: 50px;
      }
      
      .floating-icon.large i {
        font-size: 80px;
      }
      
      .pricing-card {
        padding: 30px;
      }
      
      .pricing-card .rate-number {
        font-size: 60px;
      }
      
      .process-timeline {
        padding-left: 40px;
      }
      
      .timeline-number {
        left: -52px;
        width: 40px;
        height: 40px;
        font-size: 18px;
      }
    }
    
    /* Utility classes */
    .bg-dispatch-light {
      background: rgba(255,95,19,0.05);
    }
    
    .text-accent {
      color: #ff5f13 !important;
    }
    
    .border-accent {
      border-color: #ff5f13 !important;
    }
    
    .divider-dispatch {
      width: 60px;
      height: 3px;
      background: #ff5f13;
      margin: 30px 0;
    }
  
