.hexagon-shape {
  width: clamp(300px, 28vw, 500px);
  height: auto;
  max-width: none;
  pointer-events: none;
  filter: hue-rotate(240deg) brightness(0.6);
  z-index: 1;
}

@media (max-width: 640px) {
  .hexagon-shape {
    width: clamp(120px, 36vw, 220px);
  }
}

.service-section {
  position: relative;
  overflow-x: clip;
  padding: 80px 0;
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}

.service-section .service-number {
  font-size: clamp(60px, 10vw, 100px);
  font-weight: 300;
  color: rgba(116, 80, 204, 0.4);
  line-height: 1;
  flex-shrink: 0;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.service-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  max-width: 800px;
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .service-cards-grid {
    grid-template-columns: 1fr;
  }

  .service-header {
    flex-direction: column;
    gap: 16px;
  }
}

.service-card-item {
  padding: 24px 0;
  border-left: 3px solid rgba(116, 80, 204, 0.4);
  padding-left: 24px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: #ac96ec;
  margin-bottom: 12px;
}

.card-body {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.tech-banner-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  position: relative;
}

.tech-banner-wrapper::before,
.tech-banner-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.tech-banner-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.tech-banner-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--bg) 100%);
}

.tech-banner {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tech-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.tech-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .tech-item {
    width: 60px;
    height: 60px;
  }

  .tech-icon {
    width: 32px;
    height: 32px;
  }

  .tech-banner {
    gap: 24px;
  }

  .service-section {
    padding: 60px 0;
  }
}

#services-hero,
#tech-stack,
#services-cta {
  position: relative;
  z-index: 1;
}


.service-cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .service-cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-cards-grid-3 {
    grid-template-columns: 1fr;
  }
}
