:root {
    --ink: #17212b;
    --ink-soft: #445266;
    --paper: #ffffff;
    --mist: #f5f8fb;
    --line: #d8e2ea;
    --teal: #087f8c;
    --teal-deep: #064d57;
    --teal-soft: #e5f4f5;
    --sky: #2b7de1;
    --gold: #9a6505;
    --rose: #b84b63;
    --green: #238b62;
    --shadow: 0 16px 34px rgba(23, 33, 43, 0.1);
    --shadow-soft: 0 10px 24px rgba(23, 33, 43, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.bbise-site {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #ffffff 0, #f6f9fb 520px, var(--mist) 100%);
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    font-size: 0.92rem;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1320px;
}

.site-header {
    position: relative;
    z-index: 30;
}

.top-strip {
    background: #101820;
    color: #eaf2f6;
    font-size: 0.82rem;
}

.top-strip .container {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.top-strip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-social {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-social a {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    text-decoration: none;
}

.top-social a:hover,
.top-social a:focus {
    background: rgba(255, 255, 255, 0.12);
}

.top-social .admin-top-link {
    gap: 7px;
    padding: 0 10px;
    font-weight: 750;
}

.top-social .admin-top-link span {
    color: inherit;
}

.main-nav {
    min-height: 72px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(23, 33, 43, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 238px;
    text-decoration: none;
    color: var(--ink);
}

.brand-lockup img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(23, 33, 43, 0.12));
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
    line-height: 1.1;
}

.brand-lockup strong {
    font-size: 1.08rem;
    color: var(--ink);
    letter-spacing: 0;
    text-shadow: none;
}

.brand-lockup small {
    max-width: 230px;
    color: var(--ink-soft);
    font-size: 0.74rem;
    line-height: 1.2;
    text-transform: none;
    text-shadow: none;
}

.navbar-toggler {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
}

.main-nav .nav-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: transparent;
    border: 0;
    font-weight: 750;
    font-size: 0.82rem;
    text-transform: uppercase;
    padding: 8px 9px;
    border-radius: 8px;
    text-shadow: none;
    box-shadow: none;
}

.main-nav .navbar-nav {
    gap: 2px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
    background: #e8f6f7;
    color: var(--teal-deep);
}

.main-nav .nav-cta {
    margin-left: 8px;
    background: var(--teal);
    color: #fff;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus {
    background: var(--teal-deep);
    color: #fff;
}

.hero-carousel {
    min-height: 500px;
    height: 58vh;
    max-height: 620px;
    position: relative;
    overflow: hidden;
    background: #07131f;
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.9) contrast(1.04);
}

.js-ready .hero-carousel .carousel-item.active img {
    animation: heroImageDrift 8s ease-out both;
}

.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 19, 31, 0.42), rgba(7, 19, 31, 0.7)),
        linear-gradient(90deg, rgba(7, 19, 31, 0.97) 0%, rgba(7, 19, 31, 0.9) 39%, rgba(7, 19, 31, 0.58) 64%, rgba(7, 19, 31, 0.2) 100%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 58px 0 40px;
    color: #fff;
}

.hero-copy-block {
    max-width: 640px;
    padding-left: 18px;
    border-left: 4px solid #32c8d4;
}

.hero-overlay h1 {
    max-width: 660px;
    font-size: clamp(2rem, 3.1vw, 3.35rem);
    line-height: 1.04;
    margin: 0 0 16px;
    font-weight: 850;
    text-transform: none;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.78);
}

.hero-overlay p:not(.eyebrow) {
    max-width: 620px;
    color: #e8f1f5;
    font-size: 1.05rem;
    line-height: 1.65;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.82);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--teal-deep);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
    text-shadow: none;
}

.section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    color: var(--teal-deep);
    background: var(--teal-soft);
    border: 1px solid #c5e5e9;
    border-radius: 999px;
}

.hero-overlay .eyebrow,
.page-hero .eyebrow,
.officer-band .eyebrow {
    color: #ffffff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    padding: 0 12px 0 0;
    color: #dff9fb;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
}

.hero-eyebrow span {
    width: 32px;
    height: 32px;
    display: inline-block;
    background: #32c8d4;
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(50, 200, 212, 0.18);
}

.hero-actions,
.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn-modern {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary-modern {
    background: var(--teal);
    color: #fff;
}

.btn-primary-modern:hover,
.btn-primary-modern:focus {
    background: var(--teal-deep);
    color: #fff;
}

.btn-light-modern {
    background: #fff;
    color: var(--ink);
}

.btn-light-modern:hover,
.btn-light-modern:focus {
    background: #eef5f6;
    color: var(--ink);
}

.hero-service-strip {
    width: min(820px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
}

.hero-service-strip a {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: #ffffff;
    background: rgba(7, 19, 31, 0.72);
    text-decoration: none;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.hero-service-strip a:hover,
.hero-service-strip a:focus {
    background: rgba(8, 127, 140, 0.88);
    color: #ffffff;
}

.hero-service-strip i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #07131f;
    background: #ffffff;
    border-radius: 8px;
}

.js-ready .hero-copy-block,
.js-ready .hero-actions,
.js-ready .hero-service-strip {
    animation: heroContentIn 0.75s ease-out both;
}

.js-ready .hero-actions {
    animation-delay: 0.12s;
}

.js-ready .hero-service-strip {
    animation-delay: 0.2s;
}

.reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.js-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.js-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes heroImageDrift {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1);
    }
}

