.single-causes {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.single-causes .image-container {
    position: relative;
    width: 100%;
    height: 365px;
    overflow: hidden;
}

.single-causes img {
    width: 100%;
    height: 65%;
    object-fit: cover; /* Ensure the image is properly visible */
    transition: transform 0.3s ease;
}

.single-causes:hover img {
    transform: scale(1.05); /* Zoom-in effect on hover */
}

.causes-content {
    position: absolute;
    bottom: -50px; /* Initially positioned off-screen */
    width: 100%;
    height: 50%;
    background-color: rgba(0, 0, 255, 0.8); /* Initial blue background */
    padding: 20px;
    transition: all 0.5s ease; /* Smooth slide-in effect */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.single-causes:hover .causes-content {
    bottom: 0; /* Slide the text in to overlap the bottom of the image */
    background-color: rgb(255 96 21); /* Change to orange background on hover */
}

.causes-btn-one {
    background-color: white;
    color: black;
    padding: 10px 20px;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.causes-btn-one:hover {
    background-color: black;
    color: white;
}