/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

  }
  
  body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #83d8f1;
    overflow-x: hidden;
  }
  
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #eee;
    color: white;
  }
  
  .logo img {
    width: 140px; /* Adjust based on your logo size */
    height: auto;
    margin-left: 100px;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    margin-right: 40px;
  }
  nav ul li {
    margin-left: 20px;
  }
  
  nav ul li a {
    color: #4594e4;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.2s ease; /* Smooth transition for hover */
  }
  
  nav ul li a:hover {
      color: #6bafff; /* Change color on hover */
      transform: scale(1.1); /* Slight zoom effect */
  }
  
/* Basic Navigation Styles */
/* nav {
  position: relative;
  font-family: Arial, sans-serif;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0056d2;
} */

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #4594e4; /* Sea Blue Color */
  padding: 10px 15px;
  border-radius: 5px;
  z-index: 1001;
  position: relative;
  transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth animations */
}

/* Animation for Active Hamburger */
.hamburger.active {
  transform: rotate(765deg); /* Rotate when active */
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 10%;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: rgba(95, 152, 231, 0.9); /* Sea Blue with transparency */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 20px;
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    transform: translateX(100%); /* Initially hidden */
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  #nav-menu.active {
    display: flex; /* Ensure flex styles are applied */
    transform: translateX(0); /* Slide into view */
    opacity: 1;
  }

  nav ul li {
    margin: 20px 0;
  }

  nav ul li a {
    color: white; /* White text for better contrast */
    font-size: 1.5rem;
    text-decoration: none;
  }

  nav ul li a:hover {
    color: #e0f3ff; /* Lighter blue for hover */
  }
}




  /* Hero Section */
  #hero {
    background: url('/myimages/Herooo.png') center/cover no-repeat; /* Replace with hero image */    color: white;
    height: 90vh;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    border-bottom-right-radius: 20rem;
  }
  
  .hero-content {
    width: 100%;
    text-align: center;
    padding: 20px;
    margin-top: 57vh;
    /* margin-right: 30vh; */
  }

  #hero h1 {
    font-size: 4em;
    font-weight: bold;
  }
  
  #hero p {
    font-size: 1.2em;
    margin: 10px 0;
  }
  
  .cta-btn {
    padding: 10px 25px;
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
  }
  
  .cta-btn:hover {
    background: #004d99;
  }
  

  /* Truck ....... */
  .truck-container {
    position: relative;
    margin-top: 50px;
    height: 200px; /* Adjusted height for visibility */
    overflow: hidden;
  }
  
  .truck-icon {
    position: absolute;
    font-size: 6rem; /* Larger Truck */
    animation: truck-move 9s ease-in-out infinite; /* Truck movement synced with word animation */
  }
  
  .word-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .word {
    font-size: 3rem; /* Default large word size */
    font-weight: bold;
    opacity: 0;
    color: transparent; /* Words hidden initially */
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
  }
  
  /* Word Stops and Appearance Order */
  .word[data-stop="1"] {
    animation: word-appear 9s ease-in-out infinite;
    animation-delay: 1s;
    color: #ff4500; /* Orange for "Fast" */
  }
  .word[data-stop="2"] {
    animation: word-appear 9s ease-in-out infinite;
    animation-delay: 4s;
    color: #32cd32; /* Green for "Reliable" */
  }
  .word[data-stop="3"] {
    animation: word-appear 9s ease-in-out infinite;
    animation-delay: 7s;
    color: #1e90ff; /* Blue for "Safe" */
  }
  
  /* Truck Movement with Color Change */
  @keyframes truck-move {
    0% {
      transform: translateX(-100%);
      color: #ffffff; /* Color of truck matching first word */
    }
    25% {
      transform: translateX(20vw); /* First stop */
      color: #ff4500; /* Matches "Fast" */
    }
    50% {
      transform: translateX(50vw); /* Second stop */
      color: #32cd32; /* Matches "Reliable" */
    }
    75% {
      transform: translateX(80vw); /* Third stop */
      color: #1e90ff; /* Matches "Safe" */
    }
    100% {
      transform: translateX(100vw); /* Off-screen */
      color: #1e90ff;
    }
  }
  
  /* Word Appearance Animation */
  @keyframes word-appear {
    0%, 10% {
      opacity: 0;
      transform: translateY(20px); /* Word goes from below to visible */
    }
    15%, 25% {
      opacity: 1;
      transform: translateY(0); /* Word appears */
    }
    26%, 100% {
      opacity: 0;
      transform: translateY(-20px); /* Word disappears */
    }
  }
  

  /* Desktop Styles */
  @media (min-width: 1025px) {
    .truck-icon {
      font-size: 7rem; /* Larger truck for Desktop */
    }
    .word {
      font-size: 4rem; /* Larger words for Desktop */
    }
    /* Truck container - adjusted for desktop */
.truck-container {
  position: relative;
  margin-top: 0px;
  height: 105px; /* Adjusted height to accommodate truck and words */
  overflow: hidden;
}

/* Truck icon size and movement */
.truck-icon {
  position: absolute;
  font-size: 7rem; /* Larger truck for Desktop */
  animation: truck-move 9s ease-in-out infinite; /* Sync truck with word animation */
}

/* Word container positioned in the center */
.word-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Word styles */
.word {
  font-size: 4rem; /* Larger word size for Desktop */
  font-weight: bold;
  opacity: 0;
  color: transparent; /* Initially hidden */
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  transform: translate(-50%, -50%);
}

/* Word stops synchronized with the truck */
.word[data-stop="1"] {
  animation: word-appear 9s ease-in-out infinite;
  animation-delay: 1s;
  color: #ff4500; /* Orange for "Fast" */
  left: 20vw; /* Position the word at the first truck stop */
}

.word[data-stop="2"] {
  animation: word-appear 9s ease-in-out infinite;
  animation-delay: 3s;
  color: #32cd32; /* Green for "Reliable" */
  left: 45vw; /* Position the word at the second truck stop */
}

.word[data-stop="3"] {
  animation: word-appear 9s ease-in-out infinite;
  animation-delay: 5s;
  color: #1e90ff; /* Blue for "Safe" */
  left: 80vw; /* Position the word at the third truck stop */
}

/* Truck Movement and Color Change */
@keyframes truck-move {
  0% {
    transform: translateX(-100%);
    color: #ffffff;
  }
  25% {
    transform: translateX(10vw); /* First stop */
    color: #ff4500; /* Orange for "Fast" */
  }
  50% {
    transform: translateX(35vw); /* Second stop */
    color: #32cd32; /* Green for "Reliable" */
  }
  75% {
    transform: translateX(70vw); /* Third stop */
    color: #1e90ff; /* Blue for "Safe" */
  }
  100% {
    transform: translateX(100vw); /* Off-screen */
    color: #1e90ff; /* Blue for "Safe" */
  }
}

/* Word Appearance Animation */
@keyframes word-appear {
  0%, 10% {
    opacity: 0;
    transform: translateY(20px); /* Words come from below */
  }
  15%, 25% {
    opacity: 1;
    transform: translateY(0); /* Word becomes fully visible */
  }
  26%, 100% {
    opacity: 0;
    transform: translateY(-20px); /* Word disappears upwards */
  }
}
  /* Road section below the truck */
.road {
  position: absolute;
  bottom: -20px; /* Ensure the road is below the truck */
  left: 0;
  width: 100%;
  height: 20px;
  background-color: #333; /* Dark color for the road */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Slight shadow for road effect */
  overflow: hidden;
}

/* Road Lights */
.road-lights {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 3px; /* Height of the lights */
  display: flex;
  justify-content: space-between;
  animation: light-flash 1s infinite alternate; /* Flashing effect for lights */
}

.road-light {
  width: 10px;
  height: 10px;
  background-color: #ff0; /* Yellow color for lights */
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.5); /* Light glow effect */
}

