:root {
    --avc-ink: #101828;
    --avc-muted: #667085;
    --avc-line: #e4e7ec;
    --avc-primary: #063970;
    --avc-primary-2: #0b5cad;
    --avc-accent: #f2b705;
    --avc-accent-dark: #b98200;
    --avc-green: #14866d;
    --avc-bg: #f7f9fc;
    --avc-white: #ffffff;
    --avc-radius: 8px;
    --avc-shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
}

* {
    letter-spacing: 0;
}

body {
    color: var(--avc-ink);
    background: var(--avc-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: var(--avc-primary-2);
    text-decoration: none;
}

a:hover {
    color: var(--avc-primary);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    padding: .75rem 1rem;
    color: var(--avc-white);
    background: var(--avc-primary);
    border-radius: var(--avc-radius);
}

.skip-link:focus {
    top: 1rem;
}

.topbar {
    padding: .55rem 0;
    color: rgba(255, 255, 255, .9);
    background: #08233f;
    font-size: .9rem;
}

.main-nav {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(228, 231, 236, .9);
    backdrop-filter: blur(16px);
}

.navbar-brand {
    padding-block: .35rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(95px, 9vw, 145px);
    height: auto;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: auto;
    display: block;
}

.brand-copy {
    line-height: 1.05;
}

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

.brand-copy strong {
    font-size: 1rem;
    color: var(--avc-ink);
}

.brand-copy small {
    color: var(--avc-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .72rem;
}

.navbar .nav-link {
    color: var(--avc-ink);
    font-weight: 700;
    padding-inline: .85rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--avc-primary-2);
}

.dropdown-menu {
    border: 1px solid var(--avc-line);
    border-radius: var(--avc-radius);
    box-shadow: var(--avc-shadow);
}

.btn {
    border-radius: var(--avc-radius);
    font-weight: 800;
}

.btn-accent {
    color: #1f1700;
    background: var(--avc-accent);
    border-color: var(--avc-accent);
}

.btn-accent:hover {
    color: #120d00;
    background: #ffd45f;
    border-color: #ffd45f;
}

.btn-primary {
    background: var(--avc-primary);
    border-color: var(--avc-primary);
}

.btn-primary:hover {
    background: var(--avc-primary-2);
    border-color: var(--avc-primary-2);
}

.hero {
    position: relative;
    min-height: calc(100vh - 94px);
    display: flex;
    align-items: center;
    color: var(--avc-white);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(6, 26, 51, .88) 0%, rgba(6, 39, 75, .72) 48%, rgba(6, 57, 112, .16) 100%),
        url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 110px;
    background: linear-gradient(180deg, transparent, rgba(247, 249, 252, .98));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 7rem 0 8rem;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: .96;
    font-weight: 900;
    margin-bottom: 1.25rem;
}

.hero p,
.page-hero p {
    max-width: 720px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, .86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 760px;
    margin-top: 2.5rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--avc-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
}

.metric {
    padding: 1rem;
    background: rgba(255, 255, 255, .08);
}

.metric strong {
    display: block;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1;
}

.metric span {
    display: block;
    margin-top: .4rem;
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
}

.section-pad {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-pad-sm {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-compact {
    padding: clamp(3.25rem, 5vw, 4.75rem) 0;
}

.section-kicker {
    margin-bottom: .5rem;
    color: var(--avc-primary-2);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.section-title {
    max-width: 820px;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 900;
}

.compact-title {
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.section-subtitle {
    margin-bottom: 1rem;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.18;
    font-weight: 900;
}

.section-copy {
    max-width: 760px;
    color: var(--avc-muted);
    font-size: 1.05rem;
}

.why-section p,
.purpose-section p {
    margin-bottom: 1rem;
}

.why-section p:last-child,
.purpose-section p:last-child {
    margin-bottom: 0;
}

.purpose-image {
    width: 100%;
    min-height: 0;
    height: 100%;
}

.impact-section {
    position: relative;
    padding: clamp(4rem, 6vw, 6rem) 0;
    background:
        linear-gradient(135deg, rgba(233, 243, 255, .9) 0%, rgba(255, 255, 255, .96) 46%, rgba(247, 249, 252, .95) 100%);
    overflow: hidden;
}

.impact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 57, 112, .06), transparent 42%);
    pointer-events: none;
}

.impact-section .container-xl {
    position: relative;
}

.impact-title {
    max-width: 720px;
    margin-bottom: 1.25rem;
    color: #101828;
    font-size: clamp(2.3rem, 3.8vw, 4.15rem);
    line-height: 1.03;
    font-weight: 900;
}

.fw-black {
    font-weight: 900;
}

.impact-list {
    display: grid;
    gap: .8rem;
    max-width: 760px;
    padding-left: 1.15rem;
    color: #344054;
    font-size: 1rem;
    line-height: 1.65;
}

.impact-list li::marker {
    color: var(--avc-primary-2);
    font-size: 1.2em;
}

.impact-card {
    padding: 1.45rem;
    border-color: rgba(11, 92, 173, .16);
    box-shadow: 0 20px 44px rgba(16, 24, 40, .08);
}

.impact-card h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.25;
}

