.top_block {
    padding: 3%;
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    overflow: hidden;
    height: calc( 100vh - 77px);
}

.feat_sections{
    margin: 3%;
    /* text-align: center; */
    padding: 20px;
    /* background-color: var(--primary); */
    border-radius: 20px;
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    /* background-image: url(assets/features/crm.jpg); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.feat_sections h2{
    margin: 10px -20px;
    /* text-align: center; */
    padding: 10px 30px;
    background-image: linear-gradient(to right,black , transparent);
}

.feat_container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 40px;
    position: relative;
    /* background-image: url(assets/features/crm.jpg); */
}
.feat_sections>img{
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    border-radius: 20px;
    mask-image: linear-gradient(bottom, transparent, black);
    -webkit-mask-image: -webkit-linear-gradient(bottom,rgba(0,0,0,0.2), rgba(0,0,0,1));
}
.dummy_banner{
    flex-grow: 1;
    width: 100%;
}

.feat_box{
    width: 165px;
    /* min-height: 120px;
    flex: 1 0 20%; */
    text-align: center;
    border: 3px solid;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    margin: 20px auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: #0009;
    backdrop-filter: blur(4px);
}


.feat_box img{
    width: 50%;
}
.feat_box h4{
    margin: 0;
}

.brief_container{
    padding: 20px;
    border-radius: 20px;
    background-color: var(--primary)
}

.brief_container h3{
    margin-top: 0;
}

/* -----------------------MEDIA QUERY----------------------------- */
@media (orientation: portrait) {
    .feat_sections .banner{
        height: 100%;
        min-width: 100%;
        width: unset;
    }
}

@media (hover: hover) {
    .feat_box:hover{
        border-color: var(--brand);
    }
}
