/*
  Value Cards Widget Styles

  @package Hello_Elementor_Child
  */

/* Grid Container */
.value-cards-grid {
  display: grid;
  width: 100%;
}

/* Individual Card */
.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --hover-lift: -8px;
}

.value-card:hover {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(var(--hover-lift));
}

/* Icon Container - Circular */
.value-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #14167e, #040533);
  flex-shrink: 0;
}

.value-card-icon i,
.value-card-icon svg {
  color: #ffffff;
  fill: currentColor;
}

/* Title */
.value-card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #040533;
  margin: 0 0 8px 0;
}

/* Description */
.value-card-description {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .value-card-title {
    font-size: 18px;
  }

  .value-card-description {
    font-size: 13px;
  }

  .value-card-icon {
    width: 56px;
    height: 56px;
  }
}

/* Animation on Load */
.value-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.value-card:nth-child(1) {
  animation-delay: 0.1s;
}

.value-card:nth-child(2) {
  animation-delay: 0.2s;
}

.value-card:nth-child(3) {
  animation-delay: 0.3s;
}

.value-card:nth-child(4) {
  animation-delay: 0.4s;
}

.value-card:nth-child(5) {
  animation-delay: 0.5s;
}

.value-card:nth-child(6) {
  animation-delay: 0.6s;
}

.value-card:nth-child(7) {
  animation-delay: 0.7s;
}

.value-card:nth-child(8) {
  animation-delay: 0.8s;
}

.value-card:nth-child(9) {
  animation-delay: 0.9s;
}

.value-card:nth-child(10) {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Editor Mode - Disable Animations */
.elementor-editor-active .value-card {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
