﻿:root {
    --mha-green: #266d35;
    --mha-green-dark: #1e5629;
    --mha-green-extra-dark: #13301a;
    --mha-green-soft: #eff6f0;
    --mha-green-bright: #3aa651;
    --mha-text: #17321d;
    --mha-border: #cfe0d2;
    --mha-gray: #f7f7f2;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #1b1b1b;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a{
    color: var(--mha-green-dark);
}

    a:hover {
        color: #12361a;
    }

.navbar-brand {
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--mha-green-dark);
}

.navbar-nav .nav-link {
    font-weight: 600;
}

    .navbar-nav .nav-link:focus-visible,
    .btn:focus-visible,
    .portal-text-bottom:focus-visible,
    .news-link:focus-visible {
        outline: 3px solid #111;
        outline-offset: 3px;
        border-radius: .5rem;
    }

header div {
    display: inline-block;
    margin-left: auto;
    padding: .75rem 1.2rem;
    background-color: var(--mha-green);
    border-bottom-left-radius: 1rem;
    color: #fff;
}

.btn {
    --bs-btn-padding-y: .8rem;
    --bs-btn-padding-x: 1.1rem;
    --bs-btn-font-weight: 700;
}

.btn-brand {
    --bs-btn-bg: var(--mha-green);
    --bs-btn-border-color: var(--mha-green);
    --bs-btn-hover-bg: var(--mha-green-dark);
    --bs-btn-hover-border-color: var(--mha-green-dark);
    --bs-btn-active-bg: #164220;
    --bs-btn-active-border-color: #164220;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
   
}

.btn-outline-brand {
    --bs-btn-color: var(--mha-green-dark);
    --bs-btn-border-color: var(--mha-green-dark);
    --bs-btn-hover-bg: var(--mha-green-dark);
    --bs-btn-hover-border-color: var(--mha-green-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--mha-green-dark);
    --bs-btn-active-border-color: var(--mha-green-dark);
    --bs-btn-active-color: #fff;  
}

.banner, .hero {
    background: url(images/banner.jpg) center center no-repeat;
    background-size: cover;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;
}

.hero {    
    min-height: 520px;    
}

    .hero > *, .banner > * {
        z-index: 100;
    }

    .hero::before, .banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        /*background: linear-gradient( to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.80) 40%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.1) 100% );*/
        z-index: 1;
    }

.hero .hero-section{
    max-width: 100%;
}

    .hero .eyebrow {
        color: var(--mha-green-bright);
    }

.section-underline {
    display: inline-block;
    width: 80px;
    height: 4px;
    background-color: #266d35;
    margin: 12px 0;
    /*border-radius: 2px;*/
}


.section-title {
    color: var(--mha-text);
    font-weight: 800;
}

.eyebrow {
    color: var(--mha-green-dark);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    font-weight: 800;
}

.card {
    border-radius: 1.75rem;
    border: 1px solid var(--mha-border);
    padding: 1.5rem;
}

.card-shadow {
    box-shadow: 0 .65rem 1.5rem rgba(28, 60, 34, .08);
}

.portal-link:hover .portal-card {
    transform: translateY(-6px);
}

.portal-link:hover .portal-icon {
    background-color: #266d35;
    color: #fff;    
}

.portal-card, .news-card {
    height: 100%;
    box-shadow: 0 .65rem 1.5rem rgba(28, 60, 34, .08);
    transition: transform 0.25s ease;
}

.news-card{
    border-left: 5px solid #12361a;
    max-width: 1000px;
    margin: auto;
}

.portal-icon, .icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mha-green-soft);
    color: var(--mha-green-dark);
    font-size: 1.25rem;
    transition: 0.5s ease-in-out;
}

.portal-text-bottom {
    text-decoration: none;
    font-weight: 700;
}

.portal-link:hover .portal-text-bottom i{
    padding-left: .5rem;
}

    .portal-text-bottom i {
        transition: ease-in-out .25s;
        padding-left: .35rem;
    }

.news-card .list-group-item a{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-decoration: none;
    align-items: center;
}

.news-card .list-group-item:hover {
    background: #f5faf6;
}

