.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay i {
    color: #fff;
    font-size: 40px;
}

#prevBtn, #nextBtn {
    top: 50%;
    transform: translateY(-50%);
}
.modal {
    z-index: 20000 !important;
}

.modal-backdrop {
    z-index: 19999 !important;
}
