.custom-panel-hover {
    position: relative;
}

.custom-panel-hover .custom-panel-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.custom-panel-hover .custom-panel-header {
    position: relative;
    overflow: hidden;
}

.custom-panel-hover .custom-panel-body-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.custom-panel-hover:hover .custom-panel-body-overlay {
    transform: translateY(0);
}

.custom-panel-hover .custom-panel-img {
    transition: transform 0.3s ease;
}

.custom-panel-hover:hover .custom-panel-img {
    transform: scale(1.05);
}