.scroll-smooth {
    scroll-behavior: smooth
}

.backdrop-blur {
    backdrop-filter: blur(10px)
}

.transition-all {
    transition: all .3s ease
}

.fade-in {
    animation: fadeIn .8s ease-in
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.gradient-text {
    background: linear-gradient(135deg, #E27227 0%, #4A84F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.floating-element {
    animation: float 6s ease-in-out infinite
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

.pulse-ring {
    animation: pulse-ring 2s cubic-bezier(.455, .03, .515, .955) infinite
}

@keyframes pulse-ring {
    0% {
        transform: scale(.8);
        opacity: 1
    }

    80%,
    100% {
        transform: scale(1.2);
        opacity: 0
    }
}

/* Estilo para los tooltips */
button[title]:hover::after {
    content: attr(title); /* Usa el texto del atributo title */
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333; /* Fondo oscuro */
    color: white; /* Texto blanco */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Evita que el texto se corte */
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Asegura que el tooltip aparezca cuando se pase el mouse por el botón */
button[title]:hover::after {
    opacity: 1;
}
