
.carousel-inner{
    position: relative;
}


.image-carousel .carousel-item{
    position: relative;
    height: 500px;
}

.image-carousel .carousel-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 0;
    width: 100%;
}



@media (max-width: 991px) {
    .image-carousel .carousel-item img {
        height: 100%;
        width: auto;
    }

    .image-carousel .carousel-item {
        position: relative;
        height: 420px;
    }

    .image-carousel .carousel-inner {
        height: 420px;
    }

    .image-carousel .carousel-item img {
        top: 30%;
    }

    .hero-h1 {
        font-size: 24px;
        font-weight: bold;
    }
}


@media (max-width: 767px) {
    .image-carousel .carousel-item img {
        height: 100%;
        width: auto;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .image-carousel .carousel-inner {
        height: 300px;
    }

    .slider-header {
        padding-top: 50px;
        font-size: 24px;
        text-shadow: 2px 5px 5px #2f2d2d;
        font-weight: 900 !important;
        font-family: "Quicksand";
        color: #fff;
    }

}


.image-carousel .carousel-caption{
     background-color: rgba(2, 2, 2, .7);
    padding: 20px;
    text-align: left;
}

.image-carousel .carousel-caption .hero-h1{
    position: relative;
    background-color: transparent;
    text-shadow: 4px 4px #1a0f0f;
}


.slider-overlay{
    background-image: linear-gradient(to right,rgba(3,140,37,0.9), rgba(255,255,255,0.4));
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.container-sm{
    width: 80%;
}

.slider-header{
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.carousel-control-next, .carousel-control-prev {
    width: 10%;
}

.banner-content{
    margin: 30px 0;
    font-size: 16px;
    color: #fff;
}

.banner-btn {
    text-align: left;
    padding: 8px 60px;
    border-radius: 3px;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 16px;
    color: #038C25;
    border: 0px;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    transition: all .5s ease-in-out;
}

.banner-btn:hover{
    box-shadow: 5px 10px 12px rgba(0,0,0,0.2);
}