:root {
    --navy: #0a2142;
    --navy-deep: #06162d;
    --cream: #f7f0dc;
    --paper: #fffaf0;
    --gold: #c99a3b;
    --gold-dark: #9a7226;
    --maroon: #7b2532;
    --green: #1e6a4a;
    --ink: #172033;
    --muted: #667085;
    --line: rgba(10, 33, 66, 0.16);
    --shadow: 0 18px 40px rgba(10, 33, 66, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

h1 {
    font-size: 3.7rem;
}

h2 {
    font-size: 2.1rem;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    box-shadow: 0 8px 24px rgba(6, 22, 45, 0.08);
}

.top-strip {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 40px;
    color: #fff;
    background: linear-gradient(90deg, var(--navy-deep), var(--navy), var(--maroon));
    font-size: 0.86rem;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 16px 40px;
    border-bottom: 3px solid var(--gold);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--paper);
    background: var(--navy);
    border: 2px solid var(--gold);
    border-radius: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.brand strong {
    display: block;
    color: var(--navy);
    font-size: 1.08rem;
}

.brand small {
    display: block;
    max-width: 320px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.2;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    padding: 8px 4px;
    color: var(--navy);
    font-weight: 650;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
    border-color: var(--gold);
}

.nav-actions form {
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    max-width: 100%;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}

.btn-small {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 0.92rem;
}

.btn-gold {
    color: var(--navy-deep);
    background: linear-gradient(180deg, #f4ce72, var(--gold));
    border-color: var(--gold-dark);
}

.btn-navy {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.btn-outline {
    color: var(--paper);
    background: rgba(10, 33, 66, 0.72);
    border-color: var(--gold);
}

.btn-outline-dark {
    color: var(--navy);
    background: transparent;
    border-color: var(--navy);
}

.btn.full {
    width: 100%;
}

.text-link {
    color: var(--navy);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.22), rgba(255, 250, 240, 0.12)),
        url("../images/iecet-hero-certificate.png") center / cover no-repeat;
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: radial-gradient(circle at center, rgba(255, 250, 240, 0.76), rgba(255, 250, 240, 0.22) 58%, rgba(6, 22, 45, 0.12));
}

.hero-content {
    width: min(980px, calc(100% - 40px));
    padding: 122px 0 104px;
    text-align: center;
}

.hero-kicker,
.eyebrow,
.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--maroon);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-kicker span {
    display: inline;
}

.hero-kicker::before,
.eyebrow::before,
.section-heading span::before {
    width: 34px;
    height: 2px;
    content: "";
    background: var(--gold);
}

.hero h1 {
    margin-top: 16px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero h1 span {
    display: block;
}

.hero-subtitle {
    margin-top: 14px;
    color: var(--navy);
    font-size: 1.28rem;
    font-weight: 800;
}

.hero-subtitle span {
    display: inline;
}

.hero-copy {
    max-width: 760px;
    margin: 16px auto 0;
    color: #26384f;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0;
}

.section-cream {
    width: 100%;
    padding-right: max(20px, calc((100% - 1180px) / 2));
    padding-left: max(20px, calc((100% - 1180px) / 2));
    background: var(--paper);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.prose-section h2 {
    margin-top: 10px;
}

.section-heading p {
    margin-top: 12px;
    color: var(--muted);
}

.section-heading.light h2,
.section-heading.light p,
.section-heading.light span {
    color: #fff;
}

.card-grid {
    display: grid;
    gap: 20px;
}

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

.course-card,
.stat-card,
.table-panel,
.detail-panel,
.contact-grid > div,
.placeholder-grid > div {
    background: #fffdf7;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.course-card {
    display: flex;
    min-height: 290px;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-top: 5px solid var(--gold);
}

.course-card__topline {
    color: var(--maroon);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.course-card p {
    color: var(--muted);
}

.course-card .text-link {
    margin-top: auto;
}

.split-band,
.action-band,
.verification-band,
.course-detail,
.form-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: start;
}

.split-band h2,
.action-band h2,
.verification-band h2 {
    margin-top: 10px;
    margin-bottom: 14px;
}

.feature-list {
    display: grid;
    gap: 14px;
}

.feature-list div {
    padding: 18px;
    background: rgba(255, 253, 247, 0.78);
    border-left: 4px solid var(--gold);
}

.feature-list strong,
.feature-list span {
    display: block;
}

.feature-list span {
    color: var(--muted);
}

.section-navy {
    width: 100%;
    padding-right: max(20px, calc((100% - 1180px) / 2));
    padding-left: max(20px, calc((100% - 1180px) / 2));
    color: #fff;
    background:
        linear-gradient(135deg, rgba(123, 37, 50, 0.36), transparent 42%),
        linear-gradient(180deg, var(--navy), var(--navy-deep));
}

.process-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.process-strip span {
    min-height: 74px;
    padding: 16px 10px;
    color: #fff;
    font-weight: 800;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 154, 59, 0.55);
    border-radius: 8px;
}

.action-band,
.verification-band,
.disclaimer-band {
    align-items: center;
    padding-top: 54px;
    padding-bottom: 54px;
}

.action-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.verification-band {
    background: linear-gradient(90deg, rgba(30, 106, 74, 0.1), rgba(201, 154, 59, 0.12));
    border: 1px solid rgba(30, 106, 74, 0.24);
    border-radius: 8px;
}

.disclaimer-band {
    width: min(1180px, calc(100% - 40px));
    margin-bottom: 60px;
    background: #fff8df;
    border: 1px solid rgba(201, 154, 59, 0.5);
    border-left: 6px solid var(--gold);
    border-radius: 8px;
}

.disclaimer-band strong {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
}

.page-hero,
.dashboard-hero {
    background:
        linear-gradient(135deg, rgba(123, 37, 50, 0.28), transparent 46%),
        linear-gradient(180deg, var(--navy), var(--navy-deep));
    color: #fff;
}

.page-hero.compact,
.dashboard-hero {
    padding: 70px max(20px, calc((100% - 1180px) / 2));
}

.page-hero h1,
.page-hero p,
.dashboard-hero h1,
.dashboard-hero p,
.page-hero .eyebrow,
.dashboard-hero .eyebrow {
    color: #fff;
}

.page-hero p,
.dashboard-hero p {
    max-width: 740px;
    margin-top: 14px;
}

.prose-section {
    max-width: 900px;
}

.prose-section p {
    margin-top: 12px;
    color: #344155;
}

.prose-section h2 + p {
    margin-top: 8px;
}

.prose-section h2:not(:first-child) {
    margin-top: 34px;
}

.course-detail {
    grid-template-columns: minmax(0, 1fr) 330px;
}

.detail-main h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.55rem;
}

.detail-main h2:first-child {
    margin-top: 0;
}

.check-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid var(--line);
}

