/* ============================================================
   Block 1
   GLOBAL BASELINE — Stockdale Industries
   Clean, modern, federal‑grade foundation
   ============================================================ */

html {
scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    box-sizing: border-box;
}

/* Apply border-box sizing to all elements */
*, *::before, *::after {
    box-sizing: inherit;
}

/* Global link styling */
a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Remove default list styling */
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Global image behavior */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Page wrapper for consistent layout spacing */
.page-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ============================================================
   Block 2
   HEADER SYSTEM — Stockdale Industries
   Logo → Navigation
   ============================================================ */

header {
    width: 100%;
    background-color: #2F4F4F; /* Slate Green */
    padding: 36px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* LEFT SIDE — logo + identifiers */
.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* LOGO BLOCK */
.logo-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-logo {
    display: block;
    margin: 0 0 16px 0;
    max-width: 520px;
    width: 100%;
    height: auto;
}

/* IDENTIFIERS — centered under logo */
.header-identifiers {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    width: 100%;
}

/* RIGHT SIDE — navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 36px;
}

/* NAV LINKS — burgundy underline (border version only) */
.nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 22px !important;
    letter-spacing: 0.75px;
    color: #FFFFFF;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease-in-out, opacity 0.2s ease-in-out;
}

.nav a:hover {
    border-bottom-color: #800020; /* Burgundy */
    opacity: 0.75;
}

/* ============================================================
   Block 3
   BODY CONTENT — Stockdale Industries
   Structural-only formatting, typography, spacing
   ============================================================ */

/* Global body typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: rgb(150,150,150); /* Federal-grade Silver */
    background-color: #ffffff;
    line-height: 1.6;
}

/* Main content wrapper */
.main-content {
    width: 100%;
    max-width: 1265px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section blocks — structural only */
.section {
    margin-bottom: 40px;
}

/* Section headers */
.section h2,
.section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Paragraph spacing */
.section p {
    margin-bottom: 18px;
}

/* List formatting */
.section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.section ul li {
    margin-bottom: 10px;
}

/* Capabilities List — Brand Style */
.cs-list {
    list-style-type: disc;
    padding-left: 40px;
    margin-top: 15px;
}

.cs-list li {
    margin-bottom: 16px;
}

.cs-list a {
    font-weight: 500;
    text-decoration: underline;
}

.cs-list a:hover {
    color: rgb(150,150,150); /* Federal Silver hover */
}

/* Divider between major content groups */
.content-divider {
    height: 4px;
    background-color: rgb(128,0,32); /* Deep Burgundy */
    margin: 50px 0;
    border-radius: 2px;
}

/* Welcome / Mission / Capabilities blocks — structural only */
.welcome-section,
.mission-section,
.capabilities-section {
    margin-bottom: 40px;
}

.welcome-section h1,
.mission-section h2,
.capabilities-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}
/* ============================================================
   FIRST CONTENT BLOCK — Main Headline (Tagline Color Scheme)
   White fill + Burgundy outline (no lean)
   ============================================================ */

.first-block-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;              /* Adjust as needed */
    color: #FFFFFF;                 /* White fill */
    letter-spacing: 0.5px;

    /* Burgundy outline — same effect as tagline */
    text-shadow:
        -1px -1px 0 #800020,
         1px -1px 0 #800020,
        -1px  1px 0 #800020,
         1px  1px 0 #800020;
}

/* ============================================================
   Block 4
   UNIVERSAL BORDER SYSTEM — Stockdale Industries
   Standardized burgundy border for all content containers
   ============================================================ */

.content-box {
    background-color: #2F4F4F; /* Slate Green */
    color: #FFFFFF;

    border-left: 8px solid #800020;  /* Burgundy */
    border-right: 8px solid #800020; /* Burgundy */

    border-top: none;
    border-bottom: none;

    border-radius: 0;

    padding: 40px;
    margin-bottom: 30px;

    width: 100%;
    box-sizing: border-box;
}

/* Content box typography */
.content-box h1,
.content-box h2 {
    color: #FFFFFF;
    font-size: 2.6rem;
    font-weight: 700;
}

.content-box h3,
.content-box p,
.content-box li,
.content-box a {
    color: #FFFFFF;
}

.content-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 10px;

}

.content-box p,
.content-box li {
    font-size: 1.08rem;
    line-height: 1.8;
}

/* ============================================================
   Block 5
   Government
   ============================================================ */

/* Wrapper for the two‑column hybrid layout */
.gov-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

/* LEFT COLUMN — Government Contracting + Procurement Data */
.gov-left {
    width: 55%;
}

