#hero {
    position: relative;
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 0;
}

#heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#heroCarousel .carousel-item {
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
}

#heroCarousel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Custom Service Sections */
.service-text-box {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: .25rem;
}

.border-left-style {
    border-left: 5px solid #0d47a1;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

#automacao-maquinas .container {
    position: relative;
    z-index: 1;
}


.service-text-box-right {
    padding: 2rem;
    text-align: right;
}

.case-study-card {
    background-color: rgba(13, 71, 161, 0.8);
    border: 1px solid #ffc107;
    border-radius: .25rem;
    padding: 1.5rem;
    margin-top: 2rem;
    color: white;
    height: 100%;
}

.case-study-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffc107;
}