@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hide {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
.feature-slider-block {
  padding: 70px 0 45px;
  margin: 0px auto;
  background-color: #f3f6f8;
  overflow: hidden;
  max-width: 1900px;
}
.feature-slider-container {
  max-width: 1472px;
  padding-left: 44px;
  padding-right: 44px;
  margin: 0 auto;
  padding-top: 0px;
  padding-bottom: 67px;
  z-index: 1;
  position: relative;
}
.feature-slider-text {
  max-width: 1100px;
  text-align: center;
  margin: 0 auto;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
  line-height: 24px;
  color: #112336;
}

.feature-slider-text-header {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-size: 44px;
  line-height: 56px;
  text-align: center;
  letter-spacing: 0;
  color: #112336;
  padding-bottom: 34px;
}

.feature-slider-list {
  display: flex;
  justify-content: space-between;
  margin-top: -226px;
  position: relative;
  z-index: 0;
}

.slider-text-block {
  background: #ffffff;
  border-radius: 0px 100px 100px 0px;
  flex-basis: 43.7%;
}
.slider-text-wrap {
  padding: 256px 44px 66px;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  width: 570px;
}
.slider-text-card {
  margin-bottom: 13px;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
  position: relative;
}
.slider-text-card::before {
  left: 0%;
  right: 0%;
  top: 120%;
  content: "";
  background-color: #4c75e6;
  transform: translateY(-250px);
  height: 0%;
  width: 2px;
  opacity: 0;
  position: absolute;
  transition: all 0.6s ease;
}
.slider-text-card.active-card {
  padding-left: 32px;
  /* border-left: 2px solid #4c75e6; */
  animation-name: card-animation;
}
.slider-text-card.active-card::before {
  left: 0;
  right: 0;
  top: 0;
  opacity: 1;
  transform: translateY(0%);
  height: 100%;
}

@keyframes card-animation {
  from {
    padding: 0;
  }
  to {
    padding-left: 32px;
  }
}

.slide-number {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 112.3%;
  color: #112336;
  opacity: 0.6;
  margin-bottom: 9px;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}
.slide-header {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  color: #112336;
  margin-bottom: 10px;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}
.slide-text {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 37px;
  color: #d9d9d9;
  width: 260px;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}

.active-card .slide-number {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: #4c75e6;
  animation: card-animation-text;
}
.active-card .slide-header {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  color: #4c75e6;
  animation: card-animation-text;
}
.active-card .slide-text {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  color: #112336;
  animation: card-animation-text;
}

@keyframes card-animation-text {
  from {
    color: #112336;
  }
  to {
    color: #4c75e6;
  }
}

.slider-images-block {
  flex-basis: 65%;
  overflow: hidden;
}
.slide-image {
  display: none;
}
.slide-image-show {
  display: block;
}
.slide-image-1 {
  /* position: relative; */
}
.phone-img-1 {
  position: absolute;
  z-index: 1;
  top: 0px;
  right: 819px;
  opacity: 0;
  visibility: hidden;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}
.slide-image-show .phone-img-1 {
  position: absolute;
  z-index: 1;
  top: 409px;
  right: 819px;
  opacity: 1;
  visibility: visible;
  animation-name: device-1;
  /* image-rendering: pixelated; */
}
.tablet-img-1 {
  position: absolute;
  z-index: 1;
  top: 0px;
  right: 100px;
  opacity: 0;
  visibility: hidden;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
  /* image-rendering: pixelated; */
}
.slide-image-show .tablet-img-1 {
  position: absolute;
  z-index: 1;
  top: 407px;
  right: 100px;
  opacity: 1;
  visibility: visible;
  animation-name: device-1;
  /* image-rendering: pixelated; */
}
@keyframes device-1 {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateY(400px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
  }
}
.slide-image-2 {
  /* position: relative; */
}
.tablet-img-2 {
  z-index: 1;
  position: absolute;
  top: 407px;
  right: 100px;
  opacity: 0;
  visibility: hidden;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
  /* image-rendering: pixelated; */
}
.slide-image-show .tablet-img-2 {
  position: absolute;
  z-index: 1;
  top: 407px;
  right: 170px;
  opacity: 1;
  visibility: visible;
  animation-name: device-2;
  /* image-rendering: pixelated; */
}

@keyframes device-2 {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateX(0px);
  }
}
.slide-image-3 {
  /* position: relative; */
}
.phone-img-3 {
  position: absolute;
  z-index: 1;
  top: 407px;
  right: 819px;
  opacity: 0;
  visibility: hidden;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}
