:root {
    --primary-red: #CC0000;
    --primary-black: #0A0A0A;
    --light-gray: #F5F5F5;
    --medium-gray: #666666;
    --white: #FFFFFF;
    --accent-red: #E60000;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background: var(--white);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid #E0E0E0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary-red);
}

.cta-button {
    background: var(--primary-red);
    color: var(--white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23ffffff" fill-opacity="0.03"/></svg>');
    background-size: 60px 60px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-black);
}

/* Content Sections */
.section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.column-content h3 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.service-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-6px);
}

.service-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--primary-black);
    display: block;
}

.blog-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.blog-card-content {
    padding: 2rem;
}

.blog-card h3 {
    color: var(--primary-black);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* NAICS Section */
.naics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.naics-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.naics-code {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.naics-description {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* Certifications */
.certifications {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.cert-badge {
    text-align: center;
}

.cert-badge img {
    height: 150px;
    width: auto;
    margin-bottom: 1rem;
}

.cert-badge p {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0;
}

/* Partner Placeholder */
.partners-placeholder {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
    border: 2px dashed #D0D0D0;
}

.partners-placeholder p {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-content p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

/* Blog Post Page */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-meta {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E0E0E0;
}

.blog-post h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.blog-post h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .two-column,
    .services-grid,
    .blog-grid,
    .naics-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}
