.hrbl-hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
}

.hrbl-background-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hrbl-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transform: translate3d(0,0,0);
    transition: all 0.8s ease-in-out;
}

.hrbl-bg-layer.hrbl-active {
    opacity: 1;
    z-index: 2;
}

/* Ken Burns effect Zoom */
.hrbl-hero-wrapper[data-kenburns="true"] .hrbl-bg-layer.hrbl-active {
    animation: hrblKenBurns 20s infinite alternate ease-in-out;
}

@keyframes hrblKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hrbl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    transition: background 0.3s ease;
}

.hrbl-card {
    position: relative;
    z-index: 4;
    box-sizing: border-box;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease-in-out;
}

.hrbl-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hrbl-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.hrbl-item {
    font-size: 55px;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    position: relative;
}

/* Emphasis active states */
.hrbl-hero-wrapper[data-emphasis="true"] .hrbl-item {
    opacity: 0.45;
}

.hrbl-hero-wrapper[data-emphasis="true"] .hrbl-item.hrbl-active-item {
    opacity: 1;
    transform: translateX(10px);
}

.hrbl-item-indicator {
    width: 0;
    height: 4px;
    background-color: currentColor;
    margin-right: 0;
    transition: width 0.3s ease, margin-right 0.3s ease;
    border-radius: 2px;
    display: inline-block;
}

.hrbl-item.hrbl-active-item .hrbl-item-indicator {
    width: 30px;
    margin-right: 15px;
}

/* Navigation Dots Style */
.hrbl-dots-container {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    align-items: center;
    justify-content: flex-start;
}

.hrbl-dots-container.bottom_center {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    margin-top: 0;
}

.hrbl-dots-container.left_list {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    z-index: 5;
    margin-top: 0;
}

.hrbl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hrbl-dot.hrbl-dot-active {
    background-color: #ff7a00;
    transform: scale(1.2);
}

/* Progress bar Line */
.hrbl-progress-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.hrbl-progress-line {
    width: 0;
    height: 100%;
    transition: none;
}

/* Prev/Next Navigation Arrows */
.hrbl-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 5;
}

.hrbl-arrow {
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    pointer-events: auto;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hrbl-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Mobile responsive Layout modes */
@media screen and (max-width: 1024px) {
    .hrbl-card {
        width: 70% !important;
        margin-left: auto;
        margin-right: auto;
    }
    .hrbl-item {
        font-size: 40px;
    }
}

@media screen and (max-width: 767px) {
    .hrbl-hero-wrapper[data-mobilemode="stack"] {
        flex-direction: column !important;
        min-height: auto !important;
    }

    .hrbl-hero-wrapper[data-mobilemode="stack"] .hrbl-background-layers {
        position: relative;
        height: 250px;
    }

    .hrbl-hero-wrapper[data-mobilemode="stack"] .hrbl-card {
        position: relative;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .hrbl-hero-wrapper[data-mobilemode="full_width"] .hrbl-card {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        height: 100%;
    }

    .hrbl-card {
        width: 90% !important;
        padding: 30px 20px !important;
        border-radius: 16px !important;
    }
    .hrbl-item {
        font-size: 28px;
    }
    .hrbl-label {
        font-size: 16px;
        margin-bottom: 12px;
    }
}