.impact-image {
    width: 100%;
    min-height: 0;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(16, 24, 40, .22);
}

.bg-soft {
    background: var(--avc-bg);
}

.program-card,
.feature-card,
.leader-card,
.process-card,
.contact-card {
    height: 100%;
    padding: 1.35rem;
    background: var(--avc-white);
    border: 1px solid var(--avc-line);
    border-radius: var(--avc-radius);
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.program-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.program-card h3,
.feature-card h3,
.leader-card h3,
.process-card h3,
.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 900;
}

.program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .32rem .58rem;
    color: var(--avc-primary);
    background: #e9f3ff;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
}

.program-card p,
.feature-card p,
.leader-card p,
.process-card p,
.contact-card p {
    color: var(--avc-muted);
}

.leadership-section {
    scroll-margin-top: 110px;
}

.leadership-title {
    margin-bottom: .25rem;
    color: #18213f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.05;
}

.leadership-intro {
    max-width: 1180px;
    margin: 0 auto;
    color: #344054;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.65;
}

.profile-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 1.6rem;
    align-items: start;
    min-height: 190px;
    padding: 1rem;
    background: var(--avc-white);
    border: 1px solid transparent;
    border-radius: var(--avc-radius);
}

.bg-soft .profile-card {
    background: transparent;
}

.profile-card img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 4px;
    background: #eef2f6;
}

.profile-card h3 {
    margin-bottom: .3rem;
    color: #18213f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.08;
}

.profile-card p {
    margin-bottom: .25rem;
    color: #3f4754;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.45;
}

.research-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    margin-bottom: 2rem;
    color: #18213f;
    background: #e2a037;
    border-radius: var(--avc-radius);
}

.research-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
}

.program-card .btn {
    margin-top: auto;
}

.image-panel {
    min-height: 420px;
    border-radius: var(--avc-radius);
    background: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat;
    box-shadow: var(--avc-shadow);
}

.image-panel.alt {
    background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=85");
}

.page-hero {
    color: var(--avc-white);
    background:
        linear-gradient(90deg, rgba(6, 26, 51, .9), rgba(6, 57, 112, .56)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
}

.page-hero .container-xl {
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.program-detail-hero {
    background:
        linear-gradient(90deg, rgba(6, 26, 51, .92), rgba(11, 92, 173, .62)),
        url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
}

.curriculum-list {
    display: grid;
    gap: 1rem;
}

.accordion-button {
    font-weight: 900;
}

.timeline {
    position: relative;
    display: grid;
    gap: 1rem;
}

.process-card .step {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--avc-white);
    background: var(--avc-primary);
    border-radius: 50%;
    font-weight: 900;
    margin-bottom: 1rem;
}

.contact-strip {
    background: #08233f;
    color: var(--avc-white);
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: var(--avc-radius);
    border-color: #d0d5dd;
}

textarea.form-control {
    min-height: 150px;
}

.newsletter-section {
    padding: 2.5rem 0;
    color: var(--avc-white);
    background: linear-gradient(90deg, #063970, #14866d);
}

.newsletter-section h2 {
    font-size: clamp(1.65rem, 3vw, 2.7rem);
    font-weight: 900;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: .75rem;
}

.newsletter-form .form-control {
    border: 0;
}

.site-footer {
    padding: 3.5rem 0 1.5rem;
    color: rgba(255, 255, 255, .78);
    background: #061a33;
}

.site-footer h3 {
    color: var(--avc-white);
    font-size: 1rem;
    font-weight: 900;
}

.footer-logo {
    width: 115px;
    max-width: 100%;
    padding: .5rem;
    background: var(--avc-white);
    border-radius: var(--avc-radius);
}

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

.footer-links li + li {
    margin-top: .55rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .78);
}

.footer-links a:hover {
    color: var(--avc-white);
}

.footer-map {
    position: relative;
    min-height: 320px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--avc-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.footer-map-link {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    padding: .65rem .85rem;
    color: var(--avc-ink);
    background: var(--avc-white);
    border-radius: var(--avc-radius);
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .18);
}

.footer-map-link:hover {
    color: var(--avc-primary);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .9rem;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 5rem 0 6rem;
    }

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

    .impact-image {
        height: auto;
        min-height: 360px;
    }

    .purpose-image {
        height: auto;
        min-height: 340px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .hero-actions .btn {
        width: 100%;
    }

    .brand-mark {
        width: 95px;
    }

    .profile-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .profile-card img {
        width: 150px;
        height: 150px;
    }
}