.check-list li::before {
    position: absolute;
    top: 13px;
    left: 0;
    width: 14px;
    height: 14px;
    content: "";
    background: var(--gold);
    border-radius: 4px;
}

.detail-panel {
    position: sticky;
    top: 130px;
    display: grid;
    gap: 16px;
    padding: 22px;
}

.detail-panel div {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.detail-panel span {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-panel strong {
    display: block;
    margin-top: 4px;
    color: var(--navy);
}

.form-section {
    grid-template-columns: 320px minmax(0, 1fr);
}

.form-intro h2 {
    margin-bottom: 12px;
}

.form-intro p {
    color: var(--muted);
}

.form-section.narrow {
    display: block;
    max-width: 720px;
}

.portal-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    background: #fffdf7;
    border: 1px solid var(--line);
    border-top: 5px solid var(--gold);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.portal-form label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 800;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(10, 33, 66, 0.22);
    border-radius: 8px;
    font: inherit;
}

.portal-form textarea {
    resize: vertical;
}

.checkbox-line {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 10px !important;
    color: #344155 !important;
    font-weight: 650 !important;
}

.checkbox-line input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.alert,
.notice-box {
    padding: 14px 16px;
    border-radius: 8px;
}

.muted {
    color: var(--muted);
}

.stackable {
    margin-bottom: 18px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr repeat(7, minmax(110px, 1fr)) auto auto;
    gap: 10px;
    margin-bottom: 22px;
    padding: 16px;
    background: #fffdf7;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.filter-panel input,
.filter-panel select,
.document-upload-form input,
.document-upload-form select,
.document-card input,
.document-card select,
.document-card textarea,
.student-form input,
.student-form select,
.student-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(10, 33, 66, 0.22);
    border-radius: 8px;
    font: inherit;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    color: var(--navy);
    background: #eef3f8;
    border: 1px solid rgba(10, 33, 66, 0.12);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.badge-gold {
    background: #fff5d6;
    border-color: rgba(201, 154, 59, 0.45);
}

.badge-green {
    color: #0f5132;
    background: #e7f5ec;
    border-color: #a8dfbd;
}

.action-cell {
    min-width: 230px;
}

.action-cell .text-link {
    display: inline-block;
    margin: 0 8px 6px 0;
}

.student-form {
    display: grid;
    gap: 22px;
}

.form-card,
.profile-card,
.student-photo-card,
.document-card,
.id-card-preview {
    background: #fffdf7;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-top: 5px solid var(--gold);
}

.form-card h2,
.profile-card h2,
.document-card h2 {
    font-size: 1.25rem;
}

.form-card label,
.document-card label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 800;
}

.form-actions,
.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.student-profile-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.student-photo-card {
    position: sticky;
    top: 130px;
    display: grid;
    gap: 12px;
    padding: 20px;
    text-align: center;
}

.student-photo-card img,
.photo-placeholder,
.id-photo img,
.id-photo span {
    width: 170px;
    height: 210px;
    margin: 0 auto;
    object-fit: cover;
    background: #f3ead1;
    border: 2px solid var(--gold);
    border-radius: 8px;
}

.photo-placeholder,
.id-photo span {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 800;
}

.profile-sections {
    display: grid;
    gap: 18px;
}

.profile-card {
    padding: 22px;
}

.profile-card dl,
.id-card-body dl {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 10px 16px;
    margin: 14px 0 0;
}

.profile-card dt,
.id-card-body dt {
    color: var(--muted);
    font-weight: 800;
}

.profile-card dd,
.id-card-body dd {
    margin: 0;
}

.document-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.document-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    color: var(--ink);
    text-decoration: none;
    background: #fff8df;
    border: 1px solid rgba(201, 154, 59, 0.28);
    border-radius: 8px;
}

.document-upload-form {
    display: grid;
    grid-template-columns: 160px 1fr 1fr 1fr auto;
    gap: 10px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    overflow: hidden;
    margin: 0.35rem 0;
    background: #e7dfcc;
    border-radius: 999px;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--navy));
}

.material-frame {
    width: 100%;
    min-height: 620px;
    border: 1px solid rgba(15, 42, 71, 0.18);
    border-radius: 6px;
    background: #fff;
}

.material-video {
    width: 100%;
    max-height: 560px;
    border-radius: 6px;
    background: #111;
}

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

.document-card {
    display: grid;
    gap: 16px;
    padding: 20px;
}

.document-card form {
    display: grid;
    gap: 12px;
}

.id-card-section {
    max-width: 760px;
}

.id-card-preview {
    overflow: hidden;
    border: 5px solid var(--navy);
}

.id-card-header {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px;
    color: #fff;
    background: linear-gradient(90deg, var(--navy), var(--navy-deep));
    border-bottom: 4px solid var(--gold);
}

.id-card-header h2,
.id-card-header p {
    color: #fff;
}

.id-card-header h2 {
    font-size: 1.18rem;
}

.id-card-body {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    padding: 24px;
    background: var(--paper);
}

.id-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 24px;
    background: #fff8df;
    border-top: 1px solid rgba(201, 154, 59, 0.45);
}

.qr-placeholder,
.sign-placeholder {
    display: grid;
    min-height: 74px;
    place-items: center;
    padding: 12px;
    color: var(--navy);
    text-align: center;
    border: 1px dashed var(--gold-dark);
    border-radius: 8px;
    font-weight: 800;
}

.admit-print-section {
    width: min(960px, calc(100% - 40px));
}

.admit-card {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    background: #fffdf7;
    border: 4px solid var(--navy);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.marksheet-card {
    max-width: 940px;
    margin: 0 auto;
    overflow: hidden;
    background: #fffdf7;
    border: 4px double var(--navy);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.marksheet-stamp {
    padding: 8px 22px;
    color: var(--maroon);
    background: #fff8df;
    border-bottom: 1px solid rgba(201, 154, 59, 0.45);
    font-weight: 900;
    text-align: center;
    letter-spacing: 0;
}

.marksheet-total {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    padding: 0 22px 22px;
}

.marksheet-total strong {
    padding: 12px;
    color: var(--navy);
    background: #fff8df;
    border: 1px solid rgba(201, 154, 59, 0.45);
}

.admit-card-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(90deg, var(--navy-deep), var(--navy));
    border-bottom: 4px solid var(--gold);
}

.admit-card-head strong,
.admit-card-head span,
.admit-card-head small {
    display: block;
    color: #fff;
}

.admit-card-head strong {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
}

.admit-card-head h2 {
    color: #fff;
    text-align: right;
}

.admit-card-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(10, 33, 66, 0.16);
}

