@keyframes shipOnWave {
  0% {
    transform: rotate(1deg) translateY(-10px);
  }

  50% {
    transform: rotate(0deg) translateY(0px);
  }

  100% {
    transform: rotate(1deg) translateY(-10px);
  }
}

.why2 {
  background: var(--yellow-gray-100);
  padding: var(--sp) 0;
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.why2.is-style-dark {
  background: var(--bg);
  color: var(--yellow-gray-100);
}

.why2.is-style-light {
  z-index: 2;
  padding-top: calc(var(--sp) * 2);
}

.why2._simple .section-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.why2._simple .section-head__title {
  font: 500 var(--h1)/90% var(--heading-font-family);
  width: 673px;
}

.why2._simple .section-head__subtitle {
  width: 400px;
  font-weight: 300;
  font-size: 26px;
  line-height: 130%;
}

.why2:is(:has(.why2__items)):not(:has(.why2__image)) {
  padding-bottom: calc(var(--sp) * 2);
}

.why2:has(.why2__image) {
  padding-bottom: 0;
}

.why2__container {
  position: relative;
}

.why2__inner {
  position: relative;
  z-index: 2;
}

.why2__inner:is(.why2._simple.is-style-dark .why2__inner) {
  background: var(--yellow-gray-100);
  color: var(--bg);
  overflow: hidden;
}

.why2__inner:is(.why2._simple .why2__inner) {
  padding: 48px;
  position: relative;
}

.why2__inner:is(.why2._simple .why2__inner):before,
.why2__inner:is(.why2._simple .why2__inner):after {
  background: var(--white);
  content: "";
  display: block;
  aspect-ratio: 1/1;
  width: 680px;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(120px);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  width: 1500px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-25%, -25%);
  z-index: -1;
}

.why2__inner:is(.why2._simple .why2__inner):after {
  left: 100%;
  transform: translate(-25%, -25%);
}

.why2 .section-head__title ._row-1 {
  justify-content: space-between;
}

.why2__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: whyItems;
  position: relative;
}

.why2 .item {
  counter-increment: whyItems;
  display: flex;
  flex-direction: column;
}

.why2 .item:before {
  font: 500 var(--h6)/120% var(--heading-font-family);
  background: var(--white);
  content: counter(whyItems, decimal-leading-zero);
  aspect-ratio: 1/1;
  margin-bottom: 20px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.why2 .item:is(.is-style-dark .item):before {
  background: var(--gold);
}

.why2 .item__title {
  font: 500 var(--h6)/120% var(--heading-font-family);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.why2 .item__text {
  font-weight: 300;
  font-size: 20px;
  line-height: 130%;
  opacity: 0.8;
}

.why2__after-train {
  margin-top: 120px;
}

.why2__after-train-title {
  font: 500 var(--h4)/115% var(--heading-font-family);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

.why2__after-train-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 520px 365px 330px;
  grid-template-areas: "salary secured graduates" "employers secured satisfaction";
}

.why2 .salary {
  grid-area: salary;
  border: 1px solid var(--gold);
  background: var(--bg) center/contain no-repeat;
  min-height: 306px;
  padding: 18px;
  position: relative;
}

.why2 .salary__title {
  font-size: 32px;
  font-weight: 500;
  color: var(--yellow-gray-100);
  text-transform: uppercase;
}

.why2 .salary__value {
  background: var(--gold);
  padding: 12px;
  position: absolute;
  bottom: 12px;
  right: 12px;
  text-align: right;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.3;
}

.why2 .salary__value span {
  display: block;
  font-size: 30px;
  font-weight: 500;
}

.why2 .secured {
  grid-area: secured;
  padding: 26px;
  background: var(--white) center bottom -190px/527px auto no-repeat;
}

.why2 .secured:is(.is-style-dark .secured) {
  color: var(--bg);
}

.why2 .secured__title {
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 35px;
}

.why2 .secured__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 30px;
}

.why2 .secured__list li {
  display: flex;
  align-items: center;
  font-size: 30px;
  gap: 8px;
}

.why2 .secured__list li:before {
  content: "";
  aspect-ratio: 1/1;
  width: 26px;
  background: center/contain no-repeat url("../../img/icons/location-primary.svg");
}

.why2 .graduates {
  grid-area: graduates;
  padding: 24px;
  border: 1px solid var(--white);
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.why2 .graduates:before {
  background: var(--white);
  content: "";
  display: block;
  aspect-ratio: 1/1;
  width: 674px;
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(55%, 62%);
}

.why2 .graduates:is(.is-style-dark .graduates) {
  background: var(--yellow-gray-100);
  color: var(--bg);
}

.why2 .graduates__title {
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
}

.why2 .graduates__title > span {
  display: block;
}

.why2 .graduates__title > span:last-child {
  text-align: right;
}

.why2 .graduates__text {
  font-size: 23px;
  line-height: 1.2;
  position: relative;
}

.why2 .employers {
  background: var(--bg);
  grid-area: employers;
  padding: 18px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why2 .employers:before {
  background: var(--secondary);
  content: "";
  display: block;
  aspect-ratio: 1/1;
  width: 680px;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(120px);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}

.why2 .employers__img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(33%, -50%);
  aspect-ratio: 1/1;
  width: 271px;
  background: center/contain no-repeat;
}

.why2 .employers__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  max-width: 230px;
}

.why2 .employers__title > span {
  display: block;
}

.why2 .employers__title > span:last-child {
  text-align: right;
}

.why2 .employers__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.why2 .employers__list li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.3;
}

