/* Estilos para las tarjetas SUPER animadas */
.card-style3 {
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Efecto elástico */
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 15px !important;
    background: white;
}

/* Borde degradado animado (verde/amarillo) */
.card-style3::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    z-index: -1;
    background: linear-gradient(45deg, 
        #a8e063 0%, 
        #56ab2f 25%, 
        #f9d423 50%, 
        #f9d423 75%, 
        #a8e063 100%);
    background-size: 400% 400%;
    animation: gradientBorder 3s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-radius: inherit;
    filter: blur(5px);
}

.card-style3:hover::before {
    opacity: 1;
    transform: scale(1.02);
}

/* Efecto rebote al hacer hover */
.card-style3:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    animation: bounce 0.8s ease;
}

/* Animación de rebote */
@keyframes bounce {
    0%, 100% { transform: translateY(-10px) scale(1.03); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* Animación del borde degradado */
@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efecto en el ícono */
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(to right, #56ab2f 0%, #a8e063 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 5px 15px rgba(86, 171, 47, 0.4);
}

.card-style3:hover .card-icon {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(to right, #f9d423 0%, #a8e063 100%);
    animation: iconPulse 1s ease infinite alternate;
}

@keyframes iconPulse {
    from { box-shadow: 0 0 0 0 rgba(169, 224, 99, 0.7); }
    to { box-shadow: 0 0 0 15px rgba(169, 224, 99, 0); }
}

/* Efecto de "luz interior" */
.card-style3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(248, 231, 28, 0.1), transparent 70%);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.card-style3:hover::after {
    transform: scale(1.2);
    opacity: 1;
}

/* Texto con pequeña animación */
.card-body h4 {
    transition: transform 0.3s ease;
}

.card-style3:hover .card-body h4 {
    transform: translateX(5px);
    color: #56ab2f;
}

.card-body p {
    transition: all 0.4s ease 0.1s;
}

.card-style3:hover .card-body p {
    transform: translateY(-3px);
    color: #333;
}

