.features {
  background-color: var(--color-black);
  position: relative;
  background-image: url(../images/bg2.png);
  width: 100%;
  background-size: contain;
  background-repeat: repeat;
}
.title-features {
  margin-bottom: 80px;
}
.title-features h2 {
  color: var(--color-white);
  font-size: 28px;
  transition: all 0.2s linear;

  font-size: "font_bold";
  text-align: center;
}

.sub-features {
  background-color: var(--color-white);
  padding: 20px;
  position: relative;
  border-radius: 20px;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  min-height: 300px;
}
.sub-features::after {
  content: "";
  position: absolute;
  transition: all 0.2s linear;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  z-index: -1;
  top: -60px;
  right: -60px;
  background-color: var(--color-Primary1);
}
.sub-features:hover:after {
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  border-radius: 0;
}
.sub-features:hover h2,
.sub-features:hover p {
  color: var(--color-white);
}
.img-features {
  max-width: 80px;
  max-height: 80px;
}
.img-features img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.text-features {
  margin-top: 35px;
}
.text-features h2 {
  font-size: 20px;
  font-family: "font_medium";
  color: var(--color-Primary1);
}
.text-features p {
  transition: all 0.2s linear;

  color: #8a8a8a;
}

.title {
  margin: 0px 0 90px;
  text-align: center;
}
.title h2 {
  font-size: 28px;
  color: var(--color-Primary1);
  position: relative;
  font-family: "font_bold";
}

.title p {
  font-size: 19px;
  width: 50%;

  margin: 20px auto;
  color: #454545;
}

.title_sub_aboutus {
  display: flex;
  gap: 20px;
  margin: 0 0 20px;
  align-items: self-start;
}

.title_sub_aboutus h2 {
  font-size: 22px;
  font-family: "font_bold";
}
.title_sub_aboutus span {
  background: radial-gradient(
    49.03% 61.11% at 50% 49.31%,
    #ff8383 0%,
    #ff4040 100%
  );
  display: flex;
  align-items: center;
  font-size: 25px;
  color: #fff;
  justify-content: center;
  width: 45px;
  padding-bottom: 5px;
  z-index: 1;
  height: 45px;
  border-radius: 5px 5px 5px 20px;
  position: relative;
  margin: 0 10px 10px 0;
}

.title_sub_aboutus span::after {
  content: "";
  border: 2px solid #ff4040;
  position: absolute;
  bottom: 0;
  z-index: -1;
  right: 0;
  border-radius: 5px 5px 5px 20px;
  width: 100%;
  height: 100%;
  animation: title 3.5s infinite;
}

@keyframes title {
  0% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(7px) translateY(7px);
  }

  100% {
    transform: translateX(0) translateY(0);
  }
}
.sub_aboutus {
  display: flex;
  gap: 15px;
  padding: 0 0 110px;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
  justify-content: space-between;
}
.text_aboutus {
  width: 49%;
}
.img_aboutus {
  width: 42%;
}

.arrow_sub_aboutus {
  position: absolute;
  bottom: 0;
}
.arrow_sub_aboutus object {
  width: 86%;
}
.text_aboutus p {
  font-size: 19px;
}
.arrow_sub_aboutus {
  position: absolute;
  bottom: 0;
  left: 7%;
  z-index: -1;
}
.sub_aboutus:nth-child(odd) {
  direction: ltr;
}
.sub_aboutus:nth-child(odd) .text_aboutus {
  direction: rtl;
}
.sub_aboutus:nth-child(odd) .arrow_sub_aboutus {
  transform: scaleX(-1);
  left: auto;
  right: 7%;
}

.sub_aboutus:last-of-type {
  padding-bottom: 0;
}

.img_sub_features {
  width: 100%;
}

.sub_features {
  display: flex;
  background-image: linear-gradient(to right, #1b325f, #f26c4f);
  min-height: 450px;
  border: 1px solid #cbcbcb;
  background: #ededed;
  box-shadow: 0px 7px 10px 0px rgba(45, 45, 45, 0.11);
  align-items: center;
}
.text_sub_features h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 27px;
}
.text_sub_features p {
  color: #fff;
  font-size: 16px;
  width: 80%;
}

.sub-brand {
  border: 1px solid #cbcbcb;
}
.sub-brand {
  height: 200px;
  display: flex;
  text-align: center;
  align-items: center;
  position: relative;
  justify-content: center;
}
.sub-brand img {
  max-width: 70%;
  max-height: 70%;
}

.trademarks .row {
  row-gap: 15px;
}

.sub-brand::before {
  content: "";
  width: 40px;
  transition: all 0.5s linear;
  pointer-events: none;
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 40px;
  border-bottom: 3px solid #c52326;
  border-left: 3px solid #c52326;
}
.sub-brand::after {
  content: "";
  width: 40px;
  transition: all 0.5s linear;
  pointer-events: none;
  position: absolute;
  top: 0px;
  right: 0px;
  height: 40px;
  border-top: 3px solid #c52326;
  border-right: 3px solid #c52326;
}
.sub-brand:hover::after,
.sub-brand:hover::before {
  width: 100%;
  opacity: 1;
  height: 100%;
}

.trademarks {
  background: var(--color-Primary3);
}
