.dark-features {
  padding: 37.5px 52.5px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .dark-features {
    padding: 37.5px;
  }
}

@media (max-width: 767.98px) {
  .dark-features {
    padding: 22.5px;
  }
}

/* Title */
.dark-features .dark-features-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 15px 0;
}

.dark-features .dark-features-title h2 {
  font-size: 31px;
  line-height: 40px;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .dark-features .dark-features-title h2 {
    font-size: 24px;
    line-height: 30px;
  }
}

/* Features Wrapper */
.dark-features-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 37px 0;
}

@media (max-width: 1024px) {
  .dark-features-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .dark-features-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

.dark-features-wrapper .dark-features-wrapper-feature {
  position: relative;
  transition: .7s;
}

.dark-features-wrapper-feature .dark-features-wrapper-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dark-features-wrapper-feature .dark-features-wrapper-image img {
  object-fit: cover;
}

.dark-features-wrapper-feature .dark-features-wrapper-image > div {
  position: relative;
  max-width: 114px;
  max-height: 114px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Content */
.dark-features-wrapper-feature .dark-features-wrapper-content > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  font-size: 14rem;
  opacity: .2;
  z-index: -1;
}

.dark-features-wrapper-content .dark-features-wrapper-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  text-align: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .dark-features-wrapper-content .dark-features-wrapper-text {
    padding: 0 18px;
  }
}

.dark-features-wrapper-content .dark-features-wrapper-text h4 {
  font-size: 21px;
  font-weight: 600;
  line-height: 28px;
  transition: .3s;
  margin: 0;
}

@media (max-width: 767.98px) {
  .dark-features-wrapper-content .dark-features-wrapper-text h4 {
    font-size: 17px;
    line-height: 20px;
  }
}

.dark-features-wrapper-content .dark-features-wrapper-text p {
  font-size: 15px !important;
  width: 100%;
  opacity: .8;
}

.dark-features-wrapper-content .dark-features-wrapper-text button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 100%;
  overflow: hidden;
  background-color: transparent !important;
  border: none !important;
}


.dark-features-wrapper-content .dark-features-wrapper-text button span:nth-child(1) {
  transition: .5s;
  transition-delay: 75ms;
}

@media (min-width: 1200px) {
  .dark-features-wrapper-content .dark-features-wrapper-text button span:nth-child(1) {
    text-indent: -7rem;
  }
}

.dark-features-wrapper-content .dark-features-wrapper-text button:hover span:nth-child(1) {
  text-indent: 0;
}

.dark-features-wrapper-content .dark-features-wrapper-text button span:nth-child(2) {
  transition: .5s;
}

@media (min-width: 1200px) {
  .dark-features-wrapper-content .dark-features-wrapper-text button span:nth-child(2) {
    transform: rotate(-45deg);
  }
  .rtl .dark-features-wrapper-content .dark-features-wrapper-text button span:nth-child(2) {
    transform: rotate(45deg);
  }
}

.dark-features-wrapper-content .dark-features-wrapper-text button:hover span:nth-child(2) {
  transform: rotate(0);
  color: var(--primary-color);
}

.rtl .dark-features-wrapper-content .dark-features-wrapper-text button span .fa-arrow-right:before {
  content: "\f060";
}