/* ==== 
 --------- (5.05) cta section styles start ---------
 ==== */
.cta-section {
  overflow: hidden;

  .container-fluid {
    padding: 0px;
  }

  .row > * {
    padding: 0px;
  }

  .cta-section__single {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0px;
    z-index: 1;
  }

  .cta-img {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    z-index: -2;

    .parallax-image-wrap,
    .parallax-image-inner {
      position: absolute;
      inset: 0px;
      width: 100%;
      height: 100%;
    }

    img {
      width: 100%;
      height: 100%;
    }
  }

  .cta-section__center {
    z-index: 2;
    background-image: url("../images/mask-two.png");
    background-size: 100% 100%;
    position: relative;
    width: 120%;
    left: 50%;
    transform: translateX(-50%);
    .cta-img {
      mask-image: url("../images/mask.png");
      mask-repeat: no-repeat;
      mask-position: center;
      mask-size: 99% 100%;

      img {
        object-position: left;
      }
    }
  }

  .cta-section__first {
    position: relative;
    z-index: 1;
    &::before {
      content: "";
      position: absolute;
      inset: 0px;
      background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
      );
      z-index: -1;
    }
  }

  .cta-section__last {
    position: relative;
    z-index: 1;
    &::before {
      content: "";
      position: absolute;
      inset: 0px;
      background: linear-gradient(
        -104deg,
        rgba(12, 26, 23, 0) 1.9%,
        rgba(0, 113, 93, 0.08) 18.93%,
        rgba(0, 113, 93, 0.17) 29.72%,
        rgba(0, 113, 93, 0.37) 47.05%,
        rgba(0, 113, 93, 0.67) 56.36%,
        #00715d 73.4%,
        #00715d 95.2%,
        rgba(0, 113, 93, 0.91) 103.44%
      );
      z-index: -1;
    }
  }

  .cta-section__group {
    text-align: center;
  }

  .thumb {
    margin-bottom: 25px;
    i {
      font-size: 60px;
      color: var(--white);
    }
  }

  h3,
  span {
    color: var(--white);
  }

  span {
    font-size: 14px;
  }

  h3 {
    margin-top: 5px;
    font-weight: 700;
  }

  .cta-s {
    margin-top: 32px;
  }

  .video-btn-wrapper {
    position: relative;
    transform: none;
    inset: unset;
    &::after {
      content: "";
      position: absolute;
      inset: 10px;
      border: 1px dashed var(--black);
      border-radius: 50%;
      z-index: 1;
      pointer-events: none;
    }

    i {
      margin-inline-start: 5px;
    }
  }

  .btn--tertiary,
  .btn--primary {
    padding: 20px 40px;
    border-radius: 60px;
    &::before,
    &::after {
      border-radius: 0px;
    }
  }

  .btn--tertiary {
    &::before,
    &::after {
      background-color: var(--quaternary-color);
      width: 52%;
    }
    &:hover {
      &::before,
      &::after {
        width: 0px;
      }
    }
  }
}

// cta two
.cta-section-two {
  padding: 100px 0px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  &::before {
    content: "";
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      -104deg,
      rgba(12, 26, 23, 0) 1.9%,
      rgba(9, 31, 27, 0.08) 37.31%,
      rgba(9, 31, 27, 0.17) 40.18%,
      rgba(9, 31, 27, 0.37) 47.05%,
      rgba(9, 31, 27, 0.67) 56.36%,
      #091f1b 73.4%,
      #091f1b 95.2%,
      rgba(9, 31, 27, 0.91) 103.44%
    );
    z-index: -3;
  }
  .sub-title {
    color: var(--base-color);
  }
  h2 {
    color: var(--white);
  }

  .banner__content-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .btn--tertiary,
  .btn--primary {
    padding: 18px 40px;
    border-radius: 60px;
    font-weight: 700;
    gap: 8px;
    &::before,
    &::after {
      border-radius: 0px;
    }
    i {
      transform: rotate(-45deg);
      transition: transform 0.5s ease, color 0s ease;
      font-size: 18px;
    }
    &:hover {
      i {
        transform: rotate(0deg);
      }
    }
  }

  .cta-bg {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    z-index: -4;

    img {
      width: 100%;
      height: 100%;
    }
  }

  .parallax-image-wrap,
  .parallax-image-inner {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
  }

  .shape-left {
    position: absolute;
    inset-inline-start: 0px;
    top: -50px;
    bottom: 0px;
    z-index: -2;
    img {
      animation: moveTopBottom 4s ease-in-out infinite;
    }
  }

  .shape {
    position: absolute;
    inset-inline-start: 0px;
    inset-inline-end: 0px;
    bottom: -20px;
    z-index: 1;
    img {
      width: 100%;
      height: 40px;
      object-position: top;
    }
  }
}

/* ==== 
 --------- (5.05) cta section styles end ---------
 ==== */
