.hero-section{
    display: flex;
    position: relative;
    align-items: flex-start;
}
.hero-left{
    background-color: #08333E;
    display: flex;
    padding: 20px 20px 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100dvh;
    position: sticky;
    top: 0;
    z-index: 1;
    left: 0;
}
.hero-media{
    height: 100dvh;
    font-size: 0;
}
.hero-media-group{
    height: 100dvh;
    display: flex;
    flex-direction: column;

}

.hero-right{
    height: 100%;
}
.hero-left h1{
    font-weight: 400;
    font-size: 34px;
    line-height: 36px;
    color: #FFFFFF;
    margin: 0;
}
.hero-right img,
.hero-right video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-buttons{
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap;
}



.hero-text-block{
    padding: 120px 20px;
}
.hero-text-block h2{
    font-family: var(--font-heading-family);
    font-weight: 400;
    font-size: 36px;
    line-height: 38px;
    color: white;
    margin: 0;
}
.hero-text-block h2 span{
    color: #858C93;
}
.selected-projects{
    padding: 80px 20px 160px;
}
.selected-projects-header{
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}
.selected-projects-header a{
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    color: #FFFFFF;
    margin-top: 6px;
}
.selected-projects-header h2{
    font-family: var(--font-accent-family);
    font-style: italic;
    font-weight: 400;
    font-size: 84px;
    line-height: 121px;
    margin:0;
}

.scrolling-images{
    padding: 80px 0 80px;
}


.project-item{
    width: calc((100% / 4) - 40px * 3 / 4);
}
@media screen and (max-width: 1024px){
    .project-item{
        width: calc((100% / 2) - 30px * 1 / 2);
    }
}
@media screen and (max-width: 850px){
    .hero-section{
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .hero-left{
        display: none;
    }
    .hero-media{
        flex:1;
        width: 100%;
        height: unset;  
    }
    .hero-mobile h1{
        margin: 0;
        font-family: var(--font-heading-family);
        font-size: 25px;
        line-height: 27px;
        color: #FFFFFF;
    }
    .hero-mobile{
        padding: 50px 14px;
    }
    .hero-buttons{
        margin-top: 35px;
    }
    .office-hours-container{
        display: none;
    }
    .hero-text-block{
        padding: 98px 14px;
    }
    .hero-text-block h2{
        font-style: normal;
        font-weight: 400;
        font-size: 26px;
        line-height: 28px;
    }
    .selected-projects{
        padding: 28px 14px;
    }
    .selected-projects-header h2{
        font-size: 74px;
        line-height: 107px;
        margin-bottom: 14px;
        margin-left: -5px;
    }
    .selected-projects-header a{
        margin-top: 9px;
    }
    .projects-list{
        gap: 56px 30px;
        flex-wrap: wrap;
    }
    .project-item{
        width: calc(50% - (30px * 1 / 2));
    }
    .scrolling-images{
        padding: 0 14px 98px;
    }
}
@media screen and (max-width: 540px){
.selected-projects-header h2{
    font-size: 12vw;
    line-height: 1.2;
}.selected-projects-header a {
        margin-top: -10px;
    }

}