/* ==========================================================
   Why Work With Us Section (Large Circle + Glowing Ring)
   ========================================================== */

.value-prop {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding: 60px 5%;
  box-sizing: border-box;
  text-align: center;
}

/* Section heading */
.value-prop .section-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  color: var(--color-text);
}

.value-prop .section-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem auto; /* Center horizontally with auto on left and right */
  line-height: 1.5;
  text-align: center; /* Center the text inside the container */
}

.value-prop .section-intro p {
  text-align: center; /* Ensure paragraph text is centered */
}

/* Grid Layout */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 columns */
  gap: 50px;
  justify-content: center;
  justify-items: center;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Value Card */
.value-card {
  background: none;
  box-shadow: none;
  padding: 10px;
  text-align: center;
  max-width: 240px;
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(20px);
}

.value-card h3 {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  margin: 30px 0 10px;
  color: var(--color-text);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Icon Circle with Soft Glowing Ring */
.value-icon {
  position: relative;
  width: 230px; /* ✅ Bigger circle */
  height: 230px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Glowing Ring with soft fades inside/outside */
.value-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 80%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0) 40%,             /* inside fade */
    rgba(194, 194
    , 194, 0.5) 55%,           /* solid ring core */
    rgba(255, 255, 255, 0.2) 75%,           /* outer fade */
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Image sits beneath the glowing ring */
.value-icon img {
  position: relative;
  z-index: 0;
  width: 70%;
  height: 70%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(1.1) contrast(1.05);
}

/* Scroll Animation */
.value-card.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .value-card {
    max-width: 200px;
  }

  .value-icon {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 768px) {
  .value-prop {
    padding: 80px 5%;
  }

  .value-grid {
    grid-template-columns: 1fr; /* stack in one column */
    gap: 30px;
  }

  .value-card {
    max-width: 50%;
  }

  .value-icon {
    width: 150px;
    height: 150px;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }

  .value-card p {
    font-size: 0.85rem;
  }
}
