/* Mouse Trail Animation Styles */
.ce-mouse-trail {
    position: relative;
    overflow: hidden;
    cursor: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ce-content-title {
    position: relative;
    pointer-events: none;
    text-align: center;
}

.ce-heading {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    overflow: hidden;
	z-index: 91;
	position: relative;
}

.split-type-wrapper {
    display: block;
    overflow: hidden;
}

/* SplitType animation styles */
.char, .word, .line {
    display: inline-block;
    transform: translate3d(0, 0, 0);
}

/* Ensure proper text rendering for animation */
.ce-heading span {
    display: inline-block;
}

/* Hide original images used as sources */
.ce-content-img {
	
    display: none !important;
	z-index: 91;
}

/* Trail image styles */
.trail-image {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

.trail-img {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
	z-index: 10;
}

.image-fragment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fragment-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .ce-mouse-trail {
        cursor: default;
    }
    
    .ce-content-title {
        padding: 0 20px;
    }
}

/* Ensure proper stacking */
.ce-mouse-trail * {
    box-sizing: border-box;
}

/* Loading state */
.ce-mouse-trail.loading {
    opacity: 0.7;
}

/* Editor mode adjustments */
.elementor-editor-active .ce-mouse-trail {
    cursor: default;
    min-height: 200px;
}