.gallery-card {
    position: relative;
    background-image: linear-gradient(-45deg, #f89b29 0%, #ff0f7b 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.heading {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.para {
    text-align: center;
    color: #ffffff;
    opacity: 0.7;
    line-height: 1.4;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-card:hover .overlay {
    opacity: 1;
    pointer-events: auto;
}

.gallery-card .gallery-card-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    font-weight: 600;
    padding: 10px 20px;
    width: max-content;
    font-size: 14px;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 10px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    border: none;
    opacity: 0;
    scale: 0;
    transform-origin: 0 0;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-card:hover .gallery-card-btn {
    opacity: 1;
    scale: 1;
}

.gallery-card .gallery-card-btn:hover {
    box-shadow: 0 0 0px 5px rgba(0, 0, 0, 0.3);
}

.gallery-card .gallery-card-btn:active {
    scale: 0.95;
}

.overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background-image: linear-gradient(-45deg, #ffeb3b6b 0%, #017bd9 100%);
    transition: transform 0.5s ease;
}

.gallery-card:hover .overlay::after {
    transform: translate(-50%, -50%) scale(2);
}
