.gallery-section{
    padding:100px 0;
    background:#f7f9fc;
}

.gallery-section .container{
    max-width:1450px;
    margin:auto;
    padding:0 20px;
}

.gallery-section .section-title{
    text-align:center;
    margin-bottom:60px;
}

.gallery-section .section-title span{
    display:inline-block;
    color:#073e88;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.gallery-section .section-title h2{
    font-size:42px;
    color:#16223b;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:4px;
    background:#ececec;
}

.gallery-item{
    position:relative;
    aspect-ratio:1/1;
    background:#fff;
    overflow:hidden;
    opacity:0;
    transform:translateY(25px);
    transition:
        opacity .5s,
        transform .5s;
}

.gallery-item.show{
    opacity:1;
    transform:translateY(0);
}

.gallery-item img{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:auto;
    height:auto;
    max-width:86%;
    max-height:86%;
    object-fit:contain;
    object-position:center;
    transition:transform .4s ease;
}

.gallery-item:hover img{
    transform:translate(-50%,-50%) scale(1.05);
}

.gallery-pagination{
    margin-top:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.gallery-pagination button{
    border:none;
    background:#073e88;
    color:#fff;
    padding:12px 24px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.gallery-pagination button:hover:not(:disabled){
    background:#052d66;
}

.gallery-pagination button:disabled{
    opacity:.45;
    cursor:not-allowed;
}

#pageNumbers{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
}

#pageNumbers button{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#e9edf3;
    color:#16223b;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

#pageNumbers button.active{
    background:#073e88;
    color:#fff;
}

@media(max-width:1200px){

    .gallery-section{
        padding:90px 0;
    }

    .gallery-section .container{
        max-width:1100px;
    }

    .gallery-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:991px){

    .gallery-section{
        padding:80px 0;
    }

    .gallery-section .container{
        max-width:820px;
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-section .section-title h2{
        font-size:36px;
    }

    .gallery-item img{
        max-width:84%;
        max-height:84%;
    }

}

@media(max-width:576px){

    .gallery-section{
        padding:70px 0;
    }

    .gallery-section .container{
        padding:0 16px;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-section .section-title{
        margin-bottom:40px;
    }

    .gallery-section .section-title h2{
        font-size:30px;
    }

    .gallery-item img{
        max-width:82%;
        max-height:82%;
    }

    .gallery-pagination{
        gap:10px;
    }

    .gallery-pagination button{
        padding:10px 18px;
    }

    #pageNumbers button{
        width:40px;
        height:40px;
    }

}

.gallery-meat{
    width:100%;
}

.gallery-meat-section .section-title{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center !important;
    margin:0 auto 60px;
}

.gallery-meat-section .section-title h1,
.gallery-meat-section .section-title h2,
.gallery-meat-section .section-title h3,
.gallery-meat-section .section-title p{
    width:100%;
    text-align:center !important;
    margin:0 auto;
}

.gallery-meat-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:4px;
    background:#ececec;
}

.gallery-meat-item{
    position:relative;
    aspect-ratio:1 / 1;
    background:#fff;
    overflow:hidden;
    display:none;
    opacity:0;
    transform:translateY(25px);
    transition:opacity .45s ease,transform .45s ease;
}

.gallery-meat-item.show{
    display:block;
    opacity:1;
    transform:translateY(0);
}

.gallery-meat-item img{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:auto;
    height:auto;
    max-width:86%;
    max-height:86%;
    object-fit:contain;
    transition:transform .35s ease;
}

.gallery-meat-item:hover img{
    transform:translate(-50%,-50%) scale(1.05);
}

.gallery-meat-pagination{
    margin-top:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.gallery-meat-pagination button{
    border:none;
    background:#073e88;
    color:#fff;
    padding:12px 24px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:.3s ease;
}

.gallery-meat-pagination button:hover:not(:disabled){
    background:#052d66;
    transform:translateY(-2px);
}

.gallery-meat-pagination button:disabled{
    opacity:.45;
    cursor:not-allowed;
    transform:none;
}

#pageNumbersMeat{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

#pageNumbersMeat button{
    width:45px;
    height:45px;
    padding:0;
    border:none;
    border-radius:50%;
    background:#e9edf3;
    color:#16223b;
    font-weight:600;
    cursor:pointer;
    transition:.3s ease;
}

