/* Core Values Section */
.core-values-section {
  position: relative;
  background-color: #f8f9fc; /* Soft modern background */
}

.core-values-card {
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08); /* Stronger shadow */
  padding: 80px;
  margin: 0 auto;
  border: none;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient glow behind the content to make it feel less empty */
.core-values-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 50% 0%, rgba(9, 132, 227, 0.05), transparent 50%),
    radial-gradient(
      circle at 100% 50%,
      rgba(255, 71, 87, 0.03),
      transparent 50%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(46, 213, 115, 0.03),
      transparent 50%
    );
  z-index: 0;
  pointer-events: none;
}

.core-values-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.core-values-gradient {
  background: linear-gradient(135deg, #0984e3 0%, #6c5ce7 50%, #ff4757 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.core-value-item {
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.core-value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(9, 132, 227, 0.2);
}

.core-value-icon {
  margin-bottom: 25px;
  display: inline-block;
}

.core-value-icon .icon-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s ease;
  z-index: 1;
}

/* Specific Item Colors */
.core-value-item.item-primary .icon-wrapper {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
}

.core-value-item.item-green .icon-wrapper {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
}

.core-value-item.item-orange .icon-wrapper {
  background: rgba(255, 121, 63, 0.1);
  color: #ff793f;
}

/* Hover refinement: No background color change for icons anymore */
.core-value-item:hover .icon-wrapper {
  transform: scale(1.1);
}

.core-icon-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  z-index: 1;
  position: relative;
  transition: all 0.4s ease;
}

.core-value-heading {
  color: #2d3436;
  margin-bottom: 16px;
}

.core-value-text {
  font-size: 1rem;
  color: #636e72;
  line-height: 1.6;
  margin-bottom: 0;
}

.core-value-btn {
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 8px;
  background-color: #0984e3;
  border-color: #0984e3;
  transition: all 0.3s ease;
  color: #fff;
}

.core-value-btn:hover {
  background-color: #076aba;
  border-color: #076aba;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(9, 132, 227, 0.2);
  color: #fff;
}

/* Responsiveness */
@media (max-width: 991px) {
  .core-values-card {
    padding: 50px 30px;
  }
  .core-values-title {
    font-size: 2.25rem;
  }
  .core-value-item {
    margin-bottom: 50px;
    text-align: center;
  }
  .core-value-icon .icon-wrapper {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .core-values-card {
    padding: 40px 20px;
    border-radius: 12px;
  }
  .core-value-item {
    text-align: center;
    margin-bottom: 40px;
  }
  .core-value-icon .icon-wrapper {
    justify-content: center;
    margin: 0 auto;
  }
  .core-values-title {
    font-size: 1.8rem;
  }
}
