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

:root {
    --primary: #0b63ce;
    --primary-dark: #073f88;
    --primary-light: #39a0ff;
    --navy: #07182f;
    --navy-soft: #0d2748;
    --text: #182235;
    --muted: #64748b;
    --white: #ffffff;
    --background: #f5f8fc;
    --surface: #ffffff;
    --border: #dce6f1;
    --shadow: 0 18px 45px rgba(7, 24, 47, 0.12);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(220, 230, 241, 0.85);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 240px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.brand-tagline {
    margin-top: 0.25rem;
    font-size: 0.7rem;
    color: var(--muted);
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.primary-navigation a {
    color: #334155;
    transition: color 0.2s ease;
}

.primary-navigation a:hover,
.primary-navigation a.active {
    color: var(--primary);
}

.primary-navigation .nav-button {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--white);
    background: var(--primary);
}

.primary-navigation .nav-button:hover {
    color: var(--white);
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin-block: 5px;
    background: var(--navy);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    color: var(--white);
    background:
        radial-gradient(circle at 75% 35%, rgba(57, 160, 255, 0.24), transparent 32%),
        linear-gradient(135deg, #06152a 0%, #0b2a51 54%, #0b63ce 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.hero h1,
.section-heading h2,
.cta-section h2 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    line-height: 1.12;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.7rem, 5.5vw, 5.1rem);
    letter-spacing: -0.04em;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero-description {
    max-width: 700px;
    margin: 1.6rem 0 0;
    color: #d6e4f5;
    font-size: 1.08rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--primary);
}

.button-primary:hover {
    background: var(--primary-light);
}

.button-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.button-light {
    color: var(--navy);
    background: var(--white);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.hero-highlights div {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-highlights strong,
.hero-highlights span {
    display: block;
}

.hero-highlights strong {
    font-family: "Poppins", sans-serif;
    color: var(--white);
}

.hero-highlights span {
    margin-top: 0.3rem;
    color: #bfd1e7;
    font-size: 0.78rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.logo-panel {
    width: min(100%, 470px);
    padding: 2.3rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
}

.logo-panel img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.section {
    padding: 6rem 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-heading > p:last-child {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.05rem;
}

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

.service-card {
    position: relative;
    min-height: 250px;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(7, 24, 47, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #a9c9ed;
    box-shadow: var(--shadow);
}

.card-number {
    color: var(--primary);
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.service-card h3,
.project-card h3 {
    margin: 1.2rem 0 0.8rem;
    color: var(--navy);
    font-family: "Poppins", sans-serif;
}

.service-card p,
.project-card p {
    margin: 0;
    color: var(--muted);
}

.featured-section {
    background: #eaf2fb;
}

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

.project-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 24, 47, 0.07);
}

.project-label {
    display: inline-flex;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: var(--primary-dark);
    background: #dcecff;
    font-size: 0.72rem;
    font-weight: 700;
}

.project-card a {
    display: inline-block;
    margin-top: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

.cta-section {
    padding: 4rem 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-section h2 {
    max-width: 760px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.site-footer {
    padding: 4rem 0 1.5rem;
    color: #c4d3e5;
    background: var(--navy);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
}

.footer-brand {
    color: var(--white);
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-grid p {
    max-width: 650px;
    margin: 0.8rem 0 0;
}

.footer-links {
    display: grid;
    gap: 0.7rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 1px);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .primary-navigation.open {
        display: flex;
    }

    .primary-navigation a {
        padding: 0.75rem;
    }

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

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-highlights {
        text-align: left;
    }

    .logo-panel {
        max-width: 430px;
    }

    .card-grid,
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .nav-container {
        min-height: 72px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-tagline {
        display: none;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .project-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 4.5rem 0;
    }
}