/*--------------------------------------------------------------
# Section Hero - Home Page
--------------------------------------------------------------*/

html[dir="rtl"] #hero-section .base-btn-hero img {
  transform: rotate(180deg);
}

html[dir="rtl"] #hero-section .btn-hero-2::before {
  transform-origin: right;
}

html[dir="rtl"] #hero-section .stock-ticker:hover .width-item {
  animation-play-state: paused;
}

html[dir="rtl"] #hero-section .stock-ticker .width-item {
  animation: scroll-rtl 20s linear infinite;
}

#hero-section {
  position: relative;
}

#hero-section .perspective-grid {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  opacity: 0.5;
  bottom: 138px;
  pointer-events: none;
}

#hero-section .blur-shape-1 {
  width: 100%;
  position: absolute;
  top: -88%;
  left: 0;
  z-index: -1;
}

#hero-section .blur-shape-2 {
  width: 100%;
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  /* width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1; */
}

#hero-section .top-section-hero {
  width: 75%;
  margin: 0 auto;
}

#hero-section .title-section-hero {
  font-family: Gabarito;
  font-weight: 700;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: 4%;
  text-align: center;
  color: var(--white);
}

#hero-section .description-section-hero {
  font-family: Gabarito;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-gray-light);
  margin-top: 48px;
}

#hero-section .wrapper-btn-hero {
  width: 75%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 50px;
}

#hero-section .base-btn-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 50px;
  border-radius: 8px;
}

#hero-section .btn-hero-1 {
  background: linear-gradient(90deg,
      rgba(237, 109, 95, 1),
      rgba(235, 94, 113, 1),
      rgba(231, 80, 138, 1));
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-first-btn-hero);
  line-height: 100%;
  text-align: center;
  padding: 0 20px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#hero-section .btn-hero-1 span,
#hero-section .btn-hero-1 img {
  display: inline-block;
  transition: transform 0.3s ease;
}

#hero-section .btn-hero-1:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

#hero-section .btn-hero-1:hover span {
  transform: translateX(5px);
}

#hero-section .btn-hero-1:hover img {
  transform: translateX(10px);
}

body.light #hero-section .btn-hero-2:hover {
  color: white;
}

#hero-section .btn-hero-2 {
  border: 1px solid var(--color-gray-light);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
  overflow: hidden;
}

#hero-section .btn-hero-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gray-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

#hero-section .btn-hero-2:hover::before {
  transform: scaleX(1);
}

#hero-section .btn-hero-2:hover {
  color: #000;
}

#hero-section .services-hero {
  display: flex;
  margin-top: 92px;
  justify-content: space-around;
}

#hero-section .item-services-hero {
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 2;
}

#hero-section .item-services-hero:hover {
  transform: translate(0, -10px);
  transition: transform 0.6s ease;
}

#hero-section .item-services-hero .details-services-hero {
  font-weight: 400;
  font-size: 18px;
  color: var(--white);
  line-height: 120%;
  letter-spacing: 0%;
  text-align: left;
}

#hero-section .img-partner {
  width: 115px;
  height: 62px;
  aspect-ratio: 16/9;
  object-fit: contain;
}

/* -----------------------------
   STOCK TICKER
------------------------------ */
#hero-section .stock-ticker {
  position: relative;
  z-index: 2;
  margin-top: 155px;
  font-size: 15px;
  padding-block: 35px;
  border-top: 1px solid var(--color-gray-medium);
  border-bottom: 1px solid var(--color-gray-medium);
  overflow: hidden;
  user-select: none;
  --gap: 52px;
  display: flex;
  gap: var(--gap);
}

#hero-section .stock-ticker .width-item {
  list-style: none;
  flex-shrink: 0;
  min-width: 55%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  animation: scroll-ltr 20s linear infinite;
}

#hero-section .stock-ticker:hover .width-item {
  animation-play-state: paused;
}


@keyframes scroll-ltr {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}


@keyframes scroll-rtl {
  to {
    transform: translateX(calc(100% + var(--gap)));
  }
}



#hero-section .stock-ticker::before,
#hero-section .stock-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

#hero-section .stock-ticker::before {
  left: 0;
  /* background: linear-gradient(to right, #ffffff40, rgb(59 30 30 / 0%)); */
  background: linear-gradient(to right, var(--bg-text-animation), rgba(255, 255, 255, 0));
}

#hero-section .stock-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-text-animation), rgba(255, 255, 255, 0));
  /* background: linear-gradient(to left, #ffffff40, rgb(59 30 30 / 0%)); */
}

@media (max-width: 1100px) {

  #hero-section .top-section-hero,
  #hero-section .wrapper-btn-hero {
    width: 100%;
  }
}

@media(max-width: 768px) {

  #hero-section .perspective-grid,
  #hero-section .blur-shape-1 {
    display: none;
  }

  #hero-section .blur-shape-2 {
    top: 0;
    width: 100%;
  }

  #hero-section .services-hero {
    flex-direction: column;
    margin-top: 50px;
    gap: 30px;
  }

  #hero-section .wrapper-btn-hero {
    flex-direction: column;
  }

  #hero-section .base-btn-hero {
    width: 100%;
  }

  #hero-section .title-section-hero {
    font-size: 35px;
  }
}