.fabrication-services {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      45deg,
      #2c3e50 0%,
      #7f8c8d 25%,
      #bdc3c7 50%,
      #7f8c8d 75%,
      #2c3e50 100%
  );
  perspective: 1000px;
}
.fabrication-services::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: linear-gradient(
      45deg,
      rgba(255,255,255,0.1) 0%,
      rgba(255,255,255,0.3) 50%,
      rgba(255,255,255,0.1) 100%
  );
  transform: rotateZ(45deg);
  animation: chromeShine 8s infinite linear;
  z-index: 0;
}

@keyframes chromeShine {
  0% { transform: translateY(-100%) rotateZ(45deg); }
  100% { transform: translateY(100%) rotateZ(45deg); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 3rem;
}
.service-card h3 {
  color: #2c3e50;
}

.service-card p {
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  transform-style: preserve-3d;
}

.service-card {
  background: url('https://www.transparenttextures.com/patterns/brushed-alum.png'), linear-gradient(135deg, #000000e1, #a1a1a1);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 25px 45px rgba(0,0,0,0.1);
  position: relative;
   
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  z-index: -1;
  transform: translateZ(-10px);
  opacity: 0;
  transition: all 0.5s ease;
  background: linear-gradient(
    45deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(127, 140, 141, 0.3) 50%,
    rgba(105, 106, 107, 0.3) 100%
);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(
      45deg,
      transparent 0%,
      rgba(255,255,255,0.6) 50%,
      transparent 100%
  );
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderShine 4s infinite linear;
}

@keyframes borderShine {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.service-card:hover {
  transform: translateZ(20px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 35px 60px rgba(0,0,0,0.15);
}

.service-card:hover::before {
  opacity: 1;
  transform: translateZ(-20px);
}

.service-icon {
  transform: translateZ(30px);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: translateZ(50px) scale(1.1);
}

.service-card h3 {
  transform: translateZ(20px);
  transition: transform 0.3s ease;
}

.service-card:hover h3 {
  transform: translateZ(40px);
}

@keyframes float {
  0%, 100% { transform: translateZ(0); }
  50% { transform: translateZ(30px); }
}

.service-card:nth-child(odd):hover {
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .service-card:hover {
      transform: none;
  }
  .service-card::before {
      display: none;
  }
}
