#Hero{
    width: 100%;
    height: 100vh;
    max-height: 115vw;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--white);
    z-index: 2;
}

.herocontainer{
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#NavBAR{
    height: 64px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/*----------------------------------------------------- Logo CSS */
#LogoonHero{
    z-index: 10;
    font-family: "Playwrite US Modern", serif;
    height: 32px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#LogoonHero img{
    height: 32px;
}

#LogoonHero p{
    font-family: "Playwrite US Modern", serif;
    color: var(--black);
    font-size: 1.5rem;
    line-height: 1.5rem;
    font-weight: 400;
}



/*----------------------------------------------------- NAV CSS */

@media (min-width: 601px) {
    #mainNav{
        z-index: 100;
        background-color: transparent;
        height: 32px;
        padding: 0;
        margin-right: 20px;
    }
    .menu{
        height: 100%;
        display: flex;
        gap: 40px;
        align-items: center;
    }
    .menuitemclosure{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .menuitemclosure a{
        height: 100%;
        padding: 0 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navmenuitem{
        font-size: 1rem;
        line-height: 1rem;
        font-family: "Quicksand", serif;
        color: var(--black);
    }
    #navopener{
        display: none;
    }
    .Navopen{
        display: none;
    }
}
@media (max-width: 600px) {

    #mainNav{
        z-index: 100;
        position: fixed;
        left: 0px;
        top: 0px;
        width: 100%;
        padding: 0;
        transform: translateY(-320px);
        transition: all 0.3s ease-out;
    }
    #blurbackgroundwhennav{
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        height: 0vh;
        width: 100%;
        transition: all 0.3s ease-out;
        pointer-events: none;
    }
    .menu{
        height: 100%;
        display: flex;
        padding: 0;
        flex-direction: column;
        align-items: center;
        -webkit-box-shadow: 0 20px 20px #00000045;
    }
    .menuitemclosure{
        background: linear-gradient(to bottom, var(--white), var(--background));
        padding: 0;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .menuitemclosure a{
        height: 100%;
        width: 100%;
        padding: 20px 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navmenuitem{
        font-size: 2rem;
        line-height: 2rem;
        font-weight: 400;
        font-family: "Quicksand", serif;
        color: var(--black);
    }

    .Navopen{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        background-color: var(--white);
        height: 64px;
        width: 100%;
    }




    /*--------------------------------- hamburgermenu CSS */
    #navopener, #navcloser{
        z-index: 10;
        background-color: transparent;
        margin-right: 20px;
        height: 20px;
        width: 30px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hamburgermenu{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    #navcloser .hamburgermenu{
        position: relative;
    }
    .threelines{
        width: 100%;
        height: 3px;
        border-radius: 999px;
        background-color: var(--black);
    }
    .tiltright{
        transform: translateY(-50%)rotate(45deg);
        position: absolute;
        left: 15;
        top: 10px;
    }
    .tiltleft{
        transform: translateY(-50%)rotate(-45deg);
        position: absolute;
        left: 15;
        top: 10px;
    }
}






/*----------------------------------------------------- HERO MAIN CSS */
#HeroVisual{
    width: 100%;
    height: calc(100% - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ContentsofHero{
    width: 100%;
    max-width: 700px;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.CenterTexts{
    display: flex;
    flex-direction: column;
    gap: 50px;
    color: black;
    align-items: center;
    justify-content: center;
}
.ClientBase{
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.starrating{
    display: flex;
}
.thisstar{
    font-size: 2rem;
    line-height: 2rem;
    color: gold;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.numberclients{
    font-family: "Quicksand", serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark);
}
.CenterLine{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.heroline{
    font-family: "Montserrat", serif;
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
}
.herotagline{
    font-family: "Quicksand", serif;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
}
.Herobookcall{
    padding: 20px 80px;
    border: 2px solid var(--primary-green);
    border-radius: 999px;
    background-color: var(--light-green);
    box-shadow: 8px 8px 0 var(--primary-green);
    transition: all 0.2s;
}
.bookcalltext{
    font-family: "Quicksand", serif;
    color: var(--primary-green);
    font-size: 1.5rem;
    line-height: 1.5rem;
    font-weight: 600;
}
.Herobookcall:hover{
    transform: translate(5px, 5px);
    box-shadow: 3px 3px 0 var(--primary-green);
}


.HeroReviewCard{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    height: 120px;
    width: 200px;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--offwhite);
    background-color: var(--background);
    -webkit-box-shadow: 0 0px 20px var(--offwhite);
}
.revsaying{
    font-family: "Montserrat", serif;
    text-align: center;
    color: var(--darkstroke);
    font-weight: 400;
    font-size: 0.7rem;
    line-height: 0.9rem;
}
.clientnameforrev{
    font-family: "Playwrite US Modern", serif;
    color: var(--darkstroke);
    font-weight: 200;
    font-size: 0.7rem;
    line-height: 0.7rem;
}
.CR1{
    top: 100px;
    left: 100px;
    transform: rotate(-5deg);
}
.CR2{
    top: 50%;
    left: 30px;
    transform: rotate(2deg) translateY(-55%);
}
.CR3{
    bottom: 100px;
    left: 100px;
    transform: rotate(5deg);
}
.CR4{
    top: 100px;
    right: 70px;
    transform: rotate(7deg);
}
.CR5{
    top: 50%;
    right: 20px;
    transform: rotate(2deg) translateY(-50%);
}
.CR6{
    bottom: 100px;
    right: 100px;
    transform: rotate(-5deg);
}
.ReviewTimer{
    display: none;
}



/*----------------------------------------------------- Tagline CSS */
.lowertagtext{
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-shade);
    border-block: 1px solid var(--dark);
    -webkit-box-shadow: 0 20px 20px #00000045;
}
.highlight{
    font-family: "Montserrat", serif;
    color: var(--dark);
    text-transform: uppercase;
    font-weight: 500;
}
.tagline{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 2100px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    padding-block: 10px;
}
.line{
    font-family: "Montserrat", serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 40px;
    line-height: 40px;
    flex-shrink: 0;
    color: var(--dark);
    animation: scroll-loop-1 14s linear infinite;
}

/* Animation */
@keyframes scroll-loop-1 {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-716.8px);
    }
}
@keyframes scroll-loop-2 {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-541.61px);
    }
}
@keyframes scroll-loop-3 {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-366.41px);
    }
}



