/* ==========================================================================
   FEED 4 ALL INITIATIVE — DESIGN SYSTEM
   Brand Palette from guide.txt:
   - Deep Green:       #003800
   - Secondary Green:  #087A18
   - Golden Yellow:    #D5A000
   - Warm White:       #F7F8F3
   - Pale Green:       #E8EFE7
   - Charcoal:         #252A25
   ========================================================================== */

:root {
    --feed-deep-green: #003800;
    --feed-secondary-green: #087A18;
    --feed-green-light: #129E25;
    --feed-gold: #D5A000;
    --feed-gold-light: #ECC038;
    --feed-gold-subtle: #FDF8E8;
    --feed-warm-white: #F7F8F3;
    --feed-pale-green: #E8EFE7;
    --feed-charcoal: #252A25;
    --feed-white: #FFFFFF;
    --feed-muted: #5F665D;
    --feed-border: #D8E0D7;
    --feed-border-light: #EBF0EA;

    /* Backward compatibility mapping with old aspira selectors */
    --aspira-blue: #003800;
    --aspira-blue-dark: #002500;
    --aspira-blue-light: #087A18;
    --aspira-blue-subtle: #E8EFE7;
    --aspira-gold: #D5A000;
    --aspira-gold-light: #ECC038;
    --aspira-gold-subtle: #FDF8E8;
    --aspira-ivory: #F7F8F3;
    --aspira-white: #FFFFFF;
    --aspira-text-primary: #252A25;
    --aspira-text-secondary: #5F665D;
    --aspira-border: #D8E0D7;
    --aspira-border-dark: #BCC5BB;
    --aspira-green: #087A18;
    --aspira-green-dark: #003800;
    --aspira-green-light: #129E25;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--feed-warm-white);
    color: var(--feed-charcoal);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

section,
header,
footer,
main {
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1240px;
    }
}

.container-fluid {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (max-width: 991.98px) {
    .row {
        --bs-gutter-x: 1rem;
    }
    .g-5, .gx-5, .g-4, .gx-4 {
        --bs-gutter-x: 1rem !important;
        --bs-gutter-y: 1.25rem !important;
    }
}

h1,
h2,
h3,
h4,
.font-serif,
.hero-title,
.section-heading {
    font-family: 'Fraunces', 'Georgia', serif;
    font-weight: 700;
    color: var(--feed-deep-green);
    letter-spacing: -0.02em;
}

/* Site Header */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--feed-border);
    position: sticky;
    top: 0;
    z-index: 1040;
}

.site-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-link-feed,
.nav-link-aspira {
    color: var(--feed-charcoal);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.nav-link-feed:hover,
.nav-link-aspira:hover {
    color: var(--feed-deep-green);
    background-color: var(--feed-pale-green);
}

/* Buttons */
.btn-feed-primary,
.btn-aspira-primary {
    background-color: var(--feed-deep-green);
    border-color: var(--feed-deep-green);
    color: #FFFFFF !important;
    font-weight: 600;
    border-radius: 4px;
    padding: 0.55rem 1.35rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-feed-primary:hover,
.btn-aspira-primary:hover {
    background-color: var(--feed-secondary-green);
    border-color: var(--feed-secondary-green);
    color: #FFFFFF !important;
}

.btn-feed-gold,
.btn-aspira-gold {
    background-color: var(--feed-gold);
    border-color: var(--feed-gold);
    color: #003800 !important;
    font-weight: 700;
    border-radius: 4px;
    padding: 0.55rem 1.35rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.15s ease;
}

.btn-feed-gold:hover,
.btn-aspira-gold:hover {
    background-color: var(--feed-gold-light);
    border-color: var(--feed-gold-light);
    color: #003800 !important;
}

.btn-feed-outline,
.btn-aspira-secondary {
    background: transparent;
    border: 1.5px solid var(--feed-deep-green);
    color: var(--feed-deep-green) !important;
    font-weight: 600;
    border-radius: 4px;
    padding: 0.55rem 1.35rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.15s ease;
}

.btn-feed-outline:hover,
.btn-aspira-secondary:hover {
    background-color: var(--feed-pale-green);
    color: var(--feed-deep-green) !important;
}

/* Editorial Containers & Cards */
.card-feed,
.card-aspira {
    background: #FFFFFF;
    border: 1px solid var(--feed-border);
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-feed:hover,
.card-aspira:hover {
    border-color: var(--feed-secondary-green);
}

.section-feed,
.section-aspira {
    padding: 4.5rem 0;
}

.hero-feed,
.hero-aspira {
    background: #FFFFFF;
    border-bottom: 1px solid var(--feed-border);
    padding: 4.5rem 0;
}

.hero-pretitle {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--feed-secondary-green);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.18;
    margin-bottom: 1.25rem;
    color: var(--feed-deep-green);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--feed-muted);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--feed-secondary-green);
    margin-bottom: 0.5rem;
}

