/* MOONULEL_Posts_Template_Widget Custom Button Animations */
.moonulel-custom-button {
    position: relative;
    /* overflow: hidden; */
    transition: all 0.3s ease;
    transform: translateZ(0);
    display: block;
}

/* Pulse Animation */
.moonulel-custom-button.elementor-animation-pulse:hover {
    animation: MOONULEL_Posts_Template_Widget-pulse 1s;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
}

@keyframes MOONULEL_Posts_Template_Widget-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Grow Animation */
.moonulel-custom-button.elementor-animation-grow:hover {
    transform: scale(1.05);
}

/* Shrink Animation */
.moonulel-custom-button.elementor-animation-shrink:hover {
    transform: scale(0.95);
}

/* Push Animation */
.moonulel-custom-button.elementor-animation-push:hover {
    transform: translateY(3px);
}

/* Pop Animation */
.moonulel-custom-button.elementor-animation-pop:hover {
    transform: translateY(-3px);
}

/* Bounce In Animation */
.moonulel-custom-button.elementor-animation-bounce-in:hover {
    animation: MOONULEL_Posts_Template_Widget-bounce-in 0.5s;
}

@keyframes MOONULEL_Posts_Template_Widget-bounce-in {
    0% {
        transform: scale(0.3);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

/* Bounce Out Animation */
.moonulel-custom-button.elementor-animation-bounce-out:hover {
    animation: MOONULEL_Posts_Template_Widget-bounce-out 0.5s;
}

@keyframes MOONULEL_Posts_Template_Widget-bounce-out {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }

    100% {
        transform: scale(0.3);
        opacity: 0;
    }
}

/* Wobble Animation */
.moonulel-custom-button.elementor-animation-wobble:hover {
    animation: MOONULEL_Posts_Template_Widget-wobble 1s;
}

@keyframes MOONULEL_Posts_Template_Widget-wobble {

    0%,
    100% {
        transform: translateX(0%);
    }

    15% {
        transform: translateX(-10%) rotate(-5deg);
    }

    30% {
        transform: translateX(8%) rotate(3deg);
    }

    45% {
        transform: translateX(-6%) rotate(-3deg);
    }

    60% {
        transform: translateX(4%) rotate(2deg);
    }

    75% {
        transform: translateX(-2%) rotate(-1deg);
    }
}

/* Buzz Animation */
.moonulel-custom-button.elementor-animation-buzz:hover {
    animation: MOONULEL_Posts_Template_Widget-buzz 0.15s linear infinite;
}

@keyframes MOONULEL_Posts_Template_Widget-buzz {
    0% {
        transform: translateX(3px) rotate(2deg);
    }

    50% {
        transform: translateX(-3px) rotate(-2deg);
    }

    100% {
        transform: translateX(3px) rotate(2deg);
    }
}

/* Buzz Out Animation */
.moonulel-custom-button.elementor-animation-buzz-out:hover {
    animation: MOONULEL_Posts_Template_Widget-buzz-out 0.75s linear infinite;
}

@keyframes MOONULEL_Posts_Template_Widget-buzz-out {
    10% {
        transform: translateX(3px) rotate(2deg);
    }

    20% {
        transform: translateX(-3px) rotate(-2deg);
    }

    30% {
        transform: translateX(3px) rotate(2deg);
    }

    40% {
        transform: translateX(-3px) rotate(-2deg);
    }

    50% {
        transform: translateX(2px) rotate(1deg);
    }

    60% {
        transform: translateX(-2px) rotate(-1deg);
    }

    70% {
        transform: translateX(2px) rotate(1deg);
    }

    80% {
        transform: translateX(-2px) rotate(-1deg);
    }

    90% {
        transform: translateX(1px) rotate(0);
    }

    100% {
        transform: translateX(-1px) rotate(0);
    }
}

/* Float Animation */
.moonulel-custom-button.elementor-animation-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sink Animation */
.moonulel-custom-button.elementor-animation-sink:hover {
    transform: translateY(5px);
}

/* Slide Animation */
.moonulel-custom-button.elementor-animation-slide {
    overflow: hidden;
}

.moonulel-custom-button.elementor-animation-slide-left:hover {
    transform: translateX(-5px);
}

.moonulel-custom-button.elementor-animation-slide-right:hover {
    transform: translateX(5px);
}

.moonulel-custom-button.elementor-animation-slide-up:hover {
    transform: translateY(-5px);
}

.moonulel-custom-button.elementor-animation-slide-down:hover {
    transform: translateY(5px);
}

/* Glow Animation */
.moonulel-custom-button.elementor-animation-glow:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Shadow Animation */
.moonulel-custom-button.elementor-animation-shadow:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Underline Animation */
.moonulel-custom-button.elementor-animation-underline {
    position: relative;
}

.moonulel-custom-button.elementor-animation-underline:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.moonulel-custom-button.elementor-animation-underline:hover:after {
    width: 80%;
}

/* Overline Animation */
.moonulel-custom-button.elementor-animation-overline {
    position: relative;
}

.moonulel-custom-button.elementor-animation-overline:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    top: 0;
    left: 50%;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.moonulel-custom-button.elementor-animation-overline:hover:before {
    width: 80%;
}

/* Double Line Animation */
.moonulel-custom-button.elementor-animation-double-line {
    position: relative;
}

.moonulel-custom-button.elementor-animation-double-line:before,
.moonulel-custom-button.elementor-animation-double-line:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.moonulel-custom-button.elementor-animation-double-line:before {
    top: 0;
}

.moonulel-custom-button.elementor-animation-double-line:after {
    bottom: 0;
}

.moonulel-custom-button.elementor-animation-double-line:hover:before,
.moonulel-custom-button.elementor-animation-double-line:hover:after {
    width: 80%;
}

/* Fill Animation */
.moonulel-custom-button.elementor-animation-fill {
    background: linear-gradient(to right, transparent 50%, var(--fill-color, currentColor) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.3s ease;
    border: 1px solid currentColor;
}

.moonulel-custom-button.elementor-animation-fill:hover {
    background-position: left bottom;
    color: white;
}

/* Sweep Animation */
.moonulel-custom-button.elementor-animation-sweep {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.moonulel-custom-button.elementor-animation-sweep:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.3s ease;
}

.moonulel-custom-button.elementor-animation-sweep:hover:before {
    transform: scaleX(1);
}

.moonulel-custom-button.elementor-animation-sweep:hover {
    color: white;
}

/* Radial Animation */
.moonulel-custom-button.elementor-animation-radial {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.moonulel-custom-button.elementor-animation-radial:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.moonulel-custom-button.elementor-animation-radial:hover:before {
    transform: scale(1.5);
}

.moonulel-custom-button.elementor-animation-radial:hover {
    color: white;
}

/* Shine Animation */
.moonulel-custom-button.elementor-animation-shine {
    position: relative;
    overflow: hidden;
}

.moonulel-custom-button.elementor-animation-shine:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.moonulel-custom-button.elementor-animation-shine:hover:before {
    left: 100%;
}

/* Icon Specific Animations */
.moonulel-button-icon {
    transition: all 0.3s ease;
}

/* Icon Spin Animation */
.moonulel-custom-button.elementor-animation-icon-spin .moonulel-button-icon {
    transition: transform 0.3s ease;
}

.moonulel-custom-button.elementor-animation-icon-spin:hover .moonulel-button-icon {
    transform: rotate(360deg);
}

/* Icon Bounce Animation */
.moonulel-custom-button.elementor-animation-icon-bounce:hover .moonulel-button-icon {
    animation: moonulel-icon-bounce 0.6s;
}

@keyframes moonulel-icon-bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -8px, 0);
    }

    70% {
        transform: translate3d(0, -4px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Icon Shake Animation */
.moonulel-custom-button.elementor-animation-icon-shake:hover .moonulel-button-icon {
    animation: moonulel-icon-shake 0.5s;
}

/* Width Classes */
.moonulel-button-width-full .moonulel-custom-button {
    width: 100%;
}

.moonulel-button-width-auto .moonulel-custom-button {
    width: max-content ;
}





/* Add your animation styles here */
@keyframes moonulel-icon-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

/* Full Width Button */
.moonulel-button-full-width {
    display: block;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .moonulel-custom-button {
        transition: all 0.2s ease;
    }

    .moonulel-custom-button.elementor-animation-grow:hover,
    .moonulel-custom-button.elementor-animation-shrink:hover {
        transform: scale(1);
    }

    .moonulel-custom-button.elementor-animation-float:hover,
    .moonulel-custom-button.elementor-animation-sink:hover,
    .moonulel-custom-button.elementor-animation-slide-left:hover,
    .moonulel-custom-button.elementor-animation-slide-right:hover,
    .moonulel-custom-button.elementor-animation-slide-up:hover,
    .moonulel-custom-button.elementor-animation-slide-down:hover {
        transform: none;
    }
}