/* ========================================
   MULTEK - Modern Services Cards Styles
   ======================================== */

/* Card Container Styles */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(84, 168, 199, 0.1);
  padding: 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03),
              0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Hover Effect */
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(84, 168, 199, 0.25);
  box-shadow: 0 20px 40px rgba(84, 168, 199, 0.15),
              0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Icon Container */
.service-card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Icon Background Colors */
.service-card-icon.icon-primary {
  background: linear-gradient(135deg, rgba(84, 168, 199, 0.1) 0%, rgba(84, 168, 199, 0.15) 100%);
}

.service-card-icon.icon-orange {
  background: linear-gradient(135deg, rgba(247, 139, 119, 0.1) 0%, rgba(247, 139, 119, 0.15) 100%);
}

.service-card-icon.icon-yellow {
  background: linear-gradient(135deg, rgba(250, 183, 88, 0.1) 0%, rgba(250, 183, 88, 0.15) 100%);
}

.service-card-icon.icon-green {
  background: linear-gradient(135deg, rgba(69, 196, 160, 0.1) 0%, rgba(69, 196, 160, 0.15) 100%);
}

/* Hover Effect on Icon */
.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Icon Size */
.service-card-icon .icon-svg {
  width: 32px;
  height: 32px;
}

/* Card Content */
.service-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Card Title */
.service-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #0b1f30;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.service-card:hover h4 {
  color: #54a8c7;
}

/* Card Description */
.service-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #60697b;
  margin-bottom: 0;
}

/* Subtle Background Pattern on Hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(84, 168, 199, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

/* Grid Gap Adjustments - Maintain 2 columns */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .services-grid {
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .service-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .service-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .service-card-icon .icon-svg {
    width: 28px;
    height: 28px;
  }

  .service-card h4 {
    font-size: 1.05rem;
  }

  .service-card p {
    font-size: 0.875rem;
  }

  .service-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-card-content {
    align-items: center;
  }
}

/* Animation Delay for Staggered Effect */
.service-card:nth-child(1) {
  transition-delay: 0s;
}

.service-card:nth-child(2) {
  transition-delay: 0.05s;
}

.service-card:nth-child(3) {
  transition-delay: 0.1s;
}

.service-card:nth-child(4) {
  transition-delay: 0.15s;
}

/* Accessibility: Focus State */
.service-card:focus-within {
  outline: 2px solid #54a8c7;
  outline-offset: 4px;
}