.btn-ghost-modern {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn-ghost-modern:hover,
.btn-ghost-modern:focus {
    background: #eef5f6;
}

.announcement-band,
.content-band,
.development-band,
.quick-links-band,
.officer-band {
    padding: 64px 0;
}

.announcement-band {
    background:
        linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
}

.quick-links-band {
    background: #ffffff;
}

.development-band {
    background: #eef4f6;
}

.video-slider-band {
    padding: 46px 0;
    background: #f7fafb;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    color: #0c1b2a;
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
    font-weight: 900;
    letter-spacing: 0;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feed-panel,
.notice-card,
.result-shell,
.result-card-print,
.data-list,
.development-card,
.message-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.feed-panel {
    padding: 20px;
    min-height: 420px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feed-panel:hover {
    transform: translateY(-2px);
    border-color: #bfd6df;
    box-shadow: 0 18px 38px rgba(23, 33, 43, 0.11);
}

.feed-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.feed-title i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
}

.accent-cyan .feed-title i {
    background: var(--teal);
}

.accent-gold .feed-title i {
    background: var(--gold);
}

.accent-rose .feed-title i {
    background: var(--rose);
}

.feed-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.feed-item {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.feed-item:hover strong,
.feed-item:focus strong {
    color: var(--teal-deep);
}

.feed-item span,
.notice-meta,
.development-card span,
.student-summary span,
.result-total span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.feed-item strong {
    display: block;
    margin: 3px 0;
    color: var(--ink);
    font-size: 0.98rem;
}

.feed-item small {
    color: var(--ink-soft);
    line-height: 1.5;
}

.feed-more {
    display: inline-flex;
    margin-top: 16px;
    color: var(--teal-deep);
    font-weight: 750;
    text-decoration: none;
}

.mini-link-list {
    display: grid;
    gap: 8px;
}

.mini-link-list a,
.quick-link,
.directory-link,
.btn-icon-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
}

.mini-link-list a {
    min-height: 44px;
    padding: 10px 12px;
    background: #f6f9fb;
    border: 1px solid #e4edf2;
    border-radius: 8px;
}

.mini-link-list a:hover,
.mini-link-list a:focus {
    color: var(--teal-deep);
    background: var(--teal-soft);
    border-color: #c5e5e9;
}

.muted,
.empty-state {
    color: var(--ink-soft);
}

.development-grid,
.quick-link-grid,
.gallery-grid,
.notice-grid,
.link-directory {
    display: grid;
    gap: 18px;
}

.development-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.development-card {
    overflow: hidden;
}

.development-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.development-card div {
    padding: 16px;
}

.development-card h3 {
    margin: 4px 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
}

.development-card p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.quick-link-grid,
.link-directory {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-link,
.directory-link {
    min-height: 82px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-link:hover,
.quick-link:focus,
.directory-link:hover,
.directory-link:focus {
    color: var(--ink);
    border-color: #b7d7de;
    box-shadow: 0 18px 36px rgba(8, 127, 140, 0.12);
    transform: translateY(-2px);
}

.quick-link i,
.directory-link i {
    color: var(--teal);
    font-size: 1.2rem;
}

.quick-link span,
.directory-link span {
    flex: 1;
    font-weight: 750;
}

.directory-link small {
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font-size: 0.72rem;
}

.page-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(23, 33, 43, 0.9), rgba(23, 33, 43, 0.58)),
        url("../Images/slider/slider2.jpeg") center/cover;
}

.page-hero.compact {
    min-height: 300px;
}

.page-hero-result {
    background:
        linear-gradient(90deg, rgba(23, 33, 43, 0.92), rgba(23, 33, 43, 0.58)),
        url("../ResultBg.jpg") center/cover;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: 3rem;
    font-weight: 850;
}

.hero-copy {
    max-width: 720px;
    margin: 0;
    color: #edf4f6;
    font-size: 1.1rem;
    line-height: 1.6;
}

.data-list {
    overflow: hidden;
}

.catchup-list {
    display: grid;
    gap: 12px;
}

.catchup-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(23, 33, 43, 0.07);
}

.catchup-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--teal);
    border-radius: 8px;
}

.catchup-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.catchup-meta span {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    color: var(--teal-deep);
    background: #e8f6f7;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.catchup-copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 850;
}

.catchup-copy p {
    margin: 5px 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.institute-band {
    background:
        linear-gradient(180deg, #f7fafb 0%, #ffffff 48%, #eef4f6 100%);
}

.institute-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    position: relative;
    margin: 22px 0 28px;
}

.institute-flow::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--gold), var(--rose), var(--green));
    border-radius: 999px;
    opacity: 0.28;
}

.flow-step {
    min-height: 214px;
    display: grid;
    align-content: start;
    gap: 14px;
    position: relative;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--teal);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    z-index: 1;
}

.flow-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(23, 33, 43, 0.12);
}

.flow-step::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 50%;
    width: 24px;
    height: 4px;
    background: currentColor;
    transform: translateY(-50%);
    opacity: 0.5;
}

.flow-step:last-child::after {
    display: none;
}

.flow-number {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--teal);
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(8, 127, 140, 0.24);
}

.flow-step h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 850;
}

.flow-step p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.flow-teal {
    color: var(--teal);
    border-top-color: var(--teal);
}

.flow-gold {
    color: var(--gold);
    border-top-color: var(--gold);
}

.flow-rose {
    color: var(--rose);
    border-top-color: var(--rose);
}

.flow-green {
    color: var(--green);
    border-top-color: var(--green);
}

.flow-gold .flow-number {
    background: var(--gold);
    box-shadow: 0 12px 22px rgba(199, 139, 22, 0.24);
}

.flow-rose .flow-number {
    background: var(--rose);
    box-shadow: 0 12px 22px rgba(184, 75, 99, 0.24);
}

.flow-green .flow-number {
    background: var(--green);
    box-shadow: 0 12px 22px rgba(35, 139, 98, 0.24);
}

.institute-action-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.institute-action {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(23, 33, 43, 0.07);
}

.institute-action:hover,
.institute-action:focus {
    color: var(--ink);
    border-color: rgba(8, 127, 140, 0.42);
    box-shadow: 0 18px 38px rgba(8, 127, 140, 0.12);
    transform: translateY(-1px);
}

.institute-action i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: var(--teal);
    border-radius: 8px;
}

.institute-action strong,
.institute-action small {
    display: block;
}

.institute-action strong {
    font-weight: 850;
}

.institute-action small {
    margin-top: 3px;
    color: var(--ink-soft);
    line-height: 1.35;
}

