/*
 * InspireSphere Theme — Why Choose InspireSphere? Section
 *
 * White-bg section with a centred header (h2 + desc), then a two-column body:
 *   left  = photo (50% width, object-fit cover)
 *   right = 3 feature cards, each row: icon box (light blue) + title + desc
 *
 * Desktop: padding-block 80px, body gap 48px.
 * Mobile:  single column — header → photo → cards stacked.
 */

/* ── Section wrapper ─────────────────────────────────────────────── */
.section--why-choose-us {
  background-color: var(--color-white);
  /* padding-block: 80px; */
}

/* ── Section header ──────────────────────────────────────────────── */
.why-choose-us__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 48px;
}

.why-choose-us__heading {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  color: var(--color-black);
  line-height: normal;
}

.why-choose-us__desc {
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  line-height: normal;
  max-width: 640px;
}

/* ── Two-column body ─────────────────────────────────────────────── */
.why-choose-us__body {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

/* ── Left photo ──────────────────────────────────────────────────── */
.why-choose-us__photo-wrap {
  flex: 0 0 calc(50% - 24px);
}

.why-choose-us__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* ── Right cards list ────────────────────────────────────────────── */
.why-choose-us__cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Individual card ─────────────────────────────────────────────── */
.why-choose-us__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ── Icon box ────────────────────────────────────────────────────── */
.why-choose-us__card-icon {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  background-color: #e9f0fc;
  border: 1px solid #cfe0fd;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-us__card-icon img {
  width: 34px;
  height: 34px;
  display: block;
}

/* ── Card text ───────────────────────────────────────────────────── */
.why-choose-us__card-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-choose-us__card-title {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: normal;
}

.why-choose-us__card-desc {
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  color: var(--color-grey);
  line-height: normal;
}

/* ── Mobile (≤ 768px) ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section--why-choose-us {
    /* padding-block: 48px; */
  }

  .why-choose-us__card { 
    align-items: center;
    text-align: center;
  }

  .why-choose-us__header {
    margin-bottom: 32px;
  }

  .why-choose-us__heading {
    font-size: var(--font-size-h2-mobile);
  }

  .why-choose-us__body {
    flex-direction: column;
    gap: 32px;
  }

  .why-choose-us__photo-wrap {
    flex: none;
    width: 100%;
  }

  .why-choose-us__cards {
    width: 100%;
  }
}