:root {
    --hcpa-accent: #1f6f66;
    --hcpa-nav-max-width: 1180px;
}

/* ===== Navbar (fixed + floating bar) ===== */
:root {
    --hcpa-navy: #0b2e4a;
    --hcpa-navy2: #0a3a5c;
    --hcpa-accent: #1f6f66;
    --hcpa-nav-max-width: 1180px;
}

/* Fixed header always */
.hcpa-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 14px 16px;
    background: transparent;
    transition: padding .2s ease, background .25s ease, box-shadow .25s ease;
}

/* HOME: glass bar centered */
.hcpa-nav-shell {
    max-width: var(--hcpa-nav-max-width);
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

    .hcpa-nav-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 6px;
        background: rgba(255,255,255,1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,.35);
        box-shadow: 0 10px 26px rgba(0,0,0,.20);
        z-index: 0;
    }

.hcpa-nav {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Prevent dropdown cropping */
.navbar,
.navbar .container-fluid,
.navbar-collapse {
    overflow: visible !important;
}

/* Link style in glass mode */
.hcpa-nav .nav-link {
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: .82rem;
    color: rgba(0,0,0,.72);
    padding: .95rem .75rem;
}

    .hcpa-nav .nav-link:hover {
        color: rgba(0,0,0,.92);
    }

    .hcpa-nav .nav-link.active {
        color: rgba(0,0,0,.92);
        border-bottom: 2px solid rgba(0,0,0,.20);
    }

/* Dropdown */
.hcpa-nav .dropdown-menu {
    z-index: 2000;
    border-radius: 10px;
    padding: .45rem;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.hcpa-nav .dropdown-item {
    border-radius: 8px;
    padding: .55rem .70rem;
    font-weight: 650;
}

/* Scrolled OR inner pages */
.hcpa-header.header-scrolled .hcpa-nav-shell {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
    overflow: visible !important;
}

    .hcpa-header.header-scrolled .hcpa-nav-shell::before {
        content: none !important;
    }

.hcpa-header.header-scrolled {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,.10);
}

/* Mobile: always use scrolled style */
@media (max-width: 767.98px) {
    .hcpa-header {
        padding: 10px 10px;
        background: #fff !important;
        box-shadow: 0 2px 15px rgba(0,0,0,.10);
    }

    .hcpa-nav-shell {
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
        outline: 0 !important;
    }

        .hcpa-nav-shell::before {
            content: none !important;
        }

    .hcpa-nav .nav-link {
        padding: .8rem .6rem;
    }

    /* make mobile behave like scrolled state */
    body:not(.home-scrolled) .hcpa-header {
        background: #fff !important;
        box-shadow: 0 2px 15px rgba(0,0,0,.10);
    }
}

/*@media (max-width: 767.98px) {
    body {
        padding-top: 72px;
    }
}

/* Page content offset for fixed header (use on inner pages) */
.hcpa-page {
    padding-top: 100px; /* adjust if your header is taller */
}

@media (max-width: 575.98px) {
    .hcpa-page {
        padding-top: 88px;
    }
}



/*                Hero                       */

.hcpa-page-hero nav a {
    color: inherit;
}

    .hcpa-page-hero nav a:hover {
        text-decoration: underline;
    }
.hcpa-page-hero {
    border-bottom: 1px solid rgba(0,0,0,.08);
}

    /* Prevent focus ring on programmatically-focused headings (skip-links / route focus) */
    .hcpa-page-hero h1:focus,
    .hcpa-page-hero h1:focus-visible,
    .hcpa-page-hero [tabindex="-1"]:focus,
    .hcpa-page-hero [tabindex="-1"]:focus-visible {
        outline: 0 !important;
        box-shadow: none !important;
    }

.hcpa-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden; /* safety */
}

/* Make overlay cover the entire hero */
.hcpa-hero-overlay {
    position: absolute;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    padding-top: 110px; /* space for fixed navbar */
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.75));
    display: flex;
    align-items: center;
}

.hcpa-hero-title {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #fff;
    font-weight: 900;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: .10em;
    text-transform: uppercase;
    margin-bottom: .6rem;
    text-shadow: 0 10px 30px rgba(0,0,0,.65);
}