.admit-card-meta div {
    padding: 14px;
    background: #fff8df;
}

.admit-card-meta span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admit-student-grid {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
}

.admit-photo,
.admit-photo img,
.admit-photo span {
    width: 150px;
    height: 190px;
    object-fit: cover;
    background: #f3ead1;
    border: 2px solid var(--gold);
    border-radius: 8px;
}

.admit-photo span {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 800;
}

.admit-student-grid dl {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 8px 14px;
    margin: 0;
}

.admit-student-grid dt {
    color: var(--muted);
    font-weight: 800;
}

.admit-student-grid dd {
    margin: 0;
}

.admit-table,
.admit-instructions {
    padding: 0 22px 22px;
}

.admit-table h3,
.admit-instructions h3 {
    margin-bottom: 10px;
}

.admit-instructions ol {
    margin: 0;
    padding-left: 22px;
}

.admit-sign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 30px 22px 24px;
    background: #fff8df;
    border-top: 1px solid rgba(201, 154, 59, 0.45);
}

.admit-sign div {
    padding-top: 38px;
    text-align: center;
    border-top: 1px solid var(--navy);
    font-weight: 800;
}

@media print {
    .site-header,
    .site-footer,
    .print-hidden {
        display: none !important;
    }

    body,
    .site-shell,
    main {
        background: #fff !important;
    }

    .section,
    .admit-print-section {
        width: 100%;
        padding: 0;
    }

    .admit-card {
        max-width: none;
        box-shadow: none;
        border-radius: 0;
        page-break-inside: avoid;
    }

    .marksheet-card {
        max-width: none;
        box-shadow: none;
        border-radius: 0;
        page-break-inside: avoid;
    }
}

.alert ul {
    margin: 8px 0 0;
}

.alert-success {
    color: #0f5132;
    background: #e7f5ec;
    border: 1px solid #a8dfbd;
}

.alert-error {
    color: #842029;
    background: #fff0f0;
    border: 1px solid #efb4b4;
}

.notice-box {
    color: var(--navy);
    background: #fff8df;
    border: 1px solid rgba(201, 154, 59, 0.44);
}

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

.contact-grid > div,
.placeholder-grid > div {
    padding: 24px;
}

.contact-grid p {
    margin: 10px 0 14px;
    color: var(--muted);
}

.dashboard-section {
    width: min(1280px, calc(100% - 40px));
}

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

.stat-card {
    min-height: 142px;
    padding: 18px;
    border-top: 4px solid var(--gold);
}

.stat-card span,
.stat-card small {
    display: block;
    color: var(--muted);
}

.stat-card strong {
    display: block;
    margin: 8px 0 4px;
    color: var(--navy);
    font-size: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
}

.table-panel {
    padding: 20px;
}

