:root {
    --ink: #17202a;
    --muted: #607080;
    --line: #d8e0e8;
    --bg: #f5f7fb;
    --panel: #ffffff;
    --blue: #1769aa;
    --green: #16855b;
    --red: #c23b3b;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Segoe UI, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.topbar {
    min-height: 64px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}
.brand { font-weight: 800; font-size: 21px; color: var(--blue); }
nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
nav a {
    padding: 8px 10px;
    border-radius: 6px;
    color: #334455;
    font-size: 14px;
}
nav a:hover { background: #edf4fb; color: var(--blue); }
.shell { max-width: 1180px; margin: 0 auto; padding: 28px; }
.college-hero {
    margin: -28px calc(50% - 50vw) 0;
    min-height: 600px;
    background-position: center;
    background-size: cover;
    background-color: #29435f;
}
.portal-hero {
    margin: -28px calc(50% - 50vw) 0;
    padding: 80px max(28px, calc((100vw - 1180px) / 2 + 28px));
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 260px;
    gap: 30px;
    align-items: center;
    color: #fff;
    background: linear-gradient(120deg, #0a4f8f, #2439c2);
}
.portal-hero h1 {
    max-width: 760px;
    font-size: 52px;
    line-height: 1.1;
}
.portal-hero p {
    max-width: 680px;
    color: #e9f4ff;
    font-size: 18px;
}
.portal-stat {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
}
.portal-stat strong {
    display: block;
    font-size: 60px;
}
.college-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.college-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(16,42,67,.08);
}
.college-card img {
    width: 92px;
    height: 92px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
}
.college-card h3 { font-size: 21px; margin-bottom: 6px; }
.college-card p { margin: 0 0 10px; }
.college-site {
    margin: -28px calc(50% - 50vw) 0;
    background: #fff;
}
.college-top-strip {
    min-height: 42px;
    padding: 0 max(28px, calc((100vw - 1180px) / 2 + 28px));
    background: #071d3a;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-weight: 800;
}
.college-top-strip div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}
.college-top-strip a {
    padding: 9px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.1);
}
.college-brand-row {
    padding: 24px max(28px, calc((100vw - 1180px) / 2 + 28px));
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) minmax(360px, .9fr);
    gap: 18px;
    align-items: center;
    background: #fff;
}
.college-brand-row img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--line);
}
.college-brand-copy h1 {
    margin: 0 0 5px;
    color: #183e73;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.1;
}
.college-brand-copy p {
    margin: 0 0 4px;
    color: #65758a;
    font-style: italic;
}
.college-brand-copy span {
    display: block;
    color: #5a6b7d;
}
.college-quick-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.quick-btn {
    padding: 12px 14px;
    border-radius: 6px;
    color: #fff;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 8px 18px rgba(16,42,67,.16);
}
.quick-btn.green { background: #269b63; }
.quick-btn.blue { background: #2d61c7; }
.quick-btn.orange { background: #f07f13; }
.college-nav {
    padding: 0 max(28px, calc((100vw - 1180px) / 2 + 28px));
    min-height: 48px;
    background: #0d4386;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
}
.college-nav a {
    color: #fff;
    font-weight: 800;
    padding: 14px 12px;
    white-space: nowrap;
}
.college-nav a:hover { background: rgba(255,255,255,.14); }
.college-image-hero {
    min-height: 430px;
    background-position: center;
    background-size: cover;
    position: relative;
}
.college-hero-content {
    max-width: 1180px;
    min-height: 430px;
    margin: 0 auto;
    padding: 74px 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.college-hero-content span {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
}
.college-hero-content h2 {
    max-width: 780px;
    font-size: 42px;
    line-height: 1.12;
    margin: 18px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
}
.college-hero-content p {
    max-width: 680px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}
.hero-overlay {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 600px;
    padding: 70px 28px 42px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 34px;
    align-items: center;
}
.hero-copy { color: #fff; }
.hero-copy h1 {
    max-width: 760px;
    font-size: 54px;
    line-height: 1.08;
    margin-bottom: 16px;
}
.hero-copy p {
    max-width: 680px;
    color: #e7f2ff;
    font-size: 18px;
}
.college-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 4px;
}
.college-facts span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-weight: 800;
}
.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-weight: 800;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn.light, .btn.secondary.light {
    background: rgba(255,255,255,.92);
    color: #12385f;
}
.enquiry-box {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.college-banner-section {
    margin: 0 calc(50% - 50vw);
    padding: 32px max(28px, calc((100vw - 1180px) / 2 + 28px));
    background: #fff;
}
.college-banner-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    gap: 24px;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 42px rgba(16,42,67,.1);
}
.college-banner-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}
.banner-caption {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.banner-caption span {
    color: var(--blue);
    font-weight: 900;
}
.banner-caption h2 {
    font-size: 34px;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
    gap: 24px;
    align-items: stretch;
}
.panel, .card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}
h1, h2, h3 { margin: 0 0 14px; }
p { color: var(--muted); line-height: 1.6; }
.section-band {
    margin: 0 calc(50% - 50vw);
    padding: 58px max(28px, calc((100vw - 1180px) / 2 + 28px));
    background: #fff;
}
.section-band + .section-band { border-top: 1px solid var(--line); }
.section-title { text-align: center; margin: 0 auto 32px; }
.section-title span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--blue);
    font-weight: 800;
}
.section-title h2 { font-size: 34px; }
.section-title.invert span, .section-title.invert h2 { color: #fff; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.feature-card {
    min-height: 210px;
    padding: 28px 22px;
    border: 1px solid #b9e1dc;
    border-radius: 8px;
    background: #d9f2ee;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.feature-icon {
    width: 58px;
    height: 58px;
    border: 3px solid #d49b22;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #d49b22;
    font-weight: 900;
    margin-bottom: 18px;
}
.feature-card h3 { font-size: 21px; margin-bottom: 8px; }
.feature-card p { margin: 0; color: #31505a; }
.blue-band {
    background: linear-gradient(120deg, #0875d8, #2839c7);
}
.module-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}
.module-pills span, .module-pills a {
    border: 2px solid #ff9d16;
    border-radius: 999px;
    padding: 14px 22px;
    color: #fff;
    font-weight: 800;
    background: rgba(255,255,255,.06);
}
.feature-link {
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}
.feature-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16,42,67,.12);
}
.feature-link span {
    margin-top: 12px;
    color: var(--blue);
    font-weight: 800;
}
.module-hero {
    margin: -28px calc(50% - 50vw) 28px;
    padding: 62px max(28px, calc((100vw - 1180px) / 2 + 28px));
    background: linear-gradient(120deg, #0f5f9e, #2639c4);
    color: #fff;
}
.module-hero h1 {
    max-width: 760px;
    font-size: 46px;
    line-height: 1.12;
}
.module-hero p {
    max-width: 760px;
    color: #e8f3ff;
    font-size: 18px;
}
.feature-card.compact {
    min-height: 180px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
    gap: 22px;
    align-items: start;
}
.inner-college-site {
    margin: -28px calc(50% - 50vw) 28px;
    background: #fff;
    box-shadow: 0 1px 0 var(--line);
}
.inner-strip {
    min-height: 44px;
}
.inner-brand-row {
    grid-template-columns: 96px minmax(0, 1fr) minmax(440px, .9fr);
    box-shadow: 0 8px 24px rgba(16,42,67,.04);
}
.inner-brand-row img {
    border: 4px solid #eaf2ff;
    box-shadow: 0 8px 22px rgba(16,42,67,.14);
}
.inner-nav {
    min-height: 52px;
}
.inner-page-hero {
    min-height: 300px;
}
.inner-hero-content {
    min-height: 300px;
    padding-top: 54px;
    padding-bottom: 54px;
}
.inner-hero-content h2 {
    font-size: 42px;
}
.inner-hero-content p {
    font-size: 18px;
}
.inner-brand-row .quick-btn {
    min-height: 64px;
    display: grid;
    place-items: center;
}
.inner-college-header {
    margin: -28px calc(50% - 50vw) 28px;
    padding: 22px max(28px, calc((100vw - 1180px) / 2 + 28px)) 46px;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.inner-college-top {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}
.inner-college-top img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.8);
}
.inner-college-top h1 {
    margin: 0 0 4px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
}
.inner-college-top p {
    margin: 0;
    color: #e8f3ff;
    font-weight: 800;
}
.inner-college-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 34px;
}
.inner-college-nav a {
    color: #fff;
    padding: 9px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.14);
    font-weight: 800;
}
.inner-college-banner span {
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
}
.inner-college-banner h2 {
    color: #fff;
    font-size: 42px;
    font-family: Georgia, "Times New Roman", serif;
}
.contact-info-stack {
    display: grid;
    gap: 14px;
}
.enquiry-panel {
    box-shadow: 0 14px 34px rgba(16,42,67,.08);
}
.contact-action {
    margin-top: 0;
}
.gallery-item {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}
.gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.gallery-item figcaption {
    padding: 12px 14px;
    font-weight: 800;
}
.contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 18px;
}
.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 50;
    display: grid;
    gap: 10px;
}
.floating-contact a {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    border: 1px solid var(--line);
}
.floating-contact a:first-child {
    background: #18b65f;
    color: #fff;
}
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.stat strong { display: block; font-size: 28px; color: var(--blue); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #34495e; }
input, select, textarea {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #cbd6e2;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}
textarea { min-height: 90px; resize: vertical; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn, input[type=submit] {
    border: 0;
    background: var(--blue);
    color: #fff;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
}
.btn.secondary { background: #eef3f7; color: #23313f; }
.message { margin: 12px 0; font-weight: 700; color: var(--green); }
.error { color: var(--red); }
.table-wrap { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f0f5fa; font-size: 13px; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #e9f4ee; color: var(--green); font-size: 12px; font-weight: 700; }
@media (max-width: 820px) {
    .topbar { align-items: flex-start; flex-direction: column; padding: 14px 18px; }
    .shell { padding: 18px; }
    .college-hero, .portal-hero, .college-site, .inner-college-header, .inner-college-site { margin-top: -18px; }
    .college-top-strip, .college-brand-row { align-items: flex-start; flex-direction: column; }
    .college-brand-row { grid-template-columns: 1fr; }
    .college-quick-buttons { grid-template-columns: 1fr; width: 100%; }
    .college-hero-content h2 { font-size: 34px; }
    .portal-hero { grid-template-columns: 1fr; padding: 44px 18px; }
    .portal-hero h1 { font-size: 38px; }
    .hero-overlay { grid-template-columns: 1fr; padding: 44px 18px 28px; }
    .hero-copy h1 { font-size: 38px; }
    .hero, .form-grid, .grid, .feature-grid, .gallery-grid, .college-list-grid, .about-layout, .college-banner-card, .contact-grid, .contact-page-grid, .inner-college-top { grid-template-columns: 1fr; }
    .inner-college-banner h2 { font-size: 32px; }
    .inner-page-hero, .inner-hero-content { min-height: 260px; }
    .inner-hero-content h2 { font-size: 34px; }
    .college-banner-card img { height: 240px; }
    .college-card { grid-template-columns: 76px minmax(0, 1fr); }
    .contact-strip { align-items: flex-start; flex-direction: column; }
}