/* RIGHT COLUMN — Floating Capabilities Box */
.gov-right {
    width: 45%;
}

/* Capabilities Box Styling */
.cs-box {
    background-color: #2F4F4F; /* Slate Green */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.15);
    color: #D9D9D9; /* Federal Silver */
}

.cs-box h2 {
    margin-top: 0;
    color: #FFFFFF;
}

.cs-box p {
    margin-bottom: 20px;
}

/* Capability Statement intro */
.cs-intro {
    font-weight: 600;
    font-size: 1.15rem;
}

/* Capability Statement Buttons */
.cs-btn {
    display: block;
    background-color: #2F4F4F;
    color: #D9D9D9;
    text-decoration: none;
    padding: 12px 14px;
    margin: 8px 0;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    font-size: 15px;
}

.cs-btn:hover {
    background-color: #800020; /* Deep Burgundy */
    color: #FFFFFF;
    border-color: #800020;
}

/* ============================================================
   Block 5A
   RESPONSIVE BEHAVIOR — Mobile Optimization
   ============================================================ */

@media (max-width: 900px) {
    .gov-wrapper {
        flex-direction: column;
    }

    .gov-left,
    .gov-right {
        width: 100%;
    }

    .cs-box {
        margin-top: 20px;
    }
}

/* ============================================================
   Block 6
   NAICS‑PSC — Category‑Specific Content Box Formatting
   ============================================================ */


/* ------------------------------------------------------------
   SAFETY / PPE  (.naics-*)
   ------------------------------------------------------------ */
.naics-box {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 30px;
    margin: 40px 0;
}
.naics-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.naics-col {
    flex: 1;
    min-width: 320px;
}
.naics-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(47,79,79);
    margin-top: 0;
    margin-bottom: 10px;
}
.naics-col ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.naics-col li {
    margin-bottom: 6px;
    color: rgb(90,90,90);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   INFORMATION TECHNOLOGY  (.it-*)
   ------------------------------------------------------------ */
.it-box {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 30px;
    margin: 40px 0;
}
.it-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.it-col {
    flex: 1;
    min-width: 320px;
}
.it-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(47,79,79);
    margin-top: 0;
    margin-bottom: 10px;
}
.it-col ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.it-col li {
    margin-bottom: 6px;
    color: rgb(90,90,90);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   LABORATORY & SCIENTIFIC  (.lab-*)
   ------------------------------------------------------------ */
.lab-box {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 30px;
    margin: 40px 0;
}
.lab-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.lab-col {
    flex: 1;
    min-width: 320px;
}
.lab-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(47,79,79);
    margin-top: 0;
    margin-bottom: 10px;
}
.lab-col ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.lab-col li {
    margin-bottom: 6px;
    color: rgb(90,90,90);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   MEDICAL & HEALTHCARE  (.med-*)
   ------------------------------------------------------------ */
.med-box {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 30px;
    margin: 40px 0;
}
.med-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.med-col {
    flex: 1;
    min-width: 320px;
}
.med-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(47,79,79);
    margin-top: 0;
    margin-bottom: 10px;
}
.med-col ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.med-col li {
    margin-bottom: 6px;
    color: rgb(90,90,90);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   OFFICE & IMAGING  (.office-*)
   ------------------------------------------------------------ */
.office-box {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 30px;
    margin: 40px 0;
}
.office-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.office-col {
    flex: 1;
    min-width: 320px;
}
.office-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(47,79,79);
    margin-top: 0;
    margin-bottom: 10px;
}
.office-col ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.office-col li {
    margin-bottom: 6px;
    color: rgb(90,90,90);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   INDUSTRIAL, COMMERCIAL & FACILITY SUPPORT  (.sppt-*)
   ------------------------------------------------------------ */
.sppt-box {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 30px;
    margin: 40px 0;
}
.sppt-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.sppt-col {
    flex: 1;
    min-width: 320px;
}
.sppt-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(47,79,79);
    margin-top: 0;
    margin-bottom: 10px;
}
.sppt-col ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.sppt-col li {
    margin-bottom: 6px;
    color: rgb(90,90,90);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   INDUSTRIAL, COMMERCIAL & FACILITY SUPPLIES  (.sply-*)
   ------------------------------------------------------------ */
.sply-box {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 30px;
    margin: 40px 0;
}
.sply-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.sply-col {
    flex: 1;
    min-width: 320px;
}
.sply-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(47,79,79);
    margin-top: 0;
    margin-bottom: 10px;
}
.sply-col ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.sply-col li {
    margin-bottom: 6px;
    color: rgb(90,90,90);
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   CUSTOM PLASTICS MANUFACTURING  (.plastics-*)
   ------------------------------------------------------------ */
.plastics-box {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 30px;
    margin: 40px 0;
}
.plastics-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.plastics-col {
    flex: 1;
    min-width: 320px;
}
.plastics-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(47,79,79);
    margin-top: 0;
    margin-bottom: 10px;
}
.plastics-col ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.plastics-col li {
    margin-bottom: 6px;
    color: rgb(90,90,90);
    font-size: 0.95rem;
}

