/* How It Works Section */
.how-it-works-section {
  background-color: var(--background-primary); /* Main light bg - Updated */
}
.how-it-works-section h2 { /* Ensure section titles are consistent */
    color: var(--text-primary); /* Updated */
}

.how-it-works-section .steps-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.how-it-works-section .step {
  background-color: var(--background-secondary); /* Updated */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Softer shadow for light theme */
  text-align: center;
  flex-basis: calc(25% - 15px);
  min-width: 220px;
  position: relative;
}

.how-it-works-section .step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text-dark-primary); /* Dark grey background */
  color: var(--background-light-primary);   /* White text */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.how-it-works-section .step-icon {
  font-size: 2em;
  margin-bottom: 10px;
  margin-top: 20px;
  color: var(--text-dark-primary); /* Dark grey icon for monochromatic look */
}

.how-it-works-section .step h3 {
  font-size: 1.3em;
  margin-bottom: 8px;
  color: var(--text-primary); /* Updated */
}

.how-it-works-section .step p {
  color: var(--text-secondary); /* Updated */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .how-it-works-section .step {
    flex-basis: calc(50% - 10px);
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .how-it-works-section .step {
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  .how-it-works-section .steps-container {
    gap: 20px;
  }
}
