section.foundation-block {
    padding: 100px 0;
}
.foundations-outer {
    width: 100%;
    background-size: cover;
    display: flex;
    position: relative;
    background-position: center center;
}
.foundations-outer::before {
    position: absolute;
    height: 100%;
    width: 100%;
    content: "";
    background-color: rgba(0,0,0,.7);
    left: 0;
    top: 0;
    z-index: 1;
}
.foundations-each {
    flex: 100%;
    position: relative;
    z-index: 2;
    border-right: 1px solid #636363;
    color: #ffff;
    transition: all 0.3s ease;
    min-height: 800px;
    overflow: hidden;
}
.foundations-each:hover {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(147,137,137,.2);
}
.foundations-each:last-child {
    border: none;
}
span.foundations-counter {
    color: #97BF13;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.5em;
}
.foundations-each h6 {
    margin-bottom: 30px;
}
.foundations-each ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.foundations-each ul li {
    padding: 16px 0 16px 25px;
    border-bottom: 1px solid;
    background-image: url(../../images/list-arrow.svg);
    background-repeat: no-repeat;
    background-position: left center;
    line-height: 28px;
    color: #fff;
}
.foundations-each ul li:last-child {
    border: none;
}
.foundations-each ul li a {
    color: #fff;
    display: inline-block;
    line-height: 28px;
}
.foundations-each ul li a:hover {
    color: #97BF13;
}
.foundations-content.scroll-style {
    height: 67%;
}


.foundations-overlay {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    z-index: 1;
    transform: translateY(100%);
    transition: .3s ease-in-out;
    height: 100%;
}
.foundations-each:hover .foundations-overlay {
    transform: translateY(0);
    bottom: 0;
}
.foundations-header {
    position: relative;
    transform: translateY(-100%);
    transition: .2s ease-in-out;
}
.foundations-each:hover .foundations-header {
    transform: translateY(0);
    margin-top: 40px;
}



@media (max-width:1566px) {
    .foundations-overlay {
        left: 40px;
        right: 40px;
    }
}


@media (max-width:1440px) {
    .foundations-each h6 {
        margin-bottom: 30px;
    }
    .foundations-each ul li {
        padding: 12px 0 12px 25px;
    }

    .foundations-each {
        min-height: 750px;
    }
}


@media (max-width:1380px) {
    
}


@media (max-width:1366px) {
}
@media (max-width:1350px) {
    .foundations-each h6 {
        font-size: 22px;
    }
}

@media only screen and ( max-width: 1199px) {
    .foundations-overlay {
        left: 20px;
        right: 20px;
    }
    .foundations-each ul li {
        padding: 10px 0 10px 25px;
        font-size: 16px;
    }
    .foundations-each ul li a{
        font-size: 16px;
    }
}
@media only screen and ( max-width: 961px) {
    .foundations-outer {
        flex-wrap: wrap;
    }
    .foundations-each {
        flex: 50%;
    }
    .foundations-each {
        flex: 50%;
        min-height: 400px;
        border-bottom: 1px solid #636363;
    }
    .foundations-each:nth-child(2) {
        border-right: none;
    }
    .foundations-content.scroll-style {
        height: 160px;
    }
}

@media only screen and ( max-width: 768px) {
}

@media only screen and ( max-width: 560px) {
    .foundations-each {
        flex: 100%;
        border-right: none;
        border-bottom: 1px solid #636363;
        min-height: 200px;
        padding: 20px 5%;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        background-color: rgba(147,137,137,.2);
    }
    .foundations-content.scroll-style {
        height: auto;
    }
    .foundations-each .foundations-overlay {
        transform: translateY(0);
        position: static;
    }
    .foundations-each .foundations-header {
        transform: translateY(0);
    }
    .foundations-each ul li {
        border-color: #636363;
    }
    .foundations-each:hover .foundations-header {
        margin-top: 0;
    }
}