.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.divider {
    width: 80px;
    height: 3px;
    margin: 1rem auto;
}

.hover-shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Modal cursos */

.custom-modal {
    transition: all 0.3s ease;
}

.btn-auth {
    transition: all 0.3s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bi {
    margin-right: 5px;
}

/* Animación de Footer */

.dog-animation-container {
    position: relative;
    text-align: center;
    padding: 20px;
    width: fit-content;
    margin: 0 auto;
}

.grass-container {
    position: relative;
    width: 300px;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.grass-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('https://i.gifer.com/1yk4.gif');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
}

.animated-dog {
    position: absolute;
    width: 180px;
    height: auto;
    bottom: -40px;
    left: -60px;
    z-index: 2;
    animation: run 5s infinite linear;
}

.dog-caption {
    margin-top: 25px;
    font-weight: bold;
    color: #FF6B00;
    animation: pulse 1.5s infinite;
    font-size: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

@keyframes run {
    0% {
        left: -60px;
        transform: translateY(0);
    }
    20% {
        transform: translateY(-8px);
    }
    40% {
        transform: translateY(0);
    }
    60% {
        transform: translateY(-5px);
    }
    80% {
        transform: translateY(0);
    }
    100% {
        left: calc(100% + 30px);
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.9;
    }
}

@keyframes grass-move {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}