/* services */

.services {
  padding: 8rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* container */
.services-container {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  align-items: flex-start;
  text-align: left;
}

/* Block */
.skills-block {
  width: 100%;
  max-width: 1200px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.service {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-number {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.software-section {
  width: 100%;
  max-width: 1000px;
  padding-top: 4rem;
  border-top: none;
}

.software-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.software-grid {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

.software-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.software-item:hover {
  transform: translateY(-5px);
}

.custom-software-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.software-item:hover .custom-software-logo {
  transform: scale(1.1);
}

.software-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.trusted-standalone {
  padding: 6rem 0;
  width: 100%;
  background: #0a0a0a;
  margin-top: 2rem;
  border: none;
}

.trusted-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.marquee-content {
  display: inline-block;
  animation: marquee 40s linear infinite;
}

.client-logo {
  height: 45px;
  width: auto;
  margin: 0 4rem;
  filter: grayscale(100%) brightness(0.6);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.client-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services {
    padding: 4rem 2rem;
  }
  .services-container {
    gap: 5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-title {
    min-height: auto;
  }
  .software-grid {
    gap: 2rem;
    justify-content: flex-start;
  }
  .custom-software-logo {
    width: 50px;
    height: 50px;
  }
  .client-logo {
    margin: 0 2rem;
    height: 35px;
  }
  .trusted-standalone {
    padding: 4rem 0;
  }
}
