:root {
    --bg: #f5efe5;
    --bg-soft: #fffaf3;
    --surface: rgba(255, 255, 255, 0.76);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --ink: #122033;
    --muted: #5f6c7f;
    --line: rgba(18, 32, 51, 0.1);
    --accent: #d6692c;
    --accent-2: #0f766e;
    --accent-3: #204fcf;
    --shadow: 0 24px 80px rgba(17, 24, 39, 0.12);
    --shadow-soft: 0 14px 34px rgba(17, 24, 39, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 10%, rgba(214, 105, 44, 0.18), transparent 24%),
        radial-gradient(circle at 88% 8%, rgba(15, 118, 110, 0.14), transparent 22%),
        linear-gradient(180deg, #fcf6ed 0%, var(--bg) 38%, var(--bg-soft) 100%);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 32, 51, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 32, 51, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 72%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: auto -10rem -12rem auto;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(32, 79, 207, 0.12), transparent 68%);
    filter: blur(14px);
    pointer-events: none;
    z-index: -1;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
}

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

textarea {
    resize: vertical;
}

:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.24);
    outline-offset: 3px;
}

::selection {
    background: var(--accent);
    color: #ffffff;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: padding 0.25s ease;
}

.navbar.scrolled {
    padding: 0.65rem 0;
}

.nav-container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.9rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-radius: 999px;
    background: rgba(255, 251, 245, 0.78);
    border: 1px solid rgba(18, 32, 51, 0.08);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo img {
    height: clamp(2.25rem, 4vw, 2.9rem);
    width: auto;
    object-fit: contain;
}

.nav-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 2.8vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
}

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

.nav-item {
    display: flex;
}

.nav-link {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    color: rgba(18, 32, 51, 0.82);
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.32rem;
    border: 1px solid rgba(18, 32, 51, 0.08);
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.bar {
    width: 1.15rem;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 6rem auto auto 7%;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 105, 44, 0.18), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.hero-container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 42rem;
    position: relative;
    z-index: 2;
}

.hero-title,
.section-header h2,
.about-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.05em;
    line-height: 0.96;
}

.hero-title {
    max-width: 12ch;
    font-size: clamp(3rem, 7vw, 5.4rem);
    margin-bottom: 1.5rem;
}

.hero-description {
    max-width: 34rem;
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0 1.55rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--ink), #243753);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 24px 46px rgba(17, 24, 39, 0.24);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.65);
    color: var(--ink);
    border: 1px solid rgba(18, 32, 51, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.hero-image {
    position: relative;
    min-height: 30rem;
    z-index: 2;
}

.hero-image::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-image::after {
    width: 14rem;
    height: 14rem;
    right: 0;
    bottom: 1rem;
    background: radial-gradient(circle, rgba(32, 79, 207, 0.16), transparent 70%);
    filter: blur(16px);
    z-index: 0;
}

.hero-graphic {
    position: relative;
    height: 100%;
    min-height: 30rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background:
        linear-gradient(145deg, rgba(18, 32, 51, 0.84), rgba(28, 57, 96, 0.5)),
        url("technology tree 3.png") center calc(58% + 8px) / min(85%, 28rem) no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
        linear-gradient(145deg, rgba(18, 32, 51, 0.95), rgba(28, 57, 96, 0.88)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    box-shadow: 0 38px 84px rgba(17, 24, 39, 0.22);
    z-index: 1;
}

.hero-graphic::before {
    content: '';
    position: absolute;
    inset: 2rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 2;
}

.hero-graphic::after {
    content: '';
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 2.5rem rgba(255, 255, 255, 0.03),
        0 0 0 5rem rgba(255, 255, 255, 0.02);
    z-index: 2;
}

.hero-graphic i {
    position: relative;
    z-index: 1;
    font-size: clamp(5rem, 12vw, 8.5rem);
    color: #ffffff;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.services,
.about,
.careers,
.contact {
    position: relative;
    padding: 6rem 0;
}

.services {
    background: rgba(255, 255, 255, 0.28);
    border-top: 1px solid rgba(18, 32, 51, 0.06);
    border-bottom: 1px solid rgba(18, 32, 51, 0.06);
}

.section-header {
    max-width: 42rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2.35rem, 5vw, 3.8rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
}

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

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 2rem 1.7rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(18, 32, 51, 0.08);
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
    opacity: 0.9;
}

.service-card:nth-child(2n) {
    transform: translateY(1.2rem);
}

.service-card:hover {
    transform: translateY(-0.4rem);
    border-color: rgba(18, 32, 51, 0.14);
    box-shadow: 0 24px 58px rgba(17, 24, 39, 0.14);
}

.service-icon {
    width: 4.8rem;
    height: 4.8rem;
    margin-bottom: 1.5rem;
    border-radius: 1.5rem;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3), transparent 45%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 34px rgba(214, 105, 44, 0.18);
}

.service-icon i {
    font-size: 1.85rem;
    color: #ffffff;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    line-height: 1.08;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--muted);
}

.about {
    background:
        linear-gradient(135deg, rgba(18, 32, 51, 0.96), rgba(20, 47, 69, 0.94));
    color: #f8fafc;
}

.about::before {
    content: '';
    position: absolute;
    inset: auto auto 0 0;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 105, 44, 0.18), transparent 70%);
    transform: translate(-25%, 25%);
}

.about-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    gap: 2.2rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    margin-bottom: 1.3rem;
}

.about-text p {
    max-width: 40rem;
    color: rgba(248, 250, 252, 0.76);
    font-size: 1.08rem;
    margin-bottom: 2rem;
}

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