/* Flashing light animation */
@keyframes light-flash {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
  }
  
  /* Mobile Styles */
  @media (max-width: 1024px) {
    .truck-icon {
      font-size: 4rem; /* Smaller truck for Mobile */
    }
    .word {
      font-size: 2.5rem; /* Smaller word size for Mobile */
    }
    .truck-container {
      height: 150px; /* Reduced height for mobile */
    }
    .word[data-stop="1"] {
      animation: word-appear 9s ease-in-out infinite;
      animation-delay: 1s;
      color: #ff4500; /* Orange for "Fast" */
    }
    .word[data-stop="2"] {
      animation: word-appear 9s ease-in-out infinite;
      animation-delay: 3s;
      color: #32cd32; /* Green for "Reliable" */
    }
    .word[data-stop="3"] {
      animation: word-appear 9s ease-in-out infinite;
      animation-delay: 5.5s;
      color: #1e90ff; /* Blue for "Safe" */
    }
  }
  


  /* Services Section */
#services {
  padding: 50px 40px;
  text-align: center;
  background-color: #83d8f1;
  margin-top: 10px;
}

#services h2 {
  color: #00334e; /* Deep navy for strong contrast with light blue */
  margin-bottom: 40px;
  font-size: 4rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow to make text pop */
  font-weight: bold;
  letter-spacing: 1px;
  /* text-transform: uppercase; */
}


