/**
 * Feature Services Widget Styles
 *
 * @package Hello_Elementor_Child
 */

/* Container */
.feature-services-container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.feature-services-grid {
  display: grid;
  width: 100%;
}

/* Individual Card */
.feature-service-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-service-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Content Wrapper */
.feature-service-content {
  position: relative;
  z-index: 1;
}

/* Icon */
.feature-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: linear-gradient(to bottom right, #14167e, #040533);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-service-card:hover .feature-service-icon {
  transform: scale(1.1);
}

.feature-service-icon i,
.feature-service-icon svg {
  color: #ffffff;
  fill: currentColor;
}

/* Title */
.feature-service-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #040533;
  margin: 0 0 12px 0;
  transition: color 0.3s ease;
}

.feature-service-card:hover .feature-service-title {
  color: #14167e;
}

/* Description */
.feature-service-description {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 24px 0;
}

/* Features List */
.feature-service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
}

.feature-service-features li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.feature-service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f9c603;
  flex-shrink: 0;
}

/* Link */
.feature-service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #14167e;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.feature-service-card:hover .feature-service-link {
  gap: 8px;
}

.feature-service-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.feature-service-card:hover .feature-service-arrow {
  transform: translateX(4px);
}

/* Hover Glow Effect */
.feature-service-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  background: linear-gradient(to bottom right, #f9c603, transparent);
  opacity: 0;
  border-radius: 50%;
  filter: blur(40px);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-service-card:hover .feature-service-glow {
  opacity: 0.1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .feature-service-title {
    font-size: 20px;
  }

  .feature-service-description {
    font-size: 14px;
  }

  .feature-service-features li {
    font-size: 13px;
  }

  .feature-service-icon {
    width: 56px;
    height: 56px;
  }
}

/* Animation on Load */
.feature-service-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.feature-service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-service-card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-service-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Editor Mode - Disable Animations */
.elementor-editor-active .feature-service-card {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
