/* ANIMATIONS */

@media screen and (min-width: 850px) {
  .hero-section {

  }
  
  .hero-inner {
    min-height: 1100px;
    max-height: 1100px;
    padding: 270px 0 200px !important;
  }
  
  .show-for-mobile {
    display: none; 
  }
}

@media screen and (max-width: 850px) {
  .hide-for-mobile {
    display: none;
  }
  
  .show-for-mobile {
    display: block;
    width: 95%; 
    margin: 25px auto 0;
  }
  
  .show-for-mobile img {
    min-width: 100%;
    max-width: 100%:
  }

  .hero-copy {
    width: 100%; 
    min-width: 100%;
    text-align: left;
  }

  .hero-image {
    width: 100%; 
  }

}

.hero-copy {
  width: 60%; 
  min-width: 60%;
  transition: 0.5s ease-in-out;
}

.hero-image {
  width: 40%; 
  transition: 0.5s ease-in-out;
}

.hero-inner {
  max-width: 80%;
  margin: 0 auto; 
  transition: 0.5s ease-in-out;
}

.copy-hider {
  visibility: hidden; 
  transition: 0.5s ease-in-out;
}

.hero-copy h1::after {
  animation: textChange 4s linear 1s 1;
  animation-fill-mode: forwards;
  content: "We enable insight";  
  transition: 0.5s ease-in-out;
}

.copy-hider {
  animation: copyHide 4s linear 1s 1;
  animation-fill-mode: forwards;
  transition: 0.5s ease-in-out;
}

.large-image {
  width: 100%; 
  height: 565px;
  animation: imageChange 4s linear 1s 1;
  animation-fill-mode: forwards;
  background-size: cover; 
  background-repeat: no-repeat;
  background-image: url("https://www.vantagepoint.consulting/hubfs/Website/2022%20SpotDev%20Theme/Images/HeroNoshape-4.jpg");
  background-color: transparent;
  background-position: center right; 
  transition: 0.5s ease-in-out;
}


.moving-rectangle {
  width: 187px;
  height: 262px;
  background-color: #EDA95C;
  opacity: 0.7;
  z-index: 200;
  mix-blend-mode: ligthen;
  position: absolute;
  animation: recMove 4s linear 1s 1;
  animation-fill-mode: forwards;
  visibility: visible;
  top: -8%;
   right: -6%;
}

.moving-circle {
  width: 262px; 
  height: 262px; 
  border-radius: 100%;  
  mix-blend-mode: lighten; 
  opacity: 0.7;
  z-index: 190;
  position: absolute;
  animation: circleColour 4s linear 1s 1;
  animation-fill-mode: forwards;
  background-color: #e61e46;
  top: 16%;
  left: 27%;
}

@keyframes textChange {

  0% {
    content: "We enable insight";  
  }

  10% {
    content: "We enable insight";  
  }

  15% {
    content: "We provide direction";  

  } 

  33% {
    content: "We provide direction";  
  } 

  45% {
    content: "We deliver value";  
  }

  66% {
    content: "We deliver value";  
  }

  80% {
    content: "Unify your data, people and processes - at pace";
  }

  100% {
    content: "Unify your data, people and processes - at pace";
  }
}

