/*==================================================
                HOME GALLERY
==================================================*/

.gallery-home{

    padding:120px 0;

    background:#fff;

    position:relative;

    overflow:hidden;

}

.gallery-home::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(15,107,75,.05);

    left:-170px;

    top:-170px;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    grid-auto-rows:260px;

    gap:25px;

    margin-top:60px;

}

.gallery-item{

    overflow:hidden;

    border-radius:20px;

    position:relative;

    cursor:pointer;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.gallery-item.large{

    grid-row:span 2;

}

.gallery-item img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.gallery-item::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        rgba(0,0,0,0),

        rgba(0,0,0,.45)

    );

    opacity:0;

    transition:.4s;

    z-index:2;

}

.gallery-item::after{

    content:"\f00e";

    font-family:"Font Awesome 6 Free";

    font-weight:900;

    position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%) scale(.7);

    width:70px;

    height:70px;

    border-radius:50%;

    background:#fff;

    color:#0f6b4b;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    opacity:0;

    transition:.4s;

    z-index:3;

}

.gallery-item:hover img{

    transform:scale(1.12);

}

.gallery-item:hover::before{

    opacity:1;

}

.gallery-item:hover::after{

    opacity:1;

    transform:translate(-50%,-50%) scale(1);

}

.gallery-btn{

    margin-top:60px;

    text-align:center;

}