.table-panel.wide {
    width: min(1280px, calc(100% - 40px));
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.panel-head h2 {
    font-size: 1.28rem;
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

th {
    color: var(--navy);
    font-size: 0.78rem;
    text-transform: uppercase;
    background: #fff7e2;
}

.site-footer {
    color: #fff;
    background: var(--navy-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0;
}

.footer-brand {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.site-footer h2 {
    margin-bottom: 12px;
    color: var(--gold);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin: 7px 0;
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 16px 0 24px;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    h1 {
        font-size: 2.85rem;
    }

    .main-nav,
    .top-strip {
        padding-right: 24px;
        padding-left: 24px;
    }

    .main-nav {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .card-grid.three,
    .contact-grid,
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .course-detail,
    .form-section,
    .dashboard-grid,
    .student-profile-grid,
    .document-grid {
        grid-template-columns: 1fr;
    }

    .detail-panel {
        position: static;
    }

    .student-photo-card {
        position: static;
    }

    .filter-panel,
    .document-upload-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body {
        overflow-x: hidden;
    }

    h1 {
        font-size: 2.22rem;
    }

    h2 {
        font-size: 1.68rem;
    }

    .top-strip {
        display: none;
    }

    .main-nav {
        padding: 14px 18px;
    }

    .brand {
        min-width: 0;
        width: 100%;
    }

    .brand small {
        max-width: 230px;
    }

    .nav-actions {
        width: 100%;
    }

    .nav-actions .btn,
    .nav-actions form {
        flex: 1;
    }

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

    .nav-links a {
        padding: 8px 2px;
        text-align: center;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        overflow: hidden;
        padding: 88px 0 74px;
    }

    .hero-kicker {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }

    .hero-kicker span {
        display: block;
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        overflow-wrap: anywhere;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section,
    .section-cream,
    .section-navy,
    .dashboard-section,
    .table-panel.wide {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .page-hero.compact,
    .dashboard-hero {
        padding: 52px 16px;
    }

    .card-grid.three,
    .contact-grid,
    .placeholder-grid,
    .stat-grid,
    .form-grid,
    .split-band,
    .action-band,
    .verification-band {
        grid-template-columns: 1fr;
    }

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

    .portal-form {
        padding: 20px;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .filter-panel,
    .document-upload-form,
    .profile-card dl,
    .id-card-body,
    .id-card-body dl,
    .id-card-footer {
        grid-template-columns: 1fr;
    }

    .material-frame {
        min-height: 420px;
    }

    .student-photo-card img,
    .photo-placeholder,
    .id-photo img,
    .id-photo span {
        width: 142px;
        height: 176px;
    }
}

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

    .hero-kicker {
        font-size: 0.72rem;
    }

    .hero h1 {
        font-size: 1.58rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.06rem;
    }

    .hero-subtitle span {
        display: block;
    }

    .hero-copy {
        max-width: calc(100vw - 42px);
        font-size: 0.98rem;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 440px) {
    h1 {
        font-size: 1.72rem;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .nav-links {
        gap: 6px;
    }

    .nav-links a {
        font-size: 0.92rem;
    }

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

/* Public website refresh */
:root {
    --brand-blue: #102b5c;
    --brand-teal: #0e7c7b;
    --brand-plum: #7b2d59;
    --brand-sun: #d6a83f;
    --brand-mint: #e8f6f0;
    --brand-blush: #fff3ee;
    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --text-main: #142033;
    --text-soft: #5d6676;
}

.site-shell {
    background: var(--surface-soft);
    color: var(--text-main);
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 44px rgba(16, 43, 92, 0.16);
}

.top-strip {
    background: #0b1f3f;
    color: #fff;
    font-weight: 650;
}

.main-nav {
    justify-content: center;
    border-bottom: 1px solid rgba(16, 43, 92, 0.1);
}

.brand {
    flex: 1 1 270px;
    min-width: 220px;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.nav-links {
    flex: 2 1 auto;
}

.nav-links a {
    border-radius: 0;
    color: var(--brand-blue);
}

.nav-links a.is-active,
.nav-links a:hover,
.nav-links a:focus {
    color: var(--brand-plum);
    border-color: var(--brand-sun);
}

.nav-login {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(16, 43, 92, 0.18);
    border-radius: 8px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--brand-blue);
}

.public-hero,
.page-hero {
    background:
        linear-gradient(135deg, rgba(232, 246, 240, 0.96), rgba(255, 243, 238, 0.9)),
        #fff;
}

.page-hero {
    width: 100%;
    margin: 0;
    padding: clamp(56px, 6vw, 86px) max(24px, calc((100% - 1180px) / 2 + 24px));
    background:
        linear-gradient(135deg, rgba(16, 43, 92, 0.96), rgba(14, 124, 123, 0.9) 58%, rgba(126, 45, 91, 0.92)),
        var(--brand-blue);
    color: #fff;
}

.course-hero,
.course-detail-hero {
    background:
        linear-gradient(135deg, rgba(8, 27, 59, 0.86), rgba(14, 124, 123, 0.62)),
        url("../images/courses/course_hero.webp") center / cover no-repeat;
}

.course-hero h1,
.course-hero p,
.course-hero .eyebrow,
.course-detail-hero h1,
.course-detail-hero p,
.course-detail-hero .eyebrow {
    color: #fff;
}

.about-hero {
    background:
        linear-gradient(135deg, rgba(8, 27, 59, 0.84), rgba(123, 45, 89, 0.62)),
        url("../images/about/About_Hero.webp") center / cover no-repeat;
}

.about-hero h1,
.about-hero p,
.about-hero .eyebrow {
    color: #fff;
}

.page-hero.compact {
    padding: clamp(50px, 5vw, 74px) max(24px, calc((100% - 1180px) / 2 + 24px));
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
    color: #fff;
}

.page-hero h1 {
    max-width: 980px;
    margin-top: 12px;
    font-size: clamp(2.2rem, 4.7vw, 4.8rem);
    line-height: 1.04;
    overflow-wrap: normal;
}

.page-hero p {
    max-width: 760px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.7;
}

.page-hero .eyebrow {
    position: relative;
    padding-left: 56px;
}

.page-hero .eyebrow::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 42px;
    height: 2px;
    background: var(--brand-sun);
    content: "";
    transform: translateY(-50%);
}

.public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 44px;
    align-items: center;
    padding: 72px 6vw 54px;
    overflow: hidden;
}

.public-hero__copy {
    max-width: 720px;
}

.hero-badge,
.eyebrow,
.section-heading span {
    display: inline-flex;
    color: var(--brand-plum);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.public-hero h1 {
    margin-top: 14px;
    color: var(--brand-blue);
    font-size: clamp(2.35rem, 5vw, 4.9rem);
}

.hero-lead {
    max-width: 640px;
    margin-top: 22px;
    color: #303b4d;
    font-size: 1.12rem;
}

.institute-line {
    margin-top: 16px;
    color: var(--brand-teal);
    font-weight: 800;
}

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

.public-hero__media,
.image-split__media {
    position: relative;
}

.public-hero__media img,
.image-split__media img,
.detail-panel img,
.login-visual img:not(.login-logo),
.course-card__media img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.public-hero__media img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(16, 43, 92, 0.2);
}

.authority-band {
    padding: 34px 6vw;
    background: #fff;
    border-top: 1px solid rgba(16, 43, 92, 0.08);
    border-bottom: 1px solid rgba(16, 43, 92, 0.08);
}

.authority-band__intro {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 22px;
    border-left: 5px solid var(--brand-teal);
    background: linear-gradient(135deg, rgba(246, 248, 252, 0.98), rgba(255, 255, 255, 0.96));
}

.authority-band__intro h2 {
    margin: 8px 0 12px;
    color: var(--brand-blue);
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 2.6vw, 2.5rem);
    line-height: 1.08;
}

.authority-band__intro p {
    color: var(--text-soft);
    line-height: 1.7;
}

.authority-paragraph {
    max-width: 1040px;
    font-size: 1.02rem;
}

.authority-paragraph strong {
    font-weight: 850;
}

@media (max-width: 1100px) {
    .authority-band {
        padding-inline: 4vw;
    }
}

@media (max-width: 720px) {
    .page-hero,
    .page-hero.compact {
        padding: 42px 18px;
    }

    .page-hero h1 {
        font-size: 2.1rem;
        overflow-wrap: anywhere;
    }

    .page-hero p {
        font-size: 0.98rem;
    }

    .authority-band {
        gap: 16px;
        padding: 24px 14px;
    }

    .authority-band__intro {
        padding: 18px;
    }

    .authority-paragraph {
        font-size: 0.96rem;
    }
}

.public-section {
    background: #fff;
}

.section {
    padding-right: clamp(18px, 2.2vw, 30px);
    padding-left: clamp(18px, 2.2vw, 30px);
}

.section-heading {
    max-width: 820px;
}

.section-heading h2 {
    line-height: 1.1;
}

.section-heading p {
    max-width: 760px;
    line-height: 1.7;
}

.course-showcase-grid,
.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.course-showcase-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.course-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    padding: 0 0 18px;
    border: 1px solid rgba(16, 43, 92, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(16, 43, 92, 0.08);
}

.course-card__media {
    position: relative;
}

.course-card__media img {
    aspect-ratio: 16 / 9;
}

.course-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 6px;
    background: rgba(16, 43, 92, 0.92);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.course-card h3,
.course-card p,
.course-card .mini-list,
.course-card .course-meta,
.course-card__actions {
    margin-right: 18px;
    margin-left: 18px;
}

.course-card h3 {
    min-height: 3.4em;
    margin-bottom: 0;
    line-height: 1.08;
}

.course-card__summary {
    min-height: 4.9em;
}

.course-card__outcomes {
    min-height: 8.8em;
}

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

.course-meta div,
.detail-facts div {
    min-height: 68px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--brand-mint);
}

.course-meta dt,
.detail-facts span {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.course-meta dd {
    margin: 0;
    color: var(--brand-blue);
    font-weight: 800;
}

.mini-list,
.check-list {
    padding-left: 0;
    list-style: none;
}

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

.mini-list li,
.check-list li {
    position: relative;
    padding-left: 24px;
}

.mini-list li::before,
.check-list li::before {
    position: absolute;
    top: 0.48em;
    left: 0;
    width: 11px;
    height: 6px;
    border-bottom: 2px solid var(--brand-teal);
    border-left: 2px solid var(--brand-teal);
    content: "";
    transform: rotate(-45deg);
}

.course-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.feature-card,
.contact-grid > div {
    padding: clamp(22px, 2.2vw, 30px);
    border: 1px solid rgba(16, 43, 92, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(16, 43, 92, 0.07);
}

.feature-card h3,
.feature-card h2,
.contact-grid h2 {
    margin-bottom: 10px;
}

.image-split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 36px;
    align-items: center;
    padding: clamp(34px, 4vw, 58px);
    background: #fff;
}

.image-split--reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.image-split__media img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(16, 43, 92, 0.13);
}

.image-split__copy {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.image-split__copy p,
.image-split__copy li {
    line-height: 1.7;
}

.journey-section,
.benefit-section,
.why-grid-section {
    background: var(--surface-soft);
}

.journey-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.journey-step {
    min-height: 116px;
    padding: 22px;
    border: 1px solid rgba(14, 124, 123, 0.18);
    border-radius: 8px;
    background: #fff;
}

.journey-step span {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-teal);
    color: #fff;
    font-weight: 900;
}

.study-centre-band {
    background: var(--brand-mint);
}

.core-feature-section {
    background: #fff;
}

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

.core-feature-card {
    min-height: 100%;
    padding: clamp(22px, 2.2vw, 30px);
    border: 1px solid rgba(16, 43, 92, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, var(--surface-soft));
    box-shadow: 0 14px 30px rgba(16, 43, 92, 0.07);
}

.core-feature-card span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 900;
}

.core-feature-card h3 {
    margin-bottom: 9px;
    color: var(--brand-blue);
    font-size: 1.12rem;
}

.core-feature-card p {
    color: var(--text-soft);
    line-height: 1.65;
}

.testimonials-section {
    background: #fff;
}

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

.testimonial-card {
    overflow: hidden;
    border: 1px solid rgba(16, 43, 92, 0.12);
    border-radius: 8px;
    background: var(--surface-soft);
    box-shadow: 0 16px 34px rgba(16, 43, 92, 0.08);
}

.testimonial-card picture,
.testimonial-card img {
    display: block;
    width: 100%;
}

.testimonial-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.testimonial-card__body {
    display: grid;
    gap: 10px;
    padding: clamp(20px, 2.2vw, 28px);
}

.stars {
    color: var(--brand-sun);
    font-size: 1.02rem;
    letter-spacing: 1px;
}

.testimonial-card p {
    color: var(--text-main);
    line-height: 1.65;
}

.testimonial-card strong {
    color: var(--brand-blue);
    font-size: 1.04rem;
}

.testimonial-card span {
    color: var(--text-soft);
    font-weight: 700;
}

.verification-section,
.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(46px, 5vw, 72px) clamp(24px, 4vw, 58px);
    background: linear-gradient(135deg, var(--brand-blue), #173f74);
    color: #fff;
}

.verification-section > div,
.final-cta > div:first-child {
    max-width: 820px;
}

.verification-section p {
    max-width: 760px;
    margin-top: 10px;
    line-height: 1.65;
}

.verification-section > .btn,
.final-cta > .hero-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

.final-cta > .hero-actions {
    display: grid;
    min-width: 190px;
    justify-items: stretch;
}

.verification-section h2,
.final-cta h2,
.verification-section .eyebrow,
.final-cta .eyebrow {
    color: #fff;
}

.verification-section h2,
.final-cta h2 {
    max-width: 860px;
    font-size: clamp(2rem, 3.1vw, 3.2rem);
    line-height: 1.08;
}

.final-cta .btn-outline-dark,
.verification-section .btn-outline-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0 24px;
}

.detail-panel {
    top: 122px;
}

.detail-panel img {
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
    border-radius: 8px;
}

.enhanced-form {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    gap: 28px;
    align-items: start;
}

.enhanced-form.narrow {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.form-steps {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.form-steps span {
    padding: 10px 12px;
    border-left: 4px solid var(--brand-sun);
    background: #fff;
    color: var(--brand-blue);
    font-weight: 800;
}

.portal-form h2 {
    margin-top: 6px;
    font-size: 1.1rem;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
    border-color: rgba(16, 43, 92, 0.18);
    background: #fff;
}

.notice-box {
    border-left: 4px solid var(--brand-teal);
    background: var(--brand-mint);
}

.login-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    min-height: calc(100vh - 172px);
    background: #fff;
}

.login-visual {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 560px;
    overflow: hidden;
    padding: 46px;
    color: #fff;
}

.login-visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 43, 92, 0.08), rgba(16, 43, 92, 0.78));
    content: "";
}

.login-visual picture,
.login-visual img:not(.login-logo) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.login-visual > div {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.login-visual h1,
.login-visual p {
    color: #fff;
}

.login-logo {
    width: 92px;
    height: 92px;
    margin-bottom: 18px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.login-panel {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 54px 7vw;
}

.footer-logo {
    width: 112px;
    height: 112px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 0;
    background: transparent;
}

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

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

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

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

.js .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

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

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

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

@media (max-width: 1100px) {
    .main-nav {
        justify-content: space-between;
    }

    .nav-actions {
        display: none;
    }

    .nav-login {
        display: inline-flex;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid rgba(16, 43, 92, 0.12);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(16, 43, 92, 0.14);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 12px;
    }

    .public-hero,
    .image-split,
    .image-split--reverse,
    .enhanced-form,
    .login-split,
    .core-feature-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .public-hero__media {
        max-width: 680px;
    }

    .login-visual {
        min-height: 420px;
    }
}

@media (max-width: 720px) {
    .top-strip {
        flex-direction: column;
        gap: 4px;
        padding: 8px 18px;
    }

    .main-nav {
        padding: 12px 18px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand small {
        max-width: 190px;
    }

    .public-hero {
        padding: 44px 20px 34px;
    }

    .public-hero h1 {
        font-size: 2.35rem;
    }

    .course-card__actions,
    .verification-section,
    .final-cta,
    .core-feature-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .verification-section,
    .final-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 34px 22px;
    }

    .verification-section > .btn,
    .final-cta > .hero-actions {
        width: 100%;
    }

    .verification-section > .btn,
    .final-cta .btn {
        justify-content: center;
        width: 100%;
    }

    .verification-section h2,
    .final-cta h2 {
        font-size: 2rem;
    }

    .login-panel,
    .login-visual {
        padding: 32px 22px;
    }
}

/* Image-led hero refinement */
.public-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(680px, 82vh, 900px);
    grid-template-columns: 1fr;
    align-items: center;
    padding: 0;
    background: #fff;
}

.public-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.public-hero__media picture,
.public-hero__media img {
    width: 100%;
    height: 100%;
}

.public-hero__media img {
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    object-position: center center;
}

.public-hero__copy {
    position: relative;
    z-index: 2;
    width: min(480px, calc(100% - 40px));
    max-width: 480px;
    margin: 56px 6vw 56px auto;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 62px rgba(16, 43, 92, 0.2);
    backdrop-filter: blur(12px);
}

.public-hero h1 {
    margin-top: 10px;
    font-size: clamp(1.86rem, 3.2vw, 3.15rem);
}

.hero-lead {
    margin-top: 14px;
    font-size: 0.98rem;
}

.institute-line {
    margin-top: 12px;
    font-size: 0.93rem;
}

.public-hero .hero-actions {
    gap: 9px;
    margin-top: 18px;
}

.public-hero .btn {
    min-height: 40px;
    padding: 10px 13px;
    font-size: 0.9rem;
}

.hero-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.hero-mini-points span {
    padding: 7px 9px;
    border: 1px solid rgba(16, 43, 92, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand-blue);
    font-size: 0.78rem;
    font-weight: 850;
}

@media (max-width: 1100px) {
    .public-hero {
        min-height: 760px;
    }

    .public-hero__copy {
        margin-right: 32px;
    }
}

@media (max-width: 720px) {
    .public-hero {
        display: flex;
        min-height: auto;
        flex-direction: column;
        padding: 0 0 28px;
        background: var(--surface-soft);
    }

    .public-hero__media {
        position: relative;
        order: 1;
        width: 100%;
        height: 480px;
    }

    .public-hero__media img {
        object-position: 43% center;
    }

    .public-hero__copy {
        order: 2;
        width: calc(100% - 28px);
        margin: -64px 14px 0;
        padding: 18px;
        background: rgba(255, 255, 255, 0.88);
    }

    .public-hero h1 {
        font-size: 1.9rem;
    }

    .public-hero .hero-actions {
        display: grid;
    }
}

/* Wider, image-first hero layout */
.public-hero {
    min-height: 0;
    height: clamp(720px, 50vw, 960px);
    align-items: stretch;
}

.public-hero__media {
    overflow: hidden;
    max-width: none;
}

.public-hero__media img {
    object-fit: cover;
    object-position: center center;
}

.public-hero__copy {
    position: absolute;
    right: 5vw;
    bottom: 32px;
    left: auto;
    display: grid;
    width: min(650px, calc(100% - 48px));
    max-width: 650px;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.32fr);
    gap: 8px;
    align-items: start;
    margin: 0;
    padding: 14px 18px 16px;
    background: rgba(255, 255, 255, 0.46);
    transform: none;
}

.public-hero__copy > div {
    min-width: 0;
}

.public-hero__copy > div:first-child,
.public-hero__copy > div:nth-child(2) {
    grid-column: 1;
}

.hero-card-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    gap: 8px;
    align-self: center;
}

.hero-card-actions .btn {
    min-height: 38px;
    justify-content: center;
    padding: 9px 11px;
    font-size: 0.86rem;
    box-shadow: 0 12px 24px rgba(16, 43, 92, 0.16);
}

.public-hero h1 {
    max-width: 600px;
    overflow-wrap: normal;
    font-size: clamp(1.82rem, 2.62vw, 2.9rem);
    line-height: 1.03;
}

.hero-lead {
    max-width: 560px;
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.institute-line {
    font-size: 0.86rem;
}

.hero-card-actions .btn-outline-dark {
    background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
    .public-hero {
        height: 760px;
    }

    .public-hero__copy {
        right: 24px;
        width: min(600px, calc(100% - 48px));
        gap: 8px;
    }

    .public-hero__copy {
        grid-template-columns: 1fr;
    }

    .public-hero__copy > div:first-child,
    .public-hero__copy > div:nth-child(2),
    .hero-card-actions {
        grid-column: 1;
    }

    .hero-card-actions {
        grid-row: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }
}

@media (max-width: 720px) {
    .public-hero {
        height: auto;
        padding-bottom: 22px;
    }

    .public-hero__media {
        height: 520px;
    }

    .public-hero__copy {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: calc(100% - 28px);
        margin: -42px auto 0;
        padding: 14px;
        transform: none;
    }

    .public-hero h1 {
        font-size: 1.72rem;
    }

    .hero-lead {
        font-size: 0.88rem;
    }

    .hero-card-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 2px;
    }
}

/* Admin operations shell */
body.admin-shell {
    min-height: 100vh;
    background: #f4f6f9;
    color: #18202f;
    overflow-x: clip;
}

.admin-app {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    width: 284px;
    height: 100vh;
    overflow: hidden;
    color: #f8fafc;
    background: #111827;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(0);
    transition: transform 180ms ease;
}

.admin-sidebar .admin-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(15, 23, 42, 0.46);
}

