/* General Carousel Styles */
.carousel-item {
    width: 100vw;
    height: 100%;
}

/* Prevent Scrolling */
html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header & Footer (Dynamic Heights) */
header, footer {
    width: 100%;
    flex-shrink: 0;
}

/* Carousel Container Takes Remaining Space */
.carousel-container {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Fix Carousel Indicators (Image Selector) */
.carousel-indicators {
    position: absolute;
    bottom: 100px;  /* Adjust height from the bottom */
    z-index: 10;  /* Ensure it's above other content */
}

/* Carousel images */
/* Ensure Images Cover Entire Carousel Space Without White Bars */
.carousel-item img {
    width: 100vw; /* Ensures full width */
    height: 100vh; /* Ensures full height */
    object-fit: cover; /* Ensures images fully cover the space without distortion */
}

/* Individual Image Positioning */
.img-pos-1 {
    object-position: 20% 65%;  /* Custom positioning for specific images */
}

.img-pos-2 {
    object-position: 50% 75%;
}

.img-pos-3 {
    object-position: 80% 90%;
}

/* Flex container for text overlay */
.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Ensures clicks pass through to elements below */
}

.main-text, .sub-text {
    pointer-events: auto; /* Enables interaction with the text, if necessary */
    text-align: center;
    font-family: 'Custom-Bold', sans-serif;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.main-text {
    font-size: clamp(5rem, 12vw, 22rem); /* Responsive scaling based on viewport width */
}

.sub-text {
    font-size: clamp(.9rem, 2.09vw, 4rem); /* Smaller text size, also responsively scaled */
}

/* Carousel Caption Styles */
.carousel-caption {
    position: absolute;
    top: 87;
    transform: translateY(-50%);
    right: 0;
    left: 0;
    text-align: center;
    color: white;
    bottom: 10%; /* Adjusted to position captions at the bottom */
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* Width of the caption area */
    padding: 1rem;
}

@media (max-width: 800px) {
    
    .carousel-caption {
        display: none;
        position: absolute;
        top: 75%;
        transform: translateY(-50%);
        right: 0;
        left: 0;
        text-align: center;
        color: white;
        bottom: 10%; /* Adjusted to position captions at the bottom */
        left: 50%;
        transform: translateX(-50%);
        width: 80%; /* Width of the caption area */
        padding: 1rem;
    }
    
    
        }
    