@keyframes copyHide {

  0% {
    visibility: hidden;
    opacity: 0;
  }

  15% {
    visibility: hidden;
    opacity: 0;
  } 

  33% {
    visibility: hidden;
    opacity: 0;
  } 

  45% {
    visibility: hidden;
    opacity: 0;
  }

  66% {
    visibility: visible;
    opacity: 0;
  }

  80% {
    visibility: visible;
    opacity: 0;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes imageChange {
  0% {
    background-image: url("https://www.vantagepoint.consulting/hubfs/Website/2022%20SpotDev%20Theme/Images/HeroNoshape-4.jpg");
    background-color: transparent;
    background-position: center right; 
  }

  15% {
    background-image: url("https://www.vantagepoint.consulting/hubfs/HeroNoShape2.jpg");
    background-color: transparent;
    background-position: center center; 
  } 

  33% {
    background-image: url("https://www.vantagepoint.consulting/hubfs/HeroNoShape2.jpg");
    background-color: transparent;
    background-position: center center; 
  } 

  45% {
    background-image: url("https://www.vantagepoint.consulting/hubfs/HeroNoShape3.jpg");
    background-color: transparent;
    background-position: center left; 
  }

  66% {
    background-image: url("https://www.vantagepoint.consulting/hubfs/HeroNoShape3.jpg");
    background-color: transparent;
    background-position: center left; 
  }

  80% {
    background-image: url("");
    background-color: #0e002d;
  }

  100% {
    background-image: url("");
    background-color: #0e002d;
  }
}

@keyframes recMove {
  0% {
    top: -8%;
    right: -6%;
    visibility: visible;
  }

  15% {
    top: -8%;
    right: 81%; 
    visibility: visible;
  } 

  33% {
    top: -8%;
    right: 81%; 
    visibility: visible;
  } 

  45% {
    top: 45%;
    right: -12%; 
    visibility: visible;
  }

  66% {
    top: 45%;
    right: -12%; 
    visibility: visible;
  }

  80% {
    top: 16%;
    right: 20%; 
    visibility: visible;
  }

  100% {
    top: 16%;
    right: 20%; 
    visibility: visible;
  }
}

@keyframes circleColour {
  0% {
    background-color: #e61e46;
    top: 16%;
    left: 27%;
  }

  15% {
    background-color: #154292;
    top: 16%;
    left: 27%;
  }

  33% {
    background-color: #154292;
    top: 16%;
    left: 27%;
  }

  45% {
    background-color: #154292;
    top: -8%;
    left: 66%;
  }

  66% {
    background-color: #154292;
    top: -8%;
    left: 66%;
  }

  80% {
    background-color: #154292;
    top: 16%;
    left: 27%;
  }

  100% {
    background-color: #154292;
    top: 16%;
    left: 27%;
  }
}

/* END ANIMATIONS */




.hero-section {
  background-color: #0E002D;
 /* padding-top: 50px; */
}

.hero-inner {
  display: flex;
  gap: 60px;
  padding: 170px 0;
  align-items: flex-start;
}

.hero-inner h1 {
  color: #fff; 
  font-weight: 700;
  font-size: 120px;
  line-height: 110px;
}

.hero-inner p {
  font-size: 24px; 
  line-height: 25px; 
  color: #fff;
}

.hero-copy {
  width: 50%; 
}

.hero-cta-container {
  display: flex;
  gap: 0; 
  margin-left: 0;
}

.hero-cta-container .hs-button {
  margin: 0 25px 0 0; 
}

.hero-image {
  width: 50%; 
  display: block;
  position: relative;
}

.hero-image img {
  max-width: 100%; 
}

.hero-proof-desktop {
  margin-left: auto;
  width: 415px;
  display: block;
  margin-top: 80px; 
} 

.hero-proof-mobile {
  display: none; 
  width: 225px;
  margin: 0 auto;
}


.hero-image {
  width: 100%; 
}

.large-image {
  width: 99%; 
}

.hero-image .large-image img {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-proof-desktop {
  display: block; 
}

.hero-proof-mobile {
  display: none; 
  margin-top: 70px;
}

.hero-proof-desktop img {
  margin-right: 0 !important;   
}


@media screen and (max-width: 1267px) {
  .hero-copy h1{
    font-size: 72px;
    line-height: 74px;
  }
}

@media screen and (max-width: 1065px) {

  .hero-inner {
    gap: 30px;  
  }

}

@media screen and (max-width: 980px) {
  .hero-inner h1 {
    font-size: 85px; 
    line-height: 88px;
  }
}

@media screen and (max-width: 850px) {
  .hero-inner {
    display: block;
    padding: 30px 0 70px;
  }
  
  .hero-section {
   padding-top: 50px; 
  }
  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 40px; 
    line-height: 40px;
  }

  .hero-cta-container {
    margin-bottom: 25px;
    display: block;
  }

  .hero-cta-container .secondary {
    margin-top: 25px;
  }

  .hero-proof-desktop {
    display: none; 
  }

  .hero-proof-mobile {
    display: block; 
    margin-top: 70px;
  }
}



  