body.admin-nav-collapsed .admin-sidebar {
    transform: translateX(-102%);
}

body.admin-nav-collapsed .admin-main {
    margin-left: 0;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 16px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}

.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand strong {
    color: #fff;
    font-size: 1rem;
}

.admin-brand small {
    color: #cbd5e1;
    font-size: 0.78rem;
}

.admin-nav {
    padding: 14px 12px 22px;
}

.admin-nav-group {
    margin-bottom: 14px;
}

.admin-nav-group h2 {
    margin: 0 0 6px;
    padding: 0 10px;
    color: #94a3b8;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 10px;
    color: #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 650;
}

.admin-nav-link:hover,
.admin-nav-link:focus,
.admin-nav-link.is-active {
    color: #fff;
    background: #1f2937;
}

.admin-nav-link.is-active {
    box-shadow: inset 3px 0 0 #38bdf8;
}

.admin-nav-icon {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #111827;
    background: #e2e8f0;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 900;
}

.admin-nav-link.is-active .admin-nav-icon {
    background: #38bdf8;
}

.admin-main {
    min-width: 0;
    max-width: 100%;
    margin-left: 284px;
    transition: margin-left 180ms ease;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #dde3ee;
    backdrop-filter: blur(12px);
}

.admin-menu-toggle,
.admin-logout,
.admin-profile-link {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #18202f;
    font-weight: 750;
    cursor: pointer;
}

