.services-various {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 50px;
}

.services-various p {
  max-width: 600px;
}

.services-various img {
  max-width: 500px;
  border-radius: 10px;
  border: 1px solid #f6f6f6;
}

.services-container {
  margin-top: 120px;
}

.about-us {
  margin-bottom: 50px;
}

.about-us img {
  margin-top: 150px;
}



.services-various {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap; /* allow wrapping */
  align-items: center;
}

.services-various p {
  max-width: 600px;
  flex: 1 1 100%; /* flexible width */
}

.services-various img {
  max-width: 500px;
  width: 100%; /* shrink nicely on small screens */
  border-radius: 10px;
  border: 1px solid #f6f6f6;
  flex: 1 1 100%;
}

.services-container {
  margin-top: 120px;
}

.about-us {
  margin-bottom: 50px;
}

.about-us img {
  margin-top: 150px;
  max-width: 100%; /* prevent overflow */
  height: auto;
}

/* Tablet screens */
@media (max-width: 992px) {
  .services-various {
    flex-direction: column;
    text-align: center;
  }

  .services-various p {
    max-width: 100%;
  }

  .services-various img {
    max-width: 100%;
  }

  .about-us img {
    margin-top: 50px; /* reduce spacing on smaller screens */
  }
}

/* Mobile screens */
@media (max-width: 600px) {
  .services-various {
    gap: 20px;
  }

  .services-container {
    margin-top: 100px; /* tighter spacing */
  }

  .about-us img {
    margin-top: 30px;
  }
}