.mission {
    background: linear-gradient(180deg, #f7fbf8 0%, #eff6f0 100%);
    border-top: 1px solid var(--mha-border);
    border-bottom: 1px solid var(--mha-border);
}

.mission-quote {
    border-left: .35rem solid var(--mha-green);
    padding-left: 1rem;
    font-size: 1.125rem;
    color: #12361a;
}

.stats-band {
    background: var(--mha-green);
    color: #fff;
}

    .stats-band .fa-solid {
        font-size: 1.25rem;
    }

.announcement-badge {
    display: inline-block;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: var(--mha-green-soft);
    color: var(--mha-green-dark);
    font-size: .8rem;
    font-weight: 800;
}

footer {
    background: #13301a;
    color: rgba(255,255,255,.92);
}

    footer a {
        color: #fff;
    }

.icon-wrapper {
    text-decoration: none;
    margin-left: .25rem;
    margin-right: .25rem;
}

.icon {
    display: flex;
    width: 35px;
    height: 35px;
    border-radius: 35px;
    font-size: 1.05rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #f8f9fa;
    border: 1px solid #f8f9fa;
}

    .icon:hover {
        background-color: rgba(0,0,0,0.2);
    }

.bg-light-gray{
    background-color: var(--mha-gray);
}

.timeline-card {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    padding-left: 2rem;
}

    .timeline-wrapper::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 8px;
        width: 1px;
        height: calc(100% - 16px);
        background: #cbd5e1;
    }

.timeline-item {
    position: relative;
    padding-left: 1.75rem;
}

    .timeline-item + .timeline-item {
        margin-top: 2rem;
    }

.timeline-dot {
    position: absolute;
    top: 6px;
    left: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.18);
    background: #166534;
}

.badge {
    background: #dcfce7;
    color: #166534;
}

.muted-copy {
    color: #64748b;
}

.timeline-item .cta-wrap {
    margin-top: 0.75rem;
}

.list-padding li {
    padding-top: .35rem;
    padding-bottom: .35rem;
}

.list-padding-sm li {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.footer-flex-container{
    gap: 3rem;
}

.section-padding {
    padding: 4rem 0;
}

.rounded-custom {
    border-radius: 1.75rem;  
}

.gap-sm{
    gap: .5rem;
}

.amenity-card {
    background: var(--mha-green-soft);
    border: 1px solid var(--mha-border);
    font-size: 0.9rem;
    border-radius: 1.2rem;
    padding: 10px 14px;
    color: var(--mha-green-dark);
}


.income-box {
    background: #fff;
    border-radius: 1.1rem;
    padding: 1.35rem 1rem;
    text-align: center;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}

.income-limit {
    color: var(--mha-green);
    font-size: 2rem;
    font-weight: 800;
}

.green-card {
    background: var(--mha-green);
    color: #fff;
    border-radius: 1.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.1);
}

    .criteria-card .check-icon {
        color: var(--mha-gray);
    }

.step-card {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    background: #fff;    
    border-radius: 1.2rem;
    padding: 1.25rem;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mha-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: 0 0 auto;
}

.apply-panel {   
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.dot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .dot-list li {
        position: relative;
        padding-left: 1.8rem;
        margin-bottom: .75rem;
    }

        .dot-list li:before {
            content: "";
            width: .7rem;
            height: .7rem;
            border-radius: 50%;
            background: var(--mha-green);
            position: absolute;
            left: 0;
            top: .55rem;
            box-shadow: 0 0 0 4px var(--mha-green-soft);
        }

.accordion {
    --bs-accordion-border-color: var(--mha-border);
    --bs-accordion-border-radius: 22px;
    --bs-accordion-inner-border-radius: 18px;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(63,107,93,.2);
}

.accordion-item {
    border-radius: 22px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--mha-border);
    box-shadow: 0 8px 20px rgba(34,59,51,.08);
}

.accordion-button {
    font-weight: 800;
    color: var(--green-900);
    background: #fff;
    padding: 1.2rem 1.35rem;
}

    .accordion-button:not(.collapsed) {
        background: var(--mha-green-soft);
        color: var(--mha-green-dark);
        box-shadow: none;
    }

    .accordion-button::after {
        filter: grayscale(1);
    }

thead tr th {
    background-color: var(--mha-green-extra-dark) !important;
    color: #fff !important;
}

.table {
    /*border: 1px solid var(--mha-border);*/
    
}

th:first-of-type {
    border-top-left-radius: 1rem;
}

th:last-of-type {
    border-top-right-radius: 1rem;
}

.div-table {
    padding: 0 .5rem 0;
}

    .div-table .row {
        padding: .75rem 0 .75rem;
        border-bottom: 1px solid #dee2e6;
    }

#login {
    width: 100%;
    max-width: 330px;
    margin: auto;
}

.username {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.password {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (min-width: 768px) {
    .hero .hero-section {
        max-width: 75%;
    }

    .hero::before {
        background: linear-gradient( to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.80) 40%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.1) 100% );
    }
}

@media (min-width: 991.98px) {

        .hero .hero-section {
            max-width: 55%;
        }

    .hero::before {       
        background: linear-gradient( to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.80) 40%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.1) 100% );       
    }

    .fair-housing-section {
        max-width: 400px;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 460px;
    } 
    
    
}
