/* ── Homepage Modernization — Bootstrap 5.3 compatible ───────── */
.home-shell {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34rem),
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.10), transparent 32rem),
        var(--bg);
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5.8rem) 0 2.25rem;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 1.25rem auto auto 50%;
    width: min(72rem, 94vw);
    height: min(72rem, 94vw);
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 62%);
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, .10);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    border: 1px solid rgba(37, 99, 235, .14);
}

.hero-title-modern {
    margin: 1rem auto 0;
    max-width: 58rem;
    font-size: clamp(2.1rem, 6vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -.055em;
    font-weight: 900;
    color: var(--text);
}

.hero-title-modern .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy {
    max-width: 46rem;
    margin: 1.25rem auto 0;
    color: var(--text-secondary);
    font-size: clamp(.98rem, 2vw, 1.13rem);
    line-height: 1.8;
}

.hero-search-card {
    max-width: 48rem;
    margin: 1.7rem auto 0;
    padding: .55rem;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 1.15rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

html[data-theme="dark"] .hero-search-card {
    background: rgba(30, 41, 59, .78);
    border-color: rgba(51, 65, 85, .92);
}

.hero-search-input {
    min-height: 3.25rem;
    border: 0;
    background: transparent;
    color: var(--text);
    font-weight: 600;
}

.hero-search-input:focus {
    box-shadow: none;
    background: transparent;
    color: var(--text);
}

.hero-search-input::placeholder {
    color: var(--text-muted);
}

.hero-primary-btn {
    min-height: 3.1rem;
    border-radius: .9rem;
    padding-inline: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 0;
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.hero-primary-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(.98);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.hero-action-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.hero-action-link:hover {
    color: var(--primary);
    border-color: rgba(37, 99, 235, .32);
    transform: translateY(-1px);
}

.stat-grid-modern {
    margin-top: 2rem;
}

.stat-card-modern {
    height: 100%;
    padding: 1.15rem;
    border-radius: 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.stat-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

@keyframes stat-icon-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    40% {
        transform: translateY(-6px) scale(1.08);
    }

    60% {
        transform: translateY(-4px) scale(1.05);
    }
}

.stat-icon-modern {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .8rem;
    margin-bottom: .75rem;
    font-size: 1.15rem;
    animation: stat-icon-float 2.8s ease-in-out infinite;
}

/* Stagger each card so icons don't bob in unison */
.col-6:nth-child(1) .stat-icon-modern {
    animation-delay: 0s;
}

.col-6:nth-child(2) .stat-icon-modern {
    animation-delay: .4s;
}

.col-6:nth-child(3) .stat-icon-modern {
    animation-delay: .8s;
}

.col-6:nth-child(4) .stat-icon-modern {
    animation-delay: 1.2s;
}

/* Pause animation on card hover for a focused feel */
.stat-card-modern:hover .stat-icon-modern {
    animation-play-state: paused;
}

.stat-number-modern {
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 900;
    color: var(--text);
}

.stat-label-modern {
    margin-top: .35rem;
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 700;
}

.quick-strip {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.quick-pill-modern {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem .9rem;
    border-radius: 999px;
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: .84rem;
    font-weight: 800;
    border: 1px solid var(--border);
}

.quick-pill-modern:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.home-section {
    padding: 1.5rem 0;
}

.section-heading-modern {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-kicker {
    color: var(--primary);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.section-title-modern {
    margin: .2rem 0 0;
    color: var(--text);
    font-weight: 900;
    letter-spacing: -.03em;
    font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.section-subtitle-modern {
    margin: .3rem 0 0;
    color: var(--text-muted);
    font-size: .92rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .86rem;
    font-weight: 900;
    color: var(--primary);
    white-space: nowrap;
}

.view-all-link:hover {
    color: var(--secondary);
}

.feature-card-modern,
.content-card-modern,
.sidebar-card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.feature-card-modern {
    height: 100%;
    padding: 1.2rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon-modern {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .95rem;
    font-size: 1.25rem;
    margin-bottom: .9rem;
}

.feature-title-modern {
    color: var(--text);
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: .35rem;
}

.feature-copy-modern {
    color: var(--text-secondary);
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.content-card-modern {
    overflow: hidden;
}

.content-card-header-modern {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-muted), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.content-card-title-modern {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: 1rem;
    font-weight: 900;
    color: var(--text);
}

.home-table {
    margin-bottom: 0;
}

.home-table th {
    font-size: .72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    border-color: var(--border);
    background: var(--bg-muted);
    white-space: nowrap;
}

.home-table td {
    vertical-align: middle;
    border-color: var(--border-light);
    color: var(--text-secondary);
    font-size: .88rem;
}

.home-table tbody tr:hover td {
    background: var(--primary-bg);
}

.item-title-link {
    color: var(--text);
    font-weight: 900;
}

.item-title-link:hover {
    color: var(--primary);
}

.meta-muted {
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 600;
}

.empty-state-modern {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
}

.empty-state-modern i {
    display: block;
    font-size: 2rem;
    margin-bottom: .5rem;
    opacity: .55;
}

.notice-list-modern {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.notice-item-modern {
    display: flex;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid var(--border-light);
    border-radius: .9rem;
    background: var(--bg);
    transition: transform .18s ease, border-color .18s ease;
}

.notice-item-modern:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, .25);
}

.notice-dot-modern {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--danger);
    margin-top: .42rem;
    flex: 0 0 auto;
    box-shadow: 0 0 0 .25rem rgba(220, 38, 38, .1);
    animation: pulse-live 1.5s infinite;
}
@keyframes pulse-live {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.notice-title-modern {
    color: var(--text);
    font-weight: 850;
    font-size: .9rem;
    line-height: 1.45;
}

.sidebar-stack-modern {
    display: grid;
    gap: 1rem;
}

.sidebar-card-modern {
    padding: 1rem;
}

.sidebar-title-modern {
    margin: 0;
    color: var(--text);
    font-weight: 900;
    font-size: 1rem;
}

.sidebar-subtitle-modern {
    margin: .25rem 0 1rem;
    color: var(--text-muted);
    font-size: .82rem;
}

.test-mini-card-modern {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .8rem;
    border-radius: .9rem;
    border: 1px solid var(--border-light);
    background: var(--bg);
    margin-bottom: .7rem;
}

.test-mini-card-modern:hover {
    border-color: rgba(37, 99, 235, .32);
    transform: translateY(-1px);
}

.test-mini-icon-modern {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: .8rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .72rem;
}

.test-mini-title-modern {
    color: var(--text);
    font-weight: 900;
    font-size: .88rem;
    line-height: 1.35;
}

.test-mini-sub-modern {
    color: var(--text-muted);
    font-size: .76rem;
    margin-top: .1rem;
}

.cta-card-modern {
    border-radius: 1.1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.cta-card-modern a {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: .9rem;
    padding: .72rem .9rem;
    border-radius: .8rem;
    background: #fff;
    color: var(--primary);
    font-weight: 900;
}

.cta-card-modern a:hover {
    color: var(--secondary);
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .home-hero {
        padding-top: 2.5rem;
    }

    .hero-search-card {
        padding: .65rem;
    }

    .hero-primary-btn {
        width: 100%;
        justify-content: center;
    }

    .section-heading-modern {
        align-items: start;
        flex-direction: column;
    }

    .home-table th:nth-child(3),
    .home-table td:nth-child(3) {
        display: none;
    }
}

/* ── Banner Slider ───────────────────────────────────────── */
.banner-slider-section {
    padding: 0 0 2rem;
}

.banner-slider-wrap {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
    margin: 0 auto;
    max-width: 1200px;
    aspect-ratio: 16/5;
    background: #1e3a8a;
}

@media(max-width:640px) {
    .banner-slider-wrap {
        aspect-ratio: 4/3;
        border-radius: .75rem;
    }
}

/* Track */
.banner-track {
    display: flex;
    height: 100%;
    transition: transform .55s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

@media(prefers-reduced-motion:reduce) {
    .banner-track {
        transition: none;
    }
}

/* Slide */
.banner-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 3.5rem;
    background-size: cover;
    background-position: center;
}

@media(max-width:640px) {
    .banner-slide {
        padding: 1.5rem 1.25rem;
    }
}

.banner-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .10) 100%);
    pointer-events: none;
}

.banner-slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.banner-badge {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .20);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .30);
    margin-bottom: .75rem;
}

.banner-title {
    font-size: clamp(1.3rem, 3.5vw, 2.1rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 0 0 .6rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.banner-subtitle {
    font-size: clamp(.82rem, 1.6vw, 1rem);
    opacity: .88;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem 1.5rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    background: rgba(255, 255, 255, .95);
    color: #1e3a8a;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .22);
    transition: transform .18s, box-shadow .18s;
}

.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

/* Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
    outline: none;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, .38);
    transform: translateY(-50%) scale(1.1);
}

.banner-arrow.prev {
    left: 1rem;
}

.banner-arrow.next {
    right: 1rem;
}

@media(max-width:480px) {
    .banner-arrow {
        width: 2rem;
        height: 2rem;
        font-size: .95rem;
    }
}

/* Dots */
.banner-dots {
    position: absolute;
    bottom: .85rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .4rem;
    z-index: 10;
}

.banner-dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s, width .3s;
}

.banner-dot.active {
    background: #fff;
    width: 1.4rem;
    border-radius: 999px;
}

.table-container {
    height: 200px;
    overflow: hidden;
}

.scrolling-table {    
    animation: scrollUp 10s linear infinite;
}



@keyframes scrollUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(-100%);
    }
}
thead {
    background: white;
    position: relative;
    z-index: 10;
}
.scrolling-table:hover {
    animation-play-state: paused;
}
.link-text{
    color: rgb(29, 29, 116);
}