.hero-v20{
    height: 94vh;
    position: relative;
    overflow: hidden;
}

.hero-v20 .h20-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.hero-v20 .h20-content .mytable{
    height: auto;
}

.hero-v20 .h20-bg::after{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* background-color: #00000055; Original */
    background-color: #00000094;
    content: "";
}

.hero-v20 .h20-slider{
    position: absolute;
    inset: 0;
    opacity: 0;
    padding-top: 120px;

}
.hero-v20 .h20-slider.active{
    opacity: 1;
}


.hero-v20 .h20-controls a{
    position: absolute;
    top: calc(50% - 40px);
    left: 40px;
    opacity: .8;
    transform: translate(-50%);
    margin: 0;
    display: inline-block;
    width: auto;
    display: none;
    z-index: 3;
}

.hero-v20 .h20-controls a.next{
    top: calc(50% + 40px);
}
.hero-v20 .h20-content-wrapper{
    position: relative;
}
.hero-v20 .h20-content{
    position: absolute;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-v20 .h20-content.active{
    z-index: 2;
}

.hero-v20 .h20-content .h20-maps{
    position: absolute;
    top: 0%;
    left: 0;
}
.hero-v20 .h20-content .h20-maps.two{
    position: absolute;
    top: 50%;
    left: unset;
    right: 80px;
    transform: translateY(-50%);
}


.hero-v20 .h20-content .h20-maps,
.hero-v20 .h20-content.active .h20-maps,
    .hero-v20 .h20-content.active .h20-maps.two,
        .hero-v20 .h20-content .h20-maps.two{
        display: none;
}


.hero-v20 ul.h20-dots{
    position: absolute;
    left: 50%;
    bottom: 10px;
    padding: 0;
    transform: translateX(-50%);
    z-index: 3;
}
.hero-v20 ul.h20-dots li{
    padding: 8px;
    transition: .4s;
    display: inline-block;
    width: unset;
}




/* animations */
.hero-v20 .h20-content .h20-maps img{
    opacity: .2;
    animation: floatingAnimation 4s linear infinite;
}

.hero-v20 .h20-content .h20-maps.two img{
    animation: floatingAnimation 6s linear infinite;
}
.hero-v20 .h20-content h1 span:not(.over) {
    opacity: 0;
    transform: translateX(-160px);
    animation: slideToLeftOut 1s ease-in-out forwards;
}
.hero-v20 .h20-content.active h1 span:not(.over) {
    animation: slideFromLeftIn 1s ease-in-out forwards;
    animation-delay: 1s;
}

.hero-v20 .h20-content h1 span {
    opacity: 0;
    transform: translateY(-40px);
    animation: slideToTopOut 1s ease-in-out forwards;
    display: block;
}

.hero-v20 .h20-content.active h1 span {
    animation: slideFromTopIn 1s ease-in-out forwards;
    animation-delay: 1s;
}

.hero-v20 .h20-content a.btn-secondary {
    opacity: 0;
    transform: translateY(-40px);
    animation: slideToDownOut 1s ease-in-out forwards;
}

.hero-v20 .h20-content.active a.btn-secondary {
    animation: slideFromDownIn 1s ease-in-out forwards;
    animation-delay: 1.2s;
}

.hero-v20 .h20-content .h20-maps.two .animator,
.hero-v20 .h20-content .h20c-image-holder img {
    opacity: 0;
    transform: translateX(40px);
    animation: slideToRightOut 1s ease-in-out forwards;
}

.hero-v20 .h20-content.active .h20-maps.two .animator,
.hero-v20 .h20-content.active .h20c-image-holder img {
    animation: slideFromRightIn 1s ease-in-out forwards;
    animation-delay: 1.4s;
}

.hero-v20 .h20-content.active .h20-maps.two .animator{
    animation-delay: 1.6s;
}
.hero-v20 .h20-bg.animated {
    animation: zoomin 4s ease forwards;
  }


  .hero-v20 .h20-images .h20-bg{
    opacity: 0;
    transition: 1s ease;
  }

  .hero-v20 .h20-images .h20-bg.animated{
    opacity: 1;
  }

  .hero-v20 .btn-primary.active,
.hero-v20 .btn-primary.active:hover,
.hero-v20 .btn-primary:hover  {background:#009DFF; border-color:#009DFF; color:#FFF;} /* changed here 29 Jan 2025*/
.hero-v20 .btn-secondary {background:#009DFF; border:1px solid #009DFF; color:#FFF}
.hero-v20 .btn-secondary.active,
.hero-v20 .btn-secondary.active:hover,
.hero-v20 .btn-secondary:hover {background:#013b72; border-color:#013b72; color:#FFF} /* changed here 29 Jan 2025*/
/* animation keyframes */
  @keyframes zoomin {
      0%{
          transform: scale(1);
      }

      100%{
          transform: scale(1.07);
      }
  }
@keyframes slideFromTopIn {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideToTopOut {
    100% {
        opacity: 0;
        transform: translateY(-40px);
    }

    0% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromDownIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideToDownOut {
    100% {
        opacity: 0;
        transform: translateY(40px);
    }

    0% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromLeftIn {
    0% {
        opacity: 0;
        transform: translateX(-160px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideToLeftOut {
    100% {
        opacity: 0;
        transform: translateX(-160px);
    }

    0% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRightIn {
    0% {
        opacity: 0;
        transform: translateX(160px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideToRightOut {
    100% {
        opacity: 0;
        transform: translateX(160px);
    }

    0% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatingAnimation {
    0% { 
      transform: translateY(-20px);
    }
  
    50% {
      transform: translateY(-10px);
    }
  
    100% {
      transform: translateY(-20px);
    }
  }
  /* animation ends */

@media screen and (min-width: 768px) {

    .hero-v20 .h20-content .h20-maps,
    .hero-v20 .h20-content.active .h20-maps,
    .hero-v20 .h20-content.active .h20-maps.two,
    .hero-v20 .h20-content .h20-maps.two {
        display: block;
    }
    .hero-v20{
        height: 85vh;
    }
    .hero-v20 .h20-slider{
        padding-top: 0px;
    }
}

@media screen and (min-width: 992px) {
    .hero-v20 .h20c-image-holder{
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    .hero-v20 .h20c-image-holder img{
        max-width: 400px;
        margin-left: auto;
    }
    .hero-v20 .h20-content .mytable{
        height: 100%;
    }
    
    
}

@media screen and (min-width: 1200px) {
    .hero-v20 .h20-bg:before{
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 640px;
        background: #009DFF;
        opacity: 0.8;
        content: "";
        z-index: 0;
      }
  
}

@media screen and (min-width: 1440px) {
    .hero-v20 .h20-controls a{
        display: inline-block;
    }
    .hero-v20 .h20c-image-holder{
        right: 160px;
    }
    .hero-v20 .h20c-image-holder img{
        max-width: unset;
        margin-left: unset;
    }
}
