/* ── Services Section (Sleek Optimized V4) ── */
.srv-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px; /* Reduced height as requested */
  background: #fff;
  transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.srv-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s ease;
  opacity: 1; /* Clear images */
}

.srv-card:hover .srv-card-img {
  transform: scale(1.1);
  opacity: 0.7; /* Slight dimming on hover for text readability */
}

.srv-card-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  z-index: 5;
  transition: all 0.5s ease;
}

.srv-card-overlay h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.5px;
  opacity: 1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
  transform: translateY(0);
  transition: all 0.5s ease;
}

.srv-card-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  transform: translateY(20px);
}

/* Hover Reveal Logic */
.srv-card:hover .srv-card-overlay {
  background: linear-gradient(to top, rgba(23, 81, 145, 0.95) 0%, rgba(23, 81, 145, 0.75) 100%);
}

.srv-card:hover .srv-card-overlay h3 {
  transform: translateY(-10px);
}

.srv-card:hover .srv-card-content {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
  margin-top: 10px;
}

.srv-card-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 20px;
}
