@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

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

:root {
    --navy:        #071728;
    --blue-deep:   #1a3a6e;
    --brand:       #4675ab;
    --brand-mid:   #2d5488;
    --sky:         #60a5fa;
    --sky-dim:     rgba(96,165,250,0.15);
    --white:       #ffffff;
    --off-white:   #f8fafc;
    --slate:       #f1f5f9;
    --text:        #0f172a;
    --muted:       #64748b;
    --border:      #e2e8f0;
    --shadow:      0 4px 24px rgba(0,0,0,0.09);
    --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
}

html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: 'Inter', 'Segoe UI', sans-serif; color: var(--text); line-height: 1.7; background: var(--white); }
img   { max-width: 100%; height: auto; }
p     { line-height: 1.75; }
h1,h2,h3 { line-height: 1.2; }

/* ── Container ──────────────────────────────────── */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Navigation ─────────────────────────────────── */
#site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

#site-nav.scrolled {
    background: rgba(7, 23, 40, 0.96);
    box-shadow: 0 2px 24px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand img { height: 52px; width: auto; display: block; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 0.2rem; }

.nav-links a {
    display: block;
    padding: 0.45rem 0.9rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    border-radius: 7px;
    transition: color 0.18s, background 0.18s;
}

.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }

.nav-cta {
    background: var(--brand) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.45rem 1.1rem !important;
}
.nav-cta:hover { background: var(--brand-mid) !important; }

/* ── Eyebrow ────────────────────────────────────── */
.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand);
    margin-bottom: 0.65rem;
}
.eyebrow-light { color: var(--sky); }

/* ── Buttons ────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 16px rgba(70,117,171,0.45);
}
.btn-primary:hover {
    background: var(--brand-mid);
    box-shadow: 0 6px 24px rgba(70,117,171,0.55);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.88);
    border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.75); color: #fff; background: rgba(255,255,255,0.07); }

.btn-outline-light {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

.btn-white {
    background: #fff;
    color: var(--blue-deep);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,23,40,0.85) 0%, rgba(26,58,110,0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin-bottom: 2.25rem;
}

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

/* ── Stats Strip ────────────────────────────────── */
.stats-strip {
    background: var(--brand);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.78);
    font-weight: 500;
}

/* ── Section Base ───────────────────────────────── */
.section { padding: 6rem 0; }
.section-white  { background: var(--white); }
.section-slate  { background: var(--slate); }
.section-navy   { background: var(--navy); }
.section-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
    text-align: center;
}

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

.section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-header.center p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto;
}

.section-header.light h2 { color: #fff; }
.section-header.light p  { color: rgba(255,255,255,0.68); }

/* ── Mission / About ────────────────────────────── */
.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.mission-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
}

.mission-text p { color: var(--muted); margin-bottom: 1rem; }
.mission-text p:last-of-type { margin-bottom: 1.5rem; }

.mission-image {
    position: relative;
}

.mission-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.link-arrow {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}
.link-arrow:hover { text-decoration: underline; }

/* ── Services ───────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: background 0.2s, transform 0.2s;
}

.service-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding: 11px;
    flex-shrink: 0;
}

.service-icon svg { width: 100%; height: 100%; stroke: #fff; }

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
}

/* ── Markets ────────────────────────────────────── */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}

.market-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid var(--brand);
}

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

.market-icon { font-size: 2.2rem; margin-bottom: 0.9rem; display: block; }

.market-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.9rem;
}

.market-card ul { list-style: none; }

.market-card li {
    padding: 0.28rem 0 0.28rem 1.1rem;
    position: relative;
    font-size: 0.875rem;
    color: var(--muted);
}

.market-card li::before { content: '›'; position: absolute; left: 0; color: var(--brand); font-weight: bold; }

/* ── Team ───────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.team-card {
    background: var(--off-white);
    border-radius: 18px;
    padding: 2.25rem;
    display: flex;
    gap: 1.75rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--brand);
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.team-avatar {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--blue-deep) 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(70,117,171,0.35);
}

.team-info h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.15rem; }

.team-role {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
    margin-bottom: 0.35rem;
}

.team-email {
    display: inline-block;
    font-size: 0.83rem;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 1rem;
}
.team-email:hover { color: var(--brand); }

.team-bio {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 0.9rem;
}

/* ── Projects ───────────────────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.75rem;
}

.project-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.85rem;
    transition: background 0.2s, transform 0.2s;
}

.project-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }

.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sky);
    background: var(--sky-dim);
    border-radius: 5px;
    padding: 0.22rem 0.65rem;
    margin-bottom: 0.8rem;
}

.project-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }

.project-card p { font-size: 0.875rem; color: rgba(255,255,255,0.58); line-height: 1.65; }

.center-link { text-align: center; }

/* ── CTA Section ────────────────────────────────── */
.cta-content { max-width: 640px; margin: 0 auto; }

.cta-content h2 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.cta-content p { color: rgba(255,255,255,0.72); font-size: 1.1rem; margin-bottom: 2.25rem; }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
    background: #040e1c;
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    text-align: center;
}

.footer-brand img { height: 58px; width: auto; opacity: 0.8; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.2rem; justify-content: center; }

.footer-nav a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    font-size: 0.875rem;
    border-radius: 5px;
    transition: color 0.18s;
}
.footer-nav a:hover { color: #fff; }

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.38); }

/* ════════════════════════════════════════════════
   Inner Pages (management-team, recent-projects, etc.)
   ════════════════════════════════════════════════ */

/* Inner page nav — always dark since there's no hero */
.inner-page #site-nav { background: var(--navy); }

.inner-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
    padding: 9rem 0 3.5rem;
    color: #fff;
}

.inner-header h1 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.inner-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 560px;
}

.inner-main {
    max-width: 880px;
    margin: 4rem auto;
    padding: 0 2rem 6rem;
}

/* inner team member cards */
.bio-card {
    background: var(--off-white);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    border-left: 5px solid var(--brand);
}

.bio-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.bio-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--blue-deep));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(70,117,171,0.35);
}

.bio-card-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.bio-role {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
    margin-bottom: 0.35rem;
}

.bio-email a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}
.bio-email a:hover { color: var(--brand); }

.bio-card p { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; }
.bio-card p:last-child { margin-bottom: 0; }

/* inner project cards */
.detail-project {
    background: var(--off-white);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--brand);
}

.detail-project h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.5rem;
}

.detail-project p { font-size: 0.95rem; color: var(--muted); }

/* inner capabilities/markets grid */
.inner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.inner-group {
    background: var(--off-white);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.inner-group h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.75rem;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid #dbeafe;
}

.inner-group ul { list-style: none; }

.inner-group li {
    padding: 0.28rem 0 0.28rem 1.1rem;
    position: relative;
    font-size: 0.88rem;
    color: var(--muted);
}
.inner-group li::before { content: '›'; position: absolute; left: 0; color: var(--brand); font-weight: bold; }

/* contact inner page */
.contact-block {
    background: var(--off-white);
    border-radius: 18px;
    padding: 3rem;
    box-shadow: var(--shadow);
    max-width: 600px;
}

.contact-block p { font-size: 1.1rem; color: var(--muted); }
.contact-block a { color: var(--brand); font-weight: 600; text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