/* ============================================================
   Block 7
   MAIN CONTENT STRUCTURE — Stockdale Industries
   Section spacing, typography, layout consistency
   ============================================================ */

/* Standard section wrapper */
section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #000000;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.3rem;
}

/* Paragraphs */
p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: #000000;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2F4F4F; /* Slate Green */
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: opacity 0.2s ease-in-out;
}

.button:hover {
    opacity: 0.8;
}

/* Content containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================================
   Block 8 — Corrected Footer System (Self‑Contained)
   FOOTER SYSTEM — Stockdale Industries
   Clean, centered, federal‑grade footer layout
   ============================================================ */

footer {
    width: 100%;
    background-color: #2F4F4F; /* Slate Green */
    padding: 40px 20px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

/* Footer columns */
.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    min-width: 200px;
}

/* Center column alignment */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-center h3 {
    text-align: center;
}

/* Footer headings */
footer h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Footer text */
footer p,
footer a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #FFFFFF;
}

/* Footer links */
footer a:hover {
    opacity: 0.75;
}

/* Certification rows */
.footer-certifications {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 10px 0;
}

.footer-certifications img {
    height: 55px;
    width: auto;
}

/* Decal rows */
.footer-decal-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
}

.footer-decal-row img {
    height: 120px;
    width: auto;
}

/* Footer nav */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-nav a {
    font-size: 0.95rem;
    font-weight: 600;
}


/* ============================================================
   Block 9
   LAYOUT UTILITIES — Stockdale Industries
   Spacing, alignment, structural helpers
   ============================================================ */

/* Spacing utilities */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.pt-20 { padding-top: 20px; }
.pt-40 { padding-top: 40px; }
.pb-20 { padding-bottom: 20px; }
.pb-40 { padding-bottom: 40px; }

/* Alignment utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Flex utilities */
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }

/* Width utilities */
.w-100 { width: 100%; }
.max-1200 { max-width: 1200px; margin: 0 auto; }

/* Divider line */
.divider {
    width: 100%;
    height: 2px;
    background-color: #800020; /* Deep Burgundy */
    margin: 30px 0;
}

/* ============================================================
   Block 10
   PRODUCT GRID & CARD SYSTEM — Stockdale Industries
   Clean, modern, responsive grid for products & capabilities
   ============================================================ */

/* Grid wrapper */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Card container */
.card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Card hover effect */
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Card image */
.card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Card title */
.card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000000;
}

/* Card description */
.card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #000000;
}

/* Card button */
.card .card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2F4F4F; /* Slate Green */
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: opacity 0.2s ease-in-out;
}

.card .card-button:hover {
    opacity: 0.8;
}

/* ============================================================
   Block 11
   FORMS & INPUTS — Stockdale Industries
   Clean, modern, federal‑grade form styling
   ============================================================ */

/* Form wrapper */
form {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Labels */
form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #000000;
}

/* Text inputs */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form input[type="password"],
form textarea,
form select {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border-radius: 6px;
    margin-bottom: 18px;
    background-color: #FFFFFF;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Focus state */
form input:focus,
form textarea:focus,
form select:focus {
    border-color: #2F4F4F; /* Slate Green */
    box-shadow: 0 0 4px rgba(47,79,79,0.4);
    outline: none;
}

/* Textarea */
form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Dropdown */
form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232F4F4F' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

/* Submit button */
form button,
form input[type="submit"] {
    display: inline-block;
    padding: 12px 26px;
    background-color: #2F4F4F; /* Slate Green */
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

form button:hover,
form input[type="submit"]:hover {
    opacity: 0.8;
}

/* ============================================================
   Block 12
   TABLES — Stockdale Industries
   Clean, modern, federal‑grade table styling
   ============================================================ */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #000000;
}

/* Table header */
table thead th {
    background-color: #2F4F4F; /* Slate Green */
    color: #FFFFFF;
    font-weight: 700;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 3px solid #800020; /* Deep Burgundy */
}

/* Table body cells */
table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #969696; /* Federal-grade Silver */
}