.section-heading {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    color: var(--feed-deep-green);
}

/* Process Timeline (Horizontal / Vertical Responsive) */
.f4a-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.f4a-timeline-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .f4a-timeline-row {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
        position: relative;
    }
}

.f4a-step-card {
    background: #FFFFFF;
    border: 1px solid var(--feed-border);
    border-radius: 4px;
    padding: 1.75rem 1.25rem;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.f4a-step-card.active {
    border-color: var(--feed-secondary-green);
    border-top: 3px solid var(--feed-secondary-green);
}

.f4a-step-card.completed {
    border-color: var(--feed-deep-green);
    background-color: var(--feed-pale-green);
}

.f4a-step-num {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--feed-gold);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.f4a-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--feed-deep-green);
    margin-bottom: 0.5rem;
}

.f4a-step-desc {
    font-size: 0.88rem;
    color: var(--feed-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Badges */
.badge-feed {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
}

.badge-feed-green,
.badge-aspira-green,
.badge-aspira-success {
    background-color: var(--feed-pale-green);
    color: var(--feed-deep-green);
    border: 1px solid rgba(8, 122, 24, 0.25);
}

.badge-feed-gold,
.badge-aspira-gold,
.badge-aspira-warning {
    background-color: var(--feed-gold-subtle);
    color: #8C6800;
    border: 1px solid rgba(213, 160, 0, 0.3);
}

.badge-feed-muted,
.badge-aspira-muted {
    background-color: #ECEFEA;
    color: var(--feed-muted);
    border: 1px solid var(--feed-border);
}

/* Site Footer */
.site-footer {
    background-color: var(--feed-deep-green);
    color: rgba(247, 248, 243, 0.75);
    padding: 4.5rem 0 2rem;
    border-top: 3px solid var(--feed-gold);
}

.site-footer h5 {
    color: #FFFFFF;
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.site-footer a {
    color: rgba(247, 248, 243, 0.75);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer a:hover {
    color: var(--feed-gold);
}

.site-footer .footer-tagline {
    color: rgba(247, 248, 243, 0.9);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-logo {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

/* Form Controls */
.form-control,
.form-select {
    border: 1px solid var(--feed-border);
    border-radius: 4px;
    padding: 0.6rem 0.85rem;
    color: var(--feed-charcoal);
    font-size: 0.92rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--feed-secondary-green);
    box-shadow: 0 0 0 3px rgba(8, 122, 24, 0.12);
}

.form-label {
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--feed-deep-green);
    margin-bottom: 0.35rem;
}

/* Notification Bell */
.notif-bell-btn {
    background: transparent;
    border: 1px solid var(--feed-border);
    width: 38px;
    height: 38px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--feed-charcoal);
}

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #C53030;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    line-height: 1;
}

/* Feed 4 All Full-Width Top-Down Mobile Navigation Sheet */
.f4a-mobile-sheet {
    height: auto !important;
    max-height: 92vh !important;
    background-color: var(--feed-deep-green) !important;
    color: #F7F8F3;
    border-bottom: 3px solid var(--feed-gold) !important;
    box-shadow: 0 18px 44px rgba(0, 20, 0, 0.35);
}

.f4a-sheet-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(247, 248, 243, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.15s ease;
}

.f4a-sheet-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.f4a-sheet-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.72rem 0.85rem;
    border-radius: 6px;
    color: #F7F8F3;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.f4a-sheet-link i {
    font-size: 0.78rem;
    color: rgba(213, 160, 0, 0.75);
}

.f4a-sheet-link:hover,
.f4a-sheet-link:focus {
    background: rgba(255, 255, 255, 0.09);
    color: var(--feed-gold);
}