/* Text Filling Animation Styles */
.eslogistics-text-filling-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.eslogistics-text-filling-animation-wrapper {
    position: relative;
    width: 100%;
}

.eslogistics-text-filling {
    margin: 0;
    padding: 0;
}

/* Line styles for SplitType */
.eslogistics-text-filling .line {
    display: block;
    overflow: hidden;
}

/* Word styles */
.eslogistics-text-filling .word {
    display: inline-block;
    margin-right: 0.25em;
    white-space: nowrap;
}

/* Character styles */
.eslogistics-text-filling .char {
    display: inline-block;
    position: relative;
}

/* Fix for Elementor editor */
.elementor-editor-active .eslogistics-text-filling-wrapper {
    min-height: 100px;
}

/* Ensure proper positioning in Elementor */
.elementor-section-wrap .eslogistics-text-filling-wrapper {
    position: relative;
    z-index: 1;
}

/* Ensure proper stacking context for ScrollTrigger */
.elementor-section.elementor-section-boxed > .elementor-container {
    overflow: visible;
}

/* Improve animation performance */
.eslogistics-text-filling .char {
    will-change: color;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}