:root {
    --primary: #1d3b8f;
    /* deep bluish */
    --primary-soft: #e3ebff;
    --accent: #f97316;
    --bg: #f5f7fb;
    --bg-alt: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
}

/* Smooth scroll for in-page links */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Give anchor sections some margin so sticky header doesn't cover titles */
section {
    scroll-margin-top: 80px;
}

/* -------- Header / nav -------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.07);
}

.container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 0.75rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--primary);
    color: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.logo-text {
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #0f172a;
}

nav ul {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    font-size: 0.95rem;
}

nav a {
    text-decoration: none;
    color: #4b5563;
}

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

nav a.active {
    color: var(--primary);
    font-weight: 600;
}

/* -------- Hero -------- */

.hero {
    padding: 4rem 0 3.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.15rem, 3vw + 1.3rem, 3rem);
    margin-bottom: 0.8rem;
    color: #0f172a;
}

.hero-lead {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.3rem;
}

.btn {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition:
        transform 0.08s ease,
        box-shadow 0.08s ease,
        background 0.08s ease,
        color 0.08s ease,
        border-color 0.08s ease;
}

.btn-primary {
    background: var(--primary);
    color: #f9fafb;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.3);
}

.btn-ghost {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    font-size: 0.85rem;
}

.meta-label {
    display: block;
    color: var(--muted);
}

.meta-value {
    display: block;
    color: #111827;
    font-weight: 500;
}

/* Right side hero panel */

.hero-panel {
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
    border-radius: 1.5rem;
    padding: 1.75rem 1.6rem;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.hero-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
    color: #0f172a;
}

.hero-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.9rem;
}

.hero-benefits li {
    padding-left: 0.4rem;
    border-left: 2px solid rgba(37, 99, 235, 0.4);
}

.hero-benefits p {
    color: #4b5563;
}

.tag {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: var(--primary);
}

/* -------- Sections generic -------- */

section {
    padding: 3.5rem 0;
}

.section-header {
    margin-bottom: 1.8rem;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.section-subtitle {
    font-size: 0.96rem;
    color: var(--muted);
    max-width: 620px;
}

/* -------- Stats strip -------- */

.stats-strip {
    background: #0f172a;
    color: #e5e7eb;
    padding: 1.6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    align-items: center;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 650;
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5f5;
}

.stat-hint {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* -------- Grids / cards -------- */

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

.card {
    background: var(--bg-alt);
    border-radius: 1rem;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
    border: 1px solid var(--border);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.card p {
    color: #4b5563;
}

/* -------- About -------- */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
}

.about-grid p {
    font-size: 0.98rem;
    color: #4b5563;
    margin-bottom: 0.8rem;
}

.about-aside {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.2rem 1.1rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.about-aside h3 {
    font-size: 1.02rem;
    margin-bottom: 0.4rem;
}

.about-aside ul {
    padding-left: 1.1rem;
    font-size: 0.94rem;
    color: #4b5563;
}

.about-aside li+li {
    margin-top: 0.4rem;
}

/* -------- Contact -------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-details p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-note {
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.75rem;
    background: #eff6ff;
    font-size: 0.9rem;
    color: #1e3a8a;
}

/* Contact form */

.contact-form {
    background: #ffffff;
    padding: 1.5rem 1.4rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    font-size: 0.95rem;
}

.field {
    margin-bottom: 0.9rem;
}

label {
    display: block;
    font-size: 0.84rem;
    margin-bottom: 0.25rem;
    color: #374151;
}

input,
textarea {
    width: 100%;
    border-radius: 0.6rem;
    border: 1px solid #d1d5db;
    padding: 0.55rem 0.7rem;
    font: inherit;
    outline: none;
    resize: vertical;
    background: #f9fafb;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.12);
    background: #ffffff;
}

textarea {
    min-height: 120px;
}

.small-print {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: var(--muted);
}

/* -------- Footer -------- */

footer {
    padding: 1.6rem 0 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.86rem;
    color: var(--muted);
    background: #ffffff;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    justify-content: space-between;
}

.footer-meta {
    font-style: italic;
}

/* -------- Responsive -------- */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        margin-top: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid,
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 0.9rem;
    }

    .hero {
        padding-top: 3rem;
    }
}

@media (max-width: 600px) {

    .stats-grid,
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .container {
        width: min(100% - 1.8rem, 640px);
    }
}