:root {
    --purple: #4b0082;
    --purple-700: #3a0066;
    --purple-100: #f3e9ff;
    --ink: #1e2230;
    --muted: #626b7c;
    --line: #e4e7ee;
    --surface: #ffffff;
    --soft: #f7f8fb;
    --gold: #c7942d;
    --shadow: 0 18px 50px rgba(31, 22, 46, 0.12);
    --header-height: 112px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(75, 0, 130, 0.12), transparent 34rem),
        linear-gradient(180deg, #ffffff 0%, #f8f9fc 48%, #ffffff 100%);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(75, 0, 130, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(75, 0, 130, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, black, transparent 75%);
}

a {
    color: var(--purple);
    text-decoration-color: rgba(75, 0, 130, 0.35);
    text-underline-offset: 0.2em;
}

a:hover,
a:focus {
    color: var(--purple-700);
}

p {
    margin: 0 0 1rem;
}

ul {
    margin-top: 0;
    text-align: left;
}

img,
video {
    max-width: 100%;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(75, 0, 130, 0.12);
    box-shadow: 0 10px 35px rgba(23, 17, 34, 0.09);
    backdrop-filter: blur(18px);
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--purple-700), var(--purple));
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: anywhere;
}

.site-nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand img {
    display: block;
    max-height: 56px;
    width: auto;
}

#akameNav {
    flex: 1;
}

#nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    color: var(--ink);
    border-radius: 999px;
    font-weight: 650;
    text-decoration: none;
}

#nav a:hover,
#nav a:focus {
    color: #ffffff;
    background: var(--purple);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown-content a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 6px;
}

.page-container {
    flex: 1 0 auto;
    min-height: 100vh;
}

.content-wrap {
    padding-top: var(--header-height);
}

.page-hero {
    position: relative;
    min-height: clamp(210px, 26vw, 300px);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.95), rgba(58, 0, 102, 0.78));
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--hero-image, url("../../images/training-hero.png")) center / cover no-repeat;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(75, 0, 130, 0.12), rgba(255, 255, 255, 0.06)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16));
}

