:root {
    --navy-900: #061528;
    --navy-800: #0b2343;
    --navy-700: #12345b;
    --blue-500: #1f7aec;
    --blue-400: #4ea3ff;
    --blue-100: #e8f1ff;
    --sand: #f4f7fb;
    --white: #ffffff;
    --text: #1b2738;
    --muted: #4f5f73;
    --border: #d9e2ef;
    --shadow: 0 14px 40px rgba(8, 21, 40, 0.12);
    --radius: 14px;
}

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

body {
    font-family: 'Manrope', 'Space Grotesk', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.tinted {
    background: var(--sand);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 0.9rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--blue-500), #0f5ed3);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-ghost {
    border-color: var(--border);
    color: var(--text);
    background: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn.full {
    width: 100%;
    justify-content: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blue-500);
    margin-bottom: 12px;
}

.lead {
    color: var(--muted);
    max-width: 640px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 226, 239, 0.8);
    transition: box-shadow 0.25s ease, padding 0.2s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(6, 21, 40, 0.08);
}

.header-row {
    height: 80px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.brand img {
    height: auto;
    width: 35%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text small {
    display: block;
    font-weight: 600;
    color: var(--muted);
    font-size: 0.85rem;
}

.nav-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-links a {
    padding: 10px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: var(--blue-500);
    transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-phone {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--blue-100);
    color: var(--navy-800);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin-top: 80px;
    /* Header height */
}

.page-header .overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 21, 40, 0.7);
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 10px;
}

/* Content Block */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--muted);
    text-align: justify;
    line-height: 1.8;
}

.content-block h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--navy-900);
    margin: 40px 0 20px;
    text-align: left;
}

.content-block ul {
    margin-bottom: 24px;
    padding-left: 20px;
    color: var(--muted);
    text-align: left;
}

.content-block li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    padding-top: 110px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 640px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 21, 40, 0.82), rgba(6, 21, 40, 0.35));
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    padding: 40px 0 80px;
}

.hero-copy h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-copy .lead {
    color: #d9e2ef;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 700;
    color: #d9e2ef;
}

.hero-meta i {
    color: var(--blue-400);
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.hero-card .card-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.9;
}

.hero-card .metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 18px 0;
}

.hero-card .metric h3 {
    font-size: 1.8rem;
}

.hero-card .metric p {
    color: #d9e2ef;
    font-size: 0.95rem;
}

.hero-card .card-list {
    display: grid;
    gap: 10px;
    color: #d9e2ef;
}

.hero-card i {
    color: var(--blue-400);
    margin-right: 8px;
}

.hero-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 700;
    margin-top: 14px;
}

.hero-controls {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.hero-controls-group {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy-900);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-control:hover {
    background: var(--blue-500);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--blue-500);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-dot.is-active {
    width: 26px;
    background: var(--white);
}

/* Two column */
.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    align-items: start;
    /* Changed from center to start for top alignment */
}

.visual {
    position: relative;
}

.image-stack {
    position: relative;
}

.image-stack .main {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-stack .accent {
    position: absolute;
    bottom: -28px;
    right: -24px;
    width: 55%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
}

.floating-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(6, 21, 40, 0.05);
    border: 1px solid var(--border);
    margin: 24px 0;
}

.floating-card h3 {
    margin-bottom: 12px;
}

.floating-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.floating-card i {
    color: var(--blue-500);
    margin-right: 8px;
}

.content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 14px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.stat {
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    text-align: center;
}

.stat span {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--navy-800);
    display: block;
}

/* Services */
.section-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.section-heading .lead {
    color: var(--muted);
    line-height: 1.6;
}

.section-heading .slider-actions {
    justify-self: end;
    display: flex;
    gap: 10px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 280px;
    box-shadow: 0 10px 26px rgba(6, 21, 40, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(6, 21, 40, 0.15);
    filter: brightness(1.05);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 21, 40, 0.65) 0%, rgba(6, 21, 40, 0.50) 100%);
    transition: background 0.3s ease;
}

.service-card:hover .service-overlay {
    background: linear-gradient(135deg, rgba(6, 21, 40, 0.58) 0%, rgba(6, 21, 40, 0.45) 100%);
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.service-content>div {
    display: grid;
    gap: 12px;
}

.service-card h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.service-card p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-card ul {
    display: none;
}

.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Projects */
.project-slider {
    position: relative;
    overflow: hidden;
}

.project-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
}

.project-track::-webkit-scrollbar {
    height: 8px;
}

.project-track::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 99px;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(6, 21, 40, 0.06);
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.project-card .image {
    height: 170px;
    background-size: cover;
    background-position: center;
}

.project-copy {
    padding: 16px;
    display: grid;
    gap: 10px;
    flex: 1;
}

.project-copy p {
    color: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tags span {
    background: linear-gradient(135deg, var(--blue-500), #0f5ed3);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(31, 122, 236, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 122, 236, 0.35);
}

.slider-actions button,
.project-control {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(6, 21, 40, 0.08);
    transition: all 0.2s ease;
}

.slider-actions button:hover,
.project-control:hover {
    background: var(--blue-500);
    color: var(--white);
    border-color: var(--blue-500);
    transform: translateY(-2px);
}

/* Process / Methodology */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.process-step {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(6, 21, 40, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--blue-500), var(--blue-400));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(6, 21, 40, 0.12);
    border-color: var(--blue-400);
}

.process-step:hover::before {
    opacity: 1;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-500), #0f5ed3);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(31, 122, 236, 0.3);
    align-self: flex-start;
}

.process-step h3 {
    line-height: 1.3;
    font-size: 1.2rem;
    color: var(--navy-900);
    margin-top: 4px;
}

.process-step p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    padding: 80px 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
}

.cta h2 {
    line-height: 1.2;
}

.cta .lead {
    color: #c8d7ef;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

/* Contact */
.contact {
    background: var(--sand);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 10px;
}

.info-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.info-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
}

.info-item i {
    color: var(--blue-500);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 12px 30px rgba(6, 21, 40, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-group {
    display: grid;
    gap: 6px;
}

.form-group label {
    font-weight: 700;
    color: var(--navy-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f9fbff;
    font-family: inherit;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(31, 122, 236, 0.15);
    background: var(--white);
}

/* Footer */
.footer {
    background: var(--navy-900);
    color: #c3d0e6;
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    align-items: start;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer a:hover {
    color: var(--blue-400);
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    color: var(--white);
}

.small {
    font-size: 0.9rem;
    color: #a7b8d6;
    margin-top: 10px;
}

/* Responsive */
/* About Slider */
.about-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.about-control {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    color: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.about-control:hover {
    background: var(--blue-500);
    color: var(--white);
}

@media (max-width: 1024px) {
    .header-row {
        grid-template-columns: 1fr auto;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 14px 6vw;
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

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

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

    .hero-card {
        margin-top: 10px;
    }

    .section-heading {
        grid-template-columns: 1fr;
    }

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

    .contact-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

    .floating-card {
        margin: 20px 0;
    }

    .image-stack .accent {
        position: relative;
        bottom: 0;
        right: 0;
        width: 80%;
        margin-top: -40px;
        margin-left: auto;
        z-index: 2;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 96px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1;
        justify-content: center;
    }

    .header-actions .link-phone {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .project-track {
        grid-auto-columns: 90%;
    }
}