.hcpa-hero-subtitle {
    color: rgba(255,255,255,.90);
    font-weight: 650;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .95rem;
    margin-bottom: 2.5rem;
}

.hcpa-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hcpa-hero-btn {
    height: 44px;
    padding: 0 24px;
    border: 2px solid rgba(255,255,255,.85);
    color: #fff;
    text-decoration: none;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 2px;
    transition: background .15s ease, transform .15s ease, border-color .15s ease;
}

    .hcpa-hero-btn:hover {
        background: rgba(255,255,255,.15);
        border-color: rgba(255,255,255,.95);
        transform: translateY(-2px);
    }

@media (max-width: 575.98px) {
    .hcpa-hero, .hcpa-hero-overlay {
        min-height: 460px;
    }

    .hcpa-hero-overlay {
        padding-top: 95px;
    }
}


/* =========================
   Featured Apps cards
   ========================= */
.hcpa-app {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    transition: transform .12s ease, box-shadow .12s ease;
    color: inherit;
}

    .hcpa-app:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0,0,0,.10);
    }

.hcpa-app-thumb {
    height: 150px;
    background: #e9eef3;
    background-size: cover;
    background-position: center;
}

/* =========================
   Shared background sections
   (same hero image behind)
   ========================= */
.hcpa-shared-bg {
    position: relative;
    background-image: url('/images/background-streets.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

    /* Darken the shared background slightly */
    .hcpa-shared-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.6);
        /*background: linear-gradient(rgba(2, 2, 2, 0.4), rgba(0, 0, 0, 0.4));*/
    }

    .hcpa-shared-bg > .container {
        position: relative;
        z-index: 1;
    }

/*.hcpa-page-hero {
    padding-top: 90px;*/ /* if header is fixed */
/*}*/

.hcpa-page-wrapper {
    padding-top: 90px;
}

.hcpa-form-row {
    background: transparent;
}

.hcpa-form-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.55);
    flex: 0 0 auto;
}

    .hcpa-form-icon i {
        font-size: 1.1rem;
        color: rgba(0,0,0,.65);
    }

.hcpa-form-row {
    background: transparent;
}

.hcpa-form-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.6);
}

    .hcpa-form-icon i {
        font-size: 1.1rem;
        color: rgba(0,0,0,.65);
    }

/* Glass panel that changes on scroll */
.hcpa-glass {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 18px 44px rgba(0,0,0,.25);
    color: #fff;
    /* Default at top (more transparent) */
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .25s ease, border-color .25s ease;
}

/* When you scroll (home page), make glass a little less transparent */
body.home-scrolled .hcpa-glass {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.35);
}

.hcpa-glass-muted {
    color: rgba(255,255,255,.88);
}

/* County link tiles inside glass */
.hcpa-linktile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    transition: transform .12s ease, background .12s ease;
}

    .hcpa-linktile:hover {
        transform: translateY(-2px);
        background: rgba(255,255,255,.18);
    }

/* =========================
   About Us section
   ========================= */
.hcpa-about-img {
    height: clamp(220px, 30vw, 340px);
    background-size: cover;
    background-position: center;
    border-radius: 18px;
}

.hcpa-kicker {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    color: #6c757d;
}
/* =========================
   Awards Section
   ========================= */

.hcpa-awards {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.hcpa-awards-kicker {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--hcpa-accent);
    margin-bottom: .5rem;
}

.hcpa-awards-title {
    font-weight: 800;
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.hcpa-award-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    transition: transform .15s ease, box-shadow .15s ease;
    text-align: left;
    position: relative;
}

    .hcpa-award-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 35px rgba(0,0,0,.10);
    }

.hcpa-award-icon {
    font-size: 2rem;
    color: var(--hcpa-accent);
    margin-bottom: 15px;
}

.hcpa-award-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
}

.hcpa-award-card p {
    color: #6c757d;
    font-size: .95rem;
}

.hcpa-award-year {
    margin-top: 15px;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .05em;
    color: rgba(0,0,0,.55);
}

/* =========================
   Interlocal (Professional / Serious)
   ========================= */
.hcpa-interlocal-pro {
    background: #fff;
}

