.hero-slider{
    margin-top: 70px;
}




.carousel-control-next, .carousel-control-prev{
    width: 5% !important;
}


/* Hero 2 */
.heroImage {
    width: 100%;
    height: 800px;
    object-fit: cover;
}

.text-container {
    position: absolute;
    top: 60%;
    left: 0;
    margin-left: 50px;
    padding: 20px;
    width: 50%;
}

.hero-text {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    color: white;
}

.hero-description {
    font-size: 1rem;
    color: white;
    font-weight: 100;
}

.text-container h2 {
    margin-top: 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

/* .carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0s;
    transition-property: opacity;
} */

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.hero-btn {
    font-weight: 600;
}

/* -------------------------------- [Media Query for image Banner] -------------------------------- */
@media only screen and (max-width: 480px) {

    .hero-btn{
        float: left;
    }

    .carousel-inner {
        text-align: center;
    }

    .text-container {
        position: absolute;
        top: 60%;
        left: 0;
        margin-left: 0px;
        padding: 20px;
        width: 100%;
    }

    .hero-text {
        font-size: 2rem;
        text-align: left;
    }

    .hero-description {
        font-size: 1rem;
        text-align: left;
    }

    .heroImage {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

    .carousel-control-prev,
    .carousel-control-next {
        margin: 0 10px;
    }

}

@media only screen and (min-width: 481px) and (max-width: 768px) {
    .carousel-inner {
        text-align: center;
    }

    .text-container {
        position: absolute;
        top: 60%;
        left: 0;
        margin-left: 0px;
        padding: 20px;
        width: 100%;
    }

    .hero-text {
        font-size: 2rem;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
        text-align: center;
    }

    .heroImage {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1025px) {
    .carousel-inner {
        text-align: center;
    }

    .text-container {
        position: absolute;
        top: 60%;
        left: 0;
        margin-left: 0px;
        padding: 20px;
        width: 100%;
    }

    .hero-text {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
        text-align: center;
    }

    .heroImage {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

}




















/* Hero section without a slider */




.heroNoSlider {
    margin-top: 40px;
    height: 75vh;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .heroNoSlider {
        height: 50vh;

    }
}

@media (min-width: 768px) and (max-width: 1024px){
    .heroNoSlider {
        height: 50vh;

    }
}

.heroNoSliderTxt{
    position: absolute;
    bottom: 10%;
}
