.pf-svc-sec {
  background: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px) center/24px 24px, #09090b;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 96px 0;
}

.pf-svc-sec-header {
  text-align: center;
  margin-bottom: 56px;
}

.pf-svc-sec-header .pf-section-sub {
  margin-left: auto;
  margin-right: auto;
}

.pf-svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  perspective: 1200px;
}

.pf-svc-card {
  position: relative;
  background: rgba(24,24,27,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1rem;
  padding: 1.5rem;
  min-height: 22rem;
  border: 1px solid rgba(0,87,168,0.5);
  box-shadow:
    0 20px 50px -12px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,87,168,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transform-style: preserve-3d;
  transition: all 0.7s cubic-bezier(0.175,0.885,0.32,1.275);
  display: flex;
  flex-direction: column;
}

.pf-svc-card:hover {
  transform: translateY(-20px) rotateX(8deg) rotateY(-2deg) scale(1.02);
  border-color: rgba(0,87,168,1);
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.8),
    0 30px 60px -15px rgba(0,87,168,0.25),
    0 0 0 1px rgba(0,87,168,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.pf-svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.pf-svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,87,168,0.6), transparent);
  border-radius: 9999px;
}

.pf-svc-glow {
  position: absolute;
  inset: -1px;
  border-radius: 1rem;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,87,168,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  z-index: -1;
}

.pf-svc-card:hover .pf-svc-glow {
  opacity: 1;
}

.pf-svc-img-wrap {
  position: relative;
  width: calc(100% + 3rem);
  height: 200px;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  margin: -1.5rem -1.5rem 1.25rem;
  flex-shrink: 0;
}

.pf-svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pf-svc-card:hover .pf-svc-img {
  transform: scale(1.05);
}

.pf-svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(9,9,11,0.8) 100%);
}

.pf-svc-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.pf-svc-price {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #F5A623;
  margin-bottom: 12px;
}

.pf-svc-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  flex: 1;
}

.pf-svc-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: linear-gradient(to right, #0057A8, #0066cc, #0057A8);
  background-size: 200% auto;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(0,87,168,0.6), 0 0 0 1px rgba(0,87,168,0.7);
  transition: background-position 0.3s, box-shadow 0.3s;
  align-self: flex-start;
}

.pf-svc-btn:hover {
  background-position: right center;
  box-shadow: 0 0 60px rgba(0,87,168,0.8), 0 0 0 1px rgba(0,87,168,0.9);
}

@media (min-width: 640px) {
  .pf-svc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pf-svc-grid { grid-template-columns: repeat(3, 1fr); }
}
