/* NC Analytics and AI Day */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", "Roboto", "Helvetica Neue", Arial, sans-serif;
    color: #2a2e35;
    background: #fafbfc;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Frozen top bar */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e3e6eb;
    padding: 10px 28px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(13, 33, 71, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar .brand {
    flex-shrink: 0;
}

.top-bar .brand a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.top-bar .brand img {
    display: block;
    height: 28px;
    width: auto;
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 4px 2px;
}

.top-nav a {
    color: #0d2147;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 6px 9px;
    border-radius: 3px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}

.top-nav a:hover {
    color: #CC0000;
    background: transparent;
}

.top-nav a.is-active {
    color: #0d2147;
    background: #eef2f8;
    box-shadow: inset 0 -2px 0 #c9a96e;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 36px;
    margin-left: auto;
    border: 1px solid #d5dae3;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    padding: 8px 9px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: #0d2147;
    border-radius: 1px;
}

.hero {
    position: relative;
    width: 100%;
    height: 380px;
    background: #1a1a1a url("image.jpg?v=5") center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 33, 71, 0.55) 0%,
        rgba(13, 33, 71, 0.35) 50%,
        rgba(13, 33, 71, 0.65) 100%
    );
}

.hero-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    text-align: center;
}

.hero h1 {
    font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 3rem;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.05;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    max-width: 1100px;
}

.hero .divider {
    width: 280px;
    max-width: 60%;
    height: 3px;
    background: #c9a96e;
    margin: 0 auto 16px auto;
    border-radius: 2px;
}

.hero .year {
    font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 2.6rem;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero .nickname {
    font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Section bands */
.section-band {
    background: #0d2147;
    color: #ffffff;
    padding: 20px 24px;
    text-align: center;
    margin: 32px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

#plenary {
    margin-top: -30px;
}

.section-band h2 {
    font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 1.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0;
}

/* Centered narrow content */
.content-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 28px;
    text-align: center;
}

.content-narrow.left {
    text-align: left;
}

.content-narrow p {
    margin-bottom: 18px;
    color: #333;
    font-size: 1.02rem;
}

.content-narrow ul,
.content-narrow ol {
    text-align: left;
    margin: 14px auto 18px auto;
    color: #333;
    display: inline-block;
}

.content-narrow li {
    margin-bottom: 6px;
}

a {
    color: #102a5f;
    text-decoration: underline;
}

a:hover {
    color: #CC0000;
}

strong {
    color: #111;
    font-weight: 700;
}

.notice {
    color: #b71c1c;
    font-weight: 600;
}

.divider-line {
    border: none;
    border-top: 2px solid #102a5f;
    max-width: 760px;
    margin: 36px auto;
}

.when-where {
    text-align: center;
    margin: 40px auto;
    padding: 0 24px;
}

.when-where p {
    font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 1.85rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #222;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    line-height: 1.25;
}

/* Registration */
.reg-section {
    background: #f1f4f9;
    padding: 50px 24px;
    margin-top: 0;
}

.reg-grid {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.reg-card .reg-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #8b2635;
    text-decoration: underline;
    margin-bottom: 16px;
}

.reg-card.student .reg-title {
    color: #1b5e20;
}

.reg-card .reg-sub {
    font-weight: 700;
    color: #8b2635;
    margin-bottom: 22px;
    font-size: 1rem;
}

.reg-card.student .reg-sub {
    color: #1b5e20;
}

.reg-card .reg-details {
    text-align: left;
    background: transparent;
    margin: 0 auto 22px auto;
    max-width: 420px;
    color: #333;
    font-size: 0.98rem;
    line-height: 1.7;
}

.reg-card .reg-details strong {
    color: #111;
}

.reg-card .reg-warning {
    color: #b71c1c;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 0.98rem;
}

.reg-btn {
    display: inline-block;
    width: auto;
    min-width: 200px;
    max-width: 280px;
    margin: 0 auto;
    padding: 11px 28px;
    background: #8b2635;
    color: #ffffff !important;
    font-size: 1.02rem;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    border-radius: 4px;
    transition: background 0.15s, transform 0.1s;
    font-family: "Open Sans", sans-serif;
    letter-spacing: 0.5px;
}

.reg-btn:hover {
    background: #6e1c28;
    transform: translateY(-1px);
}

.reg-card.student .reg-btn {
    background: #1b5e20;
}

.reg-card.student .reg-btn:hover {
    background: #134416;
}

.reg-btn.disabled {
    background: #1b5e20;
    cursor: default;
    opacity: 0.85;
}

.people {
    list-style: disc;
    text-align: left;
    margin: 14px auto 22px auto;
    padding-left: 0;
    display: inline-block;
}

.people li {
    margin-bottom: 8px;
    color: #333;
    list-style-position: inside;
}

.people .name {
    font-weight: 700;
    color: #102a5f;
}

.people a {
    color: #102a5f;
    text-decoration: underline;
}

/* Panelists */
.panelist-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 28px 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 20px;
    text-align: center;
    align-items: start;
}

