.services {
  width: 100%;
  padding: 6em 1.5em 10em 1.5em;
  background: var(--color-bg);
  display: flex;
}

.services-col:nth-child(1) {
  flex: 2;
}

.services-col:nth-child(2) {
  flex: 4;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.services-row {
  width: 85%;
  display: flex;
  gap: 0.5em;
}

.service-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.125);
  border-radius: 8px;
}

.service-icon {
  position: relative;
  top: -10%;
  font-size: 36px;
  color: #fff;
}

.service-title {
  position: absolute;
  bottom: 15%;
}

@media (max-width: 900px) {
  .services {
    flex-direction: column;
  }

  .services-row {
    width: 100%;
  }
}


.logo-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.team-logo {
  width: 150px;
  height: 150px;
  margin: 20px;
  object-fit: cover;
  perspective: 1000px;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.team-logo img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.team-logo:hover img {
  transform: scale(1.1) rotateY(15deg);
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


@media (max-width: 900px) {
  .services {
    flex-direction: column;
  }

  .services-row {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .team-logo {
  width: 100px;
  height: 100px;
  margin: 10px;
  padding: 0px !important;
}

@media (max-width: 390px) {
  .team-logo {
  width: 70px;
  height: 70px;
  margin: 10px;
}
}
