/* ============================================================
   GLOBAL BASELINE
   ============================================================ */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: white;
    color: black;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================================
   STICKY FOOTER LAYOUT (AUTO-HEIGHT HEADER + FOOTER)
   ============================================================ */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    width: 100%;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.page-wrapper {
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2F4F4F;
    padding: 15px 30px;
    width: 100%;
    gap: 40px;
}

.header-left {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.logo-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 300px;
}

.header-logo {
    height: 90px;
    width: auto;
}

.header-identifiers {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgb(150,150,150);
    letter-spacing: 0.5px;
    line-height: 1.25;
}

/* ============================================================
   HEADER TAGLINE — MATCH LOGO HEIGHT
   ============================================================ */

.tagline {
    font-size: 90px;          /* match logo height */
    line-height: 90px;        /* ensures vertical centering */
    height: 90px;             /* exact match */
    display: flex;
    align-items: center;      /* perfect vertical alignment */
    justify-content: center;  /* perfect horizontal alignment */
    white-space: nowrap;
    transform: skewX(-8deg);
    text-shadow: 3px 3px 3px #800020;
}

.nav {
    flex-shrink: 0;
}

.nav a {
    color: rgb(150,150,150);
    margin-left: 20px;
    font-size: 1rem;
    font-weight: 700;
}

.nav a:hover {
    color: white;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #2F4F4F;
    padding: 30px;
    width: 100%;
    color: white;
}

.footer-left p {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgb(220,220,220);
    max-width: 280px;
}

.footer-center h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.footer-certifications {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-decal-row {
    display: flex;
    gap: 20px;
}

/* ============================================================
   FOOTER SBA DECALS — MATCH LOGO HEIGHT
   ============================================================ */

.footer-decal {
    height: 90px;   /* match header logo height */
    width: auto;    /* preserve aspect ratio */
}

.footer-right h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.footer-right a {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgb(220,220,220);
    margin-bottom: 6px;
}

.footer-right a:hover {
    color: white;
}

/* ============================================================
   CONTACT + GOVERNMENT PAGE SHARED BLOCKS
   ============================================================ */

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 25px;
    max-width: 700px;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 6px;
    background-color: #f7f7f7;

    /* Burgundy border look you liked */
    border: 3px solid #800020;
}

.status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 600;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
}

.status-error {
    background-color: #f8d7da;
    color: #721c24;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-row label {
    font-weight: 600;
    margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-row textarea {
    height: 150px;
    resize: vertical;
}

.submit-row {
    margin-top: 20px;
}

.submit-row button {
    width: 200px;
    padding: 12px;
    font-size: 1rem;
    font-weight: 700;
    background-color: #2F4F4F;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-row button:hover {
    background-color: #3a5f5f;
}

/* ============================================================
   GOVERNMENT PAGE — LAYOUT + DOWNLOAD SECTION
   ============================================================ */

/* Stack everything vertically, center-justified */
.gov-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

/* Download block centered above SDVOSB */
.gov-left-column {
    width: 100%;
    max-width: 800px;
    margin-bottom: 25px; /* white break below download block */
}

.gov-capabilities-download {
    padding: 25px;
    background-color: #f7f7f7;
    border-radius: 6px;
    border: 3px solid #800020;
    text-align: center; /* center justify the download block */
}

/* Right column: all text blocks stacked with white breaks */
.gov-right-column {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 25px; /* white break between each text block */
}

/* Burgundy hyperlink */
.cap-download-link {
    font-size: 1rem;
    font-weight: 700;
    color: #800020;
    text-decoration: underline;
}

.cap-download-link:hover {
    color: #a00028;
}

/* ============================================================
   HEADER RE-LAYOUT — TAGLINE TOP, NAV UNDERNEATH
   ============================================================ */

/* Turn header into a vertical stack */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 30px;
    background-color: #2F4F4F;
    width: 100%;
    gap: 10px; /* small spacing between rows */
}

/* Logo + identifiers stay together, centered */
.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tagline moves ABOVE nav and aligns top edge with logo */
.tagline {
    font-size: 90px;          /* match logo height */
    line-height: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transform: skewX(-8deg);
    text-shadow: 3px 3px 3px #800020;
    margin-top: -10px;        /* pulls tagline upward to align with logo top edge */
}

