@keyframes float {
  0% {
    transform: translateY(0);
    box-shadow: var(--shadow-xs);
    border-radius: 20px;
  }
  100% {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-3xl);
    border-radius: 20px;
  }
}

@keyframes float-back {
  0% {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3xl);
    border-radius: 20px;
  }
  100% {
    transform: translateY(0);
    box-shadow: var(--shadow-xs);
    border-radius: 20px;
  }
}

.desktop .image-manage {
  background: none;
  background-image: url("../img/background-quanly.png");
  background-size: cover;
  background-position: center;
  height: auto;
  min-height: auto;
}

.desktop .heading {
  color: var(--neutral-800);
  font-size: 48px;
  letter-spacing: -1.2px;
  line-height: 60px;
  position: relative;
  align-self: stretch;
  margin-top: 3rem;
  font-family: "Open Sans", Helvetica;
  font-weight: 600;
  text-align: center;
}

.desktop .supporting-text {
  text-align: center;
  padding: 0 2rem;
}

.image-background-manage {
  width: 100%;
  margin-top: 1.6rem;
}

.desktop .content {
  padding: 0 7%;
  gap: 2rem;
}

.desktop .text-4 {
  font-family: "Open Sans", Helvetica;
  font-weight: 600;
  font-size: 18px;
}

.desktop .button-4 {
  padding: 16px 28px;
}

.main {
  display: flex;
  flex-direction: column;
  padding: 5rem 7%;
  gap: 5rem;
  width: 100%;
}

.main-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-header__head {
  font-family: "Open Sans", Helvetica;
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  text-align: center;
}

.main-header__para {
  font-family: "Open Sans", Helvetica;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
}

.main-card {
  display: grid;
  align-items: center;
  gap: 7%;
  grid-template-columns: 43% 1fr;
}

.main-card--reverse {
  grid-template-columns: 1fr 43%;
}

.main-card--reverse > .main-card__image {
  order: 1;
}

.main-card__image {
  width: 100%;
  opacity: 0;
}

.main-card__image--animation-start {
  animation: float-up 0.6s ease-out forwards;
  opacity: 1;
}

.main-card__image--animation-hover:hover {
  animation: float 0.4s ease-in-out forwards;
}

.main-card__image--animation-hover:not(:hover) {
  animation: float-back 0.4s ease-in-out forwards;
}

.main-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-card__title {
  font-family: "Open Sans", Helvetica;
  font-weight: 600;
  font-size: 30px;
  line-height: 38px;
}

.main-card__description {
  font-family: "Open Sans", Helvetica;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}

.main-card__group-note {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-card__note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.main-card__note-text {
  font-family: "Open Sans", Helvetica;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  vertical-align: middle;
  flex: 1;
}

.main-footer {
  background-image: url("../img/background-footer-manage.png");
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding-left: 3rem;
}

.main-footer__content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 3rem 0;
  flex: 1;
}

.main-footer__title {
  font-family: "Open Sans", Helvetica;
  font-weight: 400;
  font-size: 36px;
  line-height: 44px;
  text-align: left;
  color: white;
}

.main-footer__group-highlight {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-footer__highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-footer__highlight-text {
  font-family: "Open Sans", Helvetica;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  vertical-align: middle;
  color: white;
}

.main-footer__image {
  height: 400px;
  align-self: flex-end;
}

h1,
h2 {
  color: #1c1c1c;
}

p,
span {
  color: #5b5b5b;
}

@media screen and (max-width: 768px) {
  .main-card {
    display: grid;
    align-items: center;
    gap: unset;
    grid-template-columns: none;
  }

  .main-card > .main-card__image {
    order: 1 !important;
  }

  .main-card--reverse {
    grid-template-columns: none;
  }

  .main-card--reverse > .main-card__image {
    order: unset;
  }

  .main-card__image {
    margin-top: 3rem;
  }

  .main-footer {
    flex-direction: column;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .main-footer__content {
    gap: 3rem;
    padding: 2rem 0;
  }

  .main-footer__title {
    font-size: 24px;
    line-height: 32px;
  }

  .main-footer__group-highlight {
    gap: 1rem;
  }

  .main-footer__highlight-text {
    font-size: 16px;
    line-height: 26px;
  }

  .main-footer__image {
    align-self: center;
  }
}
