﻿:root {
    --orange: #d86f1d;
    --orange-dark: #a94d0f;
    --gold: #f2b544;
    --gold-soft: #f9df9a;
    --teal: #2f6470;
    --teal-dark: #214b55;
    --teal-light: #e5f0f1;
    --navy: #21384a;
    --cream: #fff8ec;
    --cream-deep: #f5ead6;
    --ink: #252525;
    --muted: #64605a;
    --white: #ffffff;
    --focus: #0b57d0;
    --border: #e8dcc7;
    --shadow: 0 18px 45px rgba(91, 64, 27, .10);
    --card-radius: 24px;
    --office-image: url(images/office.jpg);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    line-height: 1.7;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--navy);
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
}

a {
    color: var(--orange-dark);
    text-underline-offset: .2em;
    text-decoration-thickness: .08em;
}

    a:hover {
        color: #7f380b;
    }

    a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
        outline: 3px solid var(--focus) !important;
        outline-offset: 4px;
        box-shadow: none !important;
    }

header{
     border-bottom: 3px solid var(--gold);
}

.navbar {
    min-height: 92px;
}

.navbar-brand {
    color: var(--navy);
}

    .navbar-brand:hover {
        color: var(--navy);
    }

.brand-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
}

header .nav-link {
    color: var(--ink);
    font-weight: 700;
    padding-inline: .9rem !important;
}

    header .nav-link:hover, .nav-link:focus, .nav-link.active {
        color: var(--orange-dark);
    }

    header .nav-link.active {
        position: relative;
    }

        header .nav-link.active::after {
            content: "";
            position: absolute;
            left: .9rem;
            right: .9rem;
            bottom: .15rem;
            height: 3px;
            border-radius: 20px;
            background: var(--gold);
        }

    header .nav-link.btn-link {
        text-decoration: none;
        border: 0;
        border-radius: 0;
    }

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: .6rem;
}

.dropdown-item {
    color: var(--ink);
    font-weight: 700;
    border-radius: 9px;
    padding: .65rem .8rem;
}

    .dropdown-item:focus, .dropdown-item:hover {
        background: var(--cream);
        color: var(--orange-dark);
    }

.nav-pills .nav-link {
    color: var(--ink);
    font-weight: 700;
    border-radius: 14px;
    padding: .8rem 1.35rem;
}

.nav-pills .nav-link.active {
    background: var(--teal) !important;
}

    .nav-pills .nav-link:hover {
        background: var(--cream);
    }

.site-footer {
    background: var(--navy);
    color: #f5f1ea;
    border-top: 8px solid var(--gold);
}

    .site-footer h2, .site-footer h3 {
        color: #fff;
    }

    .site-footer a {
        color: #ffd77f;
    }

        .site-footer a:hover {
            color: #fff;
        }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li + li {
        margin-top: .65rem;
    }

.footer-bottom {
    background: #182b39;
    border-top: 1px solid rgba(255,255,255,.12);
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    color: var(--white);
    background: rgba(255,255,255,.12);
    border-radius: .9rem;
    font-size: 1.35rem;
}

.footer-logo {
    display: block;
    width: 1.9rem;
    height: auto;
    max-height: 1.9rem;
    object-fit: contain;
}


.section-pad {
    /*padding: 6rem 0;*/
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section-pad-sm {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bg-soft {
    background: var(--cream);
}

.section-title {
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: -.025em;
    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1.07;
}

.section-title-accent::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin-top: 1rem;
    border-radius: 4px;
    background: var(--gold);
}

.text-center .section-title {
    margin-inline: auto;
}

    .text-center .section-title::after {
        margin-inline: auto;
    }

.section-copy {
    color: var(--muted);
    max-width: 62ch;
}

.btn {
    border-radius: 14px;
    font-weight: 700;
    padding: .8rem 1.35rem;
}

.btn-custom,
.btn-custom-outline,
.btn-light-outline {
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-padding-y: .85rem;
    --bs-btn-font-weight: 700;
    --bs-btn-border-width: 2px;
    --bs-btn-border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

/* Primary teal */
.btn-custom {
    --bs-btn-color: var(--white);
    --bs-btn-bg: var(--teal);
    --bs-btn-border-color: var(--teal);
    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: var(--teal-dark);
    --bs-btn-hover-border-color: var(--teal-dark);
    --bs-btn-active-color: var(--white);
    --bs-btn-active-bg: var(--teal-dark);
    --bs-btn-active-border-color: var(--teal-dark);
}

/* Teal outline */
.btn-custom-outline {
    --bs-btn-color: var(--teal);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--teal);
    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: var(--teal);
    --bs-btn-hover-border-color: var(--teal);
    --bs-btn-active-color: var(--white);
    --bs-btn-active-bg: var(--teal-dark);
    --bs-btn-active-border-color: var(--teal-dark);
}

/* Light outline for dark/photo backgrounds */
.btn-light-outline {
    --bs-btn-color: var(--white);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--white);
    --bs-btn-hover-color: var(--navy);
    --bs-btn-hover-bg: var(--white);
    --bs-btn-hover-border-color: var(--white);
}

    .btn-custom:hover,
    .btn-custom-outline:hover,
    .btn-light-outline:hover {
        transform: translateY(-2px);
    }

    .btn-custom:focus-visible,
    .btn-custom-outline:focus-visible,
    .btn-light-outline:focus-visible {
        outline: 3px solid var(--focus);
        outline-offset: 3px;
    }

