.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.gallery-box img {
    width: 100%;
    display: block;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-box:hover .gallery-overlay {
    opacity: 1;
}

.search-icon {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-icon i {
    font-size: 17px;
    color: #333;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 70%;
    max-height: 70%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}
.portfolio-box:hover{
    box-shadow: 10px 0 70px rgba(0, 0, 0, 0.15);
  }
  .portfolio-caption{
    text-align: center;
  }