/* Hero Section Styling */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Background */
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-bg-image {
    height: 85vh;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
}

/* Smooth fade transition between images */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

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

/* Dark overlay for better text visibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    width: 100%;
    padding: 2rem 0;
    pointer-events: none;
}

/* Hero Content Inner Container with Background */
.hero-content .col-lg-8 {
    background: rgba(255, 255, 255, 0.20);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    /* border: 2px solid rgba(255, 255, 255, 0.3); */
    max-width: fit-content;
    margin: 0 auto;
}

/* Re-enable pointer events only for interactive content */
.hero-content .container {
    pointer-events: none;
}

.hero-content .hero-logo img,
.hero-content .hero-subtitle {
    pointer-events: auto;
}

/* Hero Logo */
.hero-logo img {
    max-height: 230px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.725rem;
    line-height: 1.4;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
    font-weight: 400;
}

.hero-subtitle strong {
    font-weight: 600;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 15;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-size: 100%, 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Carousel Indicators */
.carousel-indicators {
    z-index: 15;
    margin-bottom: 2rem;
    pointer-events: auto;
}

/* .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
} */

.carousel-indicators .active {
    background-color: white;
    transform: scale(1.2);
}

/* Responsive Design for Hero Section */
@media (max-width: 1200px) {
    .hero-logo img {
        max-height: 207px;
    }
    
    .hero-subtitle {
        font-size: 1.61rem;
    }
    
    .hero-content .col-lg-8 {
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 450px;
        height: 80vh;
    }
    
    .carousel-bg-image {
        min-height: 450px;
        height: 80vh;
    }
    
    .hero-logo img {
        max-height: 184px;
    }
    
    .hero-subtitle {
        font-size: 1.495rem;
    }
    
    .hero-content .col-lg-8 {
        padding: 20px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
        height: 75vh;
    }
    
    .carousel-bg-image {
        min-height: 450px;
        height: 75vh;
    }
    
    .hero-logo img {
        max-height: 138px;
    }
    
    .hero-subtitle {
        font-size: 1.265rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-content .col-lg-8 {
        padding: 20px;
        border-radius: 15px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .carousel-indicators {
        margin-bottom: 1rem;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 500px;
        height: 70vh;
    }
    
    .carousel-bg-image {
        min-height: 500px;
        height: 70vh;
    }
    
    .hero-logo img {
        max-height: 100px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        padding: 0;
    }
    
    .hero-content .col-lg-8 {
        padding: 15px;
        border-radius: 12px;
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 400px) {
    .hero-section {
        min-height: 520px;
    }
    
    .carousel-bg-image {
        min-height: 520px;
    }
    
    .hero-logo img {
        max-height: 90px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .hero-content .col-lg-8 {
        padding: 12px;
        max-width: 300px;
    }
}