.px-51 { padding-right: 1rem !important; padding-left: 1rem !important; }
        .display-u { font-size: 3rem; }
        .cc { padding: 5px; }
        .h-85 { height: 85% !important; }
        video { 
            width: 100vw; 
            height: 100vh; 
            object-fit: cover; 
            z-index: -1; 
        }
        
        /* Fix overflow issues on mobile */
        @media (max-width: 576px) {
            video {
                width: 100%;
                max-width: 100vw;
            }
            
            /* Prevent horizontal overflow */
            body {
                overflow-x: hidden;
            }
            
            /* Fix container padding issues */
            .container-fluid {
                padding-left: 15px;
                padding-right: 15px;
            }
            
            /* Fix navbar padding */
            .px-51 {
                padding-left: 15px !important;
                padding-right: 15px !important;
            }
            
            /* Fix row and col issues */
            .row {
                margin-left: -15px;
                margin-right: -15px;
            }
            
            .row > * {
                padding-left: 15px;
                padding-right: 15px;
            }
            
            /* Fix any elements that might cause horizontal scroll */
            * {
                max-width: 100%;
                box-sizing: border-box;
            }
            
            /* Fix images and media */
            img, video, iframe {
                max-width: 100%;
                height: auto;
            }
        }
        .single-blog-item {
            margin-bottom: 30px;
            background: #fff;
            box-shadow: 0 0px 5px rgb(71 71 71 / 20%);
            transition: .3s;
        }
        .single-blog-item-img img {
            border-left: 5px solid #faae56;
            width: 100%;
            height: 240px;
        }
        .single-blog-item-txt { padding: 25px; }
        .single-blog-item-txt h2 { font-weight: 600; font-size: 20px; color: #000; margin-bottom: 15px; }
        .single-blog-item-txt h4 { font-size: 16px; color: #000; font-weight: 700; margin-bottom: 15px; }
        .badge-date {
            display: inline-block;
            padding: 3px 7px;
            font-size: 12px;
            font-weight: bold;
            color: #fff;
            background: #00bcd4;
            border-radius: 10px;
        }
        .field-content { color: #464545; }

/* Modern Pagination Styles */
.pagination-modern {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.5rem;
    margin-bottom: 0;
    gap: 0.25rem;
}

.pagination-modern .page-item {
    margin: 0;
}

.pagination-modern .page-link {
    position: relative;
    display: block;
    padding: 0.75rem 1rem;
    margin: 0;
    line-height: 1.25;
    color: #495057;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}

.pagination-modern .page-link:hover {
    z-index: 2;
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-modern .page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.pagination-modern .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background: linear-gradient(135deg, #00bcd4, #003cd4);
    border-color: #00bcd4;
    box-shadow: 0 4px 12px rgba(22, 145, 86, 0.3);
    transform: translateY(-1px);
}

.pagination-modern .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
    opacity: 0.6;
}

.pagination-modern .page-item:first-child .page-link,
.pagination-modern .page-item:last-child .page-link {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    font-weight: 600;
}

.pagination-modern .page-item:first-child .page-link:hover,
.pagination-modern .page-item:last-child .page-link:hover {
    background: linear-gradient(135deg, #00bcd4, #003cd4);
    color: #fff;
    border-color: #00bcd4;
}

.pagination-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #00bcd4;
    font-size: 0.875rem;
    display: inline-block;
    margin: 0 auto;
}

.pagination-info small {
    color: #495057;
    font-weight: 500;
}

@media (max-width: 576px) {
    .pagination-modern .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-width: 36px;
    }
    
    .pagination-modern {
        gap: 0.125rem;
    }
    
    .pagination-info {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

.pagination-modern .page-link {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}