body {
        font-family: "Poppins", sans-serif;
        transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        background: #f3f4f6;
      }
      .dark-mode {
        background-color: #1a202c;
        color: #e2e8f0;
      }
      .dark-mode .bg-white {
        background-color: #2d3748;
      }
      .dark-mode .text-gray-700 {
        color: #a0aec0;
      }
      .dark-mode .text-blue-900 {
        color: #63b3ed;
      }
      .dark-mode .bg-gray-100 {
        background-color: #1a202c;
      }
      .dark-mode .shadow-md {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      }
      .dark-mode .sidebar-bg {
        background: linear-gradient(135deg, #1a202c 50%, #4a5568 100%);
      }
      .dark-mode .text-gray-500 {
        color: #a0aec0;
      }
      .dark-mode .text-gray-600 {
        color: #a0aec0;
      }
      .dark-mode .text-xl.font-bold.text-blue-900 {
        color: #63b3ed;
      }
      .dark-mode .text-sm.font-semibold.text-blue-900 {
        color: #63b3ed;
      }
      .dark-mode .bg-blue-900 {
        background-color: #2d3748;
      }
      .dark-mode .text-white {
        color: #e2e8f0;
      }
      .dark-mode .border-t.border-gray-700 {
        border-color: #4a5568;
      }
      .dark-mode .text-gray-300 {
        color: #a0aec0;
      }
      .dark-mode #hamburger span {
        background-color: #63b3ed;
      }
      .dark-mode #clients .bg-white {
        background-color: #fff;
      }
      .dark-mode #contact label {
        color: #fff;
      }
      .dark-mode #about {
        background-color: #1a202c;
      }
      .shifted-left {
        transform: translateX(-20px);
        transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
      }
      .sidebar-open {
        transform: translateX(0) !important;
      }
      .nav-link {
        display: block;
        padding: 12px 24px;
        font-weight: 500;
        color: #fff;
        border-radius: 8px;
        position: relative;
        transition: all 0.3s;
        font-size: 1.1rem;
        letter-spacing: 0.02em;
      }
      .nav-link:hover {
        color: #f6f7f9;
        box-shadow: 0 2px 8px rgba(29, 78, 216, 0.15);
        transform: translateY(-2px) scale(1.04);
      }
      .nav-link:active {
        transform: translateY(1px) scale(0.98);
      }
      .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 8px;
        width: 0;
        height: 2px;
        background-color: #ffd700;
        transition: width 0.8s;
      }
      .nav-link:hover::after {
        width: 100%;
      }
      .sidebar-bg {
        background: linear-gradient(135deg, #1e3a8a 50%, #ffd700 100%);
      }
      /*
    .sidebar {
      box-shadow: -2px 0 16px rgba(30,58,138,0.08);
    }
    box shadow in menu bar
      */
      .hero-bg {
        background: url("truckbackground.png") center/cover no-repeat;
        position: relative;
      }
      .hero-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(30, 58, 138, 0.55);
        z-index: 0;
      }
      .hero-content {
        position: relative;
        z-index: 1;
      }
      .hero-pdf-buttons {
        display: flex;
        gap: 18px;
        justify-content: center;
        margin-top: 2rem;
      }
      .hero-pdf-buttons a {
        background: #ffd90087;
        color: #1e3a8a;
        font-weight: 600;
        padding: 12px 28px;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        text-decoration: none;
        transition: background 0.2s, transform 0.2s;
      }
      .hero-pdf-buttons a:hover {
        background: #fff;
        color: #1e3a8a;
        transform: scale(1.05);
      }
      .card {
        background: #fff;
        border-radius: 1rem;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        padding: 2rem;
        margin-bottom: 2rem;
        transition: transform 0.2s;
      }
      .card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
      }
      .footer {
        background: #1e3a8a;
        color: #fff;
        padding: 2rem 0;
        text-align: center;
        font-size: 1rem;
        margin-top: 4rem;
      }
      /* Main carousel container */
      .carousel {
        position: relative; /* Positioning context for absolute elements */
        max-width: 1200px; /* Maximum width for the carousel */
        margin: 1rem auto; /* Center the carousel */
        padding: 0 80px; /* Space for arrows */
        overflow: hidden; /* Hide overflow to prevent scrollbars */
      }

      /* Track container holds all slides */
      .carousel__track-container {
        overflow: hidden; /* Allow adjacent slides to peek through */
        width: 100%; /* Full width of the carousel */
      }

      /* Flex container for slides */
      .carousel__track {
        display: flex; /* Flexbox for horizontal layout */
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth transition for slide changes */
        list-style: none; /* Remove default list styling */
        padding: 20px 0; /* Vertical padding */
        margin: 0; /* Remove default margin */
        gap: 30px; /* Space between slides */
        width: 100%; /* Full width of the carousel */
      }

      /* Individual slide styling */
      .carousel__slide {
        flex: 0 0 calc(33.333% - 20px); /* Each slide takes up 1/3 of the track width minus spacing */
        min-width: calc(33.333% - 20px); /* Minimum width for slides */
        max-width: calc(33.333% - 20px); /* Maximum width for slides */
        opacity: 0.5; /* Slightly faded out */
        transform: scale(0.9); /* Slightly smaller for inactive slides */
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth transition for scaling and opacity */
        filter: blur(1px); /* Slight blur for inactive slides */
        box-sizing: border-box; /* Include padding and border in width/height calculations */
      }

      /* Active slide styling */
      .carousel__slide.current-slide {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
      }

      /* Testimonial card design */
      .card {
        background: #fff;
        border-radius: 16px;
        padding: 0px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
        text-align: center;
        height: 250px; /* Fixed height for consistency */
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      /* Testimonial image styling */
      .testimonial-image {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin: 0 auto 20px;
        object-fit: cover;
        border: 3px solid #fff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      }

      /* Separator line between text and name */
      .separator {
        border: 0;
        height: 1px;
        background: #eee;
        margin: 25px auto;
        width: 60px;
      }

      /* Name styling */
      .card__name {
        font-weight: 600;
        color: #2d2d2d;
        margin-top: 20px;
        font-size: 1.1rem;
      }

      /* Navigation arrows with animations */
      .carousel__arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #fff;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: #3498db;
        cursor: pointer;
        /* transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);*/
        transition: all 0.3s ease;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        z-index: 2;
        opacity: 1;
      }

      /* Arrow hover effects */
      .carousel__arrow:hover {
        color: #333;
        background: #3498db;
        transform: translateY(-50%) scale(1.15);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
      }

      /* Arrow click animation */
      .carousel__arrow:active {
        transform: translateY(-50%) scale(0.9);
      }

      .carousel__arrow--left {
        left: 20px;
      }
      .carousel__arrow--right {
        right: 20px;
      }

      /*above is testimonal*/
      /* mobile view cards*/
      @media (max-width: 768px) {
        .carousel {
          padding: 0;
          max-width: 100vw;
        }
        body {
          overflow-x: hidden;
        }
        .carousel__track {
          gap: 0;
          width: 100%;
        }
        .carousel__slide {
          flex: 0 0 100%;
          min-width: 100%;
          max-width: 100%;
          box-sizing: border-box;
          margin: 0;
        }
        .carousel__track-container {
          overflow: hidden;
          width: 100vw;
          max-width: 100vw;
        }
      }

      /* Style for the arrow button */
      #backToTop {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #333;
        color: white;
        cursor: pointer;
        display: none; /* Hidden by default */
        justify-content: center;
        align-items: center;
        border: none;
        opacity: 0.4;
        transition: opacity 0.3s;
      }

      #backToTop:hover {
        opacity: 1;
      }

      /* Arrow shape using CSS */
      .arrow {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid white;
        margin-bottom: 5px;
      }

      /* Animate a truck icon from left to right */
      .animate-truck {
        /* Animation Controls */
        --duration: 5s; /* Total animation time (try 2s-10s) */
        --delay: 0s; /* Wait before starting (try 1s) */
        --start-x: -100%; /* Horizontal start position */
        --start-y: 130%; /* Vertical start position */
        --end-x: 120%; /* Horizontal end position */
        --end-y: 130%; /* Vertical end position */

        animation: drive var(--duration) linear var(--delay) infinite;
      }

      @keyframes drive {
        from {
          transform: translateX(var(--start-x)) translateY(var(--start-y));
        }
        to {
          transform: translateX(var(--end-x)) translateY(var(--end-y));
        }
      }

      /* 1. Define your “defaults” on .gradient-bg */
      .gradient-bg {
        --overlay-opacity: 0.1; /* Dark filter strength (0 = no darkness, 1 = full black) */
        --gradient-angle: 180deg; /* Direction of dark fade (180deg = top-to-bottom) */
        --bg-pos-x: 70%; /* Horizontal focus point (like moving camera left/right) */
        --bg-pos-y: 75%; /* Vertical focus point (like moving camera up/down) */

        position: relative; /* Lets us layer elements */
        overflow: hidden; /* Hides anything outside the box */
        z-index: 0; /* Base layer for content stacking */
      }

      /* Creates the background layer */
      .gradient-bg::before {
        content: ""; /* Required for pseudo-element */
        position: absolute; /* Covers entire parent element */
        inset: 0; /* Stretch to all four corners */
        z-index: -1; /* Send behind main content */

        /* Layer stack:
     1. Dark overlay (adjust opacity above)
     2. Background image (URL) */
        background-image: linear-gradient(
            var(--gradient-angle),
            rgba(0, 0, 0, var(--overlay-opacity)) 0%,
            rgba(0, 0, 0, var(--overlay-opacity)) 100%
          ),
          url("truckbackground.png"); /* Replace with your image URL */

        background-size: cover; /* Fill space without stretching */
        background-position: var(--bg-pos-x) /* Left-right image position */
          var(--bg-pos-y); /* Up-down image position */
        background-repeat: no-repeat; /* Prevent tiling/repeating */
      }

/* --- Why Choose Us Section --- */
.feature-card {
  background-color: #f9fafb; /* A very light grey */
  border-radius: 1rem; /* 16px */
  overflow: hidden;
  text-align: left;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card__image-container {
  width: 100%;
  height: 200px; /* Fixed height for all images */
  overflow: hidden;
}

.feature-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card__image {
  transform: scale(1.05); /* Subtle zoom effect on hover */
}