.hcpa-interlocal-kicker {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 800;
    color: var(--hcpa-accent);
    margin-bottom: .35rem;
}

.hcpa-interlocal-title {
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: .6rem;
}

.hcpa-panel {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.hcpa-panel-muted {
    background: #f8fafc;
}

.hcpa-subhead {
    font-weight: 850;
    letter-spacing: .03em;
    margin-bottom: .5rem;
}

.hcpa-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
    color: rgba(0,0,0,.65);
}

    .hcpa-list li {
        margin-bottom: .45rem;
    }

.hcpa-kv {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

    .hcpa-kv:last-child {
        border-bottom: 0;
    }

.hcpa-kv-key {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    color: rgba(0,0,0,.55);
    margin-bottom: 4px;
}

.hcpa-kv-val {
    color: rgba(0,0,0,.72);
}

/* Section headings */
.hcpa-section-head {
    font-weight: 900;
    letter-spacing: .03em;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

/* Body paragraph style */
.hcpa-section-text {
    color: rgba(0,0,0,.68);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Keeps serious tone */
.hcpa-interlocal-pro {
    background: #ffffff;
}
/* =========================
   Contact Us (Home section)
   ========================= */
.hcpa-contact {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.hcpa-contact-kicker {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 800;
    color: var(--hcpa-accent);
    margin-bottom: .5rem;
}

.hcpa-contact-title {
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: .75rem;
}

.hcpa-contact-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 14px 28px rgba(0,0,0,.06);
    padding: 26px;
    position: relative;
    overflow: hidden;
}

    /* subtle accent stripe */
    .hcpa-contact-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        background: var(--hcpa-accent);
        opacity: .9;
    }

.hcpa-contact-label {
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(0,0,0,.55);
}

.hcpa-contact-email {
    display: inline-block;
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: .02em;
    text-decoration: none;
    color: var(--hcpa-navy);
    margin-top: 6px;
}

    .hcpa-contact-email:hover {
        text-decoration: underline;
    }

.hcpa-contact-muted {
    color: rgba(0,0,0,.62);
}

.hcpa-contact-footnote {
    font-size: .95rem;
}
/* =========================
   Info cards + kicker
   ========================= */
.hcpa-info {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.hcpa-kicker {
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
    color: rgba(0,0,0,.55);
    margin-bottom: .35rem;
}

#interlocal {
    scroll-margin-top: 120px; /* adjust to header height */
}

#hcpa-mission{
    scroll-margin-top: 120px; /* adjust to header height */
}

/* =========================
   Interlocal 
   ========================= */
.hcpa-interlocal {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.hcpa-interlocal-panel {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.hcpa-interlocal-kicker {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 800;
    color: var(--hcpa-accent);
    margin-bottom: .5rem;
}

.hcpa-interlocal-title {
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: .75rem;
}

.hcpa-interlocal-muted {
    color: rgba(0,0,0,.62);
}

.hcpa-interlocal-divider {
    border-top: 1px solid rgba(0,0,0,.08);
    margin: 18px 0;
}

/* Stats */
.hcpa-stat {
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.06);
    padding: 14px 14px;
    background: rgba(31,111,102,.05);
}

.hcpa-stat-value {
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: .02em;
}

.hcpa-stat-label {
    font-size: .85rem;
    color: rgba(0,0,0,.60);
}

/* Service tiles */
.hcpa-svc {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.hcpa-svc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(31,111,102,.10);
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.hcpa-svc-title {
    font-weight: 800;
    margin-bottom: 2px;
}

.hcpa-svc-text {
    color: rgba(0,0,0,.62);
    font-size: .92rem;
}

/* Partners grid */
.hcpa-partner {
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 14px;
    transition: transform .12s ease, box-shadow .12s ease;
    background: #fff;
}

    .hcpa-partner:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 22px rgba(0,0,0,.08);
    }

.hcpa-partner-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: .04em;
    background: rgba(11,46,74,.08);
    margin-bottom: 10px;
}

.hcpa-partner-name {
    font-weight: 850;
}

.hcpa-partner-sub {
    color: rgba(0,0,0,.60);
    font-size: .9rem;
}

/* Anchor scroll offset for fixed header */
#interlocal {
    scroll-margin-top: 120px;
}

