/* Hero Carousel Styles */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind overlay (z-index: 1) and content (z-index: 3) */
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.bg-desktop, .bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.bg-mobile {
    display: none;
}

@media (max-width: 768px) {
    .bg-desktop {
        display: none;
    }
    .bg-mobile {
        display: block;
    }
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Dots & Arrows Navigation */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100 !important;
    /* Force above everything */
    pointer-events: auto;
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.carousel-arrow {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.carousel-arrow:hover {
    color: #fff;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}