.hero-slider-wrapper-d5a52016 {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 80vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: Arial, sans-serif;
}

.hero-slider-bg-container-d5a52016 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-item-d5a52016 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: var(--desktop-img);
    opacity: 0;
    transform: scale(1.05); /* Added for custom animation */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out; /* Custom animation */
    z-index: 1;
    pointer-events: none; /* Let clicks pass through when inactive */
}

.hero-slide-item-d5a52016.active {
    opacity: 1;
    transform: scale(1); /* Added for custom animation */
    z-index: 2;
    pointer-events: auto; /* Enable clicks for active slide content */
}

@media (max-width: 767px) {
    .hero-slide-item-d5a52016 {
        background-image: var(--mobile-img);
    }
}


.hero-slider-content-d5a52016 {
    position: relative;
    z-index: 4;
    padding: 40px 50px;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: flex-end;
    padding-bottom: 80px; /* Space for filters */
}

.hero-content-inner-d5a52016 {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Default gap, overrideable via Elementor control */
}


.hero-subtitle-d5a52016 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title-d5a52016 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.hero-desc-d5a52016 {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-cta-btn-d5a52016 {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-bottom: 20px;
    pointer-events: auto;
}

.hero-cta-btn-d5a52016:hover {
    background-color: #fff;
    color: #000;
}

.hero-filters-container-d5a52016 {
    position: relative;
    z-index: 5;
    padding: 0 50px 40px 50px;
}

.hero-filters-d5a52016 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tag-d5a52016 {
    padding: 8px 16px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hero-tag-d5a52016:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.hero-tag-d5a52016.active {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

@media (max-width: 768px) {
    .hero-title-d5a52016 {
        font-size: 32px;
    }
    .hero-slider-content-d5a52016 {
        padding: 30px 20px;
        padding-bottom: 70px;
    }
    .hero-filters-container-d5a52016 {
        padding: 0 20px 30px 20px;
    }
}
