/* about-us */
.about-us__intro {
  width: 100wh;
  display: flex;
  justify-content: center;
  margin-bottom: 10rem;
}

.about-us {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  width: 90%;
  justify-content: center;
  align-items: center;
}

.about-us__title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -1.5rem;
  border-bottom: none;
  white-space: nowrap;
  margin-top: 3rem;
}

.about-us__title svg {
  width: 44px;
  height: 44px;
}

.about-us__description {
  line-height: 4rem;
}

.about-us__images {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10rem;
  gap: 3rem;
}

.about-us__images img {
  width: 350px;
  height: 200px;
}

.about-us__image {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 1.5rem;

  animation: aboutImageReveal 0.8s ease-out both;
}

.about-us__image:nth-child(2) {
  animation-delay: 0.15s;
}

.about-us__image:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes aboutImageReveal {
  from {
    opacity: 0;
    transform: translateY(3rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-us__image:hover {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

@media screen and (min-width: 768px) {
  .about-us__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
  }

  .about-us__images img {
    width: 400px;
    height: 280px;
  }
}

@media screen and (min-width: 1024px) {
  .about-us {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    width: 50%;
    justify-content: center;
    align-items: center;
  }

  .about-us__title {
    border-bottom: 2px solid var(--color-primary-dark);
  }

  .about-us__title svg {
    width: 54px;
    height: 54px;
  }

  .about-us__images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 10rem;
  }

  .about-us__images img {
    width: 450px;
    height: 300px;
  }
}