.admin-profile-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-topbar-title span,
.admin-account span {
    display: block;
    color: #0f172a;
    font-weight: 850;
}

.admin-topbar-title small,
.admin-account small {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
}

.admin-account {
    text-align: right;
}

.admin-content {
    width: min(100%, 1480px);
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    min-width: 0;
    overflow-x: hidden;
}

body.admin-shell .dashboard-hero {
    margin: 0 0 18px;
    padding: 24px;
    color: #172033;
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 8px;
    box-shadow: none;
}

body.admin-shell .dashboard-hero h1,
body.admin-shell .dashboard-hero p,
body.admin-shell .dashboard-hero .eyebrow {
    color: inherit;
}

body.admin-shell .dashboard-hero h1 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.9rem;
}

body.admin-shell .section {
    padding-left: 0;
    padding-right: 0;
}

.admin-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.admin-page-head h1 {
    margin-bottom: 6px;
    color: #0f172a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 2rem;
}

.admin-page-head p {
    max-width: 780px;
    color: #64748b;
}

.admin-head-actions,
.admin-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    color: #fff;
    background: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.admin-action.secondary {
    color: #0f172a;
    background: #fff;
    border-color: #cbd5e1;
}

.admin-action.success {
    background: #047857;
    border-color: #047857;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
    min-width: 0;
}

