
/* Banner */
#banner {
    background-attachment: scroll, fixed;
    background-color: #2f3742;
    background-image: url("https://pms.proservllc.com/assets/images/hoa_images/overlay.png"), url("https://pms.proservllc.com/assets/images/hoa_banners/Shores of Camelot.avif");
    background-position: top left, center center;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    color: #fff;
    padding: 12em 0 15em 0;
    text-align: center;
    position: relative;
}

#banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.52));
    pointer-events: none;
}

#main.container {
    padding-top: 2rem;
    max-width: 1200px;
    margin-top: -9em;
    position: relative;
    z-index: 2;
}

#main.container.home-dashboard {
    flex: 1 1 auto;
    margin-top: -9em;
    min-height: clamp(520px, calc(100vh - 15rem), 760px);
    padding-bottom: clamp(2.5rem, 6vh, 5rem);
}

.brand-section {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.brand-logo {
    max-width: 560px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.home-dashboard .feature-grid {
    align-content: center;
    margin-bottom: 0;
    min-height: clamp(300px, calc(100vh - 35rem), 520px);
}

.home-dashboard .feature-card {
    align-items: center;
    text-align: center;
}

.feature-card {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 220px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.feature-card > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    text-decoration: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid #eef2f7;
}

.feature-card i {
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
    line-height: 1.2;
}

.feature-card p {
    font-size: 0.95rem;
    color: #5f6b7a;
    line-height: 1.55;
    margin: 0;
}

.accent-blue { color: #3b82f6; }
.accent-green { color: #10b981; }
.accent-orange { color: #f59e0b; }
.accent-red { color: #ef4444; }

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    #banner {
        padding: 8em 0 8.5em 0;
    }
    #main.container {
        margin-top: -4.5em;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #main.container.home-dashboard {
        margin-top: -4.5em;
        min-height: 0;
        padding-bottom: 2rem;
        padding-top: 1rem;
    }
    .brand-section {
        padding: 1.5rem;
    }
    .feature-card {
        align-items: flex-start;
        min-height: 0;
        text-align: left;
    }
}
