.text-icon {
  padding: 50px 0 34px;
}

.text-icon-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  justify-content: center;
}

.text-icon-heading-image {
  width: 90px;
  position: absolute;
  top: 2px;
  left: 20px;
}

.text-icon-heading h2 {
  padding: 0 0 0 125px;
  letter-spacing: 0.05em;
  font-size: 35px;
  line-height: 1.285em;
}

.text-icon-heading p {
  text-align: center;
  padding: 20px 10px 0;
}

.text-icon-column {
  text-align: center;
  padding: 0 3px;
  margin-top: 24px;
  cursor: help;
}

.text-icon-column-image {
  width: 80px;
  height: 80px;
  background-color: #eef4e1;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.text-icon-column:hover .text-icon-column-image {
  background-color: #8cb23e;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.text-icon-column:hover .text-icon-column-image img {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

.text-icon-column h5 {
  font-size: 16px;
  font-weight: 600;
  color: #273a91;
  padding: 12px 0 0;
  line-height: 1.5em;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.text-icon-image {
  height: 195px;
  position: relative;
  z-index: 1;
}

.text-icon-image::before {
  content: "";
  width: 86px;
  height: 128px;
  position: absolute;
  border-radius: 0;
  right: -13px;
  bottom: -53px;
  background-color: #eef4e1;
  z-index: -1;
}

.text-icon-image img {
  border-radius: 0;
  -o-object-position: top;
  object-position: top;
}

.text-icon-image-content {
  text-align: center;
  margin-top: -27px;
  overflow: hidden;
}

.text-icon-image-content .btn {
  flex: 0 1 auto;
  margin: 0;
}

.text-icon-image-right {
  position: relative;
  padding: 18px 0 70px;
  margin-top: 34px;
  z-index: 1;
}

.text-icon-image-right::before {
  content: "";
  width: 240px;
  height: 126px;
  position: absolute;
  border-radius: 0;
  left: -28px;
  top: 0;
  background: linear-gradient(
    90deg,
    rgba(178, 207, 119, 1) 0%,
    rgba(255, 255, 255, 1) 94%
  );
  z-index: -1;
}

.text-icon-image-right::after {
  content: "";
  width: 91px;
  height: 91px;
  position: absolute;
  border-radius: 0;
  right: 35px;
  bottom: 0;
  background-color: rgba(238, 244, 225, 0.4);
  z-index: -1;
}

.text-icon-image-border {
  position: absolute;
  bottom: -35px;
  right: -50px;
  z-index: 1;
  width: 85px;
}

.text-icon-text {
  display: none;
}

/* Blue Color Theme */
.text-icon--theme-blue {
  padding: 14px 0 50px;
  background: linear-gradient(
    45deg,
    rgba(238, 240, 247, 1) 7%,
    rgba(255, 255, 255, 1) 94%
  );
}

.text-icon--theme-blue .text-icon-heading-image {
  width: 79px;
  top: 13px;
  left: 9px;
}

.text-icon--theme-blue .text-icon-heading h2 {
  padding: 0 0 0 106px;
}

.text-icon--theme-blue .text-icon-heading {
  padding-bottom: 10px;
}

.text-icon--theme-blue .text-icon-column-image {
  background-color: #dee1ef;
}

.text-icon--theme-blue .text-icon-image-right {
  padding: 0px 0 70px;
}

.text-icon--theme-blue .text-icon-image-right::before {
  width: 193px;
  height: 193px;
  border-radius: 0;
  left: -86px;
  top: unset;
  bottom: 0;
  background: rgba(222, 225, 239, 0.4);
}

.text-icon--theme-blue .text-icon-image-right::after {
  content: "";
  width: 85px;
  height: 80px;
  border-radius: 0;
  right: unset;
  left: 60px;
  bottom: 46px;
  background: rgba(222, 225, 239, 0.74);
}

.text-icon--theme-blue .text-icon-image::before {
  content: "";
  width: 91px;
  height: 91px;
  position: absolute;
  border-radius: 0;
  right: -13px;
  bottom: -53px;
  background: rgba(222, 225, 239, 0.4);
  z-index: -1;
}

.text-icon--theme-blue .text-icon-column:hover .text-icon-column-image {
  background-color: #273a91;
}

/* Orange Theme Color */
.text-icon--theme-orange .text-icon-heading-image {
  width: 105px;
  left: 0;
}

.text-icon--theme-orange .text-icon-heading h2 {
  padding: 19px 0 21px 106px;
}

.text-icon--theme-orange .text-icon-wrap {
  margin-top: 10px;
}

.text-icon--theme-orange .text-icon-column-image {
  background-color: #fce8de;
}

.text-icon--theme-orange .text-icon-image-right::before {
  background: linear-gradient(
    90deg,
    rgba(233, 99, 37, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.text-icon--theme-orange .text-icon-image::before {
  background: linear-gradient(
    310deg,
    rgba(242, 162, 125, 0.38) 0%,
    rgba(255, 255, 255, 0.38) 100%
  );
}

.text-icon--theme-orange .text-icon-image-right::after {
  background-color: rgba(242, 162, 125, 0.05);
}

.text-icon--theme-orange .text-icon-column:hover .text-icon-column-image {
  background-color: #e96325;
}

@media (min-width: 768px) {
  .text-icon {
    padding: 82px 0 24px;
  }

  .text-icon-heading {
    justify-content: start;
    padding-left: 174px;
  }

  .text-icon-heading-image {
    width: 173px;
    left: -15px;
  }

  .text-icon-heading h2 {
    padding: 0;
  }

  .text-icon-heading p {
    text-align: left;
    padding: 0 0;
  }

  .text-icon-heading h2 {
    font-size: 45px;
    padding: 0 0 20px;
  }

  .text-icon-column-image {
    width: 92px;
    height: 92px;
  }

  .text-icon-column {
    margin-top: 39px;
    padding: 0 6px;
  }

  .text-icon-wrap {
    margin-top: 32px;
  }

  .text-icon-image-right {
    padding: 30px 58px 41px;
    margin-top: 44px;
  }

  .text-icon-image {
    height: 321px;
  }

  .text-icon-image-content {
    margin-top: 0;
    text-align: left;
    padding: 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .text-icon-image-content p {
    width: 313px;
    padding: 0;
  }

  .text-icon-image-content .text-icon-text.is-active {
    flex: 1;
  }

  .text-icon-image-content .btn {
    margin-left: 17px;
  }

  .text-icon-image-content:not(.has-text) .btn {
    margin: 0 auto;
  }

  .text-icon-image::before {
    width: 140px;
    height: 209px;
    right: -56px;
    bottom: -93px;
  }

  .text-icon-image-border {
    right: -71px;
  }

  .text-icon-image-right::before {
    content: "";
    width: 395px;
    height: 209px;
    position: absolute;
    border-radius: 0;
    left: 0px;
    top: 0;
    z-index: -1;
  }

  .text-icon-image-right::after {
    width: 150px;
    height: 150px;
    right: 81px;
  }

  .text-icon-text {
    display: block;
    width: 0;
    height: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
    transition: opacity 0.3s var(--easing-enter),
      -webkit-transform 0.3s var(--easing-enter);
    transition: transform 0.3s var(--easing-enter),
      opacity 0.3s var(--easing-enter);
    transition: transform 0.3s var(--easing-enter),
      opacity 0.3s var(--easing-enter),
      -webkit-transform 0.3s var(--easing-enter);
  }

  .text-icon-text.is-active {
    width: auto;
    height: auto;
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  .text-icon--theme-blue .text-icon-heading h2 {
    padding: 0 0 21px;
    font-size: 35px;
  }

  .text-icon--theme-blue .text-icon-heading-image {
    width: 150px;
    top: 0;
    left: 0;
  }

  .text-icon--theme-blue .text-icon-heading {
    padding-bottom: 0px;
  }

  .text-icon-wrap {
    margin-top: 5px;
  }

  .text-icon--theme-blue .text-icon-image-right {
    padding: 0px 58px 30px;
  }

  .text-icon--theme-blue .text-icon-image-right::before {
    width: 230px;
    height: 230px;
    left: -29px;
  }

  .text-icon--theme-blue {
    padding: 71px 0 45px;
  }

  .text-icon--theme-blue .text-icon-image-right::after {
    width: 102px;
    height: 96px;
    left: 142px;
    bottom: 56px;
  }

  .text-icon--theme-blue .text-icon-image::before {
    width: 153px;
    height: 153px;
    right: -44px;
    background: rgb(222, 225, 239);
    background: linear-gradient(
      63deg,
      rgba(222, 225, 239, 0.7) 0%,
      rgba(254, 254, 254, 1) 100%
    );
  }

  .text-icon--theme-blue .text-icon-image-border {
    right: -62px;
  }

  .text-icon--theme-orange .text-icon-heading-image {
    width: 167px;
    left: -20px;
  }

  .text-icon--theme-orange .text-icon-heading h2 {
    padding: 0 0 18px;
    font-size: 35px;
  }

  .text-icon--theme-orange .text-icon-heading {
    padding-left: 181px;
  }

  .text-icon--theme-orange .text-icon-image-right::before {
    width: 200px;
    height: 334px;
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(233, 99, 37, 1) 100%
    );
  }
}

@media (min-width: 1200px) {
  .text-icon {
    padding: 100px 0;
  }

  .text-icon-heading {
    width: 955px;
    padding-left: 214px;
    min-height: 171px;
    justify-content: center;
    align-items: unset;
    flex-direction: column;
  }

  .text-icon-heading-image {
    width: 197px;
  }

  .text-icon-heading h2 {
    padding: 0 0 10px;
  }

  .text-icon-left {
    width: 620px;
  }

  .text-icon-image-right {
    width: calc(100% - 620px);
    margin-top: 70px;
    padding: 30px 78px 0 30px;
  }

  .text-icon-column h5 {
    line-height: 1.5em;
  }

  .text-icon-wrap {
    margin-top: 19px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .text-icon-image-right::after {
    width: 230px;
    height: 230px;
    right: 0;
    bottom: unset;
    top: -125px;
  }

  .text-icon-image-right::before {
    content: "";
    width: 334px;
    height: 209px;
  }

  .text-icon-image-content p {
    width: 386px;
  }

  .text-icon-image-content {
    display: block;
    margin-left: -30px;
    position: relative;
    z-index: 2;
  }

  .text-icon-text.is-active {
    margin-bottom: 26px;
  }

  .text-icon-image-content .btn {
    margin: 0 30px 0 auto;
    display: table;
  }

  .text-icon-image::before {
    right: -65px;
    bottom: -93px;
  }

  .text-icon-image-border {
    right: -80px;
  }

  .text-icon-image-content p a {
    display: inline-block;
  }

  .text-icon--theme-blue .text-icon-heading-image {
    width: 184px;
  }

  .text-icon--theme-blue .text-icon-heading h2 {
    padding: 0 0 21px;
    font-size: 45px;
  }

  .text-icon--theme-blue .text-icon-heading {
    width: 1043px;
  }

  .text-icon--theme-blue .text-icon-wrap {
    flex-direction: row-reverse;
    margin-top: 0;
  }

  .text-icon--theme-blue .text-icon-image-right {
    padding: 0px 78px 56px 0px;
    margin-top: 108px;
  }

  .text-icon--theme-blue .text-icon-image-content {
    width: 100%;
    margin: 0;
    padding: 40px 0 0;
  }

  .text-icon--theme-blue .text-icon-image-right::before {
    left: -122px;
  }

  .text-icon--theme-blue .text-icon-image-right::after {
    width: 102px;
    height: 96px;
    left: 53px;
    top: unset;
    bottom: -17px;
  }

  .text-icon-image img {
    -o-object-position: center;
    object-position: center;
  }

  .text-icon--theme-blue .text-icon-image::before {
    right: -65px;
  }

  .text-icon--theme-blue .text-icon-image-border {
    right: -78px;
    bottom: -38px;
  }

  .text-icon--theme-orange .text-icon-heading h2 {
    padding: 0 0 18px;
    font-size: 45px;
    letter-spacing: unset;
  }

  .text-icon--theme-orange .text-icon-heading-image {
    width: 200px;
    left: -16px;
  }

  .text-icon--theme-orange .text-icon-heading {
    padding-left: 218px;
  }

  .text-icon--theme-orange .text-icon-wrap {
    margin-top: 22px;
  }

  .text-icon--theme-orange .text-icon-image-right {
    margin-top: 120px;
    padding: 38px 78px 0 30px;
  }

  .text-icon--theme-orange .text-icon-image-right::before {
    width: 209px;
  }

  .text-icon--theme-orange .text-icon-image-content p a {
    display: unset;
  }

  .text-icon--theme-orange .text-icon-image::before {
    bottom: -77px;
    background: rgb(242, 162, 125);
    background: linear-gradient(
      0deg,
      rgba(242, 162, 125, 0.38) 0%,
      rgba(255, 255, 255, 0.38) 100%
    );
  }

  .text-icon-column {
    padding: 0 0;
  }
}

@media (min-width: 1310px) {
  .text-icon-image-right {
    width: 570px;
  }
}
