/* ── Target Education ────────────────────────────── */

.targetSection {
  position: relative;
  overflow: hidden;
  background: #edf0f4;
  padding: 140px max(50px, calc((100% - 1440px) / 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  width: 100%;
}

.targetSection .header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.targetSection .sectionTag {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2865ba;
  text-align: center;
}

.targetSection .heading {
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: #201e1f;
  text-align: center;
}

.targetSection .headingBlue {
  color: #397de3;
}

.targetSection .steps {
  position: relative;
  width: 100%;
  max-width: 1218px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 48px;
}

.targetSection .step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.targetSection .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  border-radius: 100%;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.targetSection .icon {
  display: flex;
  width: 40px;
  height: 40px;
}

.targetSection .stepText {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.targetSection .stepTitle {
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #201e1f;
  white-space: pre-line;
}

.targetSection .stepDescription {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #60666b;
  white-space: pre-line;
}

.targetSection .stepDescription a {
  color: inherit;
  text-decoration: underline;
}

.targetSection .wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 41px;
  z-index: 0;
  pointer-events: none;
}

/* ── Adaptive ────────────────────────────────────── */

@media (max-width: 1205px) {
  .targetSection {
    padding: 100px 50px;
    gap: 60px;
  }

  .targetSection .steps {
    grid-template-columns: repeat(6, 1fr);
    column-gap: 24px;
    row-gap: 40px;
  }

  .targetSection .step1 { grid-column: 1 / span 2; grid-row: 1; }
  .targetSection .step2 { grid-column: 3 / span 2; grid-row: 1; }
  .targetSection .step3 { grid-column: 5 / span 2; grid-row: 1; }
  .targetSection .step4 { grid-column: 2 / span 2; grid-row: 2; }
  .targetSection .step5 { grid-column: 4 / span 2; grid-row: 2; }
}

@media (max-width: 885px) {
  .targetSection {
    padding: 80px 32px;
    gap: 40px;
  }

  .targetSection .heading {
    font-size: 24px;
    line-height: 26px;
    letter-spacing: -1px;
  }
}

@media (max-width: 670px) {
  .targetSection .steps {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 24px;
    row-gap: 32px;
  }

  .targetSection .step1 { grid-column: 1 / span 2; grid-row: 1; }
  .targetSection .step2 { grid-column: 3 / span 2; grid-row: 1; }
  .targetSection .step3 { grid-column: 1 / span 2; grid-row: 2; }
  .targetSection .step4 { grid-column: 3 / span 2; grid-row: 2; }
  .targetSection .step5 { grid-column: 2 / span 2; grid-row: 3; }
}

@media (max-width: 475px) {
  .targetSection {
    padding: 60px 16px;
    gap: 32px;
  }

  .targetSection .stepTitle {
    font-size: 16px;
  }

  .targetSection .stepDescription {
    font-size: 13px;
  }

  .targetSection .num {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .targetSection .icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 390px) {
  .targetSection {
    background-image: url('../assets/corp-learning/wave-mobile.svg');
    background-repeat: no-repeat;
    background-position-y: 112px;
  }

  .targetSection .wave {
    display: none;
  }
}
