/* ========================================
   MODERN SERVICE CARDS - Custom Styles
   ======================================== */

.service-card-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  margin-top: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #f0f0f0;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff5901 0%, #e65100 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 89, 1, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-modern:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(255, 89, 1, 0.25);
  border-color: #ff5901;
}

.service-card-modern:hover::before {
  transform: scaleX(1);
}

.service-card-modern:hover::after {
  opacity: 1;
}

.service-card-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #ff5901 0%, #e65100 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(255, 89, 1, 0.3);
}

.service-card-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.service-card-modern:hover .service-card-icon::before {
  width: 120px;
  height: 120px;
}

.service-card-icon i {
  font-size: 42px;
  color: #ffffff;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover .service-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(255, 89, 1, 0.4);
}

.service-card-modern:hover .service-card-icon i {
  transform: scale(1.15);
}

.service-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.service-card-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.3;
  transition: color 0.3s ease;
  font-family: "Outfit", sans-serif;
}

.service-card-modern:hover .service-card-content h4 {
  color: #ff5901;
}

.service-card-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 10px;
  font-weight: 400;
}

.service-point-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.service-point-list li {
  font-size: 15px;
  color: #555555;
  line-height: 2;
  margin-bottom: 12px;
  padding-left: 32px;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.service-point-list li i {
  position: absolute;
  left: 0;
  top: 5px;
  color: #ffffff;
  font-size: 11px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #ff5901 0%, #e65100 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 89, 1, 0.3);
}

.service-card-modern:hover .service-point-list li {
  color: #333333;
  padding-left: 36px;
}

.service-card-modern:hover .service-point-list li i {
  background: linear-gradient(135deg, #e65100 0%, #cc4a00 100%);
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(255, 89, 1, 0.5);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #ff5901;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
  padding: 12px 24px;
  background: rgba(255, 89, 1, 0.08);
  border-radius: 10px;
  align-self: flex-start;
}

.service-card-link i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.service-card-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff5901 0%, #e65100 100%);
  gap: 14px;
  box-shadow: 0 4px 15px rgba(255, 89, 1, 0.4);
}

.service-card-link:hover i {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .service-card-modern {
    padding: 35px 28px;
  }

  .service-card-icon {
    width: 80px;
    height: 80px;
  }

  .service-card-icon i {
    font-size: 36px;
  }

  .service-card-content h4 {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .service-card-modern {
    padding: 30px 24px;
    margin-top: 24px;
  }

  .service-card-icon {
    width: 70px;
    height: 70px;
  }

  .service-card-icon i {
    font-size: 32px;
  }

  .service-card-content h4 {
    font-size: 20px;
  }

  .service-card-desc {
    font-size: 14px;
  }

  .service-point-list li {
    font-size: 14px;
  }

  .service-card-link {
    font-size: 15px;
    padding: 10px 20px;
  }
}
