* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #162238;
    background-color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: #285aa3;
}

a:hover {
    color: #071f4d;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    padding: 10px 16px;
    color: #ffffff;
    background-color: #071f4d;
    border-radius: 4px;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

.site-header {
    position: relative;
    background-color: #ffffff;
    border-bottom: 1px solid #dce3ed;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
}

.brand {
    display: flex;
    align-items: center;
    color: #071f4d;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 56px;
    height: 56px;
    margin-right: 12px;
    object-fit: contain;
}

.brand-name {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.brand-tagline {
    display: block;
    color: #607086;
    font-size: 12px;
}

.site-search {
    display: flex;
    width: 330px;
}

.site-search label,
.filter-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-search input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #bac5d5;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    font-family: Arial, Helvetica, sans-serif;
}

.site-search button {
    padding: 9px 14px;
    color: #ffffff;
    background-color: #071f4d;
    border: 1px solid #071f4d;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.main-nav {
    background-color: #071f4d;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding-left: 0;
    list-style-type: none;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    display: block;
    padding: 14px 9px;
    color: #ffffff;
    border-bottom: 3px solid #071f4d;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-list li a:hover,
.nav-list li a:focus,
.nav-list li a.active {
    background-color: #173a72;
    border-bottom-color: #d8a93a;
}

.nav-list .dropdown {
    position: absolute;
    left: 0;
    z-index: 2;
    display: none;
    width: 230px;
    margin: 0;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #dce3ed;
    box-shadow: 0 6px 18px rgba(7, 31, 77, 0.16);
    list-style-type: none;
}

.nav-list .dropdown a {
    padding: 10px 12px;
    color: #162238;
    border-bottom: 0;
    font-size: 13px;
    text-transform: none;
}

.nav-list .dropdown a:hover,
.nav-list .dropdown a:focus {
    color: #071f4d;
    background-color: #eaf0f9;
}

.nav-list li:hover .dropdown {
    display: block;
}

.breadcrumb {
    padding: 14px 0;
    color: #607086;
    font-size: 14px;
}

.breadcrumb a,
.text-link {
    text-decoration: none;
}

main {
    min-height: 500px;
}

.home-hero {
    display: grid;
    align-items: center;
    grid-template-columns: 2fr 3fr;
    min-height: 500px;
    background-color: #f4f7fb;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 50px;
}

.eyebrow {
    margin: 0 0 10px;
    color: #285aa3;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-copy h1,
.page-title h1 {
    margin: 0;
    color: #071f4d;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.1;
}

.hero-copy h1 {
    font-size: 56px;
}

.hero-copy p {
    max-width: 580px;
    color: #3f4e63;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    margin-top: 12px;
}

.button-link,
button[type="submit"] {
    display: inline-block;
    padding: 11px 18px;
    color: #ffffff;
    background-color: #071f4d;
    border: 2px solid #071f4d;
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.hero-actions .button-link {
    margin-right: 12px;
}

.button-link:hover,
.button-link:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
    color: #071f4d;
    background-color: #ffffff;
}

.button-link.secondary {
    color: #071f4d;
    background-color: transparent;
}

.button-link.secondary:hover,
.button-link.secondary:focus {
    color: #ffffff;
    background-color: #071f4d;
}

.hero-image {
    width: 100%;
    height: auto;
}

.page-title {
    padding: 44px 0;
    background-color: #edf2fa;
    border-top: 1px solid #dce3ed;
    border-bottom: 1px solid #dce3ed;
}

.page-title h1 {
    font-size: 48px;
}

.page-title p {
    max-width: 760px;
    margin-bottom: 0;
    color: #607086;
    font-size: 17px;
}

.section {
    padding: 64px 0;
}

.section.alt {
    background-color: #f4f7fb;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-heading h2,
.content-card h2,
.content-card h3 {
    color: #071f4d;
}

.section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
}

.section-heading p {
    max-width: 620px;
    margin: 0;
    color: #607086;
}

.grid-2,
.grid-3,
.grid-4,
.grid-5 {
    display: grid;
    gap: 20px;
}

.grid-2,
.mission-vision {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-5 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.content-card,
.program-card,
.college-card,
.faculty-card,
.facility-card,
.contact-panel,
.stat-card {
    background-color: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(7, 31, 77, 0.06);
}

.content-card,
.contact-panel {
    padding: 26px;
}

.program-card,
.college-card,
.faculty-card,
.facility-card,
.stat-card {
    padding: 22px;
}

.program-card:hover,
.college-card:hover,
.facility-card:hover {
    border-color: #285aa3;
    box-shadow: 0 10px 24px rgba(7, 31, 77, 0.14);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #ffffff;
    background-color: #071f4d;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
}

.content-card h3,
.program-card h3,
.college-card h3,
.faculty-card h3,
.facility-card h3 {
    margin: 8px 0;
    color: #071f4d;
}

.content-card p,
.program-card p,
.college-card p,
.faculty-card p,
.facility-card p {
    color: #607086;
}

.text-link {
    font-weight: bold;
}

.pill {
    display: inline-block;
    padding: 4px 9px;
    color: #071f4d;
    background-color: #e5edf9;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
}

.home-columns {
    position: relative;
    margin-top: -34px;
}

.announcement-list,
.event-list,
.department-list,
.quick-links,
.contact-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.announcement-list li,
.event-list li,
.department-list li {
    padding: 13px 0;
    border-bottom: 1px solid #dce3ed;
}

.announcement-list li:last-child,
.event-list li:last-child,
.department-list li:last-child {
    border-bottom: 0;
}

.item-meta {
    display: block;
    color: #607086;
    font-size: 12px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    display: block;
    color: #071f4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: bold;
}

.about-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 34px;
}

.side-nav {
    margin: 0;
    padding: 0;
    border: 1px solid #dce3ed;
    list-style-type: none;
}

.side-nav a {
    display: block;
    padding: 13px 16px;
    color: #162238;
    border-bottom: 1px solid #dce3ed;
    text-decoration: none;
}

.side-nav li:last-child a {
    border-bottom: 0;
}

.side-nav a:hover,
.side-nav a:focus {
    color: #071f4d;
    background-color: #e6edf8;
}

.history-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.history-box img,
.campus-banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.mission-vision {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.mission-vision article {
    padding: 24px;
    background-color: #f4f7fb;
    border-left: 4px solid #d8a93a;
}

.college-banner {
    display: flex;
    align-items: center;
    padding: 28px;
    color: #ffffff;
    background-color: #071f4d;
    border-radius: 10px;
}

.college-banner .card-icon {
    width: 64px;
    height: 64px;
    margin: 0 22px 0 0;
    color: #071f4d;
    background-color: #ffffff;
}

.college-banner h2 {
    margin: 0;
    color: #ffffff;
}

.college-banner p {
    margin-bottom: 0;
    color: #e3eaf5;
}

.table-container {
    overflow-x: auto;
    border: 1px solid #dce3ed;
    border-radius: 8px;
}

table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background-color: #ffffff;
}

caption {
    padding: 16px;
    color: #071f4d;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
}

th,
td {
    padding: 14px 16px;
    border: 1px solid #dce3ed;
    text-align: left;
}

th {
    color: #ffffff;
    background-color: #071f4d;
}

tr:nth-child(even) td {
    background-color: #f3f6fb;
}

tbody tr:hover td {
    background-color: #e4edf9;
}

.status {
    font-weight: bold;
}

.status.new,
.status.open {
    color: #24754a;
}

.status.soon {
    color: #9a6516;
}

.filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr 120px;
    gap: 12px;
    padding: 18px;
    background-color: #f4f7fb;
    border: 1px solid #dce3ed;
    border-radius: 8px;
}

.filter-form input,
.filter-form select,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #b9c5d5;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
}

.faculty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.faculty-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: #ffffff;
    background-color: #173a72;
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: bold;
}