#pageNumbersMeat button:hover:not(.active){
    background:#dce3ed;
    transform:translateY(-2px);
}

#pageNumbersMeat button.active{
    background:#073e88;
    color:#fff;
}

@media(max-width:991px){

    .gallery-meat-section .section-title{
        margin-bottom:45px;
    }

    .gallery-meat-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-meat-pagination{
        margin-top:45px;
        gap:10px;
    }
}

@media(max-width:576px){

    .gallery-meat-section .section-title{
        margin-bottom:35px;
    }

    .gallery-meat-grid{
        grid-template-columns:1fr;
    }

    .gallery-meat-pagination{
        margin-top:35px;
        gap:8px;
    }

    #pageNumbersMeat{
        gap:7px;
    }

    #pageNumbersMeat button{
        width:40px;
        height:40px;
    }

    .gallery-meat-pagination button{
        padding:10px 18px;
        font-size:.85rem;
    }
}

.gallery-etc-section{
    padding:100px 0;
    background:#f7f9fc;
}

.gallery-etc-section .container{
    max-width:1450px;
    margin:auto;
    padding:0 20px;
}

.gallery-etc-section .section-title{
    text-align:center;
    margin-bottom:60px;
}

.gallery-etc-section .section-title h2{
    font-size:42px;
    color:#16223b;
}

.gallery-etc-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:4px;
    background:#ececec;
}

.gallery-etc-item{
    position:relative;
    aspect-ratio:1/1;
    background:#fff;
    overflow:hidden;
    opacity:0;
    transform:translateY(25px);
    transition:
        opacity .5s,
        transform .5s;
}

.gallery-etc-item.show{
    opacity:1;
    transform:translateY(0);
}

.gallery-etc-item img{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:auto;
    height:auto;
    max-width:86%;
    max-height:86%;
    object-fit:contain;
    object-position:center;
    transition:transform .4s ease;
}

.gallery-etc-item:hover img{
    transform:translate(-50%,-50%) scale(1.05);
}

.gallery-etc-pagination{
    margin-top:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.gallery-etc-pagination button{
    border:none;
    background:#073e88;
    color:#fff;
    padding:12px 24px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.gallery-etc-pagination button:hover:not(:disabled){
    background:#052d66;
}

.gallery-etc-pagination button:disabled{
    opacity:.45;
    cursor:not-allowed;
}

#pageNumbersEtc{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
}

#pageNumbersEtc button{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#e9edf3;
    color:#16223b;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

#pageNumbersEtc button.active{
    background:#073e88;
    color:#fff;
}

@media(max-width:1200px){

    .gallery-etc-section{
        padding:90px 0;
    }

    .gallery-etc-section .container{
        max-width:1100px;
    }

    .gallery-etc-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:991px){

    .gallery-etc-section{
        padding:80px 0;
    }

    .gallery-etc-section .container{
        max-width:820px;
    }

    .gallery-etc-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-etc-section .section-title h2{
        font-size:36px;
    }

    .gallery-etc-item img{
        max-width:84%;
        max-height:84%;
    }

}

@media(max-width:576px){

    .gallery-etc-section{
        padding:70px 0;
    }

    .gallery-etc-section .container{
        padding:0 16px;
    }

    .gallery-etc-grid{
        grid-template-columns:1fr;
    }

    .gallery-etc-section .section-title{
        margin-bottom:40px;
    }

    .gallery-etc-section .section-title h2{
        font-size:30px;
    }

    .gallery-etc-item img{
        max-width:82%;
        max-height:82%;
    }

    .gallery-etc-pagination{
        gap:10px;
    }

    .gallery-etc-pagination button{
        padding:10px 18px;
    }

    #pageNumbersEtc button{
        width:40px;
        height:40px;
    }

}