/* Navigation becomes full-width under tagline */
.nav {
    width: 100%;
    display: flex;
    justify-content: center;  /* center nav items */
    gap: 40px;                /* spacing between nav items */
    margin-top: 10px;
}

/* Nav links styled cleanly */
.nav a {
    color: rgb(150,150,150);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.nav a:hover {
    color: white;
}
/* ============================================================
   HEADER — REMOVE IDENTIFIERS + ENLARGE LOGO
   ============================================================ */

/* Remove identifiers entirely */
.header-identifiers {
    display: none;
}

/* Enlarge logo to fill the vertical space where identifiers used to be */
.header-logo {
    height: 140px;   /* increased from 90px */
    width: auto;     /* preserve aspect ratio */
}

/* Keep tagline top-aligned with the new taller logo */
.tagline {
    font-size: 140px;       /* match new logo height */
    line-height: 140px;
    height: 140px;
    display: flex;
    align-items: flex-start; /* top edge alignment */
    justify-content: center;
    white-space: nowrap;
    transform: skewX(-8deg);
    text-shadow: 3px 3px 3px #800020;
    margin-top: -10px;       /* fine-tune vertical alignment */
}
/* ============================================================
   TAGLINE — RESTORE NATURAL WIDTH, KEEP LOGO HEIGHT ALIGNMENT
   ============================================================ */

.tagline {
    height: 140px;            /* match current logo height */
    line-height: 140px;       /* vertical alignment */
    font-size: 48px;          /* natural readable size (no stretching) */
    display: flex;
    align-items: flex-start;  /* top-edge alignment with logo */
    justify-content: center;  /* centered horizontally */
    white-space: nowrap;
    transform: skewX(-8deg);
    text-shadow: 3px 3px 3px #800020;
    margin-top: -10px;        /* fine-tune vertical alignment */
}
/* ============================================================
   TAGLINE — FULL-WIDTH STRETCH, PROPER ASPECT RATIO
   ============================================================ */

.tagline {
    width: 100%;              /* stretch from left edge to right edge */
    height: 140px;            /* match current logo height */
    line-height: 140px;       /* vertical alignment */
    font-size: 72px;          /* larger, natural aspect ratio */
    text-align: center;       /* center text without constraining width */
    white-space: nowrap;      /* keep it on one line */
    display: block;           /* allow full-width behavior */
    transform: skewX(-8deg);
    text-shadow: 3px 3px 3px #800020;
    margin-top: -10px;        /* fine-tune alignment with logo top edge */
}
/* ============================================================
   CENTER THE HEADER LOGO
   ============================================================ */

.header-left {
    width: 100%;              /* allow full-width centering */
    display: flex;
    flex-direction: column;
    align-items: center;      /* center the logo horizontally */
    justify-content: center;  /* ensure perfect centering */
}
/* ============================================================
   FORCE-CENTER THE HEADER LOGO (FINAL OVERRIDE)
   ============================================================ */

.header-left {
    width: 100% !important;          /* full width so centering can work */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;  /* center horizontally */
    justify-content: center !important;
    margin: 0 auto !important;       /* ensure no left/right bias */
}

/* Ensure the logo itself is centered inside its container */
.header-logo {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ============================================================
   FINAL LOGO CENTERING — COMPENSATE FOR IMAGE LEFT PADDING
   ============================================================ */

.header-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;   /* force visual centering */
}

/* Ensure the logo container itself is centered */
.header-left {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* ============================================================
   MAKE LOGO ITS OWN ENTITY + TRUE CENTERING
   ============================================================ */

/* Treat the logo as a standalone row in the header */
.header-logo {
    display: block;
    width: auto;
    height: 140px;               /* keep your chosen height */
    margin-left: auto;           /* true centering */
    margin-right: auto;          /* true centering */
    object-fit: contain;
    object-position: center;     /* center the artwork itself */
}

/* Override the old header-left behavior */
.header-left {
    width: 100%;
    display: block;              /* stop flex inheritance */
    text-align: center;          /* center any remaining content */
}