/* Alternating row shading */
table tbody tr:nth-child(even) {
    background-color: #F5F5F5;
}

/* Hover highlight */
table tbody tr:hover {
    background-color: #E8E8E8;
}

/* Optional: narrow columns */
.table-narrow td,
.table-narrow th {
    width: 120px;
}

/* Optional: centered columns */
.table-center td,
.table-center th {
    text-align: center;
}

/* ============================================================
   Block 13
   RESPONSIVE BEHAVIOR — Stockdale Industries
   Mobile, tablet, and widescreen layout protection
   ============================================================ */

/* ============================
   Mobile (max-width: 768px)
   ============================ */
@media (max-width: 768px) {

    /* Header spacing */
    header {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Navigation stack */
    .nav {
        flex-direction: column;
        gap: 16px;
        margin-top: 12px;
    }

    .nav a {
        font-size: 1rem;
    }

    /* Section padding */
    section {
        padding: 30px 16px;
    }

    /* Grid collapse */
    .grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Card adjustments */
    .card {
        padding: 18px;
    }

    .card h3 {
        font-size: 1.15rem;
    }

    /* Footer spacing */
    footer {
        padding: 25px 16px;
    }

    .footer-certifications {
        flex-direction: column;
        gap: 18px;
    }

    .footer-decal-row {
        flex-direction: column;
        gap: 14px;
    }

    /* Tables */
    table thead th,
    table tbody td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* ============================
   Tablet (769px–1024px)
   ============================ */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Slightly tighter header */
    header {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    /* Navigation spacing */
    .nav {
        gap: 22px;
    }

    /* Grid adjustments */
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 26px;
    }

    /* Footer adjustments */
    footer {
        padding: 28px 18px;
    }
}

/* ============================
   Widescreen (1400px+)
   ============================ */
@media (min-width: 1400px) {

    /* Slightly wider section max width */
    section,
    .container,
    .grid {
        max-width: 1400px;
    }

    /* Larger tagline */
    header .tagline {
        font-size: 1.45rem;
    }

    /* Navigation spacing */
    .nav {
        gap: 34px;
    }
}

/* ============================================================
   Block 14
   SPECIAL COMPONENTS — Stockdale Industries
   Alerts, banners, callouts, compliance notices (optional)
   ============================================================ */

/* General callout box */
.callout {
    background-color: #F5F5F5;
    padding: 18px 22px;
    margin: 25px 0;
    border-radius: 4px;
}

.callout h3 {
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.callout p {
    margin-bottom: 0;
}

/* SDVOSB highlight block */
.sdvosb-highlight {
    background-color: #800020; /* Deep Burgundy */
    color: #FFFFFF;
    padding: 22px 26px;
    border-radius: 6px;
    margin: 30px 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.sdvosb-highlight h2 {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.sdvosb-highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Compliance notice */
.compliance-box {
    background-color: #FFF8E1;
    padding: 18px 22px;
    border-radius: 4px;
    margin: 25px 0;
}

.compliance-box h3 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000;
}

.compliance-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Alert messages */
.alert {
    padding: 16px 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.alert-success {
    background-color: #E6F4EA;
    color: #1B5E20;
}

.alert-warning {
    background-color: #FFF4E5;
    color: #E65100;
}

.alert-danger {
    background-color: #FDECEA;
    color: #B71C1C;
}

/* Banner (full-width) */
.banner {
    width: 100%;
    background-color: #2F4F4F; /* Slate Green */
    color: #FFFFFF;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin: 30px 0;
}

.banner h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.banner p {
    margin: 0;
    font-size: 1rem;
}

/* ============================================================
   Block 15
   PRODUCTS PAGE LAYOUT — Stockdale Industries
   Grid layout, category cards, NAICS and PSC presentation
   ============================================================ */

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.products-grid > .product-category {
    flex: 0 0 calc(50% - 15px);
    box-sizing: border-box;
}    
    
.product-category ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.product-category li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-category li strong {
    flex: 0 0 55px;
    text-align: left;
}

.product-category li span {
    flex: 1;
}

.naics-code {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

@media (max-width: 900px) {
    .products-grid > .product-category {
        flex: 0 0 100%;
    }
}

/* ============================================================
   Block 16
   PRODUCTS PAGE NAVIGATION
   ============================================================ */

.products-nav {
    columns: 2;
    column-gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-nav li {
    margin-bottom: 12px;
}

.products-nav a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.products-nav a:hover {
    opacity: 0.85;
}
