/* fend/css/home.css - FINAL REVISION */

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1920px; 
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); 
}

.hero-carousel .carousel-item {
    height: 800px; /* Locked Height */
}

.hero-carousel .carousel-item img {
    object-fit: cover; 
    height: 800px; 
    width: 100%;
}

/* 💥 CRITICAL CAPTION STYLING 💥 */
.hero-carousel .carousel-caption {
    /* 1. REMOVE BLACK BOX (Set background to none/transparent) */
    background: none !important; 
    
    /* 2. Positioning for Left-Center Alignment */
    position: absolute; 
    left: 5%;           
    right: auto;        
    top: 50%;           
    transform: translateY(-50%); 
    
    /* 3. Define Text Box Area */
    width: 45%;         
    padding: 0; /* Remove padding since there is no background */
    
    /* Ensure default Bootstrap bottom positioning is ignored */
    bottom: auto; 
    text-align: left;
}

/* 💥 ENLARGE HEADLINE TEXT (h5) 💥 */
.hero-carousel h5 {
    font-size: 4rem; /* Significantly larger headline */
    font-weight: 900; /* Make it bold for impact */
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: #ffffff; /* Ensure high contrast against the image */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

/* 💥 ENLARGE DESCRIPTION TEXT (p) 💥 */
.hero-carousel .carousel-caption p {
    font-size: 1.75rem; /* Large description text */
    font-weight: 400;
    margin-bottom: 2rem;
    color: #f0f0f0; /* Slightly off-white for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

/* Style the Learn More button to stand out */
.hero-carousel .carousel-caption .btn {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
}


/* Mobile responsiveness adjustments */
@media (max-width: 992px) {