.hr-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  margin-bottom: 3rem;
}

.hr-service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.hr-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.hr-service-card:hover::before {
  transform: scaleX(1);
}

.hr-service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.hr-service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hr-service-icon i {
  color: white;
  font-size: 2rem;
}

.hr-service-title {
  font-family: var(--font-family-base);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.hr-service-description {
  color: rgba(0, 0, 0, 0.808);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hr-service-link {
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.hr-service-link:hover {
  gap: 1rem;
}

/* HR Service Card Background Images */
.hr-service-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hr-service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.63);
  z-index: 0;
  transition: background 0.3s ease;
}

.hr-service-card:hover::after {
  background: rgba(255, 255, 255, 0.88);
}

.hr-service-card>* {
  position: relative;
  z-index: 1;
}

/* Talent Sourcing - Recruitment */
.hr-service-card:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=800&q=80');
}

/* Employee Integration - Onboarding */
.hr-service-card:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&q=80');
}

/* Performance Management */
.hr-service-card:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=800&q=80');
}

/* Staff Relations Management - Employee Relations */
.hr-service-card:nth-child(4) {
  background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=800&q=80');
}

/* Benefits Administration */
.hr-service-card:nth-child(5) {
  background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=800&q=80');
}

/* HR Policy Development */
.hr-service-card:nth-child(6) {
  background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=800&q=80');
}