.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.hero-section > .content-container {
  flex: 1;
  background-image: url(../img/hero-bg.png);
  background-size: cover;
  background-blend-mode: multiply;
  border-radius: 1rem;
}

@media (max-width: 600px) {
  .hero-section > .content-container {
    background-image: url(../img/hero-bg-mobile.png); /* Use a different image for phones */
  }
}

.hero-section > .content-container > .content {
  padding: 6rem 2rem;
}

.info-item {
  padding: 0rem 6rem;
}

.hero-section h1 {
  font-size: var(--font-large);
  font-weight: bolder;
  margin: 0;
  padding: 0;
}

.hero-section p {
  margin-top: 0;
  margin-bottom: 3rem;
  padding: 0;
  font-size: var(--font-medium);
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  direction: ltr;

  color: var(--black);
  font-size: var(--font-normal);

  padding: 0 5rem;
}

.about-section .left-content {
  flex: 1;
}

.about-section .right-content {
  flex: 8;
}

.about-section .left-content img {
  height: 150px;
  padding: 0 5rem;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
  }

  .about-section .left-content {
    order: -1;
    margin-bottom: 20px;
  }
}

.services-section {
  border-radius: 1rem;
  margin: 2.3rem 2.5rem;
  background-color: var(--black);
  color: var(--white);
  font-size: var(--font-normal);
  font-weight: 900;
}

.services-section p {
  margin: 0;
  padding: 1rem 0rem;
  font-size: var(--font-medium);
}
.services-section > .container {
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: calc(200px * 5 + 6rem * 4);
}

.services-section > .container > .service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 10px 40px;
  height: 80px;
}

.service > p {
  font-size: var(--font-small);
  margin: 10px 0 0;
  padding: 0;
  text-align: center;
  font-weight: 500;
}

.service > img {
  border-radius: 50%;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
}

.companies-section {
  position: relative;
  background-color: var(--bland);
  border-radius: 1rem;
  margin: 2.3rem 2.5rem;
}

.companies-section > .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.companies-section > .container img {
  width: auto;
  min-height: 50px;
  max-height: 70px;
  margin: 20px 0 0;
}

.contact-section {
  padding: 1rem 6rem;
}
.contacts {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}
.contact-info {
  text-align: center;
}
.contact-info a {
  text-decoration: none;
  color: var(--black);
}
.contact-info .topic {
  font-weight: 900;
}
.contact-info .url {
  text-decoration: underline;
  direction: ltr;
}
.contact-info img {
  max-width: 50px;
}

.info-section {
  margin-bottom: 5rem;
}

.services {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
  gap: 5rem;
}

.service-item {
  color: var(--white);
  background-color: var(--black);
  border-radius: 1rem;
  max-width: 300px;
  min-height: 425px;
}

.service-item p {
  padding: 1rem;
}

.service-image {
  max-width: 300px;
  max-height: 200px;
  object-fit: scale-down;

  border-radius: 1rem 1rem 0 0;
  margin: 0;
}

.service-item h2 {
  text-align: center;
}
