/* Full-width background */
.slide-bg {
    width: 100vw;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    padding: 60px 0;
    display: flex;
    align-items: center;
}

/* Content container */
.slide-bg .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Text column */
.text-column {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    padding: 20px;
}

.text-column h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.text-column p {
    font-size: 1.1rem;
}

/* Foreground image */
.image-column {
    text-align: center;
}

.slide-main-img {
    max-height: 300px;
    width: 100%;
    height: auto;
}

/* Responsive stacking on mobile */
@media (max-width: 768px) {
    .slide-bg {
        text-align: center;
        padding: 40px 0;
    }

    .text-column {
        margin-bottom: 20px;
    }

    .text-column h2 {
        font-size: 1.8rem;
    }

    .slide-main-img {
        max-height: 200px;
    }
}
/* Ensure the slider spans the full viewport width */
.custom-fullwidth-slider {
    margin-left: calc(-49vw + 50%); /* Center align slider */
    margin-right: calc(-49vw + 50%); /* Center align slider */
    position: relative;
}



.carousel-inner {
    position: relative;
    width: 100%;
}

.carousel-item {
    position: relative;
    width: 100%;
}

.carousel-control-prev, .carousel-control-next {
    z-index: 5; /* Ensure controls are above the slider content */
}

.slide-bg {
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    max-height: 100%;
    object-fit: contain;
}