/* Anchor scroll offset for fixed header */
#about {
    scroll-margin-top: 120px;
}

/* Anchor scroll offset for fixed header */
#hcpa-contact {
    scroll-margin-top: 180px;
}
/* Glass mission stats */
.hcpa-glass-stat {
    border-radius: 14px;
    padding: 14px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
}

.hcpa-glass-stat-value {
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 6px;
}

.hcpa-glass-stat-label {
    font-size: .9rem;
    color: rgba(255,255,255,.85);
}

/* thin accent divider under title */
.hcpa-accent-rule {
    width: 84px;
    height: 3px;
    background: var(--hcpa-accent);
    border-radius: 999px;
    opacity: .9;
}

/* mission text: slightly more “policy document” feel */
.hcpa-mission-body {
    font-size: 1.02rem;
    line-height: 1.65;
}

/* replaces “stats” with subdued policy callouts */
.hcpa-mission-pill {
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.06);
}

.hcpa-mission-pill-title {
    font-weight: 800;
    letter-spacing: .2px;
    margin-bottom: 4px;
    color: rgba(0,0,0,.82);
}

.hcpa-mission-pill-text {
    font-size: .95rem;
    color: rgba(0,0,0,.62);
}
/* =========================
   Our History Timeline (Clean)
   ========================= */
.hcpa-history {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.hcpa-history-kicker {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 800;
    color: var(--hcpa-accent);
    margin-bottom: .35rem;
}

.hcpa-timeline {
    position: relative;
}

/* Each row is a 2-column layout: marker | card */
.hcpa-timeline-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}

/* Marker column */
.hcpa-timeline-marker {
    position: relative;
    min-height: 100%;
}

    /* Vertical line */
    .hcpa-timeline-marker::before {
        content: "";
        position: absolute;
        left: 15px;
        top: 0;
        bottom: -18px; /* extends line through gap */
        width: 3px;
        border-radius: 99px;
        background: rgba(11,46,74,.12);
    }

/* Dot */
.hcpa-timeline-dot {
    position: sticky; /* keeps dot aligned nicely while scrolling */
    top: 110px; /* safe with your fixed header */
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(31,111,102,.55);
    box-shadow: 0 10px 18px rgba(0,0,0,.06);
    margin-left: 6px;
    margin-top: 18px;
}

/* Card */
.hcpa-timeline-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
    transition: transform .12s ease, box-shadow .12s ease;
}

    .hcpa-timeline-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 32px rgba(0,0,0,.10);
    }

.hcpa-timeline-year {
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .78rem;
    color: rgba(0,0,0,.55);
    margin-bottom: 6px;
}

.hcpa-timeline-title {
    font-weight: 850;
    margin-bottom: 6px;
}

.hcpa-timeline-text {
    color: rgba(0,0,0,.62);
    font-size: .95rem;
    margin-bottom: 12px;
}

.hcpa-timeline-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Stop the line after the last item */
.hcpa-timeline-row:last-child .hcpa-timeline-marker::before {
    bottom: 40%;
}

/* Anchor offset for fixed header */
#history {
    scroll-margin-top: 120px;
}

/* =========================
   County Logos (Circle)
   ========================= */

.hcpa-logo-link {
    text-decoration: none;
    color: #fff;
    display: inline-block;
}

.hcpa-logo-circle {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, background .15s ease;
    backdrop-filter: blur(6px);
}

    .hcpa-logo-circle img {
        max-width: 65%;
        max-height: 65%;
        object-fit: contain;
        filter: brightness(1.05);
    }

.hcpa-logo-placeholder {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: .06em;
    opacity: .85;
}

.hcpa-logo-label {
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
}

/* Hover effect */
.hcpa-logo-link:hover .hcpa-logo-circle {
    transform: translateY(-4px);
    background: rgba(255,255,255,.20);
}

/* =========================
   Modern Civic Footer
   ========================= */
