/* ================= SERVICES HEADER ================= */
.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.services-header h2 {
  font-size: 36px;
  color: #0f172a;
  margin-bottom: 12px;
}

.services-header p {
  font-size: 18px;
  color: #475569;
}

/* ================= SERVICES SECTION ================= */
.services {
  padding: 110px 0;
  background: #ffffff;
}

.services-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* ================= GRID ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* ================= CARD BASE ================= */
.service-card {
  padding: 36px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;

  background: #ffffff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* ================= TEXT ================= */
.service-card h3 {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 16px;
  color: #475569;
  margin-bottom: 24px;
  max-width: 90%;
}

.service-card a {
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  position: relative;
}

/* CTA underline */
.service-card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #5B6CFF;
  transition: width 0.3s ease;
}

.service-card:hover a::after {
  width: 100%;
}

/* ================= GRADIENT BACKGROUNDS ================= */
.service-card.web {
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
}

.service-card.marketing {
  background: linear-gradient(135deg, #fdf2f8, #fff7ed);
}

.service-card.seo {
  background: linear-gradient(135deg, #ecfeff, #f0fdfa);
}

.service-card.ads {
  background: linear-gradient(135deg, #fefce8, #f0fdf4);
}

/* ================= HOVER EFFECT ================= */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(91,108,255,0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(91,108,255,0.18);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-header h2 {
    font-size: 28px;
  }

  .services-header p {
    font-size: 16px;
  }
}