.panelist-name {
    font-weight: 700;
    color: #102a5f;
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 6px;
}

.panelist-name a {
    color: inherit;
    text-decoration: underline;
}

.panelist-name a:hover {
    color: #CC0000;
}

.panelist-affil {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.panelist--moderator {
    padding-top: 2px;
}

.panelist-role {
    font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #c9a96e;
    margin-bottom: 8px;
}

.panelist--moderator .panelist-name {
    color: #0d2147;
}

.sub-list-heading {
    font-weight: 700;
    color: #222;
    margin-top: 18px;
    margin-bottom: 8px;
}

.logistics-h {
    font-family: "Oswald", "Roboto Condensed", sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: #102a5f;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #102a5f;
}

/* Program table */
.program-table-wrap {
    margin: 24px auto 0 auto;
    padding: 0 24px;
    text-align: center;
}

.program-table {
    width: auto;
    margin: 0 auto;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #ddd;
}

.program-table th,
.program-table td {
    text-align: left;
    padding: 7px 14px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.88rem;
    line-height: 1.4;
    white-space: nowrap;
}

.program-table tr:last-child td {
    border-bottom: none;
}

.program-table th {
    background: #f5f5f5;
    color: #222;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-table td:first-child {
    color: #102a5f;
    font-weight: 600;
    white-space: nowrap;
    width: 170px;
}

/* Footer */
.footer-stripe {
    height: 6px;
    margin-top: 60px;
    background: linear-gradient(90deg, #002f87 0%, #80bc00 55%, #ed7623 100%);
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e3e6eb;
    padding: 40px 28px 28px;
    color: #2a2e35;
    font-size: 0.9rem;
    text-align: left;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e3e6eb;
}

.footer-branding p,
.footer-branding address {
    margin-bottom: 10px;
    color: #444;
    font-style: normal;
    line-height: 1.55;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    text-decoration: none;
}

.footer-logo img {
    display: block;
    max-width: 220px;
    height: auto;
}

.footer-ein {
    font-size: 0.8rem;
    color: #6a717c;
    margin-bottom: 14px !important;
}

.footer-branding .tel {
    text-decoration: none;
}

.get-updates h3 {
    font-family: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0d2147;
    margin-bottom: 12px;
}

.quick-subscribe {
    margin-bottom: 28px;
    max-width: 420px;
}

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

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

.footer-menu__list li {
    margin-bottom: 8px;
}

.footer-menu__list a {
    color: #102a5f;
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-menu__list a:hover {
    color: #CC0000;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 28px;
    padding-top: 20px;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
}

.footer-copyright {
    color: #555;
    font-size: 0.82rem;
}

.footer-utility__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin: 0;
    padding: 0;
}

.footer-utility__list li:not(:last-child)::after {
    content: "|";
    margin: 0 8px;
    color: #a0a6b0;
}

.footer-utility__list a {
    color: #102a5f;
    text-decoration: none;
    font-size: 0.82rem;
}

.footer-utility__list a:hover {
    color: #CC0000;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.footer-social__label {
    color: #555;
    font-size: 0.82rem;
}

.footer-social__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.footer-social__list a {
    color: #102a5f;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-social__list a:hover {
    color: #CC0000;
    text-decoration: underline;
}

@media (max-width: 980px) {
    .top-bar {
        flex-wrap: wrap;
        padding: 10px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .top-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px 0 4px;
        border-top: 1px solid #e3e6eb;
    }

    .top-bar.nav-open .top-nav {
        display: flex;
    }

    .top-nav a {
        padding: 10px 12px;
        font-size: 0.92rem;
    }

    .top-nav a.is-active {
        box-shadow: inset 3px 0 0 #c9a96e;
    }
}

@media (max-width: 820px) {
    .hero {
        height: 300px;
    }
    .hero h1 {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }
    .hero .year {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }
    .hero .nickname {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }
    .hero .divider {
        height: 3px;
        width: 200px;
        margin-bottom: 12px;
    }
    .section-band h2 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    .when-where p {
        font-size: 1.3rem;
    }
    .reg-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .reg-section {
        padding: 40px 20px;
    }
    .reg-card .reg-title {
        font-size: 1.3rem;
    }
    .panelist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .panelist-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