.hcpa-footer {
    position: relative;
    background: #0b2e4a; /* your navy */
    color: rgba(255,255,255,.88);
    overflow: hidden;
    border-top: 4px solid var(--hcpa-accent); /* thin accent bar */
}

    /* watermark county seal (provide this image) */
    .hcpa-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('/images/seal-watermark.png');
        background-repeat: no-repeat;
        background-position: 85% 40%;
        background-size: 420px;
        opacity: .06; /* faint watermark */
        pointer-events: none;
    }

    /* subtle gradient to keep it civic / modern */
    .hcpa-footer::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.07), transparent 55%);
        pointer-events: none;
    }

    .hcpa-footer .container {
        position: relative;
        z-index: 1;
    }

.hcpa-footer-brand {
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 1rem;
    color: #fff;
}

.hcpa-footer-tagline {
    color: rgba(255,255,255,.72);
    margin-top: .6rem;
    line-height: 1.6;
}

.hcpa-footer-heading {
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: .6rem;
    color: rgba(255,255,255,.86);
}

.hcpa-footer-text {
    color: rgba(255,255,255,.70);
    line-height: 1.7;
}

.hcpa-footer-small {
    color: rgba(255,255,255,.62);
    font-size: .9rem;
    line-height: 1.6;
}

.hcpa-footer-divider {
    height: 1px;
    background: rgba(255,255,255,.14);
    width: 100%;
}

/* links */
.hcpa-footer-links a {
    color: rgba(255,255,255,.72);
    text-decoration: none;
    margin-left: 18px;
    font-weight: 600;
    font-size: .9rem;
}

    .hcpa-footer-links a:hover {
        color: #fff;
        text-decoration: underline;
    }

/* Social row */
.hcpa-footer-social {
    display: flex;
    gap: 10px;
}

.hcpa-social {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255,255,255,.80);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    transition: transform .12s ease, background .12s ease, color .12s ease;
}

    .hcpa-social:hover {
        transform: translateY(-2px);
        background: rgba(255,255,255,.16);
        color: #fff;
    }

/* Contact page */
/* ===== Contact Page Styles ===== */

.hcpa-page-kicker {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(0,0,0,.55);
}

.hcpa-page-title {
    font-weight: 850;
    letter-spacing: -.02em;
}

.hcpa-page-subtext {
    color: rgba(0,0,0,.62);
    max-width: 60ch;
}

/* Breadcrumb (fix weird font look) */
.hcpa-breadcrumb {
    font-size: .95rem;
    color: rgba(0,0,0,.62);
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
}

    .hcpa-breadcrumb a {
        color: inherit;
        text-decoration: none;
    }

        .hcpa-breadcrumb a:hover {
            text-decoration: underline;
        }

    .hcpa-breadcrumb .sep {
        margin: 0 .5rem;
        color: rgba(0,0,0,.32);
    }

    .hcpa-breadcrumb strong {
        color: rgba(0,0,0,.85);
        font-weight: 750;
    }

/* Center width constraint */
.hcpa-contact-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.hcpa-section-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

/* Main contact card */
.hcpa-contact-card {
    border-radius: 16px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
    padding: 26px;
}

.hcpa-contact-label {
    font-size: .85rem;
    font-weight: 800;
    color: rgba(0,0,0,.60);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.hcpa-contact-email {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 850;
    text-decoration: none;
    word-break: break-word;
}

    .hcpa-contact-email:hover {
        text-decoration: underline;
    }

.hcpa-contact-muted {
    color: rgba(0,0,0,.60);
}

.hcpa-contact-footnote {
    font-size: .92rem;
    color: rgba(0,0,0,.58);
}

/* Chip */
.hcpa-response-chip {
    font-size: .9rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(31,111,102,.10);
    border: 1px solid rgba(31,111,102,.18);
    color: rgba(0,0,0,.70);
}

/* Image panel */
.hcpa-contact-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
    background: rgba(255,255,255,.70);
    min-height: 320px;
}

    .hcpa-contact-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        filter: saturate(.95) contrast(.95);
    }

    .hcpa-contact-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(11,46,74,.06), rgba(11,46,74,.20));
        pointer-events: none;
    }

/* Section titles */
.hcpa-section-title {
    font-weight: 850;
    letter-spacing: -.015em;
}