.admin-kpi,
.workflow-card,
.queue-panel,
.admin-note-panel {
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    min-width: 0;
}

.admin-kpi {
    padding: 14px;
}

.admin-kpi span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 750;
}

.admin-kpi strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-kpi small {
    display: block;
    margin-top: 5px;
    color: #64748b;
}

.workflow-grid,
.queue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
    min-width: 0;
}

.workflow-card {
    padding: 18px;
}

.workflow-card header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.workflow-card h2,
.queue-panel h2,
.admin-note-panel h2 {
    color: #0f172a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.05rem;
}

.workflow-card p {
    min-height: 42px;
    color: #64748b;
    font-size: 0.94rem;
}

.workflow-steps,
.queue-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.workflow-steps a,
.queue-row,
.task-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    padding: 9px 10px;
    color: #18202f;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    min-width: 0;
}

.workflow-steps a > span,
.queue-row > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.workflow-steps a:hover,
.workflow-steps a:focus,
.task-link:hover,
.task-link:focus {
    border-color: #93c5fd;
    background: #eff6ff;
}

.count-badge,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 850;
}

.count-badge {
    color: #1e3a8a;
    background: #dbeafe;
}

.status-pill {
    color: #334155;
    background: #e2e8f0;
}

.status-pill.warn {
    color: #92400e;
    background: #fef3c7;
}

.status-pill.good {
    color: #065f46;
    background: #d1fae5;
}

.status-pill.danger {
    color: #991b1b;
    background: #fee2e2;
}

.queue-panel,
.admin-note-panel {
    padding: 16px;
}

.queue-panel.wide {
    grid-column: span 2;
}

.queue-panel header,
.admin-note-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.queue-row {
    align-items: flex-start;
}

.queue-row strong,
.queue-row small {
    display: block;
}

.queue-row small {
    color: #64748b;
}

.queue-row .text-link {
    white-space: nowrap;
}

.admin-empty {
    padding: 18px;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

@media (max-width: 1180px) {
    .admin-kpi-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    }

    .workflow-grid,
    .queue-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    }

    .queue-panel.wide {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    .admin-main {
        margin-left: 0;
    }

    .admin-sidebar {
        transform: translateX(-102%);
    }

    body.admin-nav-open .admin-sidebar {
        transform: translateX(0);
    }

    body.admin-nav-open .admin-sidebar-backdrop {
        display: block;
    }

    body.admin-nav-collapsed .admin-sidebar {
        transform: translateX(-102%);
    }

    .admin-topbar {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
    }

    .admin-account {
        display: none;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-page-head {
        display: grid;
    }

    .admin-kpi-grid,
    .workflow-grid,
    .queue-grid,
    .queue-panel.wide {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .center-dash-main .admin-kpi-grid,
    .center-dash-main .portal-kpi-grid,
    .student-dash-main .admin-kpi-grid,
    .student-dash-main .portal-kpi-grid {
        grid-template-columns: 1fr;
    }
}
/* Record 360 pages */
.record-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px;
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.record-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.record-identity img,
.record-avatar {
    flex: 0 0 auto;
    width: 78px;
    height: 78px;
    border-radius: 8px;
}

.record-identity img {
    object-fit: cover;
    border: 1px solid #dbe3ef;
}

.record-avatar {
    display: grid;
    place-items: center;
    color: #fff;
    background: #2563eb;
    font-size: 2rem;
    font-weight: 900;
}

.record-identity h1 {
    margin: 4px 0 5px;
    color: #0f172a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 2rem;
}

.record-identity p {
    color: #64748b;
}

.record-badges,
.record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.record-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.record-actions form,
.workflow-steps form {
    margin: 0;
}

.record-kpis {
    margin-bottom: 18px;
}

.record-workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.record-details dl,
.two-column-details dl {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 8px 12px;
    margin: 0;
}

.record-details dt,
.two-column-details dt {
    color: #64748b;
    font-weight: 750;
}

.record-details dd,
.two-column-details dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: break-word;
    color: #18202f;
}

.compact-list {
    margin-top: 12px;
}

.full-task {
    width: 100%;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font: inherit;
}

.record-lists .queue-panel {
    min-height: 220px;
}

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

@media (max-width: 900px) {
    .record-hero,
    .record-identity {
        display: grid;
    }

    .record-actions {
        justify-content: flex-start;
    }

    .record-workflow {
        grid-template-columns: 1fr;
    }

    .record-details dl,
    .two-column-details dl {
        grid-template-columns: 1fr;
    }
}
/* Public SEO location hubs */
.location-hero {
    background: linear-gradient(135deg, #f8fbff 0%, #eef6f2 52%, #fff7e2 100%);
}

.location-hero h1,
.location-hero p,
.location-hero .hero-badge {
    color: var(--brand-blue);
}

.location-hero p {
    color: #2f3f56;
}

.location-strip {
    padding-top: 3rem;
}

.location-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.location-hub-card,
.location-copy-panel,
.location-quick-panel,
.process-card,
.faq-list details {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.location-hub-card {
    padding: 1.25rem;
}

.location-hub-card h3,
.location-copy-panel h2,
.location-quick-panel h2,
.process-card h3 {
    margin-top: 0;
    color: #061227;
}

.location-hub-card h3 a {
    color: inherit;
    text-decoration: none;
}

.location-hub-card p,
.location-copy-panel p,
.location-quick-panel p,
.process-card p,
.faq-list p {
    color: #51617a;
    line-height: 1.7;
}

.location-link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.location-link-cloud.wide {
    justify-content: center;
}

.location-link-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid #cfd9e8;
    border-radius: 999px;
    background: #ffffff;
    color: #10213f;
    font-weight: 700;
    text-decoration: none;
}

.location-link-cloud a:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.location-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
    gap: 1.25rem;
    align-items: start;
}

.location-copy-panel,
.location-quick-panel {
    padding: 1.5rem;
}

.check-list {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    color: #263654;
    line-height: 1.6;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #0f766e;
}

.workflow-mini-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 1rem 0 1.25rem;
}

.workflow-mini-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    background: #eff6ff;
    color: #17345d;
    font-weight: 800;
    text-align: center;
}