.faculty-card h3,
.faculty-card p {
    margin-top: 0;
    margin-bottom: 5px;
}

.faculty-contact {
    font-size: 14px;
}

.campus-banner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 28px;
    align-items: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    border-radius: 7px;
}

.contact-grid {
    align-items: start;
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    gap: 24px;
}

.contact-list li {
    margin-bottom: 16px;
}

.contact-list strong {
    display: block;
    color: #071f4d;
}

.contact-form label {
    display: block;
    margin: 13px 0 6px;
    color: #071f4d;
    font-weight: bold;
}

.contact-form textarea {
    min-height: 130px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.filter-form input:focus,
.filter-form select:focus,
.site-search input:focus {
    border-color: #285aa3;
    outline: 2px solid #d8e3f3;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    color: #071f4d;
    background-color: #eef2f7;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    text-align: center;
}

.map-pin {
    display: block;
    font-size: 46px;
}

.site-footer {
    padding: 44px 0 20px;
    color: #dce6f5;
    background-color: #071f4d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1.5fr;
    gap: 30px;
}

.site-footer h2,
.site-footer h3 {
    color: #ffffff;
}

.site-footer h2 {
    font-family: Georgia, "Times New Roman", serif;
}

.site-footer a {
    color: #dce6f5;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #d8a93a;
}

.quick-links li {
    margin-bottom: 8px;
}

.copyright {
    margin-top: 32px;
    padding-top: 18px;
    color: #b8c6da;
    border-top: 1px solid #44618f;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 1050px) {
    .about-layout,
    .history-box {
        grid-template-columns: 1fr;
    }

    .faculty-card {
        display: block;
    }

    .faculty-card .avatar {
        margin-bottom: 14px;
    }

    #administrators .grid-3,
    #heads .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .nav-list {
        flex-wrap: wrap;
    }

    .grid-5 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .grid-4,
    .faculty-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    #administrators .grid-3,
    #heads .grid-3 {
        grid-template-columns: 1fr;
    }

    .header-row,
    .section-heading {
        display: block;
    }

    .header-row {
        padding: 18px 0;
    }

    .site-search {
        width: 100%;
        margin-top: 16px;
    }

    .nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .nav-list li a {
        padding: 11px 10px;
        border-bottom-width: 1px;
        font-size: 11px;
    }

    .nav-list .dropdown {
        position: static;
        display: block;
        width: auto;
        box-shadow: none;
    }

    .nav-list .dropdown a {
        color: #162238;
        background-color: #ffffff;
    }

    .home-hero,
    .history-box,
    .campus-banner,
    .about-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        min-height: 0;
    }

    .hero-copy {
        padding: 48px 28px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .page-title h1 {
        font-size: 36px;
    }

    .hero-image {
        height: auto;
    }

    .home-columns {
        margin-top: 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .mission-vision,
    .faculty-grid,
    .gallery-grid,
    .footer-grid,
    .stats,
    .filter-form {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 46px 0;
    }

    .gallery-grid img,
    .history-box img,
    .campus-banner img {
        height: auto;
    }
}

/* Controls adapted from the supplied forms and dialog examples. */
.browse-controls select {
    padding: 10px;
    margin: 10px;
    max-width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}
.faq-item {
    margin-bottom: 15px;
}
.faq-answer {
    display: none;
}

/* Final presentation polish: retain the existing site layout. */
.header-row { padding: 14px 0; }
.home-columns { margin-top: 0; }
.home-columns .grid-3 { align-items: start; }
.home-columns .content-card h2 { margin-top: 14px; }
.announcement-list a, .event-list a, .department-list a { text-decoration: none; }
.announcement-list a:hover, .event-list a:hover, .department-list a:hover { text-decoration: underline; }
.visit-panel img, .campus-photos img { width: 100%; height: auto; border-radius: 6px; }
.visit-panel h3 { margin-bottom: 8px; }
.contact-form button { margin-top: 10px; margin-right: 5px; }
#inquiry-guidance { padding: 12px; background-color: #edf2fa; border-radius: 5px; font-size: 14px; }
.faq-item h3 { margin-bottom: 14px; }
.site-footer p { font-size: 14px; }
.site-footer h3 { margin-top: 0; }
.campus-banner .button-link { margin-top: 18px; }
.college-banner h1 { margin-top: 0; }
@media (max-width: 760px) {
    .brand-name { font-size: 19px; }
    .hero-copy { padding: 36px 24px; }
    .hero-copy h1, .page-title h1 { font-size: 34px; }
    .section-heading p { margin-top: 14px; }
    .browse-controls select { margin: 10px 0; }
    .college-banner { display: block; }
    .college-banner .card-icon { margin-bottom: 16px; }
}

/* Reading and navigation polish using the site's existing layout patterns. */
.application-steps li,
.milestone-list li {
    margin-bottom: 18px;
    padding-left: 6px;
}

#profile {
    margin-bottom: 32px;
}

