.box-section {
    padding: 30px 0 0;
}
.box-section .box-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}
.box-section .box {
    flex-basis: 100%;
    padding: 5px;
    display: flex;
    flex-direction: column;
}
.box-section .box__image {
    height: 250px;
    display: block;
    position: relative;
    overflow: hidden;
}
.box-section .box__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease;
    transform: scale(1.0);
}
.box-section .box__content {
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.box-section .box__heading {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 5px;
}
.box-section .box__text {
    font-size: 14px;
    margin: 0 0 5px;
    font-weight: 300;
}
.box-section .box__btn {
    height: 50px;
    font-size: 16px;
    margin: auto 0 0;
    background: #000;
    transition: all .5s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 12px;
    font-weight: 600;
    border: 1px solid #000;
    color: #fff;
    text-decoration: none;
}
.box-section .box__btn:hover {
    background: #fff;
    color: #000;
}
.box-section .box__image .box__btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 120%);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    margin: 0;
}
.box-section.box-style-2 .box__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: all .5s ease;
    pointer-events: none;
}
.box-section .box:hover .box__image img {
    transform: scale(1.05);
}
.box-section.box-style-2 .box:hover .box__image::before {
    background: rgba(0,0,0,0.45);
    z-index: 1;
}
.box-section.box-style-2 .box:hover .box__image .box__btn {
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 2;
}
@media (min-width: 567px) {
    .box-section .box-list-6 .box {
        flex-basis: 50%;
    }
    .box-section .box-list-4 .box{
        flex-basis: 50%;
    }
    .box-section .box-list-3 .box {
        flex-basis: 50%;
    }
}
@media (min-width: 992px) {
    .box-section .box__image {
        height: 400px;
    }
    .box-section .box-list-4 .box{
        flex-basis: 33.33%;
    }
}
@media (min-width: 1200px) {
    .box-section .box-list-3 .box {
        flex-basis: 25%;
    }
}