:root {
    --pfc-navy: #10285f;
    --pfc-blue: #2864c8;
    --pfc-sky: #eaf3ff;
    --pfc-yellow: #ffd91f;
    --pfc-red: #f15d64;
    --pfc-ink: #071a43;
    --volteric: #facc15;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--pfc-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Sergoe UI", sans-serif;
    padding-top: 78px;
}

.volteric-link {
    color: var(--volteric);
    text-decoration: none;
    transition: .3s ease-in-out;
}

.volteric-link:hover {
    color: inherit;
}

.navbar-brand span {
    color: var(--pfc-navy);
    letter-spacing: .02em;
    text-transform: uppercase;
}

.brand-crest {
    border-radius: 12px;
    object-fit: cover;
}

.nav-link {
    color: var(--pfc-navy);
    font-weight: 600;
    position: relative;
}

.nav-link.active::after, .nav-link:hover::after {
    background: var(--pfc-yellow);
    border-radius: 99px;
    bottom: 0;
    content: "";
    height: 4px;
    left: .5rem;
    position: absolute;
    right: .5rem;
}

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

.btn-warning {
    background: var(--pfc-yellow);
    border-color: var(--pfc-yellow);
    color: var(--pfc-ink);
    font-weight: 800;
}

.hero {
    background-image: url("/assets/img/Aerial_View.jpg");
    background-position: center;
    background-size: cover;
    min-height: 680px;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(7,26,67.82), rgba(7,26,67,.35) 55%, rgba(7,26,67,.08));
    inset: 0;
    position: absolute;
}

.eyebrow {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.quick-links {
    margin-top: -76px;
    position: relative;
    z-index: 2;
}

.link-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.link-card:hover {
    box-shadow: 0 1rem 2.5rem rgba(16,40,95,.16) !important;
    transform: translateY(-4px);
}

.icon-circle {
    align-items: center;
    background: var(--pfc-sky);
    border-radius: 18px;
    display: inline-flex;
    font-size: 2rem;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.icon-circle.accent {
    background: #fff0f1;
}

.link-card a {
    color: var(--pfc-blue);
    text-decoration: none;
}

.section-pad {
    padding: 96px 0;
}

.bg-soft {
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.feature-list {
    display: grid;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-list span {
    margin-right: .65rem;
}

.image-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.image-card img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%
}

.image-card figcaption {
    color: var(--pfc-navy);
    font-weight: 700;
    padding: 1rem 1.25rem;
    text-align: center;
}

.mini-card {
    background: #ffffff;
    border: 1px solid rgba(16,40,95.08);
    border-radius: 18px;
    box-shadow: 0 .75rem 2rem rgba(16,40,95,.07);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 2rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }

    .hero {
        min-height: 560px;
    }

    .quick-links {
        margin-top: -40px;
    }

    .navbar-brand span {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 520px;
    }

    .hero .display-3 {
        font-size: 2.4rem;
    }

    .section-pad {
        padding: 64px 0;
    }
}

.error-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    text-align: center;
}

.error-code {
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--pfc-blue);
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-text {
    font-size: 1.1rem;
    color: #5b6470;
    margin-bottom: 2rem;
}

.plane-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.btn-home {
    background: var(--pfc-blue);
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: var(--pfc-navy);
    transform: translateY(-2px);
}

.small-links {
    margin-top: 2rem;
}

.small-links a {
    color: var(--pfc-blue);
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.75rem;
}

.small-links a:hover {
    color: var(--pfc-navy);
}

.error-page {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
    color: var(--pfc-navy);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.webcam-page {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #f8fbff 100%);
}

.webcam-page.text-navy {
    color: var(--pfc-navy);
}

.webcam-page.eyebrow {
    color: var(--pfc-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
}

.webcam-page.object-fit-cover {
    object-fit: cover;
}

.webcam-page.object-fit-contain {
    object-fit: contain;
}