html {
    scroll-behavior: smooth;
}
body {
      font-family: 'Segoe UI', sans-serif;
    }
    .top-bar {
      background: #f8f9fa;
      font-size: 14px;

    }
    .nav-link {
      color: white !important;
      font-weight: 500;
      font-size: 15px;
      margin: 20px;
    }

    .nav-link:hover {
      color: #ffaa00 !important;
    }

    .nav-link.active {
    color: #ffaa00 !important;
    font-weight: bold;
}
    .navbar {
      background: #202a88;
      height: 90px;
    }
    .btn-quote {
      background-color: #ffaa00;
      color: white;
      font-weight: bold;
    }
    .btn-quote:hover {
      background-color: #ffffff;
      color: rgb(0, 0, 0);
    }


    /* Mobile responsive styles */
    @media (max-width: 992px) {
        .top-bar {
            flex-direction: column;
            padding: 10px;
            text-align: center;
        }
        .top-bar > div {
            margin-bottom: 10px;
        }
        .top-bar .d-flex.align-items-center {
            flex-direction: column;
            text-align: center;
            font-size: 15px !important;
        }
        .top-bar img {
            height: 50px !important;
        }
        .top-bar span {
            font-size: 15px !important;
        }
        .top-bar .d-flex.align-items-center:last-child {
            flex-direction: column;
        }
        .top-bar .me-4 {
            margin-right: 0 !important;
            margin-bottom: 10px;
        }
        .navbar {
            height: auto;
            font-size: 10px;
        }
        .navbar-collapse {
            background: #202a88;
            padding: 5px;
            margin-top: 10px;
        }
        .navbar-nav {
            flex-direction: column;
            align-items: center;
        
        }
        .nav-link{
            font-size: 20px !important;
            margin-top: -25px !important;
        }
        .nav-link:hover {
            color: #ffaa00 !important;
        }
        .nav-item {
            margin: 10px 0 !important;
            
        }
        .btn-quote {
            width: 100%;
            margin-top: 10px;
            text-align: center;
        }
    }
    
    .hero {
  background: url("/img/sm1h1.jpg") no-repeat center center / cover;
  color: white;
  padding: 200px 0;
  margin-top: -25px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Add dark overlay behind content but above background image */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Ensure content appears above the overlay */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 80px;
  margin-bottom: 20px;
}

/* Ensure machine card is outside of overlay */
.machine-card {
  background: #202a88;
  color: white;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -60px;
  position: relative;
  z-index: 3; /* Higher than hero overlay */
}

.machine-card i {
  font-size: 32px;
  background: #e7e7e7;
  color: black;
  padding: 10px;
  border-radius: 10px;
  /* Removed margin-left as we're using space-between now */
}

.machine-card i:hover {
  background: #ffb300 ;
  color: black;
}

.icon2{
  font-size: 32px;
  background: #ffb300 !important;
  color: black;
  padding: 10px;
  border-radius: 10px;
}
.text-orange {
  color: #ffaa00;
}


@media (max-width: 768px) {
  .hero {
    padding: 100px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h3 {
    font-size: 20px;
  }

  .hero .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }

  .hero .d-flex.align-items-center.justify-content-end {
    flex-direction: column-reverse;
    align-items: center !important;
    padding-right: 0 !important;
    text-align: center;
  }

  .hero .text-end.me-3 {
    margin: 0;
    text-align: center !important;
  }

  .hero .text-end span {
    display: block;
  }

  .machine-card {
    flex-direction: column;
    text-align: center;
    margin-top: 30px;
  }

  .machine-card i {
    margin-bottom: 10px;
  }

  .machine-card > div {
    margin-bottom: 10px;
  }
}

/* About section  */

