#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;
    }
  }
}
#hotel-groups {
  background-color: var(--bg-light);
  padding: 80px 12px;
}
#stacked-images-section {
  padding: 80px 12px;
  overflow-x: hidden;

  .feature-content {
    max-width: 819px;
  }

  .stacked-images {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;

    img {
      border-radius: 1rem;
      position: absolute;
      width: 100%;
      max-width: 717px;
      height: auto;
      object-fit: cover;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      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;
      }
    }
  }
}

@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% !important;
    height: auto;
    padding-top: 150px !important;
  }

  .hero-content{
    width: 60% !important;
    padding-top: 500px;
  }


}

@media screen and (min-width: 992px) {
  #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);
        padding-top: 60px !important;
        
      }
      
      .hero-image {
        transform: scaleX(-1);
      }
    }
  }
}
@media screen and (min-width: 1700px) {
  #hero {
    margin-top: 65px !important;
    margin-bottom: 93px !important;
    .hero-title {
      font-size: 54.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;
    }
  }
  #hotel-groups {
    padding-top: 223px !important;
    overflow-x: hidden;
    .main-image {
      max-width: 784px;
    }
  }
  .multi-Property-wrapper {
    gap: 40px !important;
  }

  #hotel-groups {
    padding-bottom: 60px;
    .feature-title {
      font-weight: 300 !important;
    }
  }

  .hotel-subtitle {
    font-size: 24px !important;
    font-weight: 700 !important;
  }

  .hotel-title {
    font-size: 54px !important;
    font-weight: 300 !important;
  }

  .hotel-description {
    font-size: 24px !important;
    font-weight: 400 !important;
    max-width: 805px;
  }
}
@media screen and (min-width: 1900px) {
  #hotel-groups {
    .section-content {
      width: 915px;
    }
  }
  #hero {
    .hero-description {
      margin-top: 18px !important;
      margin-bottom: 26px !important;
    }
    .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);
      }
    }
  }
}