.page-hero__inner {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #f1d7ff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title,
.pageTitle {
    color: var(--purple);
    margin: 0 0 26px;
    font-size: clamp(2rem, 4vw, 4.7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}

.page-hero .page-title {
    max-width: 870px;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

.page-shell,
.paragraph-body,
.akame-portfolio > .container,
.contact-information-area > .container,
section > .container {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.page-shell {
    padding: 40px 0 72px;
}

.page-intro {
    position: relative;
    margin: 0 0 24px;
    padding: 0 0 18px;
}

.page-intro::after {
    content: "";
    display: block;
    width: min(644px, 100%);
    height: 5px;
    margin-top: 16px;
    background: var(--purple);
    border-radius: 999px;
}

.page-intro__kicker,
.home-statement__kicker {
    display: none;
}

.page-intro h1,
.home-statement h1 {
    max-width: 950px;
    margin: 0;
    color: var(--purple);
    font-size: clamp(1.65rem, 3vw, 2.85rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: 0;
}

.home-statement h1::after {
    content: "";
    display: block;
    width: min(644px, 100%);
    height: 5px;
    margin-top: 16px;
    background: var(--purple);
    border-radius: 999px;
}

.home-statement {
    position: relative;
    padding: clamp(28px, 5vw, 56px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(75, 0, 130, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.home-statement::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: var(--purple);
}

.home-statement p:last-child {
    max-width: 850px;
    margin: 26px 0 0;
    color: var(--purple);
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    font-weight: 800;
    line-height: 1.35;
}

.content-panel {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(75, 0, 130, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 48px);
    text-align: left;
}

.lede {
    color: #33394a;
    font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.content-panel > :first-child,
.feature-card > :first-child,
.ContactBlock > :first-child {
    margin-top: 0;
}

.content-panel > :last-child,
.feature-card > :last-child,
.ContactBlock > :last-child {
    margin-bottom: 0;
}

.header2,
.paragraph-header,
.sub-header,
h2,
h3,
h4 {
    color: var(--purple);
    margin: 1.6rem 0 0.75rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.header2 {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.sub-header,
.paragraph-header {
    font-size: clamp(1.1rem, 2vw, 1.38rem);
}

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

.feature-card,
.ContactBlock,
.quote-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(34, 25, 47, 0.08);
    padding: 24px;
}

.feature-card strong,
.ContactBlock .paragraph-header {
    color: var(--purple);
}

.pill-link,
.akame-btn,
a.custom-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: #ffffff !important;
    background: var(--purple);
    text-decoration: none;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(75, 0, 130, 0.22);
}

.action-row {
    margin-top: 30px;
}

.pill-link:hover,
.akame-btn:hover,
a.custom-link:hover {
    color: #ffffff !important;
    background: var(--purple-700);
}

.home-hero {
    --hero-image: url("../../images/training-hero.png");
}

.training-page {
    --hero-image: url("../../images/training-workspace-no-people-hero.png");
}

.about-page {
    --hero-image: url("../../images/about-learning-no-people-hero.png");
}

.services-page {
    --hero-image: url("../../images/services-lab-no-people-hero.png");
}

.military-page {
    --hero-image: url("../../images/military-federal-no-people-hero.png");
}

.competitive-page {
    --hero-image: url("../../images/advantage-no-people-hero.png");
}

.commitment-page {
    --hero-image: url("../../images/commitment-planning-no-people-hero.png");
}

.contact-page {
    --hero-image: url("../../images/contact-coordination-no-people-hero.png");
}

.testimonials-page {
    --hero-image: url("../../images/testimonials-outcomes-no-people-hero.png");
}

.cyber-page {
    --hero-image: url("../../images/federal-cyber-hero.png");
}

#customVideoPlayer {
    display: block;
    width: min(760px, 100%);
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 28px auto;
    border: 4px solid var(--purple);
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-poem {
    max-width: 780px;
    margin: 28px auto 0;
    padding: 28px;
    color: #303545;
    background: var(--soft);
    border-left: 5px solid var(--purple);
    border-radius: 8px;
    font-style: italic;
    line-height: 1.8;
    text-align: center;
}

.tri-bullet {
    color: var(--purple);
    font-size: 1.3rem;
    margin-right: 8px;
}

.centered-text {
    text-align: center;
}

.bold {
    font-weight: 800;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}

.ContactBlock {
    position: relative;
    color: var(--ink);
    min-width: 0;
    overflow: hidden;
    padding: 28px 26px 28px 34px;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(75, 0, 130, 0.16);
    box-shadow: 0 18px 42px rgba(31, 22, 46, 0.13);
}

.ContactBlock::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--purple);
}

.ContactBlock .paragraph-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(75, 0, 130, 0.14);
}

.ContactBlock .paragraph-body {
    color: var(--ink);
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.contact-line {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin-top: 8px;
}

.contact-line:first-child {
    margin-top: 0;
}

.contact-line i {
    margin-top: 0.28em;
    color: var(--purple);
    text-align: center;
}

.contact-line span,
.contact-line a {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.reference-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.missing-reference-panel {
    position: relative;
    padding: clamp(30px, 5vw, 58px);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(75, 0, 130, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.missing-reference-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: var(--purple);
}

.missing-reference-panel__label {
    display: inline-flex;
    margin: 0 0 10px;
    color: var(--purple);
    font-weight: 850;
    letter-spacing: 0;
}

.missing-reference-panel h1 {
    margin: 0 0 16px;
    color: var(--purple);
    font-size: clamp(1.7rem, 3.2vw, 3rem);
    font-weight: 900;
    line-height: 1.08;
}

.missing-reference-panel p {
    max-width: 760px;
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.missing-reference-details {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 24px 0;
    padding: 12px 16px;
    background: #f7f4fb;
    border: 1px solid rgba(75, 0, 130, 0.14);
    border-radius: 8px;
}

.missing-reference-details span {
    color: var(--muted);
    font-weight: 750;
}

.missing-reference-details strong {
    color: var(--purple);
    overflow-wrap: anywhere;
}

.missing-reference-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.reference-note {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin: 0;
    padding: 0 18px;
    color: #4e5668;
    background: #f1f3f7;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 750;
}

.site-footer {
    flex-shrink: 0;
    color: #ffffff;
    background: #15101f;
    border-top: 4px solid var(--purple);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.footer-copy a {
    color: #ffffff;
}

@media (max-width: 820px) {
    :root {
        --header-height: 194px;
    }

    .site-nav {
        min-height: 162px;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    #nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    #nav a {
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.92rem;
    }

    .dropdown-content {
        left: 50%;
        transform: translateX(-50%);
    }

    .page-hero {
        min-height: 210px;
    }

    .feature-grid,
    .contact-grid,
    .reference-list {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
