.ai-cta-line-link {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  border-top: 1px solid #C39F5D;
  border-bottom: 1px solid #C39F5D;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
}

.ai-cta-line-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 120px;
  max-width: 100%;
  width: 86vw;
  margin: 0 auto;
  position: relative;
  z-index: 11;
}

.ai-cta-line-content-left {
  width: 100%;
}

.ai-cta-line-content-left h3, .ai-cta-line-content-left p {
  padding: 0;
  margin-bottom: 0 !important;
  line-height: 35px;
}

.ai-cta-line-content-left h3 {
  margin-bottom: 10px !important;
}

.ai-cta-line-background-image {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: scale(1);
  transition: all 2s ease;
}

.ai-cta-line-background-image::before, .ai-cta-line-background-image::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.ai-cta-line-background-image::after {
  background-color: #fff;
  transform-origin: right;
  transform: scaleX(1);
  transition: .7s ease-in-out;
}

.ai-cta-line-link:hover {
  background-color: transparent;
  transition: all 0.5s ease;
}

.ai-cta-line-link:hover .ai-cta-line-background-image::after {
  transform: scaleX(0);
  transition: all 1s ease;
}

.ai-cta-line-link:hover .ai-cta-line-background-image {
  transform: scale(1);
  transition: all 1s ease;
}

.ai-cta-line-link .ai-cta-line-content-left h3 .ai-icon-text-title {
  display: block;
  height: 30px;
  position: relative;
  overflow: hidden;
}

.ai-cta-line-link .ai-cta-line-content-left p {
  display: block;
  height: 30px;
  position: relative;
  overflow: hidden;
}

.ai-cta-line-link .ai-cta-line-content-left h3 .ai-icon-text-title span {
  position: absolute;
}

.ai-cta-line-link .ai-cta-line-content-left p span{
  position: absolute;
}

/* Reveal Animation */

/* Heading 3 Animation */
.ai-cta-line-link:hover .ai-cta-line-content-left h3 .ai-icon-text-title span {
  animation-name: text_reveal_animation;
  animation-duration: 0.5s;
}

/* Animating the paragraph */
.ai-cta-line-link:hover .ai-cta-line-content-left p span{
  animation-name: text_reveal_animation;
  animation-duration: 0.7s;
}



@keyframes text_reveal_animation {
  0% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0px);
  }
}
