body{
 margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  overflow-x: hidden;
}
header {
  height: auto;
  padding: 40px 20px;
  background-image: url('images/motors.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

h1 {
  font-size: 8vw; /* Responsive font size based on screen width */
  margin: 0;
  padding: 40px 0;
}




.nav{
    list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* lays out items horizontally */
  gap: 10px;  
  justify-content: flex-end;
}
.nav1 {
  background-color:cyan;
  color: black;
  padding: 10px 20px;
  text-decoration: none;  /* removes underline */
  border: none;
  border-radius: 5px;     /* rounded corners */
  font-weight: bold;
  display: inline-block;  /* ensures padding works properly */
  cursor: pointer;        /* makes it feel like a button */
  transition: 0.3s;       /* smooth hover effect */
}

.nav1:hover {
  background-color: lightblue;
}
#nav2 {
  background-color:cyan;
  color: black;
  padding: 10px 20px;
  text-decoration: none;  /* removes underline */
  border: none;
  border-radius: 5px;     /* rounded corners */
  font-weight: bold;
  display: inline-block;  /* ensures padding works properly */
  cursor: pointer;        /* makes it feel like a button */
  transition: 0.3s;       /* smooth hover effect */
}

#nav2:hover {
  background-color: lightblue;
}
#nav3 {
  background-color:cyan;
  color: black;
  padding: 10px 20px;
  text-decoration: none;  /* removes underline */
  border: none;
  border-radius: 5px;     /* rounded corners */
  font-weight: bold;
  display: inline-block;  /* ensures padding works properly */
  cursor: pointer;        /* makes it feel like a button */
  transition: 0.3s;       /* smooth hover effect */
}

#nav3:hover {
  background-color: lightblue;
}
h1 {
  text-align: center;
  color:#fefefe;
  font-family: Arial, sans-serif;
  font-size: 60px;       /* makes the text big */
  font-weight: bold;     /* optional: makes it bolder */
           /* make sure it stands out over background */
  margin-bottom: 24px;  
 padding-bottom: 80px;
}

.main {
  width: 100%;
  background-color: rgb(78, 78, 78);
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.main ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main li {
  flex: 0 0 auto;
}

.main a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 12px 20px;
  display: inline-block;
  white-space: nowrap;
}

.main a:hover {
  background-color: black;
}
.image img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.intro-section {
  padding: 60px 20px;
  background-color: #f5f5f5; /* light grey background */
  color: #333;
  text-align: center;
  font-family: Arial, sans-serif;
}

.intro-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.intro-section p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  line-height: 1.8;
  font-size: 18px;
}
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  background-color:  #f5f5f5;
}

.image-gallery figure {
  width: 300px;
  text-align: center;
  margin: 0;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-gallery figcaption {
  margin-top: 10px;
  font-size: 16px;
  color: #336699; /* soft industrial blue */
}
.image-gallery figure:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}#services-header {
  text-align: center;
  font-size: 36px;
  color: #333;
  margin-top: 40px;
}.statement-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  color: #333;
  font-family: Arial, sans-serif;
  line-height: 1.8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.statement-section h2 {
  font-size: 32px;
  margin-top: 30px;
  color: #003366; /* Deep blue for headings */
  border-bottom: 2px solid #00bfff;
  padding-bottom: 5px;
}

.statement-section p {
  margin-top: 15px;
  font-size: 18px;
}

.core-values {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.core-values li {
  margin-bottom: 15px;
  font-size: 17px;
  padding-left: 10px;
}
footer{
    background-color: #003366;
    text-align: center;
    color: white;
    padding: 20px;

}footer a{
    text-decoration: none;
    color:black
}.contact-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  color: #333;
}

.contact-section h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 20px;
}

.contact-section form {
  display: flex;
  flex-direction: column;
}

.contact-section label {
  margin-top: 10px;
  font-weight: bold;
}

.contact-section input,
.contact-section textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-section button {
  margin-top: 20px;
  background-color: #003366;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-section button:hover {
  background-color: #005599;
}

.contact-info {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.6;
}

.map-container {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}.about-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  line-height: 1.8;
  color: #333;
}

.about-section h2 {
  font-size: 28px;
  margin-top: 30px;
  color: #003366;
  border-bottom: 2px solid #00bfff;
  padding-bottom: 5px;
}

.about-section p {
  font-size: 18px;
  margin-top: 10px;
}#nav4{background-color:cyan;
  color: black;
  padding: 10px 20px;
  text-decoration: none;  /* removes underline */
  border: none;
  border-radius: 5px;     /* rounded corners */
  font-weight: bold;
  display: inline-block;  /* ensures padding works properly */
  cursor: pointer;        /* makes it feel like a button */
  transition: 0.3s;       /* smooth hover effect */
}#nav4:hover {
  background-color: lightblue;
}#nav6{background-color:cyan;
  color: black;
  padding: 10px 20px;
  text-decoration: none;  /* removes underline */
  border: none;
  border-radius: 5px;     /* rounded corners */
  font-weight: bold;
  display: inline-block;  /* ensures padding works properly */
  cursor: pointer;        /* makes it feel like a button */
  transition: 0.3s;       /* smooth hover effect */
}#nav6:hover {
  background-color: lightblue;
}#nav5{background-color:cyan;
  color: black;
  padding: 10px 20px;
  text-decoration: none;  /* removes underline */
  border: none;
  border-radius: 5px;     /* rounded corners */
  font-weight: bold;
  display: inline-block;  /* ensures padding works properly */
  cursor: pointer;        /* makes it feel like a button */
  transition: 0.3s;       /* smooth hover effect */
}#nav5:hover {
  background-color: lightblue;
}.services-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.service-box {
  width: 300px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.service-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-box h2 {
  font-size: 22px;
  margin: 15px 0 10px;
  color: #003366;
}

.service-box p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}/* Existing styles preserved above */

@media (max-width: 768px) {
 header {
    height: auto;
    background-size: cover;
    padding: 40px 20px;
    text-align: center;
  }

  h1 {
    font-size: 8vw;
    margin: 0;
    padding: 40px 0;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .nav li {
    float: none;
    width: auto;
  }

  .nav1,
  #nav2,
  #nav3 {
    font-size: 12px;
    padding: 10px 13px;
  }



  .intro-section,
  .statement-section,
  .about-section,
  .contact-section,
  .services-section {
    padding: 20px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
}
  .main ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .main a {
    font-size: 16px;
    padding: 10px 16px;
  }

}


