.builder-row.builder-r0-c0 > div.header-home-academy {
  padding-bottom: 4.308rem;
}

.builder-row.builder-r0-c0:has(.header-home-academy) {
  /* display: none; */
}

.btn-explore-more {
  background-color: #e11d48;
  padding-top: 0.769rem;
  /* 0.769rem */
  padding-bottom: 0.769rem;
  /* 0.769rem */
}

.btn-explore-more:hover {
  background-color: #e11643;
}

.top-images {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.923rem;
  /* 12px */
}

.title-training {
  line-height: 2.462rem;
  /* 32px */
  letter-spacing: 0%;
  vertical-align: middle;
  color: var(--primary-color);
}

.description-title-training {
  font-weight: var(--font-weight-600);
  font-size: var(--font-size-16);
  line-height: var(--line-height-24);
  letter-spacing: 0%;
  vertical-align: middle;
  color: #4b5563;
  margin-top: 0.308rem;
  /* 4px */
}

.description-detail-training {
  line-height: 1.538rem;
  /* 20px */
  letter-spacing: 0%;
  vertical-align: middle;
  margin-top: 0.308rem;
  /* 4px */
}

.des-detail-index-1.card-2 {
  color: #dc2626;
  font-weight: 600;
  font-size: 1.077rem;
  /* 14px */
  line-height: 1.538rem;
  /* 20px */
  letter-spacing: 0%;
  vertical-align: middle;
}

.header-home-academy {
  display: flex;
  flex-direction: column;
  padding-bottom: 4.308rem;
  /* 56px */
  background-color: #ffffff;
}

.hero-section {
  position: relative;
  height: calc(100vh + 8.5rem);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(to bottom, rgba(19, 7, 35, 0) 0%, #130723 100%);
}

.hero-title {
  font-size: 5.923rem;
  line-height: 1.5;
  letter-spacing: 0%;
  vertical-align: middle;
  font-family: "Semplicita", "DM Sans", "Noto Sans", "Roboto", sans-serif !important;
}

.hero-text {
  line-height: 1.5;
  letter-spacing: 0%;
  text-align: center;
}

.text-header-index-0 {
  color: #ffffffb2;
}

.btn-start-self-assignment.uk-button-primary:hover {
  background-color: rgba(225, 29, 72, 0.9);
}

.btn-start-self-assignment {
  margin-top: 3.077rem;
  padding-top: 0.769rem;
  padding-bottom: 0.769rem;
  background-color: rgba(225, 29, 72, 1);
  gap: 0.615rem;
}

.btn-start-self-assignment:hover {
  background-color: none;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 1.846rem;
  padding: 3.077rem;
  max-width: 115.385rem;
  margin: 0 auto;
  margin-top: -14.615rem;
  background: #c97d7d33;
  backdrop-filter: blur(2.077rem);
  border-radius: 1.846rem;
  align-items: stretch;
}

.card-training {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.923rem;
  background-color: #ffffff;
  padding: 1.846rem;
  border-radius: 1.231rem;
  border: 0.077rem solid;
  border-image-source: linear-gradient(
    121.51deg,
    rgba(0, 0, 0, 0.2) -8.81%,
    rgba(102, 102, 102, 0.2) 107.22%
  );
  box-shadow: 0rem 0.769rem 1.154rem -0.231rem rgba(0, 0, 0, 0.06);
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-card-training {
  width: 100%;
  gap: 0.615rem;
}

svg.icon-card-training,
svg.icon-start-self-assignment {
  width: 1.038rem;
  height: 1.038rem;
}

.card-training:hover {
  transform: scale(1.03);
  box-shadow: 0 0.769rem 1.538rem rgba(0, 0, 0, 0.15);
}

.card-training:hover .btn-card-training {
  animation: shake-horizontal 0.5s ease;
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-text {
    font-size: 1.8rem;
    line-height: 2.5rem;
  }

  .card-container {
    flex-wrap: wrap;
    padding: 2rem;
  }

  .card-training {
    flex: 1 1 45%;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-text {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  .card-container {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: -8rem;
    padding: 1.5rem;
  }

  .card-training {
    width: 100%;
    flex: 1 1 100%;
  }

  .hero-section {
    position: relative;
    height: auto !important;
    min-height: clamp(520px, 70vh, 980px);
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-inline: clamp(16px, 4vw, 48px);
    text-align: center;
  }

  .hero-overlay > * {
    position: relative;
    z-index: 1;
  }

  .btn-start-self-assignment,
  .btn-explore-more,
  .btn-card-training {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.2;
    border-radius: 9999px;
    white-space: normal;
    height: auto;
    padding: clamp(0.6rem, 1.2vw, 0.85rem) clamp(1rem, 2.2vw, 1.25rem);
    font-size: clamp(0.95rem, 0.9vw + 0.7rem, 1.0625rem);
  }

  .btn-card-training {
    width: 100%;
    max-width: 28rem;
    margin-top: auto;
  }

  svg.icon-card-training,
  svg.icon-start-self-assignment {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
  }

  .btn-start-self-assignment:hover {
    background-color: rgba(225, 29, 72, 0.92);
  }

  @media (max-width: 1200px) {
    .hero-section {
      min-height: 68vh;
      background-position: center 28%;
    }
  }
  @media (max-width: 992px) {
    .hero-section {
      min-height: 62vh;
      background-position: center 36%;
    }
  }
  @media (max-width: 768px) {
    .hero-section {
      min-height: 56vh;
      background-position: center 44%;
    }
  }
  @media (max-width: 480px) {
    .hero-section {
      min-height: 50vh;
      background-position: center 55%;
    }
  }
}