#profile h2 {
    margin-top: 0;
}

.section h3 {
    color: #071f4d;
}

.program-table {
    min-width: 1000px;
}

.program-table td {
    vertical-align: top;
}

.contact-form .item-meta a,
.text-link:hover,
.text-link:focus {
    text-decoration: underline;
}

a:focus,
button:focus,
select:focus {
    outline: 2px solid #d8a93a;
}

@media (max-width: 760px) {
    .hero-actions {
        display: block;
    }

    .hero-actions .button-link {
        margin-bottom: 12px;
    }

    .content-card,
    .contact-panel {
        padding: 20px;
    }
}


/* Space the governing-board profile apart from executive office profiles. */
.governance-contact {
    margin-top: 28px;
}

/* Keep the printed page readable within paper margins. */
@media print {
    .site-header,
    .site-footer,
    .breadcrumb,
    .skip-link,
    .button-link,
    button[type="submit"],
    button {
        display: none;
    }

    .container {
        width: 100%;
        max-width: none;
    }

    .section {
        padding: 24px 0;
    }

    .table-container {
        overflow: visible;
    }

    table,
    .program-table {
        min-width: 0;
        font-size: 12px;
    }

    th,
    td {
        padding: 8px;
        color: #162238;
        background-color: #ffffff;
    }
}