/* Support cards */
.hcpa-support-card {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.hcpa-support-title {
    font-weight: 800;
    margin-bottom: 8px;
}

/* Checklist */
.hcpa-contact-checklist {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
    padding-left: 1.1rem;
}

/* Resource cards */
.hcpa-resource-card {
    display: block;
    background: #fff;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
    text-decoration: none;
    color: inherit;
    height: 100%;
}

    .hcpa-resource-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(0,0,0,.08);
    }

.hcpa-resource-title {
    font-weight: 850;
    margin-bottom: 4px;
}

.hcpa-resource-text {
    color: rgba(0,0,0,.60);
    margin: 0;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .hcpa-breadcrumb {
        white-space: normal;
    }

    .hcpa-contact-image {
        min-height: 220px;
    }
}
/* Breadcrumb */
.hcpa-breadcrumb {
    font-size: .95rem; /* stop the tiny look */
    color: rgba(0,0,0,.62);
    font-weight: 500;
    letter-spacing: 0; /* prevents “weird” spaced font */
}

    .hcpa-breadcrumb a {
        color: inherit;
        text-decoration: none;
    }

        .hcpa-breadcrumb a:hover {
            text-decoration: underline;
        }

    .hcpa-breadcrumb .sep {
        margin: 0 .5rem;
        color: rgba(0,0,0,.35);
    }

    .hcpa-breadcrumb strong {
        color: rgba(0,0,0,.85);
        font-weight: 700;
    }



/* Small screens: make image shorter */
@media (max-width: 991.98px) {
    .hcpa-contact-image {
        min-height: 220px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hcpa-footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

        .hcpa-footer-links a {
            margin-left: 0;
        }

    .hcpa-footer::before {
        background-position: 50% 20%;
        background-size: 340px;
    }
}

/* Smaller on mobile */
@media (max-width: 575.98px) {
    .hcpa-logo-circle {
        width: 90px;
        height: 90px;
    }
}

/* mobile legend layout */
@media (max-width: 575.98px) {
    .hcpa-iconlegend {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .hcpa-timeline-row {
        grid-template-columns: 28px 1fr;
        column-gap: 12px;
    }

    .hcpa-timeline-marker::before {
        left: 12px;
    }

    .hcpa-timeline-dot {
        margin-left: 3px;
    }
}

.hcpa-timeline-card:hover {
    transform: translateY(-3px) scale(1.01);
}
/* =========================
   FAQ Page
   ========================= */

.hcpa-faq-accordion img {
    width: 100%;
    max-width: 650px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    padding: 6px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.hcpa-faq-accordion img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* FAQ screenshot container */
.hcpa-faq-img-wrap {
    position: relative;
    display: inline-block;
    max-width: 820px; /* larger screenshots */
    width: 100%;
    cursor: zoom-in;
}

/* screenshot itself */
.hcpa-faq-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e3e3e3;
    box-shadow: 0 8px 22px rgba(0,0,0,.15);
    transition: transform .15s ease;
}

/* hover effect */
.hcpa-faq-img-wrap:hover .hcpa-faq-img {
    transform: scale(1.01);
}

/* Fullscreen FAQ image */
/* Fullscreen FAQ image (force scale-up) */
.hcpa-faq-modal-img {
    width: 95vw; /* <-- this is the key */
    height: auto;
    max-width: 1600px; /* optional cap so it doesn't get ridiculous on huge monitors */
    max-height: 95vh; /* fit within screen height */
    object-fit: contain;
}

.hcpa-faq-tools {
    border-radius: 18px;
}

.hcpa-faq-accordion .accordion-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 22px rgba(0,0,0,.05);
    margin-bottom: 12px;
}

.hcpa-faq-accordion .accordion-button {
    font-weight: 800;
    letter-spacing: .02em;
}

.hcpa-faq-q {
    flex: 1 1 auto;
}

.hcpa-faq-callout {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 26px rgba(0,0,0,.06);
    background: #fff;
}

.hcpa-faq-callout-inner {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}


/* Elements marked for scroll animation start hidden */
[data-animate] {
    opacity: 0;
    transform: translateY(10px); /* subtle */
}

    [data-animate].is-visible {
        opacity: 1;
        transform: none;
    }


