:root {
    /* Modern Clean Color Palette */
    --primary-color: #2563eb;
    /* Blue 600 */
    --primary-dark: #1d4ed8;
    /* Blue 700 */
    --primary-light: #3b82f6;
    /* Blue 500 */
    --secondary-color: #0f172a;
    /* Slate 900 */
    --secondary-light: #1e293b;
    /* Slate 800 */
    --accent-color: #f59e0b;
    /* Amber 500 */
    --accent-light: #fbbf24;
    /* Amber 400 */
    --success-color: #059669;
    /* Emerald 600 */

    /* Text Colors */
    --text-color: #111827;
    /* Gray 900 */
    --text-medium: #374151;
    /* Gray 700 */
    --text-light: #6b7280;
    /* Gray 500 */
    --light-text-color: #ffffff;

    /* Background Colors */
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    /* Gray 50 */
    --card-bg: #ffffff;
    --hero-bg: #0f172a;
    /* Slate 900 */

    /* Modern Shadows */
    --border-color: #e5e7eb;
    /* Gray 200 */
    --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.1);

    /* Clean Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing - Compacted */
    --section-padding: 60px 0;
    --section-padding-sm: 40px 0;

    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base font size */
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--light-text-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.section-title span {
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-title .fas {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 0.9em;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 80px;
        opacity: 1;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-family: var(--font-secondary);
    letter-spacing: 0.025em;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--box-shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
    background: #fff;
    color: #003366;
    border: 2px solid #003366;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #f4f7f6;
    color: #003366;
    outline: 2px solid #003366;
    outline-offset: 2px;
}

/* --- Header & Navigation --- */
#header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

#header.sticky {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--box-shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 1rem;
    /* Add padding for smaller screens */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width .3s;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero-section {
    background: var(--bg-color);
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--text-color);
    padding: 70px 0 40px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero overlay removed for white background */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-content .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-content .btn {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* --- Mission Section --- */
.mission-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 80, 158, 0.05);
    position: relative;
}

.mission-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.mission-content p {
    font-size: 1.15rem !important;
    color: #555 !important;
    line-height: 1.8 !important;
    margin-bottom: 0 !important;
}

/* --- What We Do Section --- */
.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 16px;
    align-items: start;
}

.service-column h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
    width: 100%;
}

.service-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.service-column {
    text-align: center;
    display: flex;
    flex-direction: column;
}


.service-card {
    background: var(--card-bg);
    padding: 24px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Why Choose Us Section --- */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.reason-item {
    background: var(--card-bg);
    padding: 24px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.reason-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--accent-color);
}

.reason-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 16px;
    line-height: 1;
    display: inline-block;
    transition: var(--transition);
}

.reason-item:hover .reason-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.reason-item h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.reason-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Contact Us Section --- */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 50px;
    font-weight: 500;
    line-height: 1.8;
}

.contact-details {
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 1.15rem;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 80, 158, 0.05);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.contact-info-item i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 20px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.contact-info-item p {
    margin-bottom: 0;
    color: var(--text-color);
}

.contact-info-item p strong {
    color: var(--secondary-color);
}

.contact-info-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info-item a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

.contact-info-item span {
    font-size: 0.85rem;
    color: #777;
    margin-left: 5px;
}


/* --- Footer --- */
#footer {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 40px 0;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-color);
}

#footer p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

#footer a {
    color: var(--primary-color);
    font-weight: 500;
}

#footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-column:not(:last-child) {
        margin-bottom: 40px;
    }

    :root {
        --section-padding: 50px 0;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    /* Adjust base font for smaller screens */
    .navbar .container {
        padding: 0 10px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Below navbar */
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-bottom: 20px;
        /* Add some padding at the bottom */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 20px 0;
        /* Increased margin for better touch targets */
    }

    .nav-link {
        font-size: 1.1rem;
        /* Larger font for mobile menu */
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        min-height: 600px;
        height: auto;
        padding: 120px 0 80px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    :root {
        --section-padding: 40px 0;
    }

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

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-item i {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .reason-item {
        padding: 25px 20px;
    }
}

/* --- Cookie Consent Banner (ADA Compliant) --- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #003366;
    color: #fff;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    padding: 0;
    outline: none;
}

.cookie-consent-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 18px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-consent a {
    color: #fca311;
    text-decoration: underline;
}

.cookie-consent a:focus {
    outline: 2px solid #fca311;
    outline-offset: 2px;
}

.cookie-consent button {
    margin-left: 20px;
    min-width: 100px;
    font-size: 1rem;
    background: #fca311;
    color: #003366;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}

.cookie-consent button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.cookie-consent button:hover {
    background: #ffc107;
    color: #003366;
}

@media (max-width: 576px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-consent button {
        margin-left: 0;
    }
}

/* --- Footer Link Styles (ADA Compliant) --- */
.footer-link {
    color: var(--primary-color);
    text-decoration: underline;
    margin: 0 5px;
    font-size: 0.95rem;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--accent-color);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* --- Modal Styles (ADA Compliant) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    outline: none;
}

.modal-content {
    background: #fff;
    color: #003366;
    margin: 60px auto;
    padding: 30px 24px 24px 24px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    position: relative;
    outline: none;
}

.modal-content h2 {
    margin-top: 0;
    color: #00509e;
    font-size: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #003366;
    cursor: pointer;
    outline: none;
}

.modal-close:focus {
    color: #fca311;
    outline: 2px solid #fca311;
    outline-offset: 2px;
}

/* --- Capability Statement Page Styles --- */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.capability-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.capability-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.capability-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.capability-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capability-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
}

.capability-card ul li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.differentiators-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.differentiator-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.differentiator-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.differentiator-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.naics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.naics-item {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.naics-code {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.naics-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.info-item {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.past-performance-content {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 20px;
}

.past-performance-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #555;
}

@media (max-width: 768px) {

    .capability-grid,
    .differentiators-list,
    .naics-grid,
    .company-info-grid {
        grid-template-columns: 1fr;
    }

    .differentiator-item {
        padding: 15px;
    }

    .naics-item {
        padding: 15px;
    }

    .info-item {
        padding: 15px;
    }
}