.hero {
  overflow: hidden;
}

.hero,
.hero-inner,
.hero > .elementor-widget-container {
  height: 100vh;
}

.hero-inner {
  background-size: cover;
  padding: 120px 7% 50px 10%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  color: white;
  width: 50%;
  height: 100%;
  position: relative;
  animation-name: customFadeInLeft;
  animation-fill-mode: forwards;
  animation-duration: 1.25s;
  animation-delay: .25s;
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
}

.hero-inner h1,
.hero-inner h2,
.hero-inner .hero-desc,
.hero-inner .hero-btn {
  z-index: 2;
}

.hero-inner h1 {
  display: flex;
  flex-direction: column;
}

.hero-inner h1::after {
  content: "";
  display: block;
  height: 10px;
  width: 100px;
  background-color: #00865e;
  transform: translateY(10px) skewX(-30deg);
  align-self: flex-end;
  margin: 10px 0;
}

.hero-inner::before {
  content: "";
  display: block;
  width: 55vw;
  height: 0;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  border-top: solid 1500px rgba(0, 0, 0, 0.6);
  border-right: solid 10vw transparent;
}

.hero-inner h1 {
  font-weight: 700;
  line-height: 1;
}

.hero .hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  animation: customKenBurns 20s linear;
}

@keyframes customKenBurns {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.hero .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 0;
  border: none !important;
  background-color: transparent !important;
  position: relative;
  cursor: pointer;
  padding: 13px 30px;
  font-size: 0.8rem;
  min-width: 170px;
  min-height: 40px;
  overflow: hidden;
  background: rgb(222, 74, 16);
  background: -moz-linear-gradient(
    135deg,
    rgba(222, 74, 16, 1) 0%,
    rgba(229, 88, 8, 1) 100%
  ) !important;
  background: -webkit-linear-gradient(
    135deg,
    rgba(222, 74, 16, 1) 0%,
    rgba(229, 88, 8, 1) 100%
  ) !important;
  background: linear-gradient(
    135deg,
    rgba(222, 74, 16, 1) 0%,
    rgba(229, 88, 8, 1) 100%
  ) !important;
  clip-path: polygon(7% 0, 100% 0%, 93% 100%, 0% 100%);
  margin: 10px 0;
  color: white;
  line-height: 1;
  align-self: flex-end;
}

.hero .hero-btn::after {
  content: "";
  display: block;
  background: #fff;
  height: 200px;
  left: -75px;
  opacity: 0.2;
  position: absolute;
  top: -50px;
  -webkit-transform: rotate(30deg);
  transform: rotate(15deg);
  -webkit-transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 50px;
}

.hero .hero-btn:hover::after {
  left: 120%;
  -webkit-transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

@media screen and (max-width: 1440px) {
  .hero-inner {
    padding: 75px 50px 50px 50px;
  }
}

@media screen and (max-width: 1024px) {
  .hero-inner {
    width: 70%;
    padding: 60px 30px 30px 30px;
  }
  .hero-inner::before {
    border-top: solid 1500px rgba(0, 0, 0, 0.6);
    border-right: solid 15vw transparent;
    width: 80vw;
  }
  .hero,
  .hero-inner,
  .hero > .elementor-widget-container {
    height: 70vh;
  }
}

@media screen and (max-width: 767px) {
  .hero-inner {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
    animation-name: customFadeInDown;
    padding: 60px 25px 25px 25px;
    width: 100%;
  }

  .hero-inner::before {
    width: 100%;
    height: 100%;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .hero .hero-btn {
    align-self: center;
  }
  .hero,
  .hero-inner,
  .hero > .elementor-widget-container {
    height: 100vh;
  }
  .hero .hero-btn {
    margin: 30px 0;
  }
}

@keyframes customFadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes customFadeInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