.about-section {
      display: flex;
      gap: 40px;
      align-items: center;
      justify-content: space-evenly;
      flex-wrap: wrap;
      margin-top: 50px;
      margin-bottom: 50px;
      
    }

    .image-area {
      position: relative;
      width: 450px;
    }
    .main-image {
      width: 140%;
      border-radius: 0 80px 0 80px;
      height: 450px;
    }
    .small-image {
      position: absolute;
      width: 300px;
      border-radius: 30px;
      border: 5px solid #fff;
    }
    .top-left {
      top: -30px;
      left: -30px;

    }
    .bottom-right {
      bottom: -30px;
      right: -210px;
    }

    .text-area {
      max-width: 500px;
      
    }
    .text-area h5 {
      color: #999;
      margin-bottom: 5px;
      text-align: center;
      font-size: 30px;
     
    }
    .text-area h2 {
      color: #272792;
      margin-top: 0;
    }
    .text-area p {
      line-height: 1.7;
      color: #555; 
      text-align: justify;
    }
    .stats-box {
      background-color: #eee;
      padding: 20px;
      border-left: 5px solid orange;
      margin-top: 20px;
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .stats-box i {
      font-size: 30px;
      color: orange;
    }
    .stats-number {
      font-size: 28px;
      font-weight: bold;
      color: #000;
    }
    .stats-label {
      font-weight: 500;
      color: #666;
    }
    .view-more {
      margin-top: 30px;
      display: inline-block;
      border: 2px solid #272792;
      color: #272792;
      padding: 10px 25px;
      font-weight: bold;
      text-decoration: none;
      transition: 0.3s;
    }    
    

    .view-more:hover {
      background-color: #272792;
      color: #fff;
    }

    @media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .image-area {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .main-image {
    border-radius: 40px;
    height: 200px;
    width: 100%;
  }

  .small-image {
    width: 100px;
    border-width: 3px;
  }

  .top-left {
    top: -20px;
    left: -20px;
  }

  .bottom-right {
    bottom: -20px;
    right: -20px;
  }

  .text-area {
    max-width: 100%;
    padding: 0 10px;
  }

  .stats-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .stats-box i {
    font-size: 24px;
  }

  .stats-number {
    font-size: 22px;
  }

  .view-more {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}

/*  End About section  */


/* Statistics Section, Services Section */

.stats-section {
      background-color: #202a88;
      color: white;
      display: flex;
      justify-content: space-around;
      padding: 40px 20px;
      flex-wrap: wrap;
    }

    .stat-box {
      text-align: center;
      margin: 20px;
    }

    .stat-box i {
      font-size: 40px;
      color: orange;
      display: block;
      margin-bottom: 10px;
    }

    .stat-number {
      font-size: 28px;
      font-weight: bold;
      color: #FFA500;
    }

    .stat-label {
      font-size: 16px;
      color: #fff;
    }

    /* Services Section */
    .services-section {
      text-align: center;
      padding: 60px 20px;
    }

    .services-section h5 {
      color: #777;
      font-weight: 400;
      margin-bottom: 10px;
    }

    .services-section h2 {
      color: #202a88;
      font-size: 28px;
      margin-bottom: 40px;
    }

    .service-cards {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .card {
      background-color: #ece7e7;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      overflow: hidden;
      width: 280px;
      transition: transform 0.3s;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card img {
      width: 100%;
      height: 250px;
      object-fit: cover;
    }

    .card-content {
      padding: 20px;
    }

    .card-content h4 {
      margin: 0 0 15px;
      color: #222;
    }

    .card-content a {
      display: inline-block;
      padding: 10px 20px;
      background-color: #202a88;
      color: white;
      text-decoration: none;
      border-radius: 6px;
      transition: background-color 0.3s;
    }

    .card-content a:hover {
      background-color: #1e1e6b;
    }

/*End Statistics Section, Services Section */

/* Forklift Images */

.hero-section2 {
  background: #202a88;
  color: white;
  padding: 60px 0;
  
  }
    .forklift-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .forklift-card:hover {
            transform: translateY(-5px);
        }
        
        .forklift-image {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }
        
        .services-grid {
            margin-top: 40px;
        }
        
        .service-card {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            margin-bottom: 20px;
        }
        
        .service-card:hover {
            transform: scale(1.05);
        }
        
        .service-image {
            width: 100%;
            height: 350px;
            object-fit: cover;
        }
        
        .section-title {
            font-size: 1.2rem;
            font-weight: 300;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .main-title {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 40px;
        }
        
        .forklift-container {
            max-width: 1200px;
            margin: 0 auto;
        }
  
/*End Forklift Images */

/*clients-section */

  .clients-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.section-title1 {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2523c0;
}

.client-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.client-logo img {
    max-height: 150px;
    max-width: 250px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* -------- Mobile Responsive Styles -------- */
@media (max-width: 768px) {
    .clients-section {
        padding: 40px 0;
    }

    .section-title1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .client-logo {
        height: 150px;
        padding: 0 10px;
    }

    .client-logo img {
        max-height: 60px;
        max-width: 120px;
    }

    .carousel-control-prev, .carousel-control-next {
        width: 10%;
    }
}

@media (max-width: 480px) {
    .section-title1 {
        font-size: 1.5rem;
    }

    .client-logo {
        height: 120px;
    }

    .client-logo img {
        max-height: 50px;
        max-width: 100px;
    }
}


/*End clients-section */

/*FQA section */

 .section-container {
            padding: 80px 0;
        }
        
        .image-container {
            height: 100%;
            border-radius: 8px 0 0 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .form-container {
            background-color: white;
            padding: 40px;
            border-radius: 0 8px 8px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .form-title {
            color: var(--primary-color);
            margin-bottom: 30px;
            font-weight: 700;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            padding: 10px 25px;
            font-weight: 600;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
        }
        
        .form-control:focus {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 0.25rem rgba(32, 42, 136, 0.25);
        }
        
        @media (max-width: 767.98px) {
            .section-container {
                padding: 40px 0;
            }
            
            .image-container {
                border-radius: 8px 8px 0 0;
                height: 300px;
            }
            
            .form-container {
                border-radius: 0 0 8px 8px;
            }
        }
:root {
            --primary-color: #202a88;
            --primary-light: #4a54c9;
            --primary-dark: #0a1161;
        }
        
/*End FQA section */