:root {
    --bg-dark: #0f1923;
    --bg-card: rgba(18, 28, 40, 0.88);
    --bg-card-alt: rgba(0, 0, 0, 0.3);
    --bg-overlay: rgba(15, 25, 35, 0.95);
    --primary: #4a90b8;
    --accent: #c8a45c;
    --secondary: #7ba3be;
    --text: #e8ecf1;
    --text-muted: rgba(232, 236, 241, 0.7);
    --text-faint: rgba(232, 236, 241, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(74, 144, 184, 0.4);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --shadow-glow: rgba(74, 144, 184, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* Full-page background */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 25, 35, 0.85) 0%, rgba(15, 25, 35, 0.95) 50%, rgba(15, 25, 35, 0.98) 100%);
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.3);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--bg-overlay);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

/* Main Content */
.capabilities-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Company Header Section */
.company-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 2rem;
    justify-content: space-between;
}

.company-logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.company-info {
    text-align: center;
    flex: 1;
}

.company-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
}

.company-logo-light {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 12px;
}

.vosb-badge {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.company-info h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.company-info .tagline {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.company-info .entity-type {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

/* Section Styles */
.cap-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.cap-section-highlight {
    background: linear-gradient(135deg, rgba(18, 28, 40, 0.92) 0%, rgba(20, 38, 50, 0.92) 100%);
}

.cap-section h3 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-hover);
}

.cap-section p {
    color: rgba(232, 236, 241, 0.85);
    font-size: 1rem;
    line-height: 1.8;
}

.cap-section .spaced-bottom {
    margin-bottom: 1rem;
}

.cap-section .spaced-bottom-lg {
    margin-bottom: 1.5rem;
}

.cap-section .note-text {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-muted);
}

.cap-section .note-text-sm {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Company Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.data-item {
    background: var(--bg-card-alt);
    padding: 1.25rem;
    border-radius: 8px;
}

.data-item label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
}

.data-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

.data-item .value.text {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: #fff;
}

.data-item .value a,
.data-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.data-item .value a:hover,
.data-link:hover {
    color: var(--accent);
}

/* NAICS Table */
.naics-table {
    width: 100%;
    border-collapse: collapse;
}

.naics-table th {
    text-align: left;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.naics-table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.naics-table .code {
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-weight: 600;
    width: 100px;
}

.naics-table .primary {
    background: rgba(74, 144, 184, 0.1);
}

.naics-table .desc {
    color: var(--text-muted);
}

/* Capabilities List */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.capability-item .icon {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.capability-item .text {
    color: rgba(232, 236, 241, 0.9);
    font-size: 0.95rem;
}

/* Differentiators */
.differentiators-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diff-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.diff-item .number {
    width: 32px;
    height: 32px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-dark);
    flex-shrink: 0;
}

.diff-item .number-security {
    background: linear-gradient(135deg, var(--primary) 0%, #3a7a9e 100%);
}

.diff-item .number-governance {
    background: linear-gradient(135deg, var(--accent) 0%, #a88a3e 100%);
}

.diff-item .content h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.diff-item .content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.diff-item .content .detail-link {
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.diff-item .content .detail-link:hover {
    color: var(--accent);
}

/* Testimonial */
.testimonial-item {
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.testimonial-attribution {
    color: var(--accent);
    font-weight: 600;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-card-alt);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.contact-card .label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.75rem;
}

.contact-card .name {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-card .title {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.contact-card a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.two-col-spaced {
    margin-bottom: 1.5rem;
}

/* Print Button */
.print-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.print-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-faint);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary);
}

.footer-return {
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    nav {
        display: none;
    }

    .capabilities-page {
        padding: 6rem 1rem 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .company-header {
        flex-direction: column;
        text-align: center;
    }

    .company-logo-section {
        flex-direction: column;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .data-grid {
        grid-template-columns: 1fr 1fr;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    body {
        background: #fff;
        color: #222;
    }

    .bg-container {
        display: none;
    }

    header, footer, .print-section {
        display: none;
    }

    .capabilities-page {
        padding: 0;
        max-width: 100%;
    }

    .cap-section, .company-header {
        background: #fff;
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    .cap-section h3 {
        color: #1a3a5c;
        border-bottom-color: #1a3a5c;
    }

    .cap-section p {
        color: #222;
    }

    .page-header h1 {
        background: none;
        -webkit-text-fill-color: #1a3a5c;
        color: #1a3a5c;
    }

    .page-header .subtitle {
        color: #444;
    }

    .company-info h2 {
        color: #222;
    }

    .company-info .tagline {
        color: #1a3a5c;
    }

    .company-info .entity-type {
        color: #8a6d2b;
    }

    .data-item {
        background: #f5f5f5;
    }

    .data-item label {
        color: #555;
    }

    .data-item .value {
        color: #1a3a5c;
    }

    .data-item .value.text {
        color: #222;
    }

    .naics-table th {
        color: #555;
        border-bottom-color: #ccc;
    }

    .naics-table td {
        border-bottom-color: #eee;
    }

    .naics-table .code {
        color: #1a3a5c;
    }

    .naics-table .desc {
        color: #222;
    }

    .naics-table .primary {
        background: #eef4fa;
    }

    .capability-item {
        background: #f5f5f5;
        border-left-color: #8a6d2b;
    }

    .capability-item .icon {
        color: #8a6d2b;
    }

    .capability-item .text {
        color: #222;
    }

    .diff-item {
        background: #f5f5f5;
    }

    .diff-item .number {
        background: #1a3a5c;
        color: #fff;
    }

    .diff-item .content h4 {
        color: #222;
    }

    .diff-item .content p {
        color: #444;
    }

    .contact-card {
        background: #f5f5f5;
    }

    .contact-card .label {
        color: #555;
    }

    .contact-card .name {
        color: #222;
    }

    .contact-card .title {
        color: #8a6d2b;
    }

    .contact-card a {
        color: #1a3a5c;
    }
}
