
.sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#container1 {
    margin: auto;
    width: 100% !important;
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(3, 1fr); /* Create three equal-width columns */
    gap: 20px; /* Adjust the gap between items */
}

.grid-item {
display: inline-block;
    height: 259px;
    overflow: hidden;
    text-align: center;
    width: 400px;
}

.grid-item img {
width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.9s;
}

.grid-item img:hover {
    filter: none;
}

.isotope-pager .pager {
    display: inline-block;
}

.filters {
    width: 100%;
    text-align: center;
    padding-bottom: 35px;
    padding-top: 20px;
}

.filters ul {
    /* Your custom styles here (can remove comments if you want to enable these styles) */
}

.filters li {
    display: inline-block;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.filters li a {
    color: #545454;
    text-decoration: none;
}

.filters li a:hover {
    color: #272c75;
}

.filters li:hover {
    box-shadow: -1px 1px 11px rgba(0, 0, 0, .4);
    border-radius: 15px;
}

.filters li.active a {
    color: #272c75;
    border: 1px solid #272c75;
    box-shadow: -1px 1px 11px rgba(0, 0, 0, .4);
    padding: 10px 25px;
}

/* Ensure the layout remains responsive */
@media (max-width: 1024px) {
    #container1 {
        grid-template-columns: repeat(2, 1fr); /* Change to 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    #container1 {
        grid-template-columns: 1fr; /* Change to 1 column on smaller screens */
    }
}



.isotope-pager a {
    margin: 6px 1px;
    display: inline-block;
    width: 50px;
    /* height: 60px; */
    line-height: 31px;
    color: #b6b6b6;
    font-weight: 600;
    transition: 0.3s;
    /* position: relative; */
    /* padding-right: 26px; */
    box-shadow: -1px 1px 11px rgba(0, 0, 0, .1);
    border-radius: 25px;
    background-color: #232323;
    border: .5px solid #e3ca66;
    text-decoration: none;
}

.isotope-pager a:hover {
    color: #fff;
    border: .5px solid #ffeeac;
    box-shadow: -1px 1px 10px 3px rgba(0, 0, 0, .1);
}

.isotope-pager .active {
    color: #e3ca66 !important;
    box-shadow: -1px 1px 10px 5px rgba(0, 0, 0, .1);
    border-radius: 25px;
    background-color: #161616;
    border: 1px dotted #e3ca66;
}

.isotope-pager .prev {
    border-radius: 30px 0 0 30px;
}

.isotope-pager .next {
    border-radius: 0 30px 30px 0;
}

.isotope-pager a::before,
.isotope-pager a:after {
    content: "";
    position: absolute;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
}

.isotope-pager .num::before,
.next::before {
    border-right: 20px solid #2c3e50;
    right: 100%;
}

.isotope-pager .num:after,
.prev:after {
    border-right: 20px solid #f1f1f1;
    right: 0;
}











/*-- footer --*/
.footer {
    padding: .1em 0;
    background: linear-gradient(180deg, rgba(227, 202, 102, 1) 0%, rgba(180, 142, 71, 1) 100%);
    text-align: center;
    margin-top: 20px;
}

.footer p {
    color: #FFF;
    letter-spacing: 1px;
}

.footer p a {
    color: #fff;
}

.footer p a:hover {
    color: #fff;
    text-decoration: none;
}

/*-- footer --*/
