@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

.what-we-do-section {
  width: 100%;
  background: #f7f9f5;
  padding: 80px 0 90px;
  font-family: "Poppins", sans-serif;
  color: #273b27;
  position: relative;
}

.what-we-do-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Central Mind-Map Hub ---------- */
.mindmap-hub {
  text-align: center;
  margin-bottom: 54px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  background: #e2ead9;
  color: #3b5037;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hub-title {
  margin: 0 0 16px;
  color: #253f28;
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: 1px;
}

.hub-line {
  width: 72px;
  height: 4px;
  background: #6f8b45;
  border-radius: 2px;
}

/* ---------- Branches Grid (Mind-Map Style) ---------- */
.mindmap-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  position: relative;
}

/* Connecting branch styling on desktop */
@media (min-width: 992px) {
  .mindmap-branches::before {
    content: "";
    position: absolute;
    top: -26px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: #d4e0ce;
    z-index: 1;
  }
}

.branch-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 34px 28px;
  border: 1px solid rgba(63, 79, 60, 0.12);
  box-shadow: 0 10px 30px rgba(35, 54, 33, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

@media (min-width: 992px) {
  .branch-card::before {
    content: "";
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 26px;
    background: #d4e0ce;
  }
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(35, 54, 33, 0.10);
  border-color: rgba(111, 139, 69, 0.35);
}

.branch-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1eb;
}

.branch-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #edf5e8;
  color: #3b5037;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-card__meta {
  display: flex;
  flex-direction: column;
}

.branch-card__step {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6f8b45;
}

.branch-card__title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #253f28;
  line-height: 1.25;
}

.branch-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: #4a5c48;
  margin: 0 0 22px;
}

.branch-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.branch-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #384b37;
}

.branch-card__list li i {
  color: #6f8b45;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.branch-card__list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.branch-card__list li strong {
  color: #253f28;
  font-weight: 600;
  font-size: 14px;
}

.branch-card__list li span {
  color: #5d6e5a;
  font-size: 12.5px;
  line-height: 1.45;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .what-we-do-section {
    padding: 64px 0 72px;
  }

  .mindmap-branches {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mindmap-hub {
    margin-bottom: 38px;
  }

  .branch-card {
    padding: 28px 22px;
  }
}

@media (max-width: 575.98px) {
  .what-we-do-section {
    padding: 50px 0 58px;
  }

  .branch-card__header {
    gap: 12px;
  }

  .branch-card__icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .branch-card__title {
    font-size: 16px;
  }

  .branch-card__list li strong {
    font-size: 13px;
  }
}