.why2 .employers__list li:before {
  content: "";
  aspect-ratio: 1/1;
  width: 18px;
  background: center/contain no-repeat url("../../img/icons/ship-white.svg");
}

.why2 .satisfaction {
  grid-area: satisfaction;
  padding: 24px;
  background: var(--white);
  display: flex;
  border: 1px solid var(--white);
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.why2 .satisfaction:before {
  background: var(--yellow-gray-100);
  content: "";
  display: block;
  aspect-ratio: 1/1;
  width: 674px;
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-55%, 71%);
}

.why2 .satisfaction:is(.is-style-dark .satisfaction) {
  background: var(--white);
  color: var(--bg);
}

.why2 .satisfaction__decor {
  aspect-ratio: 1/1;
  width: 102px;
  background: center/contain no-repeat;
  position: absolute;
  top: 24px;
  right: 24px;
}

.why2 .satisfaction__title {
  font-size: 21px;
  line-height: 1.2;
  position: relative;
  max-width: 138px;
}

.why2 .satisfaction__text {
  font-size: 31px;
  line-height: 1.2;
  position: relative;
  text-transform: uppercase;
  font-weight: 500;
}

.why2 .satisfaction__text > br {
  display: none;
}

.why2 .satisfaction__text > span {
  display: block;
}

.why2 .satisfaction__text > span:last-child {
  text-align: right;
}

.why2__image {
  aspect-ratio: 818/512;
  width: 100%;
  max-width: 818px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 1600px) {
  .why2__inner:is(.why2._simple .why2__inner):before,
  .why2__inner:is(.why2._simple .why2__inner):after {
    width: 586.67px;
  }

  .why2 .employers:before {
    width: 586.67px;
  }
}

@media (max-width: 1260px) {
  .why2 {
    padding-top: var(--sp);
  }

  .why2._simple .section-head__title {
    width: 500px;
  }

  .why2._simple .section-head__subtitle {
    width: 100%;
  }

  .why2__inner:is(.why2._simple .why2__inner):before,
  .why2__inner:is(.why2._simple .why2__inner):after {
    width: 493.34px;
    filter: blur(120px);
  }

  .why2__inner:is(.why2._simple .why2__inner):before,
  .why2__inner:is(.why2._simple .why2__inner):after {
    width: 600px;
  }

  .why2__inner:is(.why2._simple .why2__inner) {
    padding: 32px;
  }

  .why2__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .why2__after-train-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "salary secured " "employers secured " "graduates satisfaction";
  }

  .why2 .salary__title {
    font-size: 24px;
  }

  .why2 .salary__value {
    font-size: var(--l);
  }

  .why2 .salary__value span {
    font-size: 24px;
  }

  .why2 .secured__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .why2 .secured__list {
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 8px;
  }

  .why2 .secured__list li {
    font-size: var(--l);
  }

  .why2 .graduates {
    min-height: 280px;
  }

  .why2 .graduates__title {
    font-size: 24px;
    max-width: 200px;
  }

  .why2 .graduates__text {
    font-size: var(--l);
  }

  .why2 .employers:before {
    width: 493.34px;
    filter: blur(120px);
  }

  .why2 .employers__img {
    width: 230px;
  }

  .why2 .employers__title {
    font-size: 24px;
  }

  .why2 .employers__list {
    gap: 8px;
  }

  .why2 .employers__list li {
    font-size: var(--l);
  }

  .why2 .satisfaction:before {
    transform: translate(-55%, 62%);
  }

  .why2 .satisfaction__title {
    font-size: var(--l);
  }

  .why2 .satisfaction__text {
    font-size: 24px;
    max-width: 220px;
  }
}

