/* ==========================================================================
   Rugando Community Foundation — Why We Work Section Stylesheet
   File: assets/css/why-we-work.css
   ========================================================================== */

.rcf-why-section {
  background-color: #fbf8f3;
  padding: 56px 20px 68px;
  color: #16221b;
}

.rcf-why-container {
  max-width: 1180px;
  margin: 0 auto;
}

.rcf-why-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.rcf-why-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}

.rcf-why-dot--green {
  background-color: #15803d;
}

.rcf-why-dot--mint {
  background-color: #6ee7b7;
}

.rcf-why-dot--gold {
  background-color: #f59e0b;
}

.rcf-why-title {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111c16;
}

.rcf-why-subtitle {
  margin: 0 0 36px;
  max-width: 640px;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  line-height: 1.6;
  color: #4b5d53;
}

.rcf-habits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rcf-habit-card {
  background-color: #ffffff;
  border: 1px solid #ece7df;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 8px 24px rgba(17, 28, 22, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rcf-habit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(17, 28, 22, 0.08);
}

.rcf-habit-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 22px;
}

.rcf-habit-icon--mint {
  background-color: #dcfce7;
  color: #0f766e;
}

.rcf-habit-icon--amber {
  background-color: #fef3c7;
  color: #b45309;
}

.rcf-habit-icon--sky {
  background-color: #e0f2fe;
  color: #0369a1;
}

.rcf-habit-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111c16;
}

.rcf-habit-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #4b5d53;
}

@media (max-width: 900px) {
  .rcf-habits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rcf-habit-card {
    padding: 22px 20px;
    border-radius: 16px;
  }
}