@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400&display=swap");

body {
  font-family: "Arial", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.s1 {
  margin: auto;
  margin-block: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 20px;
}

.hero-container {

  /* margin-top: 10px; */
  height: 100vh;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

}
.hero-container img{
      display: flex;
      height: 100vh;
  width: 100%;
}

.sub-hero-section {
  background-color: black;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 2vw;
  width: 20vw;
  height: 50vh;
  margin-top: 200px;
  margin-left: 140px;
  font-size: 40px;
  color: #ffffff;
  opacity: 0.8;
}
.sub-hero-section h1 {
  font-size: 50px;
  opacity: 10;
  color: white;
}

.sub-hero-section b {
  /* margin-top: -60px; */
  /* width: 800px; */
  /* line-height: 80px; */
  color: #ffffff;
}

.sub-hero-section2 {
  display: flex;
  align-items: center;
  padding-left: 60px;
}

.gears-logo {
  color: white;
  font-size: 300px;
  width: 100px;
}

.services-1,
.services-2,
.services-3 {
  display: flex;
  gap: 40px;
}

.services-2 {
  flex-direction: row-reverse;
}

.img {
  width: 100%;
  height: 50vh;
  border-radius: 16px;
}

.subsection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  color: white;
}

.subsection-1 p {
  max-width: 500px;
}

.subsection-1 {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.subsection-2 {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  align-items: end;
}

.subsection-2 h2 {
  width: 100%;
  text-align: center;
}

.subsection-3 {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  displabottomy: flex;
  justify-content: flex-start;
  text-align: left;
}

/* Responsive adjustments */
.section-1 {
  text-align: center;
  color: #06163a;
}

.section-1 h1 {
  margin: 0;
  font-size: 50px;
}

/* .s2 {
  padding-inline: 20px;
} */
.services-section {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(300px, 1fr)
  ); /* Responsive design */
  gap: 30px;
  padding: 40px 20px;
}

.services-section > div > div {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.services-section img {
  width: 100%;
  height: 250px; /* Set fixed height for images */
  object-fit: cover;
}

.services-section div > div {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

strong {
  font-size: 1.4rem;
  color: #004080;
  margin-bottom: 10px;
}

p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

b {
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

.services-section div > div p:first-of-type {
  margin-top: 0;
}

.services-section div > div p:last-of-type {
  margin-bottom: 0;
}

/* *********** */
.equipment-section {
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.equipment-section h2 {
  font-size: 2.5rem;
  color: #004080;
  text-align: center;
  margin-bottom: 20px;
}

.equipment-section p {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
}

.equipment-item {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.equipment-data {
  display: flex;
  justify-content: space-around;
}

.equipment-item h3 {
  font-size: 1.8rem;
  color: #004080;
  margin-bottom: 10px;
}

.equipment-item h4 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}
.equipment-details {
  /* border-left: 1px dotted black; */
  margin-top: 10px;
  padding-left: 10px;
}
.equipment-details p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
  /* margin-right: 10px; */
}

.equipment-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.equipment-img {
  width: 30%;
  height: auto;
  border-radius: 8px;
  margin-right: 20px;
}

.additional-equipment,
.technology-innovations {
  margin-top: 40px;
}

.additional-equipment h3,
.technology-innovations h3 {
  font-size: 1.8rem;
  color: #004080;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-container {
    width: 100vw;
    /* padding: 10px; Add some padding */
  }

  .sub-hero-section {
    /* font-size: 6vw; Smaller font size on mobile */
    width: 100%; /* Make the section take up full width */
    height: auto; /* Adjust height */
    margin-top: 0;
  }

  .sub-hero-section h1 {
    font-size: 1.2em; /* Adjust font size for mobile */
  }

  .sub-hero-section b {
    font-size: 1em; /* Adjust font size for mobile */
  }

  .sub-hero-section2 {
    display: none;
  }

  .sub-hero-section2 .gears-logo {
    font-size: 4em; /* Adjust icon size for mobile */
  }
  .equipment-data {
    display: flex;
    flex-direction: column;
  }
  .equipment-section {
    padding: 20px;
  }

  .equipment-item {
    padding: 15px;
  }

  .equipment-item h3 {
    font-size: 1.5rem;
  }

  .equipment-item h4 {
    font-size: 1.3rem;
  }

  .equipment-img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .equipment-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .equipment-section {
    padding: 20px;
  }

  .equipment-item {
    padding: 15px;
  }

  .equipment-item h3 {
    font-size: 1.5rem;
  }

  .equipment-item h4 {
    font-size: 1.3rem;
  }
}

.commitment-to-quality {
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.commitment-to-quality h2 {
  font-size: 2.5rem;
  color: #004080;
  text-align: center;
  margin-bottom: 20px;
}

.commitment-to-quality p {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

.quality-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.process-step {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.process-step h4 {
  font-size: 1.6rem;
  color: #004080;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .quality-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quality-process {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* //footer content */

.footer-content {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: rgb(148, 224, 245);
}

.footer-socials a {
  margin: 0 10px;
  color: #ffffff;
  font-size: 1.5rem; /* Adjust icon size */
}

.footer-links li {
  display: inline;
  margin: 0 10px;
}

.footer-links a:hover {
  color: #61dafb; /* Change color on hover */
}

.footer- {
  background-color: #004080; /* Dark blue background */
  color: white; /* White text color */
  text-align: center; /* Center align text */
  padding: 1rem; /* Space around the text */
  font-size: 0.9rem; /* Slightly smaller font size */
  border-top: 1px solid #ffffff; /* Optional: white top border for separation */
}

.footer-bottom p {
  margin: 0; /* Remove default margin */
  color: #ffffff;
}

@media (max-width: 1024px) {
  .hero-container {
    height: auto;
    /* padding: 20px; */
  }

  .sub-hero-section {
    margin-top: 100px;
    margin-left: 20px;
    font-size: 32px;
    color: #ffffff;
  }

  .img {
    width: 50%;
  }

  .services-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services-1,
  .services-2,
  .services-3 {
    flex-direction: column;
    align-items: center;
  }

  .img {
    width: 100%;
  }

  .subsection-2 h2,
  ul li {
    text-align: center;
  }

  ul li {
    justify-content: center;
  }

  .subsection {
    gap: 20px;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sub-hero-section {
    margin: 0;
    font-size: 28px;
  }
  .sub-hero-section h1 {
    font-size: 28px;
  }
  .sub-hero-section h2 {
    font-size: 28px;
  }

  .services-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .sub-hero-section {
    font-size: 24px;
    margin-top: 50px;
    padding: 0 10px;
  }

  .gears-logo {
    font-size: 200px;
  }

  .subsection {
    padding: 10px;
  }

  .section-1 h1 {
    font-size: 36px;
  }
}