.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.service-card {
  width: 300px;
  height: 400px;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0.4, 0.6);
}

.service-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  /* border-bottom: 2px solid #0066cc; */
}

.service-card h3 {
  font-size: 1.2em;
  color: #333;
  margin: 15px 10px 5px;
}

.service-card p {
  font-size: 0.9em;
  color: #666;
  padding: 0 10px 15px;
}

/* Animation for slide-in effect */
.service-card.animate {
  animation: slideUp 0.5s ease forwards;
}

/* Keyframes for the animation */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card {
    width: 100%;
  }
}
/* Know More */
/* Style for the 'Move Ahead >>' link */
.more-link {
  display: inline-block;
  font-size: 0.9em;
  color: #0066cc;
  text-decoration: none;
  margin-top: 30px;
  margin-left: -190px;
  font-weight: bold;
  position: relative;
  transition: transform 0.3s ease;
}

.more-link:hover {
  color: #004080; /* Darken color on hover */
}

.more-link:hover::after {
  content: ' >>';
  position: absolute;
  animation: moveForward 0.3s ease forwards;
}

/* Keyframes for the forward movement */
@keyframes moveForward {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(5px);
  }
}


/* Fleet Section */

/* General Section Style */
.assets {
  padding: 60px 20px;
  background-color: #e8f6ff;
  text-align: center;
}

.assets-title {
  font-size: 2.5rem;
  color: #0056d2;
  margin-bottom: 50px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Asset Item */
.asset-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.asset-item.reverse {
  flex-direction: row-reverse; /* Flip order of image and text for alternate layout */
}

/* Asset Image */
.asset-image img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.asset-image img:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
}

/* Asset Text */
.asset-text {
  max-width: 500px;
  padding: 10px;
}

.asset-text h2 {
  font-size: 2rem;
  color: #0056d2;
  margin-bottom: 15px;
}

.asset-text p {
  color: #555;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  /* Tablet View */
  .asset-item {
      flex-direction: column; /* Stack items vertically */
      align-items: center; /* Center images and text */
      text-align: center; /* Center align text */
  }
  .asset-item.reverse{
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center images and text */
    text-align: center; /* Center align text */
}
  .asset-image img {
      width: 60%; /* Reduce size of images for tablets */
      margin-bottom: 15px; /* Add space between image and text */
  }

  .asset-text {
      text-align: center; /* Center align text */
  }

  .asset-text h2 {
      font-size: 1.8rem; /* Slightly smaller headings */
  }

  .asset-text p {
      font-size: 1rem; /* Keep paragraphs readable */
      line-height: 1.6;
  }
}

@media (max-width: 768px) {
  /* Mobile View */
  .assets-title {
      font-size: 2rem; /* Smaller title */
  }

  .asset-item {
      flex-direction: column; /* Ensure stacking vertically */
      align-items: center; /* Center align content */
  }
  .asset-item.reverse{
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center images and text */
    text-align: center; /* Center align text */
}
  .asset-image img {
      width: 80%; /* Adjust image size for mobile */
      margin-bottom: 15px; /* Space between image and text */
  }

  .asset-text h2 {
      font-size: 1.5rem; /* Adjust heading size */
  }

  .asset-text p {
      font-size: 0.9rem; /* Smaller paragraphs */
  }
}