/* Units 6 and 7: DOM visibility, field feedback, and small interactive tools. */
.is-hidden,
.menu-toggle[hidden],
.gallery-viewer[hidden] {
    display: none;
}

.menu-toggle {
    display: none;
    width: 92%;
    max-width: 1180px;
    margin: 12px auto;
    border-color: #44618f;
    text-align: left;
}

.field-error {
    margin: 0;
    color: #b42318;
    font-size: 14px;
}

.form-status {
    color: #071f4d;
    font-size: 14px;
    font-weight: bold;
}

.contact-form input.input-error,
.contact-form select.input-error,
.contact-form textarea.input-error {
    border-color: #b42318;
}

.contact-form input.input-valid,
.contact-form select.input-valid,
.contact-form textarea.input-valid {
    border-color: #24754a;
}

.gallery-viewer {
    max-width: 900px;
    margin: 0 auto 28px;
}

.gallery-viewer h3 {
    font-size: 26px;
}

.gallery-viewer img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.gallery-select {
    display: inline-block;
    margin: 0 12px 12px 0;
}

.selected-photo {
    border-color: #285aa3;
}

.selected-photo .gallery-select {
    color: #071f4d;
    text-decoration: underline;
}

.preparation-list {
    padding: 0;
    list-style-type: none;
}

.preparation-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px;
    background-color: #f4f7fb;
    border: 1px solid #dce3ed;
    border-radius: 6px;
}

.preparation-list span,
.form-status {
    overflow-wrap: anywhere;
}

.preparation-list button {
    padding: 8px 12px;
    font-size: 13px;
}

@media (max-width: 760px) {
    .main-nav.menu-ready .menu-toggle {
        display: block;
    }

    .main-nav.menu-ready .nav-list {
        display: none;
    }

    .main-nav.menu-ready.menu-open .nav-list {
        display: grid;
    }
}

@media print {
    .gallery-viewer,
    .gallery-select,
    .preparation-form {
        display: none;
    }
}