.data-list-head,
.data-list-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 120px;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
}

.data-list-head {
    background: var(--ink);
    color: #fff;
    font-weight: 800;
}

.data-list-row {
    border-top: 1px solid var(--line);
}

.data-list-row p,
.notice-card p {
    margin: 6px 0 0;
    color: var(--ink-soft);
}

.btn-icon-link {
    justify-content: center;
    width: max-content;
    min-width: 92px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #eaf5f6;
    color: var(--teal-deep);
    font-weight: 750;
}

.notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notice-card {
    padding: 20px;
}

.notice-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.notice-card h2 {
    margin: 10px 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 12px 14px;
    font-weight: 750;
}

.video-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
    gap: 20px;
    align-items: stretch;
    max-width: 980px;
    min-height: 0;
    margin: 0 auto;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.video-frame {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: var(--ink);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.video-thumb-link {
    display: block;
    color: #fff;
    text-decoration: none;
}

.video-frame iframe,
.video-frame img,
.video-card iframe,
.video-card img {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
}

.video-frame img {
    transition: transform 0.35s ease;
}

.video-thumb-link:hover img,
.video-thumb-link:focus img {
    transform: scale(1.035);
}

.video-play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(8, 127, 140, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 3rem;
}

.video-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 6px 4px;
}

.video-copy span {
    width: max-content;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    color: var(--teal-deep);
    background: var(--teal-soft);
    border: 1px solid #c5e5e9;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.video-copy h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.2;
}

.video-copy p {
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
}

.video-copy .btn-modern {
    width: max-content;
    min-height: 38px;
    padding: 8px 13px;
}

.video-slider-band .carousel-control-prev,
.video-slider-band .carousel-control-next {
    width: 54px;
    opacity: 1;
}

.video-slider-band .carousel-control-prev-icon,
.video-slider-band .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    background-color: rgba(16, 24, 32, 0.82);
    border-radius: 50%;
    background-size: 52%;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.video-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.video-list-thumb {
    display: block;
    position: relative;
    color: #fff;
    background: var(--ink);
    text-decoration: none;
}

.video-card iframe,
.video-card img,
.video-list-thumb {
    aspect-ratio: 16 / 9;
}

.video-list-thumb img,
.video-list-thumb .video-placeholder {
    width: 100%;
    height: 100%;
}

.video-list-thumb .video-placeholder {
    min-height: 0;
}

.video-card div {
    padding: 18px;
}

.video-card h2 {
    color: var(--ink);
    font-size: 1.2rem;
    margin: 0 0 8px;
}

.video-card p {
    color: var(--ink-soft);
    margin-bottom: 16px;
    line-height: 1.7;
}

.result-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

.result-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.result-option {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}

.result-option.is-active {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 750;
    color: var(--ink);
}

.field input,
.field select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
}

.result-form .btn-modern {
    width: 100%;
    margin-top: 16px;
}

.result-search-band {
    scroll-margin-top: 120px;
}

.result-search-band.is-attention .result-shell {
    animation: resultPanelFocus 1.25s ease both;
}

.result-form .btn-modern.is-loading {
    cursor: wait;
    opacity: 0.92;
}

.result-form .btn-modern.is-loading i {
    animation: resultSearchSpin 0.85s linear infinite;
}

@keyframes resultPanelFocus {
    0% {
        box-shadow: 0 0 0 rgba(8, 127, 137, 0);
        transform: translateY(0);
    }

    35% {
        box-shadow: 0 24px 70px rgba(8, 127, 137, 0.22);
        transform: translateY(-4px);
    }

    100% {
        box-shadow: var(--shadow-soft);
        transform: translateY(0);
    }
}

@keyframes resultSearchSpin {
    to {
        transform: rotate(360deg);
    }
}

.result-detail-band {
    background: #eef3f4;
}

.result-actions {
    justify-content: flex-end;
    margin-bottom: 18px;
}

.result-card-print {
    max-width: 1040px;
    margin: 0 auto;
    padding: 28px;
}

.result-board-head {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--ink);
}

.result-board-head img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.result-board-head p {
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.result-board-head h1 {
    margin: 6px 0;
    font-size: 1.55rem;
    font-weight: 850;
}

.student-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.student-summary div,
.result-total div {
    padding: 12px;
    background: #f6f8fa;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.student-summary-wide {
    grid-column: span 2;
}

.subject-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.subjects-table {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.subjects-table h2 {
    margin: 0;
    padding: 12px 14px;
    background: var(--ink);
    color: #fff;
    font-size: 1rem;
}

.subjects-table table {
    width: 100%;
    border-collapse: collapse;
}

.subjects-table th,
.subjects-table td {
    padding: 10px 12px;
    border-top: 1px solid var(--line);
}

.subjects-table th {
    background: #f6f8fa;
}

.subjects-table td:last-child,
.subjects-table th:last-child {
    text-align: right;
    width: 120px;
}

.result-total {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.result-note {
    margin: 18px 0 0;
    padding: 14px;
    background: #fff8e8;
    border: 1px solid #ead49a;
    border-radius: 8px;
    color: #5e4615;
    line-height: 1.55;
}

.officer-band {
    background: var(--ink);
    color: #fff;
}

.message-panel {
    color: var(--ink);
    padding: 28px;
}

.chairman-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
}

.chairman-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #e7f4f5;
}

.chairman-card h2 {
    margin: 0;
    font-weight: 850;
}

.chairman-card span {
    color: var(--teal-deep);
    font-weight: 800;
}

.message-panel p,
.message-panel li {
    color: var(--ink-soft);
    line-height: 1.7;
}

.chairman-reform-list {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding-left: 22px;
}

.chairman-reform-list li::marker {
    color: var(--teal);
}

.site-footer {
    background: var(--ink);
    color: #edf4f6;
}

.footer-main {
    padding: 42px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 28px;
}

.footer-grid h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #fff;
}

.footer-grid p,
.footer-grid a {
    color: #cad6de;
    text-decoration: none;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 0;
    color: #aebdc8;
    text-align: center;
}

