@media screen and ( max-width: 400px ){

    li.page-item {

        display: none;
    }

    .page-item:first-child,
    .page-item:nth-child( 2 ),
    .page-item:nth-last-child( 2 ),
    .page-item:last-child,
    .page-item.active,
    .page-item.disabled {

        display: block;
    }
}

.table_form{
    width: 70%;
    border-radius: 20px;
    background-color: #FFF;
    padding: 15px;
}
.table_form td{
    border-radius: 20px;
}
.table_form tr{
    border-radius: 20px;
}

@media (max-width: 576px) {
    .table_form{
        width: 100%;
    }
  }

.ck-editor__editable[role="textbox"] {
    /* editing area */
    min-height: 300px;
}
.ck-content .image {
    /* block images */
    max-width: 80%;
    margin: 20px auto;
}

/* Custom CSS for Gallery Page */
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px; /* Slightly rounded corners for cards */
            margin-bottom: 20px; /* Space between rows */
            box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
            transition: transform 0.3s ease-in-out; /* Smooth hover effect */
        }
        .gallery-item:hover {
            transform: translateY(-5px); /* Lift effect on hover */
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }
        .gallery-item img {
            width: 100%;
            height: 250px; /* Fixed height for consistent image size */
            object-fit: cover; /* Ensures images cover the area without distortion */
            display: block;
            transition: transform 0.5s ease; /* Zoom effect on hover */
        }
        .gallery-item:hover img {
            transform: scale(1.05); /* Slightly zoom in on hover */
        }
        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
            color: white;
            padding: 10px;
            font-size: 0.9em;
            opacity: 0; /* Hidden by default */
            transition: opacity 0.3s ease;
            text-align: center;
        }
        .gallery-item:hover .gallery-caption {
            opacity: 1; /* Show on hover */
        }
        .modal-body img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        /* Style for the 'Load More' button if implemented */
        .load-more-btn {
            display: block;
            margin: 30px auto;
            padding: 10px 30px;
            font-size: 1.1em;
            border-radius: 50px; /* Pill-shaped button */
            transition: all 0.3s ease;
        }
        .load-more-btn:hover {
            transform: translateY(-2px);
        }

         .partner-carousel {
            padding: 3rem 0;
            background-color: #f8f9fa;
        }
        .carousel-item img {
            max-height: 150px;
            object-fit: contain;
            margin: 0 auto;
        }
        .carousel-caption {
            background: rgba(0, 0, 0, 0.5);
            border-radius: 5px;
        }
        .partner-container {
            max-width: 1200px;
            margin: 0 auto;
        }