/* === Modern Service Cards Styling === */
.services-cards-section {
  padding: 60px 0;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.service-card-modern {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  background: linear-gradient(180deg, #e6f3ff 0%, #ffffff 100%);
}

.card-icon-bg {
  overflow: hidden;
  height: 350px;
  background: #e8f6ff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-modern:hover .service-image {
  transform: scale(1.08);
}

.card-content {
  padding: 25px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.gradient-text {
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.card-description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0077b6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.learn-more-btn i {
  transition: transform 0.3s ease;
}

.learn-more-btn:hover {
  color: #023e8a;
}

.learn-more-btn:hover i {
  transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card-content {
    padding: 20px 15px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-description {
    font-size: 0.9rem;
  }
}