@media (max-width: 991.98px) {
    .top-strip .container {
        justify-content: center;
    }

    .top-social {
        justify-content: center;
    }

    .top-social {
        margin-left: 0;
        flex-direction: row;
    }

    .main-nav {
        min-height: 70px;
        top: 0;
        position: sticky;
        margin-top: -1px;
        background: rgba(255, 255, 255, 0.98);
    }

    .brand-lockup {
        min-width: 0;
        gap: 10px;
    }

    .brand-lockup img {
        width: 52px;
        height: 52px;
    }

    .brand-lockup strong {
        font-size: 1.02rem;
    }

    .brand-lockup small {
        max-width: 220px;
        font-size: 0.72rem;
    }

    .main-nav .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .main-nav .nav-link {
        width: 100%;
        margin-bottom: 8px;
    }

    .hero-carousel {
        min-height: 520px;
        height: auto;
    }

    .hero-overlay h1 {
        font-size: 2.7rem;
    }

    .hero-overlay {
        padding: 54px 0;
    }

    .hero-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .announcement-grid,
    .development-grid,
    .quick-link-grid,
    .gallery-grid,
    .video-grid,
    .institute-flow,
    .notice-grid,
    .form-grid,
    .subject-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .institute-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .institute-flow::before,
    .flow-step::after {
        display: none;
    }

    .video-feature {
        grid-template-columns: 1fr;
    }

    .student-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .brand-lockup {
        min-width: 0;
    }

    .brand-lockup small {
        display: none;
    }

    .hero-carousel {
        min-height: 560px;
    }

    .hero-overlay h1,
    .page-hero h1 {
        font-size: 2.35rem;
    }

    .hero-overlay p:not(.eyebrow),
    .hero-copy {
        font-size: 1rem;
    }

    .hero-copy-block {
        padding-left: 16px;
    }

    .hero-service-strip {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .hero-service-strip a {
        min-height: 58px;
    }

    .announcement-band,
    .content-band,
    .video-slider-band,
    .development-band,
    .quick-links-band,
    .officer-band {
        padding: 44px 0;
    }

    .announcement-grid,
    .development-grid,
    .quick-link-grid,
    .gallery-grid,
    .video-grid,
    .institute-flow,
    .institute-action-grid,
    .notice-grid,
    .form-grid,
    .result-options,
    .student-summary,
    .result-total,
    .subject-columns,
    .link-directory,
    .chairman-card {
        grid-template-columns: 1fr;
    }

    .student-summary-wide {
        grid-column: span 1;
    }

    .data-list-head {
        display: none;
    }

    .data-list-row {
        grid-template-columns: 1fr;
    }

    .catchup-item {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .catchup-item .btn-icon-link {
        grid-column: 2;
    }

    .result-card-print,
    .result-shell,
    .message-panel {
        padding: 18px;
    }

    .result-board-head {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .result-board-head img {
        margin: 0 auto;
    }

    .chairman-card {
        text-align: center;
    }

    .chairman-card img {
        margin: 0 auto;
    }

    .video-feature {
        min-height: 0;
        padding: 14px;
    }

    .video-frame,
    .video-placeholder {
        min-height: 0;
    }

    .video-copy h3 {
        font-size: 1.25rem;
    }
}

/* Board and performa directory pages */
.resource-list,
.board-directory {
    display: grid;
    gap: 18px;
}

.resource-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(132, 153, 168, 0.35);
    border-left: 5px solid #087f89;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(18, 28, 38, 0.08);
}

.resource-card h2 {
    margin: 0 0 8px;
    color: #142033;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 850;
    letter-spacing: 0;
}

.resource-card p {
    margin: 0;
    color: #526272;
    line-height: 1.7;
}

.board-group {
    display: grid;
    gap: 14px;
}

.board-group h2 {
    margin: 0;
    color: #142033;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 850;
    letter-spacing: 0;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.board-card {
    min-height: 210px;
    display: grid;
    align-content: space-between;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(132, 153, 168, 0.35);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(18, 28, 38, 0.07);
}

.board-card span {
    display: inline-flex;
    width: fit-content;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    color: #075f67;
    background: #e6f5f7;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 850;
}

.board-card h3 {
    margin: 12px 0 8px;
    color: #142033;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: 0;
}

.board-card p {
    margin: 0;
    color: #5b6978;
    line-height: 1.65;
}

.board-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.board-actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #ffffff;
    background: #087f89;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.board-actions a:hover,
.board-actions a:focus {
    color: #ffffff;
    background: #075f67;
}

.new-badge {
    display: inline-flex;
    width: fit-content;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 0 8px;
    color: #ffffff;
    background: #c23b22;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
    box-shadow: 0 8px 18px rgba(194, 59, 34, 0.18);
}

@media (max-width: 1000px) {
    .board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .resource-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }
}

/* Public support chat */
.support-chat {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1050;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.support-chat-toggle {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #087f89, #075f67);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 18px 38px rgba(7, 95, 103, 0.28);
    font-weight: 850;
}

.support-chat-toggle i {
    font-size: 1.05rem;
}

.support-chat-panel {
    width: min(390px, calc(100vw - 28px));
    max-height: min(620px, calc(100vh - 104px));
    display: grid;
    grid-template-rows: auto minmax(190px, 1fr) auto auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(132, 153, 168, 0.35);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(11, 28, 40, 0.24);
}

.support-chat-panel[hidden] {
    display: none;
}

.support-chat-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #0b2630, #087f89);
}

.support-chat-panel header strong,
.support-chat-panel header span {
    display: block;
}

.support-chat-panel header strong {
    font-size: 1rem;
    font-weight: 850;
}

.support-chat-panel header span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
}

.support-chat-close {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.support-chat-messages {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 16px;
    overflow-y: auto;
    background:
        radial-gradient(circle at 0% 0%, rgba(8, 127, 137, 0.09), transparent 18rem),
        #f7fbfd;
}

.support-chat-messages article {
    max-width: 88%;
    display: grid;
    gap: 5px;
}

.support-chat-messages article span {
    color: #64717f;
    font-size: 0.74rem;
    font-weight: 850;
}

.support-chat-messages article p {
    margin: 0;
    padding: 11px 13px;
    color: #17212b;
    background: #ffffff;
    border: 1px solid #dbe6ed;
    border-radius: 8px;
    line-height: 1.55;
    box-shadow: 0 8px 18px rgba(18, 28, 38, 0.06);
}

.support-chat-messages article.user {
    justify-self: end;
}

.support-chat-messages article.user span {
    text-align: right;
}

.support-chat-messages article.user p {
    color: #ffffff;
    background: #087f89;
    border-color: #087f89;
}

.support-chat-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 7px;
}

.support-chat-links > strong {
    flex-basis: 100%;
    color: #526170;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rules-library .section-heading-row {
    margin-bottom: 24px;
}

.rules-ask-button {
    border: 0;
    cursor: pointer;
}

@media (max-width: 767px) {
    .rules-library .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.support-chat-links a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    color: #075f67;
    background: #e6f5f7;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 850;
}

.support-chat-prompts {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    overflow-x: auto;
    border-top: 1px solid #dbe6ed;
}

.support-chat-prompts button {
    min-height: 34px;
    padding: 0 12px;
    color: #17212b;
    background: #f0f5f7;
    border: 1px solid #dbe6ed;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 800;
}

.support-chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #dbe6ed;
}