/* Keyframes for Animations */
@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes rotateBg {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

  
/* Team */
/* Leadership Section */
.leadership-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
  min-height: 300px;
  overflow: hidden;
  text-align: left;
  /* background-color: inherit; */
  background:linear-gradient(#e8f6ff,#83d8f1);
}

.leadership-content {
  z-index: 2;
  max-width: 600px;
}

.leadership-content h1 {
  font-size: 2.5rem;
  color: #0056d2;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.leadership-content p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Leadership Button Default State */
.leadership-button {
  display: inline-block;
  background-color: #0056d2;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: translateX(-100%); /* Hidden to the left */
  opacity: 0; /* Fully transparent */
}

.leadership-button.visible {
  transform: translateX(0); /* Slides to original position */
  opacity: 1; /* Fully visible */
}

.leadership-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* Logo Overlay */
.logo-overlay {
  position: absolute;
  right: 10%;
  top: 20%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.15;
}

.logo-overlay img {
  max-width: 400px;
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .leadership-section {
      flex-direction: column;
      text-align: center;
  }

  .logo-overlay {
      right: 0;
      top: auto;
      bottom: -30px;
      transform: translateY(0);
      opacity: 0.2;
  }
  .logo-overlay img {
    max-width: 300px;
    height: auto;
  }
  .leadership-content h1 {
      font-size: 2rem;
  }

  .leadership-content p {
      font-size: 1rem;
  }

  .leadership-button {
      font-size: 0.9rem;
      padding: 8px 15px;
  }
}




  /* Contact Section */
  #contact {
    width: 100vw; /* Full viewport width */
    padding: 50px 0; /* Top and bottom padding for spacing */
    /* background: linear-gradient(to bottom, #49d3fc 0%, #0066cc 100%); */
    background: linear-gradient(to bottom, #83d8f1 0%, #0066cc 100%);
    color: #fff; /* White text for contrast */
    text-align: center; /* Centered text */
    position: relative; /* Positioning for child elements */
  }
  
  h2 {
    font-size: 2.5rem; /* Large heading */
    margin-bottom: 30px; /* Space below heading */
  }
  
  form {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center elements */
    max-width: 600px; /* Max width for larger screens */
    margin: 0 auto; /* Center form in the section */
  }
  
  form input,
  form textarea {
    width: 100%; /* Full width */
    padding: 15px; /* Padding for input elements */
    margin: 10px 0; /* Margin between elements */
    border-radius: 10px; /* Rounded corners */
    border: 2px solid #fff; /* White border */
    font-size: 16px; /* Font size for readability */
    transition: border 0.3s; /* Smooth border transition */
  }
  
  form input:focus,
  form textarea:focus {
    border-color: #49d3fc; /* Change border color on focus */
    outline: none; /* Remove outline */
  }
  
  form button {
    padding: 15px 30px; /* Padding for button */
    margin-top: 20px; /* Space above button */
    background-color: #004080; /* Button background color */
    color: #fff; /* White text */
    border: none; /* No border */
    border-radius: 10px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
    font-size: 16px; /* Font size */
    transition: background 0.3s, transform 0.2s; /* Smooth transitions */
  }
  
  form button:hover {
    background-color: #003366; /* Darker color on hover */
    transform: translateY(-2px); /* Slight lift on hover */
  }
  
  /* Optional: Style for responsive design */
  @media (max-width: 768px) {
    
    h2 {
      font-size: 2rem; /* Smaller heading on mobile */
    }
  
    form input,
    form textarea {
      font-size: 14px; /* Smaller font size on mobile */
    }
  
    form button {
      padding: 12px 25px; /* Smaller button padding on mobile */
    }
    #contact{
      width: 100%;
    }
  }
  
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .card {
      width: 90%;
    }
    .logo img {
      width: 100px; /* Adjust based on your logo size */
      height: auto;
      margin-left:0px;
    }
    nav ul {
      display: flex;
      list-style: none;
      margin-right: 0px;
    }
    #contact {
      padding: 30px 20px;
      text-align: center;
      align-items: center;
    }
    .hero-content {
      width: 100%;
      text-align: center;
      padding: 20px;
      margin-top: 45vh;
      margin-right: 30vh;
    }
    #hero {
      height: 95vh;
      }
  }
  

  /* Footer Styles */
.footer {
  background-color: #1d3d5d;
  /* background-color: #c39176; */
  color: white;
  padding: 50px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 50px;
}

.footer-column {
  width: 22%;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-column ul li a:hover {
  color: #025370;
  /* text-decoration: underline; */
}

.footer-column p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: white;
  color: #fff;
}
.footer-icons {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

.footer-icons a {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid white;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #bbb;
}

.footer a i {
  font-size: 30px; /* Adjust size */
  color: white; 
  padding: 4px;
}

.footer a i:hover{
color: #025370;
}
@media (max-width: 768px) {
  .footer-columns {
      flex-direction: column;
      align-items: center;
  }

  .footer-column {
      width: 100%;
      margin-bottom: 30px;
      text-align: center;
  }
}
/* Shining Text Animation */
.shining-text {
  position: relative;
  color: #025370; /* Main color of the text */
  font-weight: bold;
  font-size: 80px;
  background: linear-gradient(45deg, #0066cc,#004d99, #ccc,#003366); /* Gradient for shine */
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 10s infinite linear;
}

/* Keyframes for shimmer effect */
@keyframes shine {
  0% {
      background-position: -200%;
  }
  100% {
      background-position: 200%;
  }
}