.slide-image-show .phone-img-3 {
  position: absolute;
  z-index: 1;
  top: 409px;
  right: 819px;
  opacity: 1;
  visibility: visible;
  animation-name: device-3;
  /* image-rendering: pixelated; */
}
.tablet-img-3 {
  position: absolute;
  z-index: 1;
  top: 407px;
  right: 100px;
  opacity: 0;
  visibility: hidden;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}
.slide-image-show .tablet-img-3 {
  position: absolute;
  z-index: 1;
  top: 407px;
  right: 100px;
  opacity: 1;
  visibility: visible;
  animation-name: device-3;
  /* image-rendering: pixelated; */
}
@keyframes device-3 {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-400px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
  }
}
.slide-image-4 {
  /* position: relative; */
}
.phone-img-4 {
  position: absolute;
  z-index: 1;
  top: 409px;
  right: 819px;
  opacity: 0;
  visibility: hidden;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}
.slide-image-show .phone-img-4 {
  position: absolute;
  z-index: 1;
  top: 409px;
  right: 819px;
  opacity: 1;
  visibility: visible;
  animation-name: device-4;
  /* image-rendering: pixelated; */
}
.tablet-img-4 {
  position: absolute;
  z-index: 1;
  top: 407px;
  right: 100px;
  opacity: 0;
  visibility: hidden;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}
.slide-image-show .tablet-img-4 {
  position: absolute;
  z-index: 1;
  top: 407px;
  right: 100px;
  opacity: 1;
  visibility: visible;
  animation-name: device-4;
  /* image-rendering: pixelated; */
}
@keyframes device-4 {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateX(0px);
  }
}
.circle {
  position: absolute;
  width: 750px;
  height: 750px;
  border-radius: 100%;
  z-index: -1;
  background-color: #4c75e6;
  background-repeat: no-repeat;
  top: 239px;
  right: 57px;
}
.shadow {
  position: absolute;
  width: 1160px;
  height: 321px;
  z-index: 0;
  background: radial-gradient(
    46% 50% at 50% 50%,
    #112336 0%,
    rgba(241, 243, 246, 0) 100%
  );
  /* mix-blend-mode: unset; */
  top: 650px;
  overflow: hidden;
  mix-blend-mode: luminosity;
}

/* feature slider footer  */
.feature-slider-footer {
  margin-top: -184px;
  padding-bottom: 70px;
}
.feature-slider-sign-block {
  display: flex;
  height: 100px;
  justify-content: flex-end;
  border-bottom: 1px solid #d9d9d9;
}