.support-chat-form input {
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #cfdbe4;
    border-radius: 8px;
    outline: none;
}

.support-chat-form input:focus {
    border-color: #087f89;
    box-shadow: 0 0 0 3px rgba(8, 127, 137, 0.13);
}

.support-chat-form button {
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: #087f89;
    border: 0;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .support-chat {
        right: 14px;
        bottom: 14px;
    }

    .support-chat-toggle span {
        display: none;
    }

    .support-chat-toggle {
        width: 54px;
        justify-content: center;
        padding: 0;
    }
}

/* Modern offices and students pages */
.office-band,
.student-band {
    background:
        radial-gradient(circle at 8% 0%, rgba(8, 127, 137, 0.08), transparent 24rem),
        linear-gradient(180deg, #f8fbfd 0%, #eef4f7 100%);
}

.office-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    margin-bottom: 22px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(9, 33, 44, 0.96), rgba(8, 127, 137, 0.92)),
        url("../Images/slider/slider1.webp") center / cover;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(9, 33, 44, 0.18);
}

.office-feature span,
.office-feature p,
.office-feature h2 {
    margin: 0;
}

.office-feature > div > span {
    color: #f5c35d;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.office-feature h2 {
    margin-top: 8px;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0;
}

.office-feature p {
    max-width: 760px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.office-grid,
.student-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.office-card {
    min-height: 230px;
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(132, 153, 168, 0.35);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(18, 28, 38, 0.08);
    position: relative;
    overflow: hidden;
}

.office-card::before,
.student-service::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #087f89;
}

.office-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #087f89;
    border-radius: 8px;
    font-size: 1.15rem;
}

.office-card p,
.office-card h3,
.office-card span {
    margin: 0;
}

.office-card p {
    color: #087f89;
    font-size: 0.82rem;
    font-weight: 850;
}

.office-card h3 {
    margin-top: 6px;
    color: #142033;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0;
}

.office-card span {
    display: block;
    margin-top: 10px;
    color: #5b6978;
    line-height: 1.65;
}

.office-gold::before,
.service-gold::before,
.office-gold .office-icon,
.service-gold i {
    background: #b7791f;
}

.office-green::before,
.service-green::before,
.office-green .office-icon,
.service-green i {
    background: #177245;
}

.office-rose::before,
.service-rose::before,
.office-rose .office-icon,
.service-rose i {
    background: #b4233c;
}

.office-navy::before,
.service-navy::before,
.office-navy .office-icon,
.service-navy i {
    background: #17283e;
}

.student-service {
    min-height: 140px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 16px;
    padding: 20px;
    color: #142033;
    background: #ffffff;
    border: 1px solid rgba(132, 153, 168, 0.35);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(18, 28, 38, 0.07);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.student-service:hover,
.student-service:focus {
    color: #142033;
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(18, 28, 38, 0.12);
}

.student-service i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #087f89;
    border-radius: 8px;
    font-size: 1.18rem;
}

.student-service strong,
.student-service small {
    display: block;
}

.student-service strong {
    font-size: 1.02rem;
    font-weight: 900;
}

.student-service small {
    margin-top: 5px;
    color: #5b6978;
    line-height: 1.55;
}

.student-service em {
    color: #9aa8b5;
    font-style: normal;
}

.student-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 18px;
    margin-top: 22px;
}

.student-panel,
.student-help-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(132, 153, 168, 0.35);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(18, 28, 38, 0.07);
}

.compact-heading {
    text-align: left;
    margin-bottom: 18px;
}

.compact-heading h2 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.student-fee-list {
    display: grid;
    gap: 10px;
}

.student-fee-list article {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: #f7fbfd;
    border: 1px solid #dbe6ed;
    border-radius: 8px;
}

.student-fee-list strong,
.student-fee-list small {
    display: block;
}

.student-fee-list strong {
    color: #142033;
    font-weight: 850;
}

.student-fee-list small {
    margin-top: 3px;
    color: #667586;
}

.student-fee-list b {
    flex: 0 0 auto;
    color: #087f89;
    font-weight: 900;
}

.student-help-card {
    align-content: start;
    display: grid;
    gap: 13px;
    background:
        linear-gradient(135deg, rgba(8, 127, 137, 0.08), rgba(183, 121, 31, 0.08)),
        #ffffff;
}

.student-help-card h2,
.student-help-card p {
    margin: 0;
}

.student-help-card h2 {
    color: #142033;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0;
}

.student-help-card p:not(.eyebrow) {
    color: #5b6978;
    line-height: 1.7;
}