.location-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.process-card {
    padding: 1.15rem;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
    max-width: 920px;
    margin: 0 auto;
}

.faq-list details {
    padding: 1rem 1.2rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
    color: #061227;
}

@media (max-width: 900px) {
    .location-content-grid,
    .location-process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .location-link-cloud.wide {
        justify-content: flex-start;
    }

    .location-link-cloud a {
        width: 100%;
        justify-content: center;
        border-radius: 8px;
    }

    .workflow-mini-list {
        grid-template-columns: 1fr;
    }
}
/* Admission inquiry hero image */
.admission-hero {
    position: relative;
    min-height: clamp(360px, 48vw, 560px);
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(5, 16, 42, 0.9) 0%, rgba(5, 16, 42, 0.72) 38%, rgba(5, 16, 42, 0.24) 64%, rgba(5, 16, 42, 0.04) 100%),
        url("../images/inquiry/Inquiry_Hero.webp") center right / cover no-repeat;
}

.admission-hero > div {
    max-width: 680px;
}

.admission-hero h1,
.admission-hero p,
.admission-hero .eyebrow {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

@media (max-width: 780px) {
    .admission-hero {
        min-height: 420px;
        background:
            linear-gradient(180deg, rgba(5, 16, 42, 0.82) 0%, rgba(5, 16, 42, 0.64) 58%, rgba(5, 16, 42, 0.42) 100%),
            url("../images/inquiry/Inquiry_Hero.webp") center right / cover no-repeat;
    }
}
/* Portal dashboards (student / center) */
.portal-student .admin-nav-link.is-active {
    box-shadow: inset 3px 0 0 #c99a3b;
}

.portal-student .admin-nav-link.is-active .admin-nav-icon {
    background: #c99a3b;
}

.portal-center .admin-nav-link.is-active {
    box-shadow: inset 3px 0 0 #34d399;
}

.portal-center .admin-nav-link.is-active .admin-nav-icon {
    background: #34d399;
}

.success-notice {
    color: #065f46;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.danger-notice {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.danger-notice ul {
    margin: 0;
    padding-left: 1.1rem;
}

.portal-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 18px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.portal-profile-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.portal-profile-card h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.portal-summary-card {
    padding: 20px;
}

.portal-summary-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin: 0;
}

.portal-summary-list > div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

.portal-summary-list > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.portal-summary-list dt {
    margin: 0;
    color: #64748b;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portal-summary-list dd {
    margin: 0;
    max-width: 100%;
    color: #334155;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.portal-summary-note {
    margin-top: 14px;
    color: #64748b;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.5;
}

body.admin-shell .portal-profile-card h2,
body.admin-shell .admin-page-head h1,
body.admin-shell .admin-page-head .eyebrow {
    font-family: "Segoe UI", Arial, sans-serif;
}

body.admin-shell .admin-page-head h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.admin-shell .portal-form label {
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 650;
    color: #475569;
}

.student-dash-layout,
.center-dash-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.student-dash-main,
.center-dash-main,
.student-id-panel,
.center-profile-panel {
    display: grid;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
}

.center-dash-main .admin-kpi-grid,
.center-dash-main .portal-kpi-grid,
.student-dash-main .admin-kpi-grid,
.student-dash-main .portal-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-quick-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
}

body.admin-shell .table-scroll {
    max-width: 100%;
}

body.admin-shell .queue-panel.wide,
body.admin-shell .center-dash-main .queue-panel.wide,
body.admin-shell .student-dash-main .queue-panel.wide {
    grid-column: auto;
    width: 100%;
    min-width: 0;
}

.portal-id-card,
.portal-center-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #d9e2f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    max-width: 100%;
}

.portal-id-card__head,
.portal-center-card > header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    color: #fff;
    background: linear-gradient(135deg, #0f2744 0%, #173b66 58%, #1d4f7a 100%);
}

.portal-id-card__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}

.portal-id-card__head strong,
.portal-center-card > header h2 {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.portal-id-card__head small,
.portal-center-card > header p {
    display: block;
    color: #cbd5e1;
    font-size: 0.78rem;
    margin: 2px 0 0;
    overflow-wrap: anywhere;
}

.portal-center-card__badge {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(201, 154, 59, 0.9);
    color: #111827;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portal-id-card__body {
    display: grid;
    gap: 16px;
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(201, 154, 59, 0.12), transparent 42%),
        #fffdf8;
}

.portal-id-card__identity {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.portal-id-card__photo {
    flex-shrink: 0;
}

.portal-id-card__photo img,
.portal-id-card__photo span {
    width: 96px;
    height: 118px;
    display: grid;
    place-items: center;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #c99a3b;
    background: #f3ead1;
    color: #0f2744;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.portal-id-card__intro h2 {
    margin: 0 0 4px;
    color: #0f172a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.portal-id-card__course {
    margin: 0;
    color: #475569;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.portal-id-card__meta,
.portal-center-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
    width: 100%;
    min-width: 0;
}

.portal-id-card__meta > div,
.portal-center-card dl > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    min-width: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}

.portal-id-card__meta > div:last-child,
.portal-center-card dl > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.portal-id-card__meta dt,
.portal-center-card dt {
    color: #64748b;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portal-id-card__meta dd,
.portal-center-card dd {
    margin: 0;
    color: #0f172a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.portal-id-card__address {
    grid-column: auto;
}

.portal-id-card__address,
.portal-center-card .portal-id-card__address {
    grid-template-columns: 1fr !important;
}

.portal-id-card__foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 12px 18px;
    background: #0f2744;
    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 650;
}

.portal-center-card > header {
    display: block;
}

.portal-center-card dl {
    padding: 18px;
}

.student-id-panel,
.center-profile-panel {
    position: sticky;
    top: 88px;
}

@media (max-width: 1280px) {
    .student-dash-layout,
    .center-dash-layout {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    }
}

@media (max-width: 1100px) {
    .student-dash-layout,
    .center-dash-layout,
    .portal-profile-grid {
        grid-template-columns: 1fr;
    }

    .student-id-panel,
    .center-profile-panel {
        position: static;
    }

    .center-dash-main .admin-kpi-grid,
    .center-dash-main .portal-kpi-grid,
    .student-dash-main .admin-kpi-grid,
    .student-dash-main .portal-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .portal-id-card__identity {
        justify-items: center;
        text-align: center;
        grid-template-columns: 1fr;
    }

    .portal-id-card__foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .center-dash-main .admin-kpi-grid,
    .center-dash-main .portal-kpi-grid,
    .student-dash-main .admin-kpi-grid,
    .student-dash-main .portal-kpi-grid {
        grid-template-columns: 1fr;
    }
}