@media (max-width: 1200px) {
    .CenterTexts{
        gap: 40px;
    }
    .thisstar{
        font-size: 2rem;
        line-height: 2rem;
    }
    .numberclients{
        font-size: 1.3rem;
    }
    .heroline{
        font-size: 3.5rem;
    }
    .herotagline{
        font-size: 1.3rem;
    }
    .Herobookcall{
        padding: 15px 70px;
    }
    .bookcalltext{
        font-size: 1.5rem;
        line-height: 1.5rem;
    }
    .HeroReviewCard{
        position: absolute;
        gap: 5px;
        height: 100px;
        width: 180px;
    }
    .CR1{
        top: 130px;
        left: 100px;
    }
    .CR2{
        top: 50%;
        left: 20px;
    }
    .CR3{
        bottom: 150px;
        left: 100px;
    }
    .CR4{
        top: 140px;
        right: 70px;
    }
    .CR5{
        top: 50%;
        right: 20px;
    }
    .CR6{
        bottom: 150px;
        right: 100px;
    }
}

@media (max-width: 1050px) {
    .HeroReviewCard{
        display: none;
    }
    .ReviewTimer{
        display: block;
        position: relative;
        width: 100%;
        height: 30px;
    }
    
    .HeroReview{
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        top: 0;
        left: 50%;
        transform: translateX(-55%);
        animation: review-loop 24s linear infinite;
        animation-delay: calc(-4s * var(--revno));
    }
    .revsaying1{
        font-family: "Montserrat", serif;
        text-align: center;
        color: var(--dark-green);
        font-weight: 200;
        font-size: 0.8rem;
        line-height: 0.8rem;
    }
    .clientnameforrev{
        font-family: "Playwrite US Modern", serif;
        color: var(--dark-green);
        font-weight: 200;
        font-size: 0.8rem;
        line-height: 0.8rem;
    }
    @keyframes review-loop {
        0% {
            opacity: 0;
        }
        2.5% {
            opacity: 1;
        }
        12.5%{
            opacity: 1;
        }
        15%{
            opacity: 0;
        }
        100%{
            opacity: 0;
        }
    }

}


@media (max-width: 700px) {
    .CenterTexts{
        gap: 30px;
    }
    .thisstar{
        font-size: 1.8rem;
        line-height: 1.8rem;
    }
    .numberclients{
        font-size: 1.2rem;
    }
    .CenterLine{
        gap: 10px;
    }
    .heroline{
        font-size: 3rem;
    }
    .herotagline{
        font-size: 1.2rem;
    }
    .Herobookcall{
        padding: 15px 70px;
    }
    .bookcalltext{
        font-size: 1.2rem;
        line-height: 1.2rem;
    }

    .tagline{
        padding-block: 5px;
    }
    .line{
        font-size: 30px;
        line-height: 30px;
        animation: scroll-loop-2 14s linear infinite;
    }

}

@media (max-width: 600px) {
    .CenterTexts{
        gap: 20px;
    }
    .thisstar{
        font-size: 1.6rem;
        line-height: 1.6rem;
    }
    .numberclients{
        font-size: 1rem;
    }
    .heroline{
        font-size: 2.5rem;
    }
    .herotagline{
        font-size: 1rem;
    }
    .Herobookcall{
        padding: 10px 60px;
    }
    .line{
        font-size: 20px;
        line-height: 20px;
        animation: scroll-loop-3 14s linear infinite;
    }
}

@media (max-width: 500px) {
    .CenterTexts{
        gap: 20px;
    }
    .CenterLine{
        gap: 10px;
    }
    .heroline{
        font-size: 1.8rem;
    }
    .herotagline{
        font-size: 0.8rem;
    }
    .Herobookcall{
        padding: 10px 40px;
    }
    .bookcalltext{
        font-size: 1rem;
        line-height: 1rem;
    }
}