@media (max-width: 1050px) {
    .office-grid,
    .student-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-panel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .office-feature {
        align-items: flex-start;
        flex-direction: column;
    }

    .office-grid,
    .student-service-grid {
        grid-template-columns: 1fr;
    }

    .student-service {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .student-service i {
        width: 46px;
        height: 46px;
    }

    .student-service em {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .js-ready .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .site-footer,
    .page-hero,
    .result-actions {
        display: none !important;
    }

    body.bbise-site {
        background: #fff;
    }

    .content-band,
    .result-detail-band {
        padding: 0;
        background: #fff;
    }

    .result-card-print {
        box-shadow: none;
        border: 0;
        padding: 0;
    }
}

/* Professional public-site refresh */
:root {
    --ink: #101827;
    --ink-soft: #526174;
    --ink-muted: #748296;
    --paper: #ffffff;
    --mist: #f5f7fa;
    --line: #dfe7ef;
    --teal: #087f8c;
    --teal-deep: #075763;
    --teal-soft: #e8f7f8;
    --sky: #246fe5;
    --gold: #b77913;
    --rose: #b94a63;
    --green: #1f8a63;
    --shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
}

body.bbise-site {
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(8, 127, 140, 0.07), transparent 26rem),
        linear-gradient(180deg, #ffffff 0, #f7f9fc 42rem, #f4f7fa 100%);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1240px;
}

.top-strip {
    background: #0e1824;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
}

.top-strip .container {
    min-height: 38px;
}

.top-strip span,
.top-social a {
    color: rgba(244, 249, 252, 0.9);
}

.top-social a {
    border-color: rgba(255, 255, 255, 0.18);
}

.main-nav {
    min-height: 76px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(223, 231, 239, 0.9);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.brand-lockup {
    gap: 13px;
    min-width: 282px;
}

.brand-lockup img {
    width: 58px;
    height: 58px;
}

.brand-lockup strong {
    font-size: 1.18rem;
    font-weight: 900;
}

.brand-lockup small {
    max-width: 260px;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.main-nav .navbar-nav {
    gap: 5px;
}

.main-nav .nav-link {
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 7px;
    color: #182334;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
    background: #edf7f8;
    color: var(--teal-deep);
}

.main-nav .nav-cta {
    padding-inline: 14px;
    background: #077785;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(8, 127, 140, 0.18);
}

.hero-carousel {
    min-height: 470px;
    height: 55vh;
    max-height: 590px;
}

.hero-carousel .carousel-item img {
    filter: saturate(0.98) contrast(1.02);
}

.hero-carousel::after {
    background:
        linear-gradient(180deg, rgba(7, 19, 31, 0.24), rgba(7, 19, 31, 0.78)),
        linear-gradient(90deg, rgba(5, 17, 30, 0.96) 0%, rgba(5, 17, 30, 0.86) 34%, rgba(5, 17, 30, 0.48) 67%, rgba(5, 17, 30, 0.12) 100%);
}

.hero-overlay {
    padding: 52px 0 38px;
}

.hero-copy-block {
    max-width: 570px;
    padding-left: 0;
    border-left: 0;
}

.hero-overlay h1 {
    max-width: 590px;
    margin-bottom: 14px;
    font-size: clamp(2.05rem, 3vw, 2.9rem);
    line-height: 1.08;
    font-weight: 900;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}

.hero-overlay p:not(.eyebrow) {
    max-width: 590px;
    color: rgba(245, 250, 252, 0.92);
    font-size: clamp(0.98rem, 1.15vw, 1.08rem);
    line-height: 1.72;
}

.hero-eyebrow {
    min-height: 30px;
    margin-bottom: 12px;
    color: #e6fbfd;
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.hero-eyebrow span {
    width: 30px;
    height: 30px;
    background: #4ed3dd;
}

.hero-actions {
    margin-top: 24px;
}

.btn-modern {
    min-height: 46px;
    border-radius: 7px;
    padding: 11px 17px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn-modern:hover,
.btn-modern:focus {
    transform: translateY(-1px);
}

.btn-primary-modern {
    background: #087f8c;
    box-shadow: 0 14px 28px rgba(8, 127, 140, 0.24);
}

.btn-light-modern {
    color: #132033;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.hero-service-strip {
    width: min(760px, 100%);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.16);
}

.hero-service-strip a {
    min-height: 62px;
    padding: 14px;
    background: rgba(11, 25, 39, 0.78);
    font-size: 0.9rem;
}

.hero-service-strip i {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.announcement-band,
.content-band,
.development-band,
.quick-links-band,
.officer-band {
    padding: 58px 0;
}

.video-slider-band {
    padding: 42px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-heading h2 {
    color: #101827;
    font-size: clamp(1.65rem, 2.2vw, 2.25rem);
    line-height: 1.15;
    font-weight: 900;
}

.section-heading .eyebrow {
    min-height: 27px;
    margin-bottom: 10px;
    color: var(--teal-deep);
    background: #edf8f9;
    border-color: #cfe8ec;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.announcement-grid {
    gap: 16px;
}

.feed-panel,
.notice-card,
.result-shell,
.result-card-print,
.data-list,
.development-card,
.message-panel,
.quick-link,
.directory-link,
.catchup-item,
.flow-step {
    border-color: #dfe7ef;
    border-radius: 7px;
    box-shadow: var(--shadow-soft);
}

.feed-panel {
    min-height: 390px;
    padding: 18px;
}

.feed-title {
    padding-bottom: 13px;
}

.feed-title h3 {
    color: #121d2c;
    font-size: 1.02rem;
    font-weight: 900;
}

.feed-title i {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.feed-item {
    padding: 12px 0;
}

.feed-item span,
.notice-meta,
.development-card span,
.student-summary span,
.result-total span {
    color: var(--ink-muted);
    font-size: 0.76rem;
    font-weight: 650;
}

.feed-item strong {
    margin: 4px 0;
    font-size: 0.94rem;
    line-height: 1.4;
    font-weight: 800;
}

.mini-link-list a {
    min-height: 42px;
    border-radius: 7px;
    background: #f8fafc;
}

.quick-link,
.directory-link {
    min-height: 76px;
    padding: 15px;
}

.quick-link span,
.directory-link span {
    color: #162235;
    font-weight: 800;
}

.quick-link i,
.directory-link i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--teal-deep);
    background: var(--teal-soft);
    border-radius: 7px;
    font-size: 1rem;
}

.development-band {
    background: linear-gradient(180deg, #eef4f6 0%, #f8fafc 100%);
}

.development-grid {
    gap: 16px;
}

.development-card {
    background: #ffffff;
}

.development-card img {
    height: 165px;
}

.development-card div {
    padding: 15px;
}

.development-card h3 {
    font-size: 1.05rem;
    font-weight: 900;
}

.video-feature {
    max-width: 920px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 7px;
}

.video-frame,
.video-placeholder {
    min-height: 240px;
}

.video-copy h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
    line-height: 1.2;
}

.site-footer {
    background: #0e1824;
}

.footer-main {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    gap: 26px;
}

.footer-grid h3 {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 900;
}

.footer-grid p,
.footer-links a,
.footer-bottom {
    color: rgba(234, 242, 246, 0.76);
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ffffff;
}

.profile-band {
    background:
        radial-gradient(circle at 8% 10%, rgba(8, 127, 137, 0.08), transparent 24rem),
        linear-gradient(180deg, #f8fbfd 0%, #eef4f7 100%);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 26, 36, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(18, 26, 36, 0.12);
}

.profile-photo-wrap {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(8, 127, 137, 0.16), rgba(198, 138, 34, 0.11)),
        #eef5f7;
}

.profile-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
}

.profile-card-body h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.22;
}

.profile-card-body strong {
    color: var(--teal-deep);
    font-size: 0.94rem;
    line-height: 1.35;
}

.profile-card-body p:not(.eyebrow) {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.62;
}

.profile-card-actions {
    padding: 0 18px 18px;
}

.profile-card-actions a,
.profile-card-actions span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 7px;
    font-weight: 850;
    text-decoration: none;
}

.profile-card-actions a {
    color: #ffffff;
    background: var(--teal);
    box-shadow: 0 12px 24px rgba(8, 127, 137, 0.2);
}

.profile-card-actions span {
    color: var(--ink-muted);
    background: #f1f5f8;
}

.profile-detail-hero {
    padding: 44px 0;
    background:
        linear-gradient(135deg, rgba(10, 24, 38, 0.92), rgba(8, 127, 137, 0.76)),
        url("/Images/slider/slider1.webp") center / cover;
}

.back-link {
    display: inline-flex;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
    text-decoration: none;
}

.back-link::before {
    content: "<";
    margin-right: 8px;
}

.profile-detail-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 26px 60px rgba(4, 15, 24, 0.24);
}

.profile-detail-photo {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #eef5f7;
}

.profile-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-detail-copy h1 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    font-weight: 950;
}

.profile-detail-copy > strong {
    display: block;
    color: var(--teal-deep);
    font-size: 1.06rem;
    line-height: 1.45;
}

.profile-detail-copy .lead {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--ink-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.profile-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.profile-contact-row a,
.profile-contact-row > span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: #f8fafc;
    font-weight: 750;
    text-decoration: none;
}

.profile-contact-row i {
    color: var(--teal-deep);
}

.profile-bio {
    max-width: 920px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 26, 36, 0.07);
}