.stat {
    padding: 1.2rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.stat p {
    color: rgba(248, 250, 252, 0.68);
    font-weight: 700;
    font-size: 0.95rem;
}

.about-image {
    min-height: 28rem;
}

.about-graphic {
    position: relative;
    height: 100%;
    min-height: 28rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
        radial-gradient(circle at top right, rgba(214, 105, 44, 0.3), transparent 32%),
        radial-gradient(circle at bottom left, rgba(32, 79, 207, 0.24), transparent 30%);
}

.about-graphic::before {
    content: '';
    position: absolute;
    inset: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-graphic i {
    position: relative;
    z-index: 1;
    font-size: clamp(5rem, 12vw, 7.5rem);
    color: #ffffff;
}

.careers {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 22%, rgba(214, 105, 44, 0.12), transparent 18%),
        radial-gradient(circle at 86% 10%, rgba(32, 79, 207, 0.12), transparent 16%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 250, 243, 0.78));
}

.careers::before {
    content: '';
    position: absolute;
    inset: auto -6rem -7rem auto;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.16), transparent 68%);
    filter: blur(10px);
    pointer-events: none;
}

.careers-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
    gap: 1.3rem;
    align-items: start;
}

.career-spotlight {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(214, 105, 44, 0.34), transparent 28%),
        linear-gradient(145deg, rgba(18, 32, 51, 0.98), rgba(27, 49, 82, 0.94));
    color: #f8fafc;
    box-shadow: 0 34px 72px rgba(17, 24, 39, 0.2);
}

.career-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.8rem;
    margin-bottom: 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.career-spotlight h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.career-spotlight p {
    color: rgba(248, 250, 252, 0.76);
    margin-bottom: 1.75rem;
}

.career-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.9rem;
}

.career-perks span,
.job-badge,
.job-location {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.career-perks span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

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

.single-job-grid {
    grid-template-columns: 1fr;
}

.job-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.55rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(18, 32, 51, 0.08);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.job-card:hover {
    transform: translateY(-0.3rem);
    border-color: rgba(18, 32, 51, 0.14);
    box-shadow: 0 26px 56px rgba(17, 24, 39, 0.12);
}

.job-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-badge {
    background: rgba(214, 105, 44, 0.12);
    color: var(--accent);
}

.job-location {
    background: rgba(32, 79, 207, 0.1);
    color: var(--accent-3);
}

.job-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    line-height: 1.08;
    margin-bottom: 0.75rem;
}

.job-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.job-points {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.job-points li {
    position: relative;
    padding-left: 1.1rem;
    color: rgba(18, 32, 51, 0.78);
}

.job-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transform: translateY(-50%);
}

.job-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    font-weight: 800;
    color: var(--accent-3);
}

.career-spotlight .btn-primary {
    background: linear-gradient(135deg, #ffffff, #e8eef9);
    color: var(--ink);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

.career-spotlight .btn-primary:hover {
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.22);
}

.job-link i {
    transition: transform 0.2s ease;
}

.job-card:hover .job-link i {
    transform: translateX(4px);
}

.contact {
    background: transparent;
}

.contact-content {
    max-width: 66rem;
    margin-top: 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    min-height: 100%;
    padding: 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(18, 32, 51, 0.08);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-soft);
}

.contact-item + .contact-item {
    border-top: 0;
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.3rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 14px 32px rgba(32, 79, 207, 0.18);
}

.contact-details h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-details p {
    color: var(--muted);
}

.footer {
    padding: 4rem 0 2rem;
    background: #101a2a;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.6rem;
}

.footer-section h4 {
    color: #d9e2f0;
}

.footer-section p {
    color: rgba(217, 226, 240, 0.7);
    max-width: 25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li + li {
    margin-top: 0.5rem;
}

.footer-section ul li a {
    color: rgba(217, 226, 240, 0.72);
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.social-links a {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(217, 226, 240, 0.64);
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 1, 0.22, 1), transform 0.7s cubic-bezier(0.2, 1, 0.22, 1);
}

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

@media screen and (max-width: 1080px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .careers-layout {
        grid-template-columns: 1fr;
    }

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

    .service-card:nth-child(2n) {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 820px) {
    .hero-graphic {
        background:
            linear-gradient(145deg, rgba(18, 32, 51, 0.84), rgba(28, 57, 96, 0.8)),
            linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
            url("technology tree 3.png") center 58% / min(74%, 24rem) no-repeat,
            linear-gradient(145deg, rgba(18, 32, 51, 0.95), rgba(28, 57, 96, 0.88)),
            linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        top: 5.6rem;
        left: 1rem;
        right: 1rem;
        display: grid;
        gap: 0.35rem;
        padding: 0.8rem;
        border-radius: 24px;
        background: rgba(255, 251, 245, 0.96);
        border: 1px solid rgba(18, 32, 51, 0.08);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .hero-container,
    .about-content,
    .careers-layout,
    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .hero-content,
    .hero-description {
        max-width: none;
    }

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

    .hero-title {
        max-width: none;
    }
}

@media screen and (max-width: 640px) {
    .hero-graphic {
        background:
            linear-gradient(145deg, rgba(18, 32, 51, 0.88), rgba(28, 57, 96, 0.84)),
            linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
            url("technology tree 3.png") center 58% / min(70%, 20rem) no-repeat,
            linear-gradient(145deg, rgba(18, 32, 51, 0.95), rgba(28, 57, 96, 0.88)),
            linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    }

    .container,
    .nav-container,
    .hero-container {
        width: min(var(--container), calc(100% - 1.25rem));
    }

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

    .hero-title {
        font-size: clamp(2.45rem, 12vw, 3.4rem);
    }

    .section-header h2,
    .about-text h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .services-grid,
    .about-stats,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        display: grid;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .service-card,
    .job-card,
    .contact-item {
        padding: 1.4rem;
    }

    .hero-graphic,
    .about-graphic {
        min-height: 22rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}
