@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --accent-gold: #D4AF37;
    --deep-charcoal: #1a1a1a;
    /* Updated to lighter charcoal */
    --soft-white: #fdfdfd;
    /* Updated to warmer white */
    --text-color: #333;
}

body {
    font-family: 'Inter', sans-serif;
    /* Updated to Inter */
    background-color: var(--soft-white);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.7;
    /* Increased line-height */
}

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Inter', sans-serif;
    /* Unified font for technical clarity */
    letter-spacing: -0.5px;
    font-weight: 700;
}

.hero-section {
    background: var(--deep-charcoal);
    color: white;
    padding: 160px 0 100px 0;
    /* Increased padding */
    position: relative;
}

.navbar {
    background: rgba(26, 26, 26, 0.98);
    /* Match deep-charcoal */
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1.5rem 0;
    /* Increased padding */
}

.gold-accent {
    color: var(--accent-gold);
}

.btn-missional {
    background: var(--accent-gold);
    color: #000;
    font-weight: 600;
    border-radius: 4px;
    /* Slight rounding for modern feel */
    padding: 16px 42px;
    border: none;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-missional:hover {
    background: #b8962d;
    transform: translateY(-2px);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.client-card {
    border: none;
    background: #fff;
    padding: 50px 40px;
    /* Increased padding */
    height: 100%;
    transition: 0.4s;
    border-bottom: 3px solid transparent;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
    border-radius: 8px;
}

.client-card:hover {
    border-bottom: 3px solid var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.expertise-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 40px;
    /* Increased padding */
    height: 100%;
    transition: 0.4s;
    border-bottom: 3px solid transparent;
    border-radius: 8px;
}

.expertise-card:hover {
    border-bottom: 3px solid var(--accent-gold);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
}

.stat-box {
    border-left: 3px solid var(--accent-gold);
    padding-left: 25px;
    margin-bottom: 2rem;
}

/* Section Spacing */
section {
    padding: 100px 0;
    /* Generous global padding */
}

#vision,
#portfolio {
    padding-top: 120px;
    padding-bottom: 120px;
}

#expertise,
#contact {
    padding-top: 120px;
    padding-bottom: 120px;
}

.border-gold {
    border: 1px solid var(--accent-gold) !important;
}

footer {
    background: var(--deep-charcoal);
    color: #999;
    padding: 100px 0 50px 0;
}

/* Accessibility: Skip Link & Focus States */
.visually-hidden-focusable:not(:focus):not(:active) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

*:focus-visible {
    outline: 3px solid var(--accent-gold) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.3) !important;
    /* Enhanced visibility */
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --deep-charcoal: #0a0a0a;
        /* Darker background */
        --soft-white: #121212;
        /* Dark background for body */
        --text-color: #e0e0e0;
        /* Light text */
    }

    body {
        background-color: var(--soft-white);
        color: var(--text-color);
    }

    .client-card,
    .expertise-card,
    .bg-light,
    .bg-white {
        background-color: #1e1e1e !important;
        /* Dark card background */
        color: #e0e0e0 !important;
        border-color: #333 !important;
    }

    .text-muted {
        color: #a0a0a0 !important;
    }

    .link-dark {
        color: var(--accent-gold) !important;
        /* Gold links in dark mode */
    }

    .border-gold {
        border-color: rgba(212, 175, 55, 0.5) !important;
    }

    /* Adjust navbar for dark mode cohesion */
    .navbar {
        background: rgba(10, 10, 10, 0.98);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 140px;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* FAQ Accordion Styling */
.accordion-item {
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: transparent;
    margin-bottom: 10px;
}

.accordion-button {
    background-color: transparent;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(212, 175, 55, 0.05);
    /* Very light gold tint */
    color: var(--text-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    border-color: var(--accent-gold);
}

.accordion-body {
    background-color: transparent;
    color: var(--text-color);
}

/* Dark mode overrides for FAQ */
@media (prefers-color-scheme: dark) {
    .accordion-item {
        border-color: rgba(212, 175, 55, 0.3);
    }

    .accordion-button:not(.collapsed) {
        background-color: rgba(212, 175, 55, 0.15);
        color: var(--text-color);
    }
}