.feature-slider-sign {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
  color: #314b93;
  margin: 75px 8% 0px auto;
  height: 50px;
  width: 438px;
  letter-spacing: 0.4px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f3f6f8;
  text-decoration: none;
}
.feature-slider-sign a {
  text-decoration: none;
  font-family: "Kanit";
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: #4c75e6;
  background: linear-gradient(
    to right,
    midnightblue,
    midnightblue 50%,
    #4c75e6 50%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 100%;
  transition: background-position 275ms ease;
  position: relative;
  z-index: 2;
}
.feature-slider-sign a:hover {
  background-position: 0 100%;
}
@media (max-width: 1499px) {
  .feature-slider-block {
    padding: 50px 0 45px;
  }
  .feature-slider-text-header {
    font-size: 30px;
    line-height: 56px;
    padding-bottom: 6px;
  }
  .feature-slider-text {
    font-size: 18px;
    line-height: 24px;
  }
  .feature-slider-list {
    margin-top: -172px;
  }
  .feature-slider-container {
    padding-left: 44px;
    padding-right: 44px;
    padding-bottom: 32px;
  }
  .slider-text-wrap {
    padding: 214px 44px 85px 44px;
    width: 487px;
    margin-left: 0;
  }
  .slider-text-card {
    margin-bottom: 23px;
  }
  .slider-text-card.active-card {
    padding-left: 19px;
  }
  .slide-number {
    margin-bottom: 11px;
  }
  .active-card .slide-header,
  .slide-header {
    font-size: 18px;
    line-height: 20px;
  }
  .active-card .slide-text,
  .slide-text {
    font-size: 14px;
    line-height: 26px;
    width: 340px;
  }
  .circle {
    width: 506px;
    height: 506px;
    top: 167px;
    right: 25px;
  }
  .slide-image-show .phone-img-3,
  .slide-image-show .phone-img-4,
  .slide-image-show .phone-img-1 {
    position: absolute;
    z-index: 1;
    top: 246px;
    right: 652px;
    max-width: 177px;
  }
  .slide-image-show .tablet-img-1,
  .slide-image-show .tablet-img-2,
  .slide-image-show .tablet-img-3,
  .slide-image-show .tablet-img-4 {
    position: absolute;
    z-index: 1;
    top: 242px;
    right: 68px;
    max-width: 562px;
  }

  .shadow {
    width: 506px;
    height: 205px;
    z-index: 0;
    top: 514px;
    right: 58px;
  }
  .feature-slider-sign-block {
    height: 112px;
  }
  .feature-slider-sign {
    font-size: 16px;
    line-height: 24px;
    margin: 85px 9.3% 0px auto;
    height: 50px;
    width: 298px;
    letter-spacing: 0px;
  }
  .feature-slider-sign a {
    letter-spacing: 0px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-width: 1279px) {
  .feature-slider-text-header {
    font-size: 32px;
    line-height: 56px;
    padding-bottom: 14px;
  }
  .feature-slider-text {
    font-size: 24px;
    line-height: 24px;
  }
  .slider-text-wrap {
    padding: 214px 44px 105px 44px;
    width: 445px;
    margin-left: 0;
  }
  .feature-slider-block {
    padding: 62px 0 45px;
  }
  .feature-slider-list {
    margin-top: -182px;
  }
  .slider-images-block {
    position: relative;
  }
  .slide-image-show .phone-img-3,
  .slide-image-show .phone-img-4,
  .slide-image-show .phone-img-1 {
    position: absolute;
    z-index: 2;
    top: 474px;
    right: 50%;
    transform: translateX(50%);
    max-width: 222px;
  }

  .slide-image-show .tablet-img-1,
  .slide-image-show .tablet-img-2,
  .slide-image-show .tablet-img-3,
  .slide-image-show .tablet-img-4 {
    position: absolute;
    z-index: 1;
    top: 206px;
    right: 50%;
    transform: translateX(50%);
    max-width: 490px;
  }
  @keyframes device-1 {
    from {
      opacity: 0;
      visibility: hidden;
      /* transform: translateY(400px); */
      transform: translate3d(0, 400px, 0);
    }
    to {
      opacity: 1;
      visibility: visible;
      transform: translate3d(50%, 0px, 0);
    }
  }

  @keyframes device-2 {
    from {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, 400px, 0);
    }
    to {
      opacity: 1;
      visibility: visible;
      transform: translate3d(50%, 50%, 50%);
    }
  }
  @keyframes device-3 {
    from {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, -400px, 0);
    }
    to {
      opacity: 1;
      visibility: visible;
      transform: translate3d(50%, 0, 0);
    }
  }
  @keyframes device-4 {
    from {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, 400px, 0);
    }
    to {
      opacity: 1;
      visibility: visible;
      transform: translate3d(50%, 0, 0);
    }
  }
  .slider-text-card {
    margin-bottom: 72px;
  }
  .active-card .slide-header,
  .slide-header {
    width: 280px;
  }
  .active-card .slide-text,
  .slide-text {
    font-size: 16px;
    line-height: 30px;
    width: 270px;
  }
  .shadow {
    width: 506px;
    height: 205px;
    z-index: 0;
    top: 416px;
    right: -70px;
  }
  .circle {
    width: 484px;
    height: 484px;
    top: 258px;
    right: -93px;
    z-index: 0;
  }
  .feature-slider-footer {
    margin-top: -182px;
    padding-bottom: 78px;
  }
  .feature-slider-sign {
    font-size: 16px;
    line-height: 24px;
    margin: 85px 5.7% 0px auto;
    height: 50px;
    width: 298px;
  }
  .feature-slider-sign a {
    font-size: 18px;
    line-height: 24px;
  }
}
@media (max-width: 999px) {
  .slider-images-block {
    position: static;
  }
  .slide-image-show .phone-img-3,
  .slide-image-show .phone-img-4,
  .slide-image-show .phone-img-1 {
    position: absolute;
    z-index: 2;
    top: 474px;
    right: 47px;
    max-width: 222px;
    transform: translateX(0%);
  }

  .slide-image-show .tablet-img-1,
  .slide-image-show .tablet-img-2,
  .slide-image-show .tablet-img-3,
  .slide-image-show .tablet-img-4 {
    position: absolute;
    z-index: 1;
    top: 206px;
    right: -58px;
    max-width: 490px;
    transform: translateX(0%);
  }
  @keyframes device-1 {
    from {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, 400px, 0);
    }
    to {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0, 0, 0);
    }
  }

  @keyframes device-2 {
    from {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, 400px, 0);
    }
    to {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0%, 0%, 0%);
    }
  }
  @keyframes device-3 {
    from {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, -400px, 0);
    }
    to {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0, 0, 0);
    }
  }
  @keyframes device-4 {
    from {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, 400px, 0);
    }
    to {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0, 0, 0);
    }
  }
}
@media (max-width: 799px) {
  .feature-slider-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 32px;
  }
  .feature-slider-block {
    padding: 31px 0 20px;
  }
  .slider-text-block {
    background: transparent;
    flex-basis: 100%;
  }
  .feature-slider-text-header {
    font-size: 20px;
    line-height: 30px;
    padding-bottom: 9px;
  }
  .feature-slider-text {
    font-size: 14px;
    line-height: 30px;
  }
  .feature-slider-list {
    flex-direction: column-reverse;
    flex-wrap: wrap;
    padding-right: 20px;
    padding-left: 20px;
    margin: 0 auto;
  }

  .slide-image-show .tablet-img-1,
  .slide-image-show .tablet-img-2,
  .slide-image-show .tablet-img-3,
  .slide-image-show .tablet-img-4 {
    position: absolute;
    z-index: 1;
    top: 15px;
    left: 41%;
    right: auto;
    transform: translateX(-50%);
    max-width: 244px;
  }
  .slide-image-show .phone-img-3,
  .slide-image-show .phone-img-4,
  .slide-image-show .phone-img-1 {
    position: absolute;
    z-index: 2;
    top: 36px;
    right: 26%;
    transform: translateX(50%);
    max-width: 68px;
  }
  .shadow {
    width: 312px;
    height: 118px;
    z-index: 0;
    top: 112px;
    right: 33%;
    transform: translateX(50%);
  }
  .circle {
    width: 200px;
    height: 200px;
    top: 0;
    right: 33%;
    transform: translateX(50%);
    z-index: 0;
  }
  .slide-number {
    margin-bottom: 0px;
  }
  .slide-number,
  .active-card .slide-number {
    font-size: 14px;
    line-height: 16px;
  }
  .active-card .slide-header,
  .slide-header {
    font-size: 16px;
    line-height: 17px;
    width: 350px;
    margin-bottom: 1;
  }
  .slider-text-card {
    margin-bottom: 20px;
    flex-basis: 100%;
  }
  .active-card .slide-text,
  .slide-text {
    font-size: 14px;
    line-height: 20px;
    width: 300px;
  }
  .slider-text-wrap {
    padding: 214px 0 105px 0;
    width: 320px;
    margin: 0 auto;
  }
  .feature-slider-footer {
    padding-bottom: 20px;
  }
  .feature-slider-sign-block {
    height: 112px;
  }
  .feature-slider-sign {
    margin: 87px 9.6% 0px auto;
    width: 234px;
  }
  .feature-slider-sign a {
    font-size: 14px;
    line-height: 24px;
  }
}
