.pages-hero {
  width: 100%;
  height: 320px;
}
.pages-hero img {
  position: absolute;
  inset: 0;
}
.pages-hero__mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(1deg, rgba(18, 31, 62, 0.9) 0%, rgba(18, 31, 62, 0) 100%);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.dark-mode .pages-hero__mask {
  background: linear-gradient(1deg, rgba(170, 184, 197, 0.9) 0%, rgba(170, 184, 197, 0) 100%);
}

.pages-header {
  top: -119px;
  margin-bottom: -119px;
  z-index: 5;
}
.pages-header__mask {
  position: absolute;
  inset: 8px;
  bottom: -8px;
  border-radius: 32px;
  opacity: 0.5;
  background: var(--white);
  z-index: 1;
}
.pages-header__overlay-img {
  width: 280px;
  height: 280px;
  position: absolute;
  right: 16px;
  bottom: 16px;
  top: auto;
}
@media (max-width: 991px) {
  .pages-header__overlay-img {
    width: 140px;
    height: 140px;
    bottom: auto;
    top: 0;
  }
}
.rtl .pages-header__overlay-img {
  right: auto;
  left: 16px;
}

.pages-content p, .pages-content span {
  color: var(--gray-500);
  margin-top: 16px;
}
.pages-content img, .pages-content video, .pages-content iframe {
  border-radius: 16px;
  max-width: 100% !important;
}
.pages-content h1, .pages-content h2, .pages-content h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--black);
  margin-top: 24px;
}

.features-4x-section{
    padding: 70px 0;
}
.features-4x-section__card-item .inner-title{
    color: #012f28;
    font-size: 24px;
    line-height: 25px;
    padding: 18px 0;
}
.features-4x-section__card-item .inner-text{
    color: #4f4f4f;
    font-size: 16px;
    line-height: 23px;
    padding: 18px 0;
    padding-top: 0;
}

.horizontal-stepper_div{
    padding: 70px 0;
    padding-bottom: 0;
}
.horizontal-stepper {
    padding: 80px 0;
}

.horizontal-stepper__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Item */
.horizontal-stepper__item {
    width: 18%;
    text-align: center;
    position: relative;
}

/* Zig-zag */
.horizontal-stepper__item.up {
    margin-bottom: 140px;
}

.horizontal-stepper__item.down {
    margin-top: 0;
}

/* Circle (white core with gradient ring feel) */
.horizontal-stepper__circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(147deg, rgb(49 62 59), rgb(1 55 47));
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: inset 5px -2px 14px 0px #d5d52b6b, inset 5px 0 #d5d52b, 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Gradient ring illusion */
.horizontal-stepper__circle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: -1;
}

/* Colours */
.horizontal-stepper__circle.pink::before {
    background: linear-gradient(135deg, #ff2f92, #ff6aa9);
}

.horizontal-stepper__circle.purple::before {
    background: linear-gradient(135deg, #7b2ff7, #9d4edd);
}

.horizontal-stepper__circle.blue::before {
    background: linear-gradient(135deg, #2b59ff, #4f8cff);
}

/* Icon */
.horizontal-stepper__icon {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Text */
.horizontal-stepper__item h5 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
}

.horizontal-stepper__item p {
    font-size: 17px;
    color: #777676;
    line-height: 24px;
}
.horizontal-stepper {
    position: relative;
    padding: 40px 0;
    padding-bottom: 0;
    text-align: center;
}

/* SVG connector */
.horizontal-stepper__connector {
    position: absolute;
    top: 20%;
    left: 85px;
    width: 100%;
    height: 200px;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

.horizontal-stepper__connector path {
    fill: none;
    stroke: #d5d52b;
    stroke-width: 2px;
    stroke-dasharray: 5 6;
}

.horizontal-stepper_div .btn {
    display: inline-block;
    border: 2px solid transparent;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
    width: auto;
    height: auto;
    font-weight: 500;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 50px;
}


@media (max-width: 767px) {
    .features-4x-section__card-item .inner-title {
        color: #012f28;
        font-size: 24px;
        line-height: 25px;
        padding: 18px 0;
        margin-bottom: 0;
    }
    .features-4x-section {
        padding: 30px 0;
    }
    .horizontal-stepper__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        min-height: 100%;
        flex-direction: column;
    }
    .horizontal-stepper__item {
        width: 100%;
        text-align: center;
        position: relative;
    }
    .horizontal-stepper__item.up, .horizontal-stepper__item.down {
        margin-bottom: 20px;
    }
    .horizontal-stepper__connector {display: none;}
    .horizontal-stepper_div{
        padding: 30px 0;
    }
}