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

:root {
    --primary: #1B75BC;
    --primary-dark: #1560A0;
    --primary-light: #5BA4D8;
    --dark: #0D1B2A;
    --dark-2: #132233;
    --body-text: #1E293B;
    --text-muted: #64748B;
    --light-bg: #F0F6FC;
    --white: #FFFFFF;
    --border: #CBD5E0;
    --card-shadow: 0 4px 24px rgba(27, 117, 188, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--body-text);
    line-height: 1.6;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #D6DDE5;
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.10); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }

/* Nav logo: white background — show natural brand colors, no filter */
.nav .nav-logo img { height: 90px; width: auto; }

/* Footer logo: dark background — invert to white */
.footer .nav-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 0.85rem;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--body-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 0.55rem 1.4rem;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--body-text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
    background: var(--dark);
    padding: 11.5rem 0 6.5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(27,117,188,0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(27,117,188,0.09) 0%, transparent 45%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    position: relative; z-index: 1;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}
.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.25rem);
    font-weight: 800;
    color: white;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    max-width: 820px;
}
.hero h1 em {
    font-style: normal;
    color: var(--primary-light);
}
.hero-tagline {
    display: inline-block;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 500;
    color: white;
    border-left: 3px solid var(--primary-light);
    padding-left: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,117,188,0.4);
}
.btn-outline-light {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.07);
    color: white;
}
.btn-white { background: white; color: var(--primary); }
.btn-white:hover {
    background: rgba(255,255,255,0.92);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── Stats Bar ── */
.stats-bar {
    background: var(--primary);
    padding: 1.75rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.stat-item strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.35rem;
}
.stat-item span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.72);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Section Base ── */
section { padding: 5.5rem 0; }

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 20px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 0.9rem;
    line-height: 1.2;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.75;
}
.section-header { margin-bottom: 3rem; }

/* ── Services Grid (Home Preview) ── */
.services-section { background: var(--light-bg); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
    display: block;
    text-decoration: none;
    color: inherit;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(27,117,188,0.18);
}
.service-icon {
    width: 54px; height: 54px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    color: var(--primary);
}
.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--body-text);
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Pillars / Why Koehl ── */
.why-section { background: white; }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 1rem;
}
.pillar { text-align: center; }
.pillar-icon {
    width: 76px; height: 76px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
}
.pillar h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--body-text);
}
.pillar p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ── CTA Band ── */
.cta-band {
    background: var(--primary);
    padding: 4.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.cta-band h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    position: relative;
}
.cta-band p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 2.25rem;
    font-size: 1.05rem;
    position: relative;
}

/* ── Footer ── */
.footer {
    background: var(--dark);
    padding: 3.5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-tagline {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.32);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.footer-heading {
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }

.footer-social { display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.social-link {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.social-link:hover { background: var(--primary); color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.5rem;
    font-size: 0.82rem;
    text-align: center;
    color: rgba(255,255,255,0.28);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
    background: var(--dark);
    padding: 10rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 25% 50%, rgba(27,117,188,0.13) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}
.page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 560px;
    line-height: 1.7;
}

/* ── Services Detail Page ── */
.services-detail { background: white; }

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.service-detail-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(203,213,224,0.7);
    transition: box-shadow 0.25s;
}
.service-detail-card:hover {
    box-shadow: 0 12px 40px rgba(27,117,188,0.12);
}
.service-detail-card .service-icon { background: white; }
.service-detail-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 0.65rem;
}
.service-desc {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.35rem;
    font-size: 0.95rem;
}
.service-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.service-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--body-text);
}
.service-bullets li::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 0.42rem;
}

/* ── About Page ── */
.about-section { background: white; }
.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 5rem;
    align-items: start;
}
.about-photo-wrap { position: sticky; top: 108px; }
.about-photo-wrap img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(27,117,188,0.22);
    display: block;
}
.about-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--body-text);
    margin-top: 1.35rem;
    margin-bottom: 0.25rem;
}
.about-role { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

.about-text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.15rem);
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 1.75rem;
    line-height: 1.25;
}
.about-text p {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.about-text p.industry-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1.75rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}
.expertise-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--body-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.expertise-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
    background: var(--light-bg);
    color: var(--primary);
    border: 1px solid rgba(27,117,188,0.22);
    border-radius: 100px;
    padding: 0.38rem 1rem;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Contact Page ── */
.contact-section { background: var(--light-bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
}
.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--body-text);
}
.contact-card > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 2rem;
    line-height: 1.65;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: var(--light-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.2s;
}
.contact-item:hover .contact-icon { background: var(--primary); color: white; }
.contact-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.contact-value {
    font-weight: 600;
    color: var(--body-text);
    font-size: 0.97rem;
}

.contact-context h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.contact-context p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.97rem;
}
.work-with-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.work-with-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: var(--body-text);
    font-weight: 500;
}
.work-with-list li i {
    width: 32px; height: 32px;
    background: var(--light-bg);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

/* ── Credentials Strip (About page) ── */
.credentials-strip {
    background: var(--light-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.credential-item strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.credential-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ── Education & Certifications (About page) ── */
.education-section { background: var(--light-bg); }

.edu-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.edu-card {
    background: white;
    border-radius: 12px;
    padding: 1.65rem;
    border: 1px solid var(--border);
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}
.edu-icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    background: var(--light-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}
.edu-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
.edu-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
.edu-year {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 0.3rem;
    display: block;
}
.award-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 1.65rem;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    grid-column: span 2;
}
.award-card .edu-icon {
    background: rgba(255,255,255,0.15);
    color: white;
}
.award-card h4 { color: white; }
.award-card p { color: rgba(255,255,255,0.8); }
.award-card .edu-year { color: rgba(255,255,255,0.65); }

@media (max-width: 768px) {
    .credentials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .edu-cert-grid { grid-template-columns: 1fr; }
    .award-card { grid-column: span 1; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > *:first-child { grid-column: 1 / -1; }
    .about-grid { grid-template-columns: 240px 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 120px; left: 0; right: 0;
        background: #D6DDE5;
        flex-direction: column;
        padding: 1.75rem 2rem;
        gap: 1.35rem;
        border-bottom: 1px solid var(--border);
        align-items: flex-start;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .hero { padding: 7.5rem 0 4.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .service-detail-grid { grid-template-columns: 1fr; }

    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-photo-wrap { position: static; max-width: 260px; }

    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    section { padding: 4rem 0; }
}
