/* Finer Focus Solutions - Main Stylesheet */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

p {
    padding: .5rem 0;
}

/* Header and Navigation */
header {
    background-image: url('images/team-swarming-organically.png');
    background-size: cover;
    background-position: center center;
    color: white;
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 1.5rem;
    font-weight: light;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.nav-links a, .logo a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.nav-links a:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Home Page Styles */
.hero {
    text-align: center;
    padding: 1.5rem 0;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

.hero h1 {
    font-size: 2rem;
    color: #2c5282;
    margin-bottom: 1rem;
}

.motto {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.banner {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1rem 0;
}

.services-wide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 1rem 0;
}

.services-extrawide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 2rem;
    margin: 1rem 0;
}

.service-card {
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #2c5282;
    margin-bottom: 1rem;
}

#ai-summary {
    padding: 3rem 0;
}

/* Capabilities Page */
.capabilities-section {
    margin: 3rem 0;
}

.pdf-embed {
    width: 100%;
    height: 800px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 1rem 0;
}

.pdf-link {
    display: inline-block;
    background: #2c5282;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    margin: 1rem 0;
    transition: background 0.3s;
}

.pdf-link:hover {
    background: #1a365d;
}

/* About Page */
.founder {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin: 3rem 0;
    align-items: start;
}

.founder:nth-child(even) {
    grid-template-columns: 1fr 300px;
}

.founder:nth-child(even) .founder-image {
    order: 2;
}

.founder-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.founder-info h3 {
    color: #2c5282;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #1a202c;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #90cdf4;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Utility Classes */
.page-title {
    color: #2c5282;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #90cdf4;
}

.hidden {
    display: none;
}

/* Government Contracting Specific Styles */
.gov-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.gov-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.certification-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.badge {
    background: white;
    color: #2c5282;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-reference {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
    margin: 2rem 0;
}

.quick-reference h3 {
    color: #2c5282;
    margin-bottom: 1rem;
}

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

.reference-item {
    padding: 1rem;
    background: white;
    border-radius: 4px;
}

.reference-item strong {
    color: #2c5282;
    display: block;
    margin-bottom: 0.5rem;
}

.past-performance {
    margin: 3rem 0;
}

.performance-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.performance-card h4 {
    color: #2c5282;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.metric {
    display: inline-block;
    background: #e6f2ff;
    color: #2c5282;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 0.5rem 0.5rem 0.5rem 0;
    font-weight: bold;
}

.cta-section {
    background: #2c5282;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 3rem 0;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #2c5282;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(44, 82, 130, 0.95);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        display: none;
        z-index: 2;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1, .gov-hero h1 {
        font-size: 2rem;
    }

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

    .founder:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .founder:nth-child(even) .founder-image {
        order: 0;
    }

    .pdf-embed {
        height: 600px;
    }

    .certification-badges {
        flex-direction: column;
        align-items: center;
    }

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