/* ==================== BANNER SECTION ==================== */
.banner-section {
    background: linear-gradient(135deg, rgba(25, 45, 80, 0.55) 0%, rgba(25, 45, 80, 1) 100%);
    background-size: cover;
    opacity: 1;
    padding: clamp(4rem, 8vw, 5rem) 0 clamp(5rem, 10vw, 7rem) 0;
    color: white;
    position: relative;
    min-height: clamp(14rem, 28vw, 18rem);
    margin: 0;
    z-index: 1;
    overflow: hidden;
}
 
.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    background: url('../../Images/bg/Inner-Page-Banner.svg') center center no-repeat;
    background-size: cover;
    z-index: 1;
}

.banner-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(66, 165, 245, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.banner-section .container {
    position: relative;
    z-index: 2;
}

.banner-content {
    text-align: start;
    margin: 0 auto;
}

.banner-title {
    font-size: var(--font-4xl);
    font-weight: var(--weight-hero);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.2;
    color: white;
    letter-spacing: -0.02em;
}

.banner-subtitle {
    font-size: var(--font-lg);
    font-weight: var(--weight-subtitle);
    margin: 0;
    opacity: 1;
    color: white;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}
 

/* ==================== CONTENT PAGE SECTION ==================== */
.content-page-section {
    background-color: #ffffff;
    padding: clamp(2rem, 4vw, 3rem) 0;
    position: relative;
    margin-top: clamp(-3rem, -6vw, -4rem);
    z-index: 3;
}

.content-page-section .container {
    position: relative;
    z-index: 1;
}

/* ==================== FILTERS ==================== */
.filters-container {
    background: white;
    border-radius: 1rem;
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-top: clamp(-4rem, -8vw, -5rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 10;
    overflow: visible;
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

    .filters-container:hover {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    }

.filter-label {
    display: block;
    font-weight: 500;
    color: #212529;
    margin-bottom: 0.5rem;
    font-size: var(--font-base);
}

.filter-input {
    width: 100%;
    padding: clamp(0.75rem, 1.2vw, 0.875rem) clamp(1rem, 1.8vw, 1.25rem);
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: var(--font-base);
    color: #212529;
    background-color: white;
    transition: all 0.3s ease;
}

    .filter-input:hover {
        border-color: #42a5f5;
        box-shadow: 0 2px 8px rgba(66, 165, 245, 0.15);
    }

    .filter-input:focus {
        border-color: #42a5f5;
        outline: none;
        background-color: white;
        box-shadow: 0 0 0 0.15rem rgba(66, 165, 245, 0.1), 0 2px 8px rgba(66, 165, 245, 0.15);
    }

    .filter-input::placeholder {
        color: #6c757d;
        opacity: 0.7;
    }

/* ==================== SEARCH BUTTON INLINE ==================== */
.search-btn-inline {
    background-color: var(--primary-blue);
    border: none;
    color: white;
    padding: clamp(0.5rem, 1vw, 0.625rem) clamp(1.25rem, 2.5vw, 1.5rem);
    border-radius: 60px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: var(--font-base);
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 35%;
}

.search-btn-inline:hover {
    background-color: var(--secondary-blue);
    color: white;
    transform: translateY(-0.0625rem);
}

.search-btn-inline:active {
    transform: translateY(0);
}

.search-btn-inline:focus {
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(62, 116, 210, 0.25);
}

.search-btn-inline i {
    font-size: var(--font-base);
}

/* Search button - solid blue */
#btnSearch {
    background-color: var(--primary-blue);
    color: white;
    border: none;
}

    #btnSearch:hover {
        background-color: var(--secondary-blue);
        color: white;
    }

/* Reset button - gray */
#btnReset {
    background-color: #6c757d;
    color: white;
    border: none;
}

    #btnReset:hover {
        background-color: #5a6268;
        color: white;
    }

/* ==================== CONTENT GRID ==================== */
.content-grid {
    margin-bottom: 2rem;
}

.loading-state {
    text-align: center;
    padding: 3rem 0;
}