.profile-bio h2 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 1.45rem;
    font-weight: 900;
}

.profile-bio p {
    color: var(--ink-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.section-directory-band {
    background:
        radial-gradient(circle at 6% 12%, rgba(8, 127, 137, 0.08), transparent 25rem),
        linear-gradient(180deg, #f8fbfd 0%, #eef4f7 100%);
}

.section-directory-grid {
    display: grid;
    gap: 20px;
}

.bise-section-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 26, 36, 0.08);
}

.section-card-head {
    padding: 22px 24px;
    background:
        linear-gradient(135deg, rgba(8, 127, 137, 0.12), rgba(198, 138, 34, 0.08)),
        #ffffff;
    border-bottom: 1px solid var(--line);
}

.section-card-head > span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--teal-deep);
    background: var(--teal-soft);
    font-size: 0.78rem;
    font-weight: 850;
}

.section-card-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 950;
    line-height: 1.15;
}

.section-card-head strong {
    display: block;
    margin-top: 8px;
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.section-card-body {
    display: grid;
    gap: 16px;
    padding: 22px 24px;
}

.section-card-body h3,
.business-flow-title h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 900;
}

.section-card-body p,
.business-flow-title p {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.68;
}

.section-meta-list {
    display: grid;
    gap: 8px;
}

.section-meta-list span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--ink-muted);
    font-weight: 700;
    line-height: 1.5;
}

.section-meta-list i {
    margin-top: 4px;
    color: var(--teal-deep);
}

.business-flow-list {
    display: grid;
    gap: 14px;
    padding: 0 24px 24px;
}

.business-flow {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfc;
}

.business-flow-title span {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.business-flow ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: process-step;
}

.business-flow li {
    position: relative;
    min-height: 96px;
    padding: 42px 14px 14px;
    border: 1px solid rgba(8, 127, 137, 0.2);
    border-radius: 8px;
    background: #ffffff;
    counter-increment: process-step;
}

.business-flow li::before {
    content: counter(process-step, decimal-leading-zero);
    position: absolute;
    top: 12px;
    left: 14px;
    color: var(--teal-deep);
    font-size: 0.86rem;
    font-weight: 950;
}

.business-flow li span {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.45;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card,
.search-result-card,
.tracking-card,
.tracking-result,
.service-detail-card,
.service-side-card,
.faq-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(18, 26, 36, 0.07);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 230px;
    padding: 22px;
}

.service-card span,
.search-result-card span,
.tracking-result span {
    color: var(--teal-deep);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card h2,
.tracking-result h2,
.service-detail-card h2,
.service-side-card h2,
.faq-list h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.22rem;
    font-weight: 950;
}

