:root {
    --bg-main: #fafafa;
    --bg-card: #ffffff;
    --bg-border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-primary: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.25);
    --accent-secondary: #ea580c;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-main);
    background-image: 
        linear-gradient(var(--bg-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-border) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 80%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.2;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.mt-4 { margin-top: 2rem; }

#grid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-spacing {
    padding: 6rem 0;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #0f172a, var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.logo-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.45rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
    margin-top: 2px;
}


.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 2px solid var(--bg-border);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--bg-border);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
}

.btn-outline:hover {
    background: #f1f5f9;
}

.btn-block {
    display: block;
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 5%;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-industries {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.track-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.track-card {
    text-align: center;
    padding: 3.5rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.2);
}

.service-group-title {
    margin: 0 0 1.5rem;
    color: var(--accent-primary);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--bg-border);
    padding-bottom: 0.5rem;
    display: inline-block;
}
.small { font-size: 0.875rem; }
.text-secondary { color: var(--text-secondary); }

.track-tag {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.track-heading { margin-bottom: 1rem; }
.track-desc { margin-bottom: 2rem; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.service-pillar .service-group-title {
    margin-top: 0;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--bg-border);
}

.service-item:first-child {
    border-top: 1px solid var(--bg-border);
}

.service-item dt {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.service-item dd {
    margin: 0;
    font-size: 0.975rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
    border-left: 2px solid var(--bg-border);
    margin-bottom: 4rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2.85rem;
    width: 1.75rem;
    height: 1.75rem;
    background: #ffffff;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-primary);
}

.timeline-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.msa-box {
    background: #ffffff;
    border: 1px solid var(--bg-border);
    padding: 3rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.msa-box h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-primary);
    padding-left: 1.5rem;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.client-logo {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: var(--text-primary);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1px solid var(--bg-border);
}

.partner-panel {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    position: relative;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.05);
}

.partner-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Bio Section Styles */
.bio-section h1 {
    font-size: clamp(3rem, 6vw, 4rem);
    margin-bottom: 0.5rem;
}

.bio-subtitle {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 2rem;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.bio-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.bio-expertise {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.bio-expertise h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.bio-expertise ul {
    list-style: none;
}

.bio-expertise li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.bio-expertise li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.bio-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bio-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: #ffffff;
    border: 1px solid var(--bg-border);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.highlight-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.highlight-card p {
    font-size: 0.95rem;
}

.highlight-card.volunteer {
    background: #f8fafc;
    border-left: 4px solid var(--accent-primary);
}

@media (max-width: 992px) {
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.ecosystem {
    border-top: 1px solid var(--bg-border);
}

.footer {
    border-top: 1px solid var(--bg-border);
    background: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-pitch h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.footer-pitch .highlight {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.office-details h4 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.social-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.text-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--accent-glow);
    transition: var(--transition);
}

.text-link:hover {
    border-bottom-color: var(--accent-primary);
}

.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--bg-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: #f8fafc;
    border: 1px solid var(--bg-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.captcha-placeholder {
    margin-bottom: 2rem;
}

.recaptcha-box {
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    font-family: 'Roboto', sans-serif;
    color: #555;
    font-size: 14px;
}

.captcha-check {
    width: 24px;
    height: 24px;
    border: 2px solid #c1c1c1;
    background: #fff;
    border-radius: 2px;
}

.captcha-logo {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    color: #4a90e2;
}

.form-result {
    padding: 0.875rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.form-result--success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.form-result--error {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.privacy-content {
    max-width: 800px;
}

.privacy-body h2 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.privacy-body ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.privacy-body ul li {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ecosystem-grid,
    .footer-grid,
    .services-layout {
        grid-template-columns: 1fr;
    }
    .track-toggle {
        flex-direction: column;
    }
    .nav-links {
        display: none;
    }
}
