main[data-page="home"] {
  overflow: unset;
  contain: paint;
}

.section[data-component="newholding"] {
  min-height: 100dvh;
  padding: 100px 0;
  position: relative;
}

.section[data-component="newholding"] [data-component="label"] {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: normal 1.25rem;
}

.section[data-component="newholding"] [data-component="label"] span {
  background: linear-gradient(
    272.08deg,
    #22a357 6.12%,
    #21e170 24.72%,
    #17bd5b 96.43%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  background-clip: text;
  text-fill-color: rgba(0, 0, 0, 0);
  color: var(--color-green);
  font-size: 1.5rem;
  font-family: var(--secondary-font);
}

.section.pink {
  background: pink;
}
.section.cyan {
  background: cyan;
}

.sidebar {
  height: calc(100% - 200px);
  position: absolute;
  right: 5%;
  top: 100px;
  bottom: 100px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 30%;
}
@media (max-width: 992px) {
  .nav {
    display: none;
  }
}

.nav-item {
  border-radius: 24px;
  color: transparent;
  display: block;
  font-size: 0;
  transition: 0.3s height;
  height: 6px;
  width: 6px;
}
.nav-item.active {
  height: 24px;
}
.nav-item.green {
  background: green;
}
.nav-item.blue {
  background: blue;
}
.nav-item.orange {
  background: orange;
}
.nav-item.white {
  background: white;
}
.nav-item.purple {
  background: purple;
}
.nav-item.red {
  background: red;
}

.stack {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 992px) {
  .stack {
    align-items: center;
    flex-direction: column;
  }
}

.copy {
  position: sticky;
  top: 30%;
  max-width: 630px;
  height: 100%;
}
@media (max-width: 992px) {
  .copy {
    position: static;
  }
}
.copy h2 {
  color: gray;
  font-size: 100px;
  line-height: 1;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}
.copy p {
  color: white;
  font-size: 20px;
  line-height: 30px;
  max-width: 500px;
}

.list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 30px;
  padding: clamp(100px, 26%, 250px) 0 0 0;
  width: 50%;
}
@media (max-width: 992px) {
  .list {
    align-items: center;
    padding-top: 50px;
  }
}

.card {
  border-radius: 24px;
  height: 420px;
  width: 100%;
  /*transition: all .5s ease;*/
  overflow: hidden;
  background-color: rgba(9, 14, 19, 0.2);
  transform: translateZ(0);
}

.card .card-body {
  background: url("https://expansionholding.com/wp-content/uploads/2023/08/expansion.png"),
    lightgray 50%;
  background-size: cover;
  background-position-y: top;
  background-position-x: center;
  border-radius: 14px;
  height: calc(100% - 30px);
  width: calc(100% - 30px);
  margin: 15px;
  position: relative;
  overflow: hidden;
  transition: height 500ms ease;
}

.card .card-body .card-body-inner::before {
  transition: opacity 500ms ease;
}

.card .card-body .card-titulo {
  padding: 20px 32px;
  position: absolute;
  bottom: 0px;
  width: 100%;
}

.holding-titulo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  text-transform: uppercase;
  transition: all 0.5s ease;
}

.card .card-body .card-titulo span {
  padding-left: 10px;
  font-size: 1rem;
  line-height: 1rem;
}

.card .card-body .card-titulo h2 {
  padding-left: 10px;
  font-size: 1.8rem;
  line-height: 1.8rem;
}

.card .card-body a {
  padding-left: 10px;
  display: flex;
  align-items: center;
  transition: all 0.5s ease;
  position: absolute;
  bottom: 10px;
}

.card .card-texto {
  border-radius: 14px;
  height: calc(80% - 40px);
  width: calc(100% - 20px);
  margin: 10px;
  position: relative;
  opacity: 0;
  transition: opacity 500ms ease;
}

.card .card-texto h3 {
  padding-left: 38px;
  padding-right: 38px;
  padding-top: 3%;
  font-size: 35px;
  font-style: normal;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: 0;
}

.card .card-texto svg {
  position: absolute;
  bottom: -10px;
  right: 20px;
}

#container-holding {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 40px;
}

#container-holding .background {
  display: none;
  position: sticky;
  top: 0;
}

#container-holding .background .video {
  position: absolute;
  object-fit: cover;
  height: 100dvh;
  width: 50dvw;
  top: 0;
  left: auto;
  right: 50%;
  transform: scale(1.4);
  z-index: 0;
}

.active .card .card-titulo {
  position: absolute;
  transition: all 0.5s ease;
  bottom: 0px;
}

.active .card .card-titulo span {
  color: #ffffff !important;
}

.active .card .card-texto {
  opacity: 1;
}

.active .card .card-body {
  height: 20%;
}

.active .card-texto.card-body {
  height: 20%;
  background: linear-gradient(290deg, #22a357 0%, #21e170 20.6%, #17bd5b 100%);
  transition: all 0.5s ease;
}

@media (max-width: 992px) {
  .card {
    height: 230px;
    width: 350px;
  }
  .card .card-texto h3 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5%;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.36px;
  }

  .card .card-body .card-titulo span {
    padding-left: 10px;
    font-size: 1rem;
    line-height: 1rem;
  }

  .card .card-body .card-titulo h2 {
    padding-left: 10px;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .card .card-texto h3 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5%;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.36px;
  }

  .card .card-texto svg {
    transform: scale(0.7);
  }

  .active .card .card-body {
    height: 28%;
  }

  .anim-text.active {
    opacity: 1;
    transform: scale(0.9) !important;
  }

  .copy p {
    max-width: 350px;
    margin-left: 25px;
  }

  .card .card-body .card-titulo {
    padding: 0px 10px 10px;
  }

  .card .card-texto svg {
    right: 0px;
  }
}

.green {
  background: green;
}
.blue {
  background: blue;
}
.orange {
  background: orange;
}
.white {
  background: white;
}
.purple {
  background: purple;
}
.red {
  background: red;
}

.border-green {
  border: 1px solid green;
}
.border-blue {
  border: 1px solid blue;
}
.border-orange {
  border: 1px solid orange;
}
.border-white {
  border: 1px solid white;
}
.border-purple {
  border: 1px solid purple;
}
.border-red {
  border: 1px solid red;
}

.anim-text {
  opacity: 0;
  transform: scale(2);
  transition: 0.4s opacity 0.4s, 0.4s transform 0.4s;
}
.anim-text.active {
  opacity: 1;
  transform: scale(1);
}

/*.background {
  opacity: 0;
  transition: all .5s ease;
}*/
