.cat {
    max-width:100%; 
    margin: 20px auto;
}

.xoverlay {
    position: relative;
    width: 100%;
    height: 450px; 
    background: #fff;
    border-radius: 12px; 
    overflow: hidden;   
    perspective: 1000px;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.xoverlay:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.xoverlay .x-img-main {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 20px;      
    transition: transform 0.5s ease;
    display: block;
}


.x-fpush-bottom:hover .x-img-main {   
    transform: scale(0.8) translateY(-15%); 
}

.xoverlay-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; 
    background: linear-gradient(to top, rgba(0, 84, 148, 1), rgba(0, 84, 148, 0.9));
    transform-origin: bottom;
    transform: rotateX(90deg);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-fpush-bottom:hover .xoverlay-box {
    transform: rotateX(0deg);
    opacity: 1;
}

.xoverlay-data span a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding: 0 15px;
}