
/* Center the pagination */
.pagination.pagination-style-one {
    display: flex;
    justify-content: center; /* Center the pagination */
    gap: 10px; /* Add space between the page numbers */
    padding-top: 20px; /* Add padding to the top */
}

/* Styling individual page links */
.pagination a {
    display: inline-block;
    padding: 10px 15px; /* Adjust the size of the button */
    font-size: 16px;
    color: white; /* Text color */
    background-color: #007bff; /* Same blue color for both buttons */
    border-radius: 50%; /* Make the buttons round */
    text-decoration: none; /* Remove underline from links */
    text-align: center;
    width: 40px; /* Fixed width for round shape */
    height: 40px; /* Fixed height for round shape */
    line-height: 20px; /* Center text vertically */
}

/* Add a hover effect for the page links */
.pagination a:hover {
    background-color: #0056b3; /* Slightly darker blue on hover */
}

/* Add the selected page styling */
.pagination a.selected {
    background-color: #007bff; /* Same blue for the selected page */
    font-weight: bold; /* Make the selected page text bold */
}


/* Basic styling for the container */
.container1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 images per row */
    gap: 20px; /* Gap between images */
}

/* Card styling to keep images in a fixed box */
.card {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Ensure images inside cards are properly displayed */
.card-image img {
    width: 100%;
    height: 200px; /* Set the same height for all images */
    object-fit: cover; /* This ensures the image covers the entire space without distortion */
}

/* Media queries for responsive design */
@media screen and (max-width: 1200px) {
    .container1 {
        grid-template-columns: repeat(3, 1fr); /* 3 images per row for medium screens */
    }
}

@media screen and (max-width: 900px) {
    .container1 {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row for smaller screens */
    }
}

@media screen and (max-width: 600px) {
    .container1 {
        grid-template-columns: 1fr; /* 1 image per row for mobile screens */
    }
}