/* Hero Image Carousel - Standalone Section */
.hero-image-carousel-section {
    background: linear-gradient(135deg, #f0fdf9 0%, #e6f7f1 50%, #f0fdf9 100%);
    padding: 60px 0 60px;
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.hero-image-carousel {
    width: 90%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    position: relative;
    background: #1a1a1a;
    min-height: 200px;
    z-index: 1;
}

/* Fade transition container */
.hero-image-carousel .carousel-inner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.hero-image-carousel .carousel-item {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.hero-image-carousel .carousel-item.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-image-carousel .carousel-item.prev-active {
    position: absolute;
    opacity: 0;
    z-index: 1;
}

.hero-carousel-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

/* Caption */
.carousel-caption-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    padding: 40px 30px 25px;
    text-align: left;
}

.carousel-caption-custom h5 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.carousel-caption-custom p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* Indicators */
.carousel-indicators-custom {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicators-custom button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicators-custom button.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.4);
}

/* Prev / Next buttons */
.carousel-ctrl-prev,
.carousel-ctrl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    outline: none;
}

.carousel-ctrl-prev { left: 15px; }
.carousel-ctrl-next { right: 15px; }

.carousel-ctrl-prev:hover,
.carousel-ctrl-next:hover {
    background: rgba(0, 123, 93, 0.85);
    border-color: #007b5d;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .hero-image-carousel-section { padding: 30px 0 40px; }
    .hero-image-carousel { width: 95%; }
    .hero-carousel-img { height: 220px; }
    .carousel-caption-custom h5 { font-size: 1rem; }
    .carousel-ctrl-prev, .carousel-ctrl-next { width: 36px; height: 36px; font-size: 12px; }
}
