/* =============================================
   Hero Parallax Sticky Widget
   ============================================= */

/* Ensure the Elementor widget wrappers don't block stickiness */
.elementor-widget-cew_hero_parallax,
.elementor-widget-cew_hero_parallax .elementor-widget-container {
    overflow: visible !important;
}

/* Force parent columns/containers to overflow visible if they contain our widget */
.elementor-section-wrap:has(.hbp-parallax-widget),
.elementor-section:has(.hbp-parallax-widget),
.elementor-container:has(.hbp-parallax-widget),
.elementor-row:has(.hbp-parallax-widget),
.elementor-column:has(.hbp-parallax-widget),
.elementor-widget-wrap:has(.hbp-parallax-widget),
.elementor-element:has(.hbp-parallax-widget),
.e-con:has(.hbp-parallax-widget),
.e-container:has(.hbp-parallax-widget) {
    overflow: visible !important;
}

.hbp-parallax-widget {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: 100%;
    background-color: #f5f5f5;
    padding: 80px 60px;
    gap: 40px;
    box-sizing: border-box;
}

/* ── Left sticky column ── */
.hbp-left {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    flex: 0 0 35%;
    max-width: 35%;
    align-self: flex-start;
}

.hbp-left-inner {
    /* inner wrapper */
}

.hbp-accent-line {
    display: block;
    width: 50px;
    height: 4px;
    background-color: #00e5ff;
    margin-bottom: 20px;
    border-radius: 2px;
}

.hbp-left-heading {
    margin: 0 0 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: #111111;
    text-transform: uppercase;
}

.hbp-left-desc {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

/* ── Right scrolling column ── */
.hbp-right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ── Individual box/card ── */
.hbp-box {
    background: #ffffff;
    border-radius: 4px;
    padding: 30px 35px;
    border-left: 4px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.4s ease, opacity 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.hbp-box.hbp-visible {
    opacity: 1;
    transform: translateY(0);
}

.hbp-box.hbp-active {
    border-left-color: #00e5ff;
}

.hbp-box:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.hbp-box.hbp-visible:hover {
    transform: translateY(-2px);
}

/* ── Box header (icon + title + arrow) ── */
.hbp-box-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.hbp-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 6px;
    background-color: #1a1a2e;
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
}

.hbp-box-icon i,
.hbp-box-icon svg {
    color: #ffffff;
    fill: #ffffff;
    width: 18px;
    height: 18px;
}

.hbp-box-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    flex: 1;
    line-height: 1.3;
}

.hbp-box.hbp-active .hbp-box-title {
    color: #00e5ff;
}

.hbp-box-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.hbp-box-arrow:hover {
    color: #00e5ff;
    transform: translate(2px, -2px);
}

.hbp-box-arrow svg {
    width: 16px;
    height: 16px;
}

/* ── Box description ── */
.hbp-box-desc {
    margin: 0 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #666666;
}

/* ── Box footer (tag) ── */
.hbp-box-footer {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.hbp-box-tag-value {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: #e0e0e0;
    letter-spacing: -0.5px;
}

.hbp-box-tag-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #bbbbbb;
    margin-bottom: 5px;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1024px) {
    .hbp-parallax-widget {
        padding: 60px 30px;
    }
    .hbp-left {
        flex: 0 0 40%;
        max-width: 40%;
    }
    .hbp-left-heading {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .hbp-parallax-widget {
        flex-direction: column;
        padding: 40px 20px;
    }
    .hbp-left {
        position: relative;
        top: auto;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    .hbp-right {
        width: 100%;
    }
    .hbp-left-heading {
        font-size: 28px;
    }
    .hbp-box {
        padding: 20px;
    }
}
