/* human-centered.css */

/* Section container and background */
.human-centered-section {
  padding: 40px 0 60px;
  background: #fff;
  box-sizing: border-box;
}

.horizontal-grey-bg {
  background-color: #f9faff; /* subtle grey */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-top: 40px;
  padding-bottom: 60px;
  box-sizing: border-box;
}

/* Wrapper for left and right columns */
.human-centered-wrapper {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping on large screens */
  gap: 30px; /* gap between left and right */
  align-items: flex-start;
  justify-content: space-between; /* key change: space between columns fills container width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Left panel: 60% of width */
.human-centered-left {
  width: 60%;
  max-width: 720px; /* 60% of 1200px */
  min-width: 300px;
  box-sizing: border-box;
  background: transparent;
  border-radius: 16px;
}

/* Headings and paragraphs in left panel */
.human-centered-left h3 {
  font-weight: 700;
  font-size: 28px;
  color: var(--color-dark, #222);
  margin-bottom: 20px;
  text-align: left;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.human-centered-left p {
  font-size: 16px;
  line-height: 1.6;
  color: #7b7a7a;
  margin-bottom: 24px;
  text-align: left;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* The bullet points under left panel */
.human-centered-points {
  font-size: 16px;
  color: var(--color-dark, #222);
  line-height: 1.5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
}

.human-centered-points strong {
  font-weight: 600;
}

.human-centered-points small {
  color: #7b7a7a;
  font-size: 14px;
}

/* Right panel: 40% of width */
.human-centered-right {
  width: 40%;
  max-width: 480px; /* 40% of 1200px */
  min-width: 280px;
  box-sizing: border-box;
}

/* The card on the right */
.why-choose-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 30px;
  border: 1px solid var(--gray-200, #e6e6e6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  max-width: 480px; /* keep consistent with parent */
  box-sizing: border-box;
  margin-top: 62px; /* aligns with paragraph start on left */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-700, #555);
}

/* Typography inside the card */
.why-choose-card h4 {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--color-dark, #222);
}

.why-choose-points {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-700, #555);
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-choose-points span {
  display: block;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Responsive: stack columns vertically on smaller screens */
@media (max-width: 992px) {
  .human-centered-wrapper {
    flex-wrap: wrap; /* enable wrapping */
    justify-content: center; /* center stacked columns */
  }
  .human-centered-left,
  .human-centered-right {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }
  .why-choose-card {
    margin-top: 30px; /* reduced margin on smaller screens */
    max-width: 100%;
  }
}
