/* Base styles (mobile first) */
.container-procure {
  margin: 0 auto;
  padding: 0 15px; /* Mobile padding */
}

.abouting {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-title {
  margin-bottom: 15px;
  text-align: center;
}

.expert {
  width: 100%;
  display: flex;
  gap: 10px;
}
.expert-one {
  text-align: justify;
  width: 60%;
}

.expert-two {
  text-align: justify;
  font-style: italic;
  width: 40%;
  color: #ed7902;
}

.about-content-procure {
  display: flex;
  justify-content: center;
  text-align: center;
}

.pro-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.procurement-images {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(
    auto-fill,
    minmax(150px, 2fr)
  ); /* Responsive grid */
}

.indiv-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%; /* Full width for small screens */
  height: auto; /* Automatic height for flexibility */
  max-width: 250px; /* Limit the maximum width */
  gap: 10px;
  /* background-color: #f0f0f0; */
  padding: 15px; /* Add some padding for smaller screens */
  border-radius: 10px;
  border: 5px solid #ed7902;
}

@media (min-width: 768px) {
  .indiv-container {
    width: 80%; /* Adjust width for medium screens */
    height: auto;
  }
}

@media (min-width: 1024px) {
  .indiv-container {
    width: 250px; /* Fixed width for larger screens */
    height: 200px; /* Fixed height for larger screens */
  }
}

.pro-indiv-image {
  width: 70px;
}

.tank-guage-image {
  width: 40px;
  height: 70px;
}

.sub-title-design {
  margin-bottom: 15px;
  /* font-size: 1.2rem; */
}

.scroll-link {
  color: black;
  text-decoration: none;
}

.box p {
  color: #555;
}

.image-labels {
  text-align: center;
}

.contain {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin-top: 30px;
}
.containb {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin-top: 30px;
}

.box {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: auto;
}

/* Adjustments for small screens */
@media (max-width: 600px) {
  .box {
    height: 300px;
  }
}

/* Adjustments for medium screens */
@media (min-width: 600px) and (max-width: 1024px) {
  .box {
    height: 350px;
  }
}

/* Adjustments for large screens */
@media (min-width: 1024px) {
  .box {
    height: 530px;
  }
}

/* Maintenance section */
.maintenance-first {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.maintenance-image-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
}

.page-two-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.7);
}

.maintenance-text-container {
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.maintenance-title {
  margin-bottom: 20px;
  text-align: center;
}
.pro-title {
}
.maintenance-text {
  font-size: 1rem;
  margin: 0;
}

.blend-mode {
  mix-blend-mode: multiply;
}

/* Mobile styles (max-width: 767px) */
@media (max-width: 767px) {
  .procurement-images {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for small screens */
  }

  .pro-indiv-image {
    width: 50px;
  }

  .Tank-Farm {
    width: 60px;
    mix-blend-mode: multiply;
  }

  .fuel-dispensers {
    width: 85px;
  }

  .image-labels {
    text-align: center;
  }

  .maintenance-text-container {
    font-size: 0.9rem;
    padding: 5px;
  }
  .maintenance-title {
    font-size: 1.5rem;
  }

  .pro-title {
    font-size: 1.5rem;
  }

  .contain {
    grid-template-columns: 1fr; /* Single column on small screens */
  }
}

/* Tablet styles (769px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .procurement-images {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
    gap: 10px;
  }

  .expert {
    padding-left: 0;
    padding-right: 70px;
  }

  .pro-title {
    padding-left: 0;
    padding-right: 70px;
  }

  .contain-ba {
    padding-left: 0;
    padding-right: 70px;
  }
}

/* Large screen styles (min-width: 1024px) */
@media (min-width: 1024px) {
  .contain {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .containb {
    grid-template-columns: 3fr 3fr 3fr;
  }

  .about-content-procure {
    width: 800px;
  }

  .procurement-images {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .maintenance-text-container {
    font-size: 2rem;
    padding: 5px;
  }

  .title-design {
    font-size: 40px;
  }

  .maintenance-text {
    font-size: 3rem;
    margin: 0;
  }

  .pro-container {
    margin-top: 30px;
  }
  .Tank-Farm {
    width: 150px;
    mix-blend-mode: multiply;
  }
}

/* Specific breakpoint styles (1081px - 1289px) */
@media (min-width: 1081px) and (max-width: 1289px) {
  .expert {
    padding-left: 70px;
    padding-right: 70px;
  }

  .pro-title {
    padding-left: 70px;
  }

  .contain-ba {
    padding-left: 70px;
    padding-right: 70px;
  }
}