.hero{
    position: relative;
    min-height: clamp(430px, 58vw, 620px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-image:
    linear-gradient(90deg, rgba(22, 31, 37, .76) 0%, rgba(22, 31, 37, .54) 48%, rgba(22, 31, 37, .12) 78%, rgba(22, 31, 37, .05) 100%),
    var(--office-image);
    background-size: cover;
    background-position: center 54%;
    /*border-bottom: 6px solid var(--gold);*/
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.2));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 5.5rem 0;
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0 1px 14px rgba(0,0,0,.25);
}

    .hero .eyebrow::before {
        content: "";
        width: 38px;
        height: 4px;
        border-radius: 999px;
        background: var(--gold);
    }

.hero h1 {
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.75rem);
    line-height: .95;
    letter-spacing: -.04em;
    max-width: 700px;
    text-wrap: balance;
    text-shadow: 0 3px 24px rgba(0,0,0,.32);
}

.hero .lead {
    max-width: 620px;
    color: rgba(255,255,255,.95);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.quick-actions {
    background: #fff;
    position: relative;
}

.action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.15rem;
    color: var(--ink);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 14px 36px rgba(82,55,22,.07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .action-card::after {
        content: "";
        position: absolute;
        width: 48px;
        height: 5px;
        right: 20px;
        top: 0;
        background: var(--gold);
        border-radius: 0 0 6px 6px;
    }

    .action-card:hover {
        color: var(--ink);
        transform: translateY(-6px);
        border-color: #d9bc8a;
        box-shadow: var(--shadow);
    }

.action-icon, .program-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--cream);
    color: var(--orange-dark);
    font-size: 1.35rem;
    border: 1px solid #efd8ae;
}

.action-card .h3 {
    margin-bottom: 0;
    color: var(--navy);
    font-size: 1.55rem;
    font-weight: 700;
}

.action-cta {
    margin-top: auto;
    color: var(--orange-dark);
    font-weight: 800;
}

.mission {
    position: relative;
    overflow: hidden;
}

    .mission::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        right: -90px;
        bottom: -120px;
        background: rgba(242,181,68,.20);
        border-radius: 50%;
    }

.mission {
    position: relative;
    overflow: hidden;
}

    .mission::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        right: -100px;
        bottom: -140px;
        background: rgba(242, 181, 68, .16);
        border-radius: 50%;
        pointer-events: none;
    }

    .mission .container {
        position: relative;
        z-index: 1;
    }

.about-heading {
    margin-bottom: 1rem;
    color: var(--teal);
    font-family: "DM Sans", sans-serif;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mission p {
    color: var(--muted);
    font-size: 1.03rem;
    max-width: 68ch;
}

.agency-stat {
    height: 100%;
    padding: 1.35rem 1.5rem;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
}

    .agency-stat strong {
        display: block;
        color: var(--orange-dark);
        font-family: "Playfair Display", Georgia, serif;
        font-size: 2.35rem;
        line-height: 1;
    }

    .agency-stat span {
        display: block;
        margin-top: .5rem;
        color: var(--navy);
        font-weight: 700;
    }

.notices {
    background: var(--white);
}

.notice-list {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(82, 55, 22, .06);
}

.notice-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem 1rem;
    align-items: start;
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

    .notice-row:last-child {
        border-bottom: 0;
    }

    .notice-row time {
        grid-column: 1 / -1;
        color: var(--orange-dark);
        font-size: .75rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .notice-row h3 {
        margin: 0 0 .3rem;
        color: var(--navy);
        font-family: "DM Sans", sans-serif;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .notice-row p {
        margin: 0;
        color: var(--muted);
        font-size: .95rem;
    }

/* Accordions */
.accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-item {
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--white);
    border: 1px solid var(--border) !important;
    border-radius: var(--card-radius) !important;
    box-shadow: 0 8px 24px rgba(82, 55, 22, .05);
}

    .accordion-item:last-child {
        margin-bottom: 0;
    }

.accordion-button {
    padding: 1.25rem 1.5rem;
    color: var(--navy);
    background: var(--white);
    font-weight: 700;
    line-height: 1.3;
    box-shadow: none !important;
}

    .accordion-button:hover,
    .accordion-button:not(.collapsed) {
        color: var(--orange-dark);
        background: var(--cream);
    }

    .accordion-button::after {
        width: 1.1rem;
        height: 1.1rem;
        background-size: 1.1rem;
    }

    .accordion-button:focus-visible {
        position: relative;
        z-index: 2;
        outline: 3px solid var(--focus);
        outline-offset: -3px;
    }

.accordion-body {
    padding: 1.5rem;
    border-top: 3px solid var(--gold);
}

@media (min-width:768px) {
    .notice-layout {
        gap: 1.2rem;
        margin-top: 2.2rem
    }

    .notice-row {
        grid-template-columns: 100px 1fr auto;
        align-items: center;
        padding: 1.25rem 1.35rem
    }

        .notice-row time {
            grid-column: auto
        }

    .accordion-button {
        padding: 1.4rem 1.75rem;
    }

    .accordion-body {
        padding: 2rem 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-custom,
    .btn-custom-outline,
    .btn-light-outline {
        transition: none;
    }

        .btn-custom:hover,
        .btn-custom-outline:hover,
        .btn-light-outline:hover {
            transform: none;
        }
}


