.hero-top-mew {
    background: url('https://info.nortal.com/hubfs/Personal%20government%20landing%20page/Temp/bg-1st%203840.png') no-repeat center center;
    background-size: cover;
    height: 80vh;
    padding: 100px 0 0;
    position: relative;
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.hero-content-mew {
    align-items: center;
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 3;
    transition: 2s ease transform; 
}

.hero-phone-mew {
    width: auto;
    height: auto;
    order: -1;
    width: 50%;
    margin-bottom: 20px;
    transition: transform 1.5s ease-in-out; 
}

.hero-phone-mew video {
/*     width: 100%; */
    height: 700px;
}

.hero-text-mew {
    max-width: 600px;
    margin: 0 auto;
    color: black;
    text-align: left;
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out; /* Adjust transition timing */
}

.hero-text-mew h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-text-mew p {
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0;
    max-width: 500px;
}

.hero-text-mew.display-text p {
    opacity: 1;
    visibility: visible !important;
    transform: translateY(0);
}

.hero__scroll-mew {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 20px;
    left: 50%;
    border: none;
    font-size: var(--size-small);
    line-height: var(--line-height-h1);
    text-align: center;
    color: var(--white);
    background: none;
    transition: var(--transition);
    text-decoration: none;
    z-index: 2;
    outline: none;
    gap: 1rem;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    .hero-top-mew {
        flex-direction: column;
        height: auto;
        padding: 50px 20px;
    }

    .hero-content-mew {
        flex-direction: column;
        align-items: center;
    }

    .hero-phone-mew {
        height: auto;
        width: 100%;
        margin-bottom: 20px;
    }

    .hero-text-mew {
      text-align: center;
      max-width: 60% !important;
    }

    .hero-text-mew h1 {
        font-size: 2.5em;
    }

    .hero-text-mew p {
        font-size: 1em;
    }

    .hero__scroll-mew {
        transform: translateX(-50%) scale(0.8);
    }
}

.hero__scroll-mew.hide-button-mew {
    opacity: 0;
    visibility: hidden;
}

.hero__scroll-mew:hover,
.hero__scroll-mew:focus {
    opacity: 0.5;
}

.hero__scroll-graphics-mew {
    position: relative;
    display: block;
    height: 4rem;
    border: 1px solid black;
    border-radius: 1.5625rem;
    aspect-ratio: 4/5.5;
}

.hero__scroll-graphics-mew:before {
    content: "";
    position: absolute;
    top: 0.625rem;
    right: 0;
    bottom: 90%;
    left: 0;
    width: 0.75rem;
    height: 0.75rem;
    margin: 0 auto;
    border-radius: 50%;
    background: black;
    animation: bounce 3s infinite linear;
}

.hero__scroll-text-mew {
    display: block;
    animation: floating 4s infinite ease-in-out;
  color: black;
}

.hero-phone-mew.move-away {
    transform: translateX(-100vw);
    transition: transform 1.5s ease-in-out; /* Adjust transition timing */
}

.hero-text-mew.move-away {
    transform: translateX(100vw);
    transition: transform 1.5s ease-in-out; /* Adjust transition timing */
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(1rem);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.5rem);
    }
}

.hero-bottom-mew {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    height: 100vh;
    background: url('https://info.nortal.com/hubfs/Personal%20government%20landing%20page/Temp/bg-2nd%203840.png') no-repeat center center;
    background-size: cover;
}

.placeholder-image-mew {
    display: none;
    opacity: 0;
    transition: opacity 0
    transition: opacity 0.5s ease-in-out;
}

.placeholder-image-mew.visible {
    display: block;
    opacity: 1;
}

.section__img {
    max-width: 80%;
    margin: 0 auto;
}

.section__img img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width: 768px) {
    .hero-top-mew {
        padding: 20px;
    }

    .hero-content-mew {
      padding: 0 20px;
/*       align-items: flex-start; */
      display: flex;
      flex-direction: column-reverse;
      position: relative;
      z-index: 3;
      justify-content: center;
      margin-top: 100px;
      margin-bottom: 70px;
    }

    .hero__scroll-mew {
        transform: translateX(-50%) scale(0.7);
    }

    .hero-phone-mew {
/*         width: 100%; */
/*             height: 650px; */
    }

    .hero-text-mew {
        max-width: 100%;
        text-align: center;
    }

    .hero-text-mew h1 {
        font-size: 2.2em;
    }

    .hero-text-mew p {
        font-size: 1em;
    }
}

@media only screen and (min-height: 1024px) and (max-height: 1080px) {
    .hero-phone-mew video {
        max-height: 600px;
    }
}

@media only screen and (min-height: 368px) and (max-height: 1024px) {
    .hero-phone-mew video {
        max-height: 450px;
    }
}

@media only screen and (max-width: 768px) {
      .hero-phone-mew video {
        max-height: 450px;
    }
  
    .hero-text-mew h1 {
        font-size: 2em; 
    }

    .hero-text-mew p {
        font-size: 0.7em; 
    }
}

@media only screen and (max-width: 414px) {
  #hero-desc{
    display: none;
  }
  #hero-phone-mew{
    max-height: 410px;
  }
      
}

@media only screen and (max-width: 414px) {
.hero-content-mew {
    margin-top: 120px;
  }
  
  .hero-text-mew {
    max-width: 100% !important;
  }
}

@media screen and (max-width: 1000px) {
  #hero-desc {
     max-width: 340px;
  }
    #hero-title {
     display: block;
     width: 100%;
     max-width: 275px;
  }
}    

@media (max-width: 375px) and (max-height: 667px) {
.hero-phone-mew {
/*     height: 500px; */
}
    
.hero-phone-mew video {
    max-height: 350px;
}
  #hero-title {
    margin-bottom: 0px;
  }
}


@media (min-height: 1600px) {
 .hero-phone-mew video {
    height: 1000px;
}
}

