.services-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 10px;          /* ✅ جلوگیری از لب‌به‌لب شدن */
}


.services-row{
  padding:80px 20px;
  background:#f9fafb;
  text-align:center;
}

.services-title{
  font-size:2rem;
  margin-bottom:40px;
}

.services-center{
  display:flex;
  justify-content:center;
  gap:26px;
  flex-wrap:nowrap;
}

.service-card{
  width:230px;
  padding:34px 22px;
  border-radius:18px;
  text-decoration:none;
  color:#111;
  background:#fff;
}

/* ICON */
.service-card i{
  font-size:2.2rem;
  margin-bottom:16px;
  display:inline-block;
  color:#000;
  transition:transform .4s ease;
}

/* MICRO INTERACTION */
.service-card:hover i{
  animation:iconPulse 1.6s ease-in-out infinite;
}

@keyframes iconPulse{
  0%   {transform:scale(1) rotate(0deg)}
  50%  {transform:scale(1.15) rotate(3deg)}
  100% {transform:scale(1) rotate(0deg)}
}

.service-card h3{
  font-size:1.05rem;
  margin-bottom:8px;
}

.service-card p{
  font-size:.9rem;
  color:#333;
}


/* Automation & AI Agents – Dark Tech */
.service-card.automation{
  background:linear-gradient(135deg,#1f2933,#111827);
  color:#fff;
}

.service-card.automation i{
  color:#ceb14f; /* accent gold */
}

.service-card.automation h3{
  color:#fff;
}

/* THEMES */
/* THEMES – DARK & DISTINCT */

.service-card.web{
  background:linear-gradient(135deg,#d4eef2,#b6e1e8);
}

.service-card.graphic{
  background:linear-gradient(135deg,#f2d6db,#e8bfc7);
}

.service-card.software{
  background:linear-gradient(135deg,#cfe9ec,#a8dadd);
}

.service-card.social{
  background:linear-gradient(135deg,#f0e6b8,#e2d48c);
}

.service-card.ai{
  background:linear-gradient(135deg,#ddd6fe,#bfb5f5);
}

/* MOBILE – 2 by 2 layout */
@media (max-width: 768px){
  .services-center{
    display:grid;
    grid-template-columns:repeat(2, 1fr); /* ✅ دو تا دوتا */
    gap:18px;
    justify-items:center;
  }

  .service-card{
    width:100%;          /* کارت‌ها هم‌اندازه */
    max-width:180px;     /* کنترل عرض */
    padding:26px 18px;
  }

  .service-card i{
    font-size:2rem;
  }

  .service-card h3{
    font-size:.95rem;
  }
}

}