.gallery-section{
    padding:80px 0;
    background:#ffffff;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:15px;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.4s;
    display:block;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.6);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.3s;
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
}

.gallery-overlay i{
    color:#fff;
    font-size:35px;
}