.services {
  padding: 100px 40px;
  background: #000;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
}

/* layout */
.services-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* الكارت */
.card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  width: 250px;
  transition: 0.4s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* glow border */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(90deg, #ff6a00, #9b00ff);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: 0.4s;
}

/* hover */
.card:hover {
  transform: translateY(-10px) scale(1.05) rotateX(5deg) rotateY(5deg);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  opacity: 0.7;
}

/* 3D effect */
.card-wrapper {
  perspective: 1000px;
}

.card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

.section {
  padding: 120px 40px;
  text-align: center;
  background: #000;
}

.work-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.work-card {
  width: 280px;
  height: 180px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a002f, #000);
  cursor: pointer;
  transition: 0.4s;
}

.work-card h3,
.work-card p {
  position: relative;
  z-index: 2;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ff6a00, #9b00ff);
  opacity: 0;
  transition: 0.4s;
}

.work-card:hover .overlay {
  opacity: 0.2;
}

.work-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.about-text {
  max-width: 600px;
  margin: 20px auto;
  opacity: 0.7;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.stat h3 {
  font-size: 40px;
  background: linear-gradient(90deg, #ff6a00, #9b00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 30px auto;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: white;
}

.contact-form button {
  background: linear-gradient(90deg, #ff6a00, #9b00ff);
  border: none;
  padding: 15px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: scale(1.05);
}