﻿:root {
    --pha-primary: #0a2f7a;
    --pha-primary-dark: #081f4f;
    --pha-secondary: #0f6aa3;
    --pha-bg: #f5f9ff;
    --pha-surface: rgba(255, 255, 255, 0.9);
    --pha-surface-solid: #ffffff;
    --pha-border: rgba(199, 214, 235, 0.9);
    --pha-text: #172554;
    --pha-muted: #334155;
    --pha-focus: #ffbf47;
    --pha-shadow: 0 18px 45px rgba(8, 31, 79, 0.10);
    --pha-shadow-soft: 0 10px 24px rgba(8, 31, 79, 0.07);
    --pha-radius: 1.5rem;
    --pha-radius-lg: 2rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--pha-text);
    background: radial-gradient(circle at top left, rgba(19, 136, 209, 0.12), transparent 22%), radial-gradient(circle at 85% 20%, rgba(10, 47, 122, 0.10), transparent 18%), linear-gradient(180deg, #f9fbff 0%, #edf4ff 100%);
    line-height: 1.6;
}

a {
    color: var(--pha-primary-dark);
    text-underline-offset: 0.2rem;
}

    a:hover {
        color: var(--pha-secondary);
    }

    a:focus-visible,
    button:focus-visible,
    .btn:focus-visible,
    .nav-link:focus-visible,
    .navbar-toggler:focus-visible {
        outline: 3px solid var(--pha-focus);
        outline-offset: 3px;
        box-shadow: none !important;
    }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: #fff;
    color: #000;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #000;
    font-weight: 700;
}

    .skip-link:focus {
        top: 1rem;
    }

.navbar {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(8, 31, 79, 0.08);
    box-shadow: 0 8px 24px rgba(8, 31, 79, 0.06);
}

.navbar-brand img {
    height: 54px;
    width: auto;
}

.nav-link {
    color: var(--pha-primary-dark);
    font-weight: 700;
}

    .nav-link:hover,
    .nav-link:focus,
    .nav-link.active {
        color: var(--pha-secondary);
    }

.hero {
    padding: 8.5rem 0 4rem;
    position: relative;
    overflow: clip;
}

    .hero::before,
    .hero::after {
        content: "";
        position: absolute;
        border-radius: 999px;
        pointer-events: none;
        filter: blur(8px);
    }

    .hero::before {
        width: 16rem;
        height: 16rem;
        background: rgba(19, 136, 209, 0.10);
        top: 2rem;
        right: 8%;
    }

    .hero::after {
        width: 10rem;
        height: 10rem;
        background: rgba(10, 47, 122, 0.08);
        bottom: 1rem;
        left: 5%;
    }

.hero-card,
.content-card,
.portal-card,
.contact-panel,
.notice-card {
    background: var(--pha-surface);
    border: 1px solid var(--pha-border);
    border-radius: var(--pha-radius-lg);
    box-shadow: var(--pha-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-card {
    padding: 2.25rem;
}

    .hero-card:first-child {
        border-radius: 2.4rem 2.4rem 2.4rem 1.25rem;
    }

.hero-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #e8f3ff;
    color: var(--pha-primary-dark);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.display-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--pha-primary-dark);
}

.lead,
.section-copy,
.muted-text,
.portal-card p,
.contact-panel p,
.content-card p,
footer p {
    color: var(--pha-muted);
}

.btn-brand {
    background: var(--pha-primary);
    border-color: var(--pha-primary);
    color: #fff;
    font-weight: 700;
}

    .btn-brand:hover,
    .btn-brand:focus-visible {
        background: var(--pha-primary-dark);
        border-color: var(--pha-primary-dark);
        color: #fff;
    }

.btn-outline-brand {
    color: var(--pha-primary-dark);
    border-color: var(--pha-primary-dark);
    font-weight: 700;
    background: #fff;
}

    .btn-outline-brand:hover,
    .btn-outline-brand:focus-visible {
        background: #e8f3ff;
        color: var(--pha-primary-dark);
        border-color: var(--pha-primary-dark);
    }

.stat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    background: rgba(246, 250, 255, 0.95);
    border: 1px solid var(--pha-border);
    border-radius: 1.25rem;
    padding: 1rem;
    box-shadow: var(--pha-shadow-soft);
}

    .stat-item strong {
        display: block;
        color: var(--pha-primary-dark);
        font-size: 1.05rem;
    }

section {
    padding: 4rem 0;
}

.anchor-offset {
    scroll-margin-top: 88px;
}

.section-title {
    color: var(--pha-primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.mission-band {
    border: 1px solid rgba(19, 136, 209, 0.18);
    background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(232,243,255,0.85));
    padding: 1.75rem 1.75rem 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
}

    .mission-band::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 0.55rem;
        background: linear-gradient(180deg, var(--pha-secondary), var(--pha-primary));
        border-radius: 999px;
    }

.portal-card {
    padding: 1.6rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 1.65rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

    .portal-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 1.5rem 3rem rgba(8, 30, 73, 0.14);
    }

.portal-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(27, 161, 242, 0.15), rgba(10, 47, 122, 0.18));
    color: var(--pha-primary);
    margin-bottom: 1rem;
}

.portal-actions .btn {
    width: 100%;
}

.portal-actions{
    margin-top: auto;
}

    .portal-card h3,
    .content-card h3,
    .contact-panel h3 {
        color: var(--pha-primary-dark);
        font-size: 1.2rem;
        font-weight: 800;
    }

.portal-card i{
    font-size: 1.1rem;
}

.placeholder-note {
    font-size: 0.95rem;
    color: var(--pha-primary-dark);
    background: #eff6ff;
    border: 1px dashed var(--pha-primary);
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
}

.content-card,
.contact-panel,
.notice-card {
    padding: 1.6rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .portal-card::after,
    .content-card::after,
    .contact-panel::after,
    .notice-card::after {
        content: "";
        position: absolute;
        inset: auto -3rem -3rem auto;
        width: 8rem;
        height: 8rem;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(19, 136, 209, 0.10), transparent 60%);
        pointer-events: none;
    }



.list-clean,
.hours-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .list-clean li,
    .hours-list li {
        padding: 0.65rem 0;
        border-bottom: 1px solid #dde8f5;
    }

        .list-clean li:last-child,
        .hours-list li:last-child {
            border-bottom: 0;
        }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.contact-box {
    border: 1px solid var(--pha-border);
    border-radius: 1.25rem;
    padding: 1rem;
    background: var(--pha-surface-solid);
    height: 100%;
    box-shadow: var(--pha-shadow-soft);
}

    .contact-box strong {
        display: block;
        color: var(--pha-primary-dark);
        margin-bottom: 0.35rem;
    }

.footer-wrap {
    border-top: 1px solid rgba(8, 31, 79, 0.12);
    padding: 2rem 2rem;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.mini-label, .content-card .mini-label, .notice-card .mini-label, .contact-panel .mini-label {
    color: var(--pha-secondary);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.col-count-2 {
    column-count: 2;
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 7.2rem;
    }

    .navbar-brand img {
        height: 46px;
    }
}

@media (max-width: 575.98px) {
    .stat-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