/* ==================== ENTRANCE ANIMATION ==================== */
.content-card-col[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.content-card-col[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== CONTENT CARD ==================== */
.content-card-page {
    background: #192D50;
    border-radius: clamp(0.625rem, 1.25vw, 0.875rem);
    padding: clamp(1rem, 2vw, 1.25rem);
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    will-change: transform;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0);
    cursor: pointer;
    justify-content: space-between;
}

.content-card-page:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.4rem 1rem 0 rgba(12, 12, 13, 0.15), 0 0.2rem 0.5rem 0 rgba(12, 12, 13, 0.1);
}

.content-card-header {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-md);
}

.content-card-icon {
    width: clamp(1.5rem, 2.5vw, 2rem);
    height: clamp(1.5rem, 2.5vw, 2rem);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .content-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .content-card-icon .content-card-type-icon {
        font-size: clamp(1.25rem, 2vw, 1.5rem);
        color: white;
    }

.content-card-title {
    font-size: var(--font-xl);
    font-weight: var(--weight-title);
    color: white;
    margin: 0;
    line-height: 1.2;
    text-transform: capitalize;
}

.content-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    min-height: 5rem;
    overflow: hidden;
}

.content-card-description {
    color: white;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.0041rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-card-new-badge {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: clamp(0.25rem, 0.5vw, 0.375rem) clamp(0.625rem, 1.25vw, 0.875rem);
    border-radius: 0.25rem;
    font-size: var(--text-2xs);
    font-weight: 700;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: var(--gap-sm);
    gap:0.5rem;
}

.content-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(1.5rem, 2.5vw, 2rem);
    height: clamp(1.5rem, 2.5vw, 2rem);
    color: white;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    background: transparent;
    border: none;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.85;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.content-download-btn:hover {
    opacity: 1;
    transform: scale(1.2);
    color: white;
    background: transparent;
    text-decoration: none;
}

.content-view-link {
    color: white;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    font-size: var(--font-xs);
    text-transform: capitalize;
    gap: var(--gap-sm);
}

    .content-view-link:hover {
        color: white;
        opacity: 0.8;
    }

    .content-view-link i {
        font-size: var(--font-xs);
        transition: transform 0.3s;
    }

    .content-view-link:hover i {
        transform: translateX(0.15rem);
    }

/* ==================== NO RESULTS ==================== */
.no-results-message {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

/* ==================== PAGINATION ==================== */
.pagination-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.pagination-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

#pageNumbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-size-label {
    color: #212529;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.page-size-select {
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    color: #212529;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
}

.page-size-select:hover {
    border-color: #42a5f5;
    box-shadow: 0 2px 8px rgba(66, 165, 245, 0.15);
}

.page-size-select:focus {
    border-color: #42a5f5;
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(66, 165, 245, 0.1), 0 2px 8px rgba(66, 165, 245, 0.15);
}

.pagination-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-item-modern {
    margin: 0;
}

.page-link-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    color: #42a5f5;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    font-weight: 500;
    cursor: pointer;
}

.page-link-modern:hover:not(.disabled):not(.active) {
    background-color: #42a5f5;
    color: white;
    border-color: #42a5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

.page-link-modern:active:not(.disabled) {
    transform: translateY(0);
}

.page-link-modern.active {
    background-color: #42a5f5;
    color: white;
    border-color: #42a5f5;
    cursor: default;
}

.page-item-modern.disabled .page-link-modern {
    color: #6c757d;
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.5;
}

.page-item-modern.disabled .page-link-modern:hover {
    background-color: #f5f5f5;
    color: #6c757d;
    border-color: #e0e0e0;
    transform: none;
    box-shadow: none;
}

.page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    color: #6c757d;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
}

.page-link-modern i {
    font-size: 0.75rem;
}

/* Responsive pagination */
@media (max-width: 991px) {
    .pagination-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-left,
    .pagination-center,
    .pagination-right {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .pagination-wrapper {
        gap: 1rem;
    }

    .page-size-selector {
        width: 100%;
        justify-content: center;
    }

    .pagination-modern {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-link-modern {
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8125rem;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .filters-container {
        border-radius: 0.875rem;
    }
}

@media (max-width: 767px) {
    .filters-container {
        padding: 1.25rem;
        margin-top: clamp(-3rem, -6vw, -4rem);
        border-radius: 0.75rem;
    }
}

@media (max-width: 575px) {
    .filters-container {
        padding: 1rem;
    }

    .filter-input {
        padding: 0.625rem 0.875rem;
    }
}