.service-card p,
.search-result-card p,
.tracking-result p,
.service-detail-card p,
.service-side-card dd,
.faq-item p {
    color: var(--ink-muted);
    line-height: 1.65;
}

.service-card a {
    margin-top: auto;
    color: var(--teal-deep);
    font-weight: 900;
    text-decoration: none;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
}

.service-detail-card,
.service-side-card {
    padding: 22px;
}

.service-detail-card.wide {
    grid-column: 1 / -1;
}

.service-steps {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: service-step;
}

.service-steps li {
    padding: 14px 14px 14px 48px;
    border-radius: 8px;
    background: #f4f9fa;
    color: var(--ink);
    font-weight: 800;
    counter-increment: service-step;
    position: relative;
}

.service-steps li::before {
    content: counter(service-step);
    position: absolute;
    left: 14px;
    top: 12px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--teal);
    font-size: 0.78rem;
}

.service-side-card dl {
    display: grid;
    gap: 8px;
    margin: 16px 0;
}

.service-side-card dt {
    color: var(--ink);
    font-weight: 900;
}

.resource-filter,
.site-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(120px, 180px)) auto;
    gap: 10px;
    margin-bottom: 18px;
}

.site-search-form {
    grid-template-columns: minmax(220px, 520px) auto;
    margin-top: 18px;
}

.resource-filter input,
.resource-filter select,
.site-search-form input,
.tracking-card input {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.site-search-form button {
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--teal);
    font-weight: 900;
    padding: 0 20px;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-list section {
    display: grid;
    gap: 10px;
}

.faq-item {
    padding: 16px 18px;
}

.faq-item summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 900;
}

.search-results {
    display: grid;
    gap: 12px;
}

.search-result-card {
    display: grid;
    gap: 5px;
    padding: 18px;
    text-decoration: none;
}

.search-result-card strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.tracking-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 18px;
}

.tracking-card,
.tracking-result {
    padding: 22px;
}

.tracking-card label {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--ink);
    font-weight: 900;
}

.live-band {
    background: linear-gradient(180deg, #f8fbfd 0%, #eef4f7 100%);
}

.live-player-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 56px rgba(18, 26, 36, 0.12);
}

.live-player-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.live-player-head h2 {
    margin: 0;
    color: var(--ink);
    font-weight: 950;
}

.live-player-head p {
    margin: 6px 0 0;
    color: var(--ink-muted);
}

.live-badge {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--teal-deep);
    background: var(--teal-soft);
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.live-badge.on {
    color: #ffffff;
    background: #d7263d;
}

.live-frame-wrap {
    aspect-ratio: 16 / 9;
    background: #0d1721;
}

.live-frame-wrap iframe,
.live-video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.live-archive {
    margin-top: 20px;
}

@media (max-width: 1199.98px) {
    .main-nav .navbar-collapse {
        padding: 12px 0 16px;
        border-top: 1px solid var(--line);
    }

    .main-nav .nav-link {
        justify-content: flex-start;
        width: 100%;
        padding-inline: 12px;
    }

    .main-nav .nav-cta {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-carousel {
        min-height: 610px;
        height: auto;
    }

    .hero-overlay {
        align-items: flex-end;
    }

    .hero-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.bbise-site {
        font-size: 14px;
    }

    .top-strip .container {
        justify-content: center;
        text-align: center;
    }

    .brand-lockup img {
        width: 50px;
        height: 50px;
    }

    .brand-lockup strong {
        font-size: 1rem;
    }

    .hero-carousel {
        min-height: 620px;
    }

    .hero-carousel::after {
        background:
            linear-gradient(180deg, rgba(5, 17, 30, 0.34), rgba(5, 17, 30, 0.84)),
            linear-gradient(90deg, rgba(5, 17, 30, 0.72), rgba(5, 17, 30, 0.38));
    }

    .hero-overlay {
        padding: 38px 0 30px;
    }

    .hero-overlay h1,
    .page-hero h1 {
        font-size: 1.82rem;
        line-height: 1.12;
    }

    .hero-overlay p:not(.eyebrow),
    .hero-copy {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .hero-actions .btn-modern {
        flex: 1 1 0;
        padding-inline: 12px;
    }

    .hero-service-strip {
        grid-template-columns: 1fr;
    }

    .hero-service-strip a {
        min-height: 56px;
    }

    .announcement-band,
    .content-band,
    .video-slider-band,
    .development-band,
    .quick-links-band,
    .officer-band {
        padding: 38px 0;
    }

    .profile-grid,
    .profile-detail-card {
        grid-template-columns: 1fr;
    }

    .profile-detail-photo {
        max-width: 220px;
    }

    .business-flow ol {
        grid-template-columns: 1fr;
    }

.service-grid,
.service-detail-layout,
.tracking-layout,
.resource-filter {
    grid-template-columns: 1fr;
}
}

.landing-alert {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.landing-alert.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.landing-alert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 32, 0.62);
    backdrop-filter: blur(8px);
}

.landing-alert-card {
    position: relative;
    width: min(560px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    padding: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 249, 250, 0.98)),
        #fff;
    box-shadow: 0 28px 80px rgba(7, 18, 32, 0.36);
    transform: translateY(14px) scale(0.98);
    transition: transform 260ms ease;
}

.landing-alert.show .landing-alert-card {
    transform: translateY(0) scale(1);
}

.landing-alert-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(6, 119, 132, 0.1);
}

.landing-alert-icon {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--teal), #0b5160);
    box-shadow: 0 16px 34px rgba(6, 119, 132, 0.28);
}

.landing-alert-kicker {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-alert-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    line-height: 1.08;
    font-weight: 900;
}

.landing-alert-card h3 {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 750;
}

.landing-alert-copy {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.landing-alert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: #345;
    font-weight: 800;
}

.landing-alert-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(6, 119, 132, 0.1);
}

.landing-alert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.landing-alert-open {
    overflow: hidden;
}