@media (max-width: 760px) {
  .why2._simple .section-head__title {
    width: 100%;
  }

  .why2._simple .section-head__subtitle {
    font-weight: 300;
    font-size: 20px;
    line-height: 130%;
  }

  .why2__inner:is(.why2._simple.is-style-light .why2__inner) {
    padding: 32px 0px;
  }

  .why2__inner:is(.why2._simple .why2__inner):before,
  .why2__inner:is(.why2._simple .why2__inner):after {
    width: 400px;
    filter: blur(70px);
  }

  .why2__inner:is(.why2._simple .why2__inner):after {
    top: 100%;
  }

  .why2__items {
    gap: 24px 16px;
  }

  .why2 .item:before {
    width: 48px;
    margin-bottom: 8px;
  }

  .why2 .item__text {
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
  }

  .why2__after-train-grid {
    gap: 8px;
    grid-template-areas: "salary salary " "secured graduates " "secured satisfaction" "employers employers";
  }

  .why2 .salary {
    padding: 12px;
    min-height: initial;
    aspect-ratio: 340/200;
  }

  .why2 .salary__title {
    max-width: 160px;
    font-family: var(--heading-font-family);
    font-weight: 500;
    font-size: var(--h6);
    line-height: 120%;
  }

  .why2 .salary__value {
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
  }

  .why2 .salary__value span {
    font-family: var(--heading-font-family);
    font-weight: 500;
    font-size: var(--h5);
    line-height: 115%;
  }

  .why2 .secured {
    padding: 12px;
    background: var(--white) center bottom -55px/240px auto no-repeat;
  }

  .why2 .secured__title {
    font-family: var(--heading-font-family);
    font-weight: 500;
    font-size: var(--h6);
    line-height: 120%;
    margin-bottom: 16px;
  }

  .why2 .secured__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .why2 .secured__list li {
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
    gap: 3px;
  }

  .why2 .secured__list li:before {
    width: 12px;
  }

  .why2 .graduates {
    padding: 12px;
    min-height: initial;
  }

  .why2 .graduates:before {
    width: 342px;
    transform: translate(43%, 71%);
  }

  .why2 .graduates__title {
    font-family: var(--heading-font-family);
    font-weight: 500;
    font-size: var(--h6);
    line-height: 120%;
  }

  .why2 .graduates__text {
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
  }

  .why2 .employers:before {
    width: 400px;
    filter: blur(70px);
  }

  .why2 .employers {
    min-height: initial;
    gap: 38px;
    padding: 12px;
  }

  .why2 .employers__img {
    width: 177px;
  }

  .why2 .employers__title {
    max-width: 150px;
    font-family: var(--heading-font-family);
    font-weight: 500;
    font-size: var(--h6);
    line-height: 120%;
  }

  .why2 .employers__list li {
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
    gap: 4px;
  }

  .why2 .employers__list li:before {
    width: 12px;
  }

  .why2 .satisfaction {
    padding: 12px;
  }

  .why2 .satisfaction:before {
    width: 342px;
    transform: translate(-55%, 65%);
  }

  .why2 .satisfaction__decor {
    width: 52px;
    top: 12px;
    right: 12px;
  }

  .why2 .satisfaction__title {
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    max-width: 70px;
  }

  .why2 .satisfaction__text {
    font-family: var(--heading-font-family);
    font-weight: 500;
    font-size: var(--h6);
    line-height: 120%;
  }
}