#features {
    padding: 0 0 80px;
    position: relative;
    box-shadow: inset 0px 0 250px 250px #131313;
    min-height: 300px;
}

#features .home-features-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}
#features .home-features-bg:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

#features h1{
	font-size: 26px;
	font-weight: 900;
}

#features .feature-card {    
    padding: 70px 70px 70px 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    margin: 30px 40px;
    position: relative;
    background: #282828;
    border-radius: 20px;
}

#features .swiper-slide {
    transition: all .3s ease-in-out;
}

#features .feature-card:nth-child(2n) {
    flex-direction: row-reverse;
    padding: 70px 10px 70px 70px;
}
#features .feature-card-image {
    transform: translateX(-40px);
}
#features .feature-card:nth-child(2n) .feature-card-image {
    transform: translateX(40px);
}

#features .feature-card h2 {
    font-size: 30px; 
    font-weight: bold; 
    padding-bottom: 20px;
}
#features .feature-card p {
    padding-bottom: 20px;
}

#features .casebox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 150px);
    gap: 15px;
}
#features .casebox-image{
    position: relative;
    height: 100px;
    background: #2b2b2b;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 1px 10px 2px rgba(0,0,0,0.2);
    border-radius: 10px;
    overflow: hidden;
}
#features .casebox-image figure{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.6);
	opacity: 0;
	transition: all 200ms ease-in-out;
}
#features .casebox-image figure i{
	font-size: 20px;
	transform: translateY(10px);
	transition: all 200ms ease-in-out;
	transition-delay:50ms;
}
#features .casebox-image:hover figure{
	opacity: 1;
}
#features .casebox-image:hover figure i{
	transform: translateY(0px);
}

@media screen and (max-width: 1199px) {
    #features .page-content {
        padding: 0 50px;
    }
}

@media screen and (max-width: 991px) {    
    #features .page {
        padding: 85px 30px 30px !important;
    }
    #features .page-content {
        padding: 0;
    }

    #features .feature-card {
        padding: 40px !important;
        flex-direction: row !important;
    }

    #features .feature-card-image {
        transform: translateX(0) !important;
        position: absolute;
        top: 0;
        right: 0;
        border-radius: 0 20px 0 15px!important;
        padding: 15px !important;
    }

    #features .feature-card-image figure {
        min-height: 25px !important;
        min-width: 25px !important;
    }
}

@media screen and (max-width: 600px) {
    #features {
        padding: 10px 0;
    }
    #features .feature-card {
        padding: 60px 40px 40px !important;
        flex-direction: row !important;
        margin: 20px 0;
    }
}