#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  .hero-img {
    max-width: 800px;
    img {
      object-fit: cover;
    }
  }
  .hero-description {
    max-width: 687px;
  }
  .hero-absolute-image-wrapper {
    max-width: 50vw;
  }

  /* RTL Support */
  &[dir="rtl"] {
    .hero-absolute-image-wrapper {
      right: auto !important;
      left: 0 !important;
    }

    .hero-absolute-image {
      transform: scaleX(-1);
    }

    .hero-image {
      transform: scaleX(-1);
    }

    .hero-content {
      text-align: start;
    }
  }
}

#stacked-images-section {
  padding: 80px 12px;
  overflow-x: hidden;

  .feature-content {
    max-width: 819px;
  }

  .stacked-images {
    width: 100%;
    max-width: 100%;

    img {
      width: 100%;
      max-width: 717px;
      height: auto;
      object-fit: cover;

      transition: all 0.3s ease;

      &.img-main {
        position: relative;
        z-index: 3;
      }

      &.img-behind {
        bottom: -20px;
        left: 67px;
        z-index: 2;
        opacity: 0.6;
        backdrop-filter: blur(40px);
        transform: scale(0.95);
      }

      &.img-behind-second {
        bottom: -40px;
        left: 134px;
        z-index: 1;
        opacity: 0.4;
        transform: scale(0.9);
      }
    }

    @media (max-width: 768px) {
      aspect-ratio: auto;

      img {
        position: relative !important;
        top: 0;
        left: 0;
        bottom: auto;
        margin-bottom: 1rem;
        transform: none;
        opacity: 1;
      }
    }
  }

  /* RTL Support */
  &[dir="rtl"] {
    .stacked-images {
      img {
        &.img-behind {
          left: auto !important;
          right: 67px !important;
          transform: scale(0.95) scaleX(-1);
        }

        &.img-behind-second {
          left: auto !important;
          right: 134px !important;
          transform: scale(0.9) scaleX(-1);
        }

        &.img-main {
          transform: scaleX(-1);
        }
      }
    }
  }
}

@media screen and (max-width: 376px) {
  .hero-title{
    font-size: 24px !important;
  }

  .hero-description{
    font-size: 12px !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1025px) {
  .hero-absolute-image{
    width: 140%;
    height: auto;
    padding-top: 150px !important;
  }

  .hero-content{
    padding-top: 500px;
  }
}

@media screen and (min-width: 1025px) {
  #hero {
    .hero-absolute-image-wrapper {
      min-width: 500px;
    }

    /* RTL Support for larger screens */
    &[dir="rtl"] {
      .hero-absolute-image-wrapper {
        right: auto !important;
        left: 0 !important;
      }

      .hero-absolute-image {
        transform: scaleX(-1);
      }

      .hero-image {
        transform: scaleX(-1);
      }
    }
  }
}
@media screen and (min-width: 1700px) {
  #hero {
    margin-top: 65px !important;
    margin-bottom: 93px !important;
    .hero-title {
      font-size: 58.06px !important;
      line-height: 69.225px;
    }
    .hero-absolute-image-wrapper {
      min-width: 50vw;
    }


    /* RTL Support for large screens */
    &[dir="rtl"] {
      .hero-absolute-image-wrapper {
        right: auto !important;
        left: 0 !important;
      }

      .hero-absolute-image {
        transform: scaleX(-1);
      }

      .hero-image {
        transform: scaleX(-1);
      }
    }
  }
  #stacked-images-section {
    padding-top: 224px !important;
    padding-bottom: 55px !important;
    .feature-title {
      font-size: 54px !important;
    }
    .feature-description {
      font-size: 24px !important;
      margin-bottom: 32px !important;
    }
    .feature-list {
      gap: 32px !important;
    }
    .feature-list li {
      font-size: 24px !important;
      margin: 0 !important;
    }
    .stacked-images {
      position: relative;
      top: 0;
      right: -200px;
    }

    /* RTL Support for stacked images */
    &[dir="rtl"] {
      .stacked-images {
        right: auto !important;
        left: -200px !important;
      }
    }
  }
}
@media screen and (min-width: 1900px) {
  #hero {
    .hero-absolute-image-wrapper {
      min-width: 1283px;
    }

    /* RTL Support for extra large screens */
    &[dir="rtl"] {
      .hero-absolute-image-wrapper {
        right: auto !important;
        left: 0 !important;
      }

      .hero-absolute-image {
        transform: scaleX(-1);
      }

      .hero-image {
        transform: scaleX(-1);
      }
    }
  }
}

/* RTL Support for start-guide section */
#start-guide[dir="rtl"] {
  .section-image-wrapper img {
    transform: scaleX(-1);
  }
}
