.banner-subpage {
  padding-top: 48px;
  padding-bottom: 48px;
  min-height: 211px;
  background: #90D9F91A;
  display: flex;
  align-items: center;
  color: #5E5E5E;
  position: relative;
  font-size: 16px;
  z-index: 99;
  background-repeat: no-repeat;
  background-position: bottom 50% right;
}

/* .banner-subpage h1,
.banner-subpage h2,
.banner-subpage h3,
.banner-subpage h4,
.banner-subpage h5,
.banner-subpage p {
  color:#FFF;
} */


@media (min-width: 768px) {
  .banner-subpage {
    padding-top: 55px;
    padding-bottom: 55px;
    min-height: 374px;
    font-size: 24px;
  }
}

.banner-subpage__container {
  position: relative;
  z-index: 2;
}

.banner-subpage__content {
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
  gap: 30px;
}
@media (min-width: 768px) {
  .banner-subpage__content {
    gap: 79px;
    flex-direction: row;
  }
}

.banner-subpage__content-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
@media (min-width: 768px) {
  .banner-subpage__content-left {
    gap: 20px;
    max-width: 55%;
  }
}

.banner-subpage__content-left .button {
  max-width: fit-content;
}

.banner-subpage__content-right {
  display: flex;
  align-items: center;
  justify-content: end;
  position: relative;
  width: 100%;
}
@media (min-width: 768px) {
  .banner-subpage__content-right {
    max-width: 400px;
  }
}

.banner-subpage__bg-wrap {
  display: none;
}
@media (min-width: 768px) {
  .banner-subpage__bg-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    bottom: 25px;
    left: -35px;
    z-index: 0;
  }
}

.banner-subpage__content-right__image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  border-radius: 20px;
}
@media (min-width: 768px) {
  .banner-subpage__content-right__image-wrap {
    max-width: 316px;
    max-height: none;
    border-radius: 30px;
  }
}

.banner-subpage__content-right__image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  width: 100%;
}

.banner-subpage__content-right__image-floating {
  display: none;
  position: absolute;
  left: 0px;
  z-index:2;
}
@media (min-width: 768px) {
  .banner-subpage__content-right__image-floating {
    display: block;
  }
  .banner-subpage__content-right__image-floating.phone {
    max-width: 136px;
    transform: translateX(15px);
  }
  .banner-subpage__content-right__image-floating.tablet {
    max-width: 272px;
    transform: translateX(-52px);
  }
  .banner-subpage__content-right__image-floating.laptop {
    max-width: 300px;
    transform: translateX(-65px);
  }

  .banner-subpage__content-right__image-floating.phone svg {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
  }

  .banner-subpage__content-right__image-floating.tablet svg {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
  }

  .banner-subpage__content-right__image-floating.laptop svg {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
  }

  .banner-subpage__content-right__image-floating.phone .img-fluid {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 90%;
    object-fit: cover;
    /* display: block; */
    border-radius: 30px;
  }

  .banner-subpage__content-right__image-floating.tablet .img-fluid {
    position: absolute;
    top: 50%;
    /* bottom: 0px; */
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    object-fit: cover;
    /* display: block; */
    border-radius: 15px;
  }

  .banner-subpage__content-right__image-floating.laptop .img-fluid {
    position: absolute;
    top: 50%;
    /* bottom: 0px; */
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: calc(100% - 64px);
    height: calc(100% - 32px);
    object-fit: cover;
    /* display: block; */
    border-radius: 5px;
  }

  .banner-subpage__content-right__image-floating.phone .device-render {
    max-width: 200%;
    transform: translateX(-25%);
    position: relative;
    z-index: 1;
  }

  .banner-subpage__content-right__image-floating.tablet .device-render {
    max-width: 100%;
    /* transform: translateX(-25%); */
    position: relative;
    z-index: 1;
  }
  .banner-subpage__content-right__image-floating.laptop .device-render {
    max-width: 100%;
    /* transform: translateX(-25%); */
    position: relative;
    z-index: 1;
  }
}

