:root {
    --nx-bg: #f6f5ff;
    --nx-bg-deep: #10092b;
    --nx-surface: #ffffff;
    --nx-surface-alt: #f2f0ff;
    --nx-text: #10092b;
    --nx-text-soft: #5c5a73;
    --nx-primary: #2f81ff;
    --nx-primary-dark: #2036b3;
    --nx-accent: #fe4eee;
    --nx-border: #d9d7ea;
    --nx-shadow: 0 16px 40px rgba(16, 9, 43, 0.14);
    --nx-radius: 16px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 8% -5%, #e7e3ff 0, transparent 40%), var(--nx-bg);
    color: var(--nx-text);
    line-height: 1.65;
}

img {
    max-width: 100%;
}

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

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

.site-main section {
    position: relative;
}

.topbar {
    background: linear-gradient(90deg, #10092b, #2f81ff);
    color: #eef3ff;
    font-size: 0.9rem;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.topbar-inner p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-inner a {
    color: #fff;
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background: linear-gradient(180deg, rgba(247, 248, 255, 0.95), rgba(236, 240, 255, 0.95));
    border-bottom: 1px solid rgba(186, 185, 214, 0.9);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 8px 20px rgba(16, 9, 43, 0.18);
    background: linear-gradient(180deg, rgba(242, 244, 255, 0.98), rgba(229, 233, 252, 0.98));
}

.header-row {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: #2036b3;
    flex: 0 0 auto;
}

.brand img {
    width: auto;
    height: clamp(30px, 2.8vw, 38px);
    max-width: min(146px, 18vw);
    border-radius: 0;
    object-fit: contain;
    display: block;
    filter: none;
}

.nav-links {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    align-items: center;
    gap: clamp(6px, 0.85vw, 14px);
    white-space: nowrap;
}

.nav-links a {
    color: #25214a;
    font-weight: 800;
    font-size: clamp(0.96rem, 1.02vw, 1.12rem);
    letter-spacing: 0.01em;
    padding: 8px 6px;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--nx-primary), var(--nx-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--nx-primary);
    background: rgba(47, 129, 255, 0.08);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.header-tools {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.search-shell {
    position: relative;
    width: clamp(180px, 15vw, 240px);
}

.search-shell i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b6788;
    z-index: 2;
}

.search-shell input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--nx-border);
    border-radius: 999px;
    padding: 0 14px 0 36px;
    font-size: 0.9rem;
    background: #fff;
    color: var(--nx-text);
}

.search-shell input:focus {
    outline: none;
    border-color: var(--nx-primary);
    box-shadow: 0 0 0 3px rgba(47, 129, 255, 0.18);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 14px;
    box-shadow: var(--nx-shadow);
    overflow: hidden;
    display: none;
    max-height: 350px;
    overflow-y: auto;
    z-index: 30;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: block;
    padding: 11px 14px;
    border-bottom: 1px solid #ebf2f9;
}

.search-result-item:hover {
    background: #f6faff;
}

.search-result-item:last-child {
    border-bottom: 0;
}

.result-title {
    font-weight: 700;
    color: #1f1b45;
    font-size: 0.9rem;
}

.result-description {
    color: #625e80;
    font-size: 0.82rem;
}

.result-tag {
    color: #8b33c3;
    font-size: 0.75rem;
    font-weight: 700;
}

.no-results {
    padding: 15px;
    color: #6d8297;
    text-align: center;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--nx-border);
    background: #fff;
    border-radius: 12px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #19395f;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    right: 0;
    top: 0;
    width: min(360px, 86vw);
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--nx-border);
    padding: 90px 20px 24px;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-search-shell {
    width: 100%;
    margin-bottom: 18px;
    display: block;
}

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

.mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #15375d;
    font-weight: 700;
}

.mobile-menu-links a:hover {
    background: #edf5ff;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary,
.btn.btn-primary {
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-accent));
    border: 0;
    color: #fff;
    box-shadow: 0 10px 24px rgba(54, 84, 211, 0.3);
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--nx-primary-dark), #c742ea);
    color: #fff;
}

.btn-outline-primary,
.btn.btn-outline-primary {
    border: 1px solid var(--nx-primary);
    color: var(--nx-primary);
    background: transparent;
}

.btn-outline-primary:hover,
.btn.btn-outline-primary:hover {
    color: #fff;
    background: var(--nx-primary);
}

.header-cta {
    white-space: nowrap;
    padding-inline: 14px;
}

@media (max-width: 1380px) {
    .search-shell {
        width: 190px;
    }

    .header-cta {
        font-size: 0.88rem;
        padding-inline: 12px;
    }
}

@media (max-width: 1280px) {
    .search-shell {
        display: none;
    }

    .mobile-menu .mobile-search-shell {
        display: block;
    }
}

@media (max-width: 1240px) {
    .header-cta {
        display: none;
    }
}

.site-main {
    min-height: 60vh;
}

.page-block,
.about-page,
.how-we-work,
.why-choose-us,
.contact-container,
.industries,
.services-overview,
.about-us,
.process,
.technology-stack,
.case-studies,
.newsletter,
.stats,
.blog-preview,
.partners,
.awards,
.contact-cta {
    padding: 78px 0;
}

.page-block h1,
.about-page h1,
.industries h1,
.how-we-work h1,
.why-choose-us h1,
.contact-container h1 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.subheading,
.page-lead,
.section-subtitle {
    color: var(--nx-text-soft);
    max-width: 740px;
    margin-bottom: 30px;
}

.about-section,
.value-card,
.work-step,
.advantage,
.contact-form,
.industry-card,
.service-card,
.step,
.tech-category,
.case-card,
.blog-card,
.partner-card,
.award-card,
.stat-card,
.newsletter-card,
.pricing-plan-card,
.custom-solution-card,
.step-card,
.no-plans {
    background: var(--nx-surface);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-shadow);
}

.about-section,
.value-card,
.work-step,
.advantage,
.contact-form,
.step,
.tech-category,
.stat-card,
.partner-card,
.award-card,
.pricing-plan-card,
.custom-solution-card,
.step-card {
    padding: 24px;
}

.values-grid,
.advantages,
.industries-grid,
.process-steps,
.services-grid,
.tech-grid,
.case-grid,
.blog-grid,
.stats-grid,
.awards-grid,
.pricing-plans-grid {
    display: grid;
    gap: 18px;
}

.values-grid,
.advantages,
.industries-grid,
.process-steps,
.services-grid,
.tech-grid,
.case-grid,
.blog-grid,
.stats-grid,
.awards-grid,
.pricing-plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.industry-card,
.tech-category,
.case-card,
.blog-card,
.partner-card,
.award-card,
.stat-card,
.step-card,
.pricing-plan-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.industry-card:hover,
.tech-category:hover,
.case-card:hover,
.blog-card:hover,
.partner-card:hover,
.award-card:hover,
.stat-card:hover,
.step-card:hover,
.pricing-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 36px rgba(8, 33, 61, 0.16);
    border-color: #b8cee4;
}

.service-icon,
.industry-icon,
.step-icon,
.stat-icon,
.award-icon,
.newsletter-icon {
    color: var(--nx-primary);
}

.hero.video-hero {
    min-height: min(72vh, 700px);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--nx-border);
}

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(3, 19, 39, 0.76), rgba(8, 43, 78, 0.5));
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 4.5vw, 4rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.hero-content p {
    color: #d5e8ff;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    margin-bottom: 20px;
}

.services-hero {
    background: linear-gradient(130deg, #0f2b4b, #17406f);
    color: #fff;
    padding: 90px 0;
}

.services-hero .lead,
.services-hero p {
    color: #cfdded;
}

.service-content,
.case-content,
.blog-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.service-actions,
.case-footer,
.blog-footer,
.plan-footer {
    margin-top: auto;
}

.service-image img,
.case-image,
.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

.case-image-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    border: 1px dashed #c7d8ea;
    background: linear-gradient(180deg, #f7fbff, #edf4fb);
    display: grid;
    place-items: center;
    color: #6d8297;
    font-weight: 700;
    font-size: 0.9rem;
}

.case-image-wrapper,
.blog-image-wrapper,
.service-image {
    padding: 12px;
}

.tech-tags,
.service-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag,
.tech-tag-more {
    background: #ecf4ff;
    color: #155096;
    border: 1px solid #c9def7;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 700;
}

.service-features,
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li,
.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #34506d;
    margin-bottom: 8px;
}

.services-process,
.process {
    background: linear-gradient(180deg, #f5f9ff, #ecf3fb);
}

.step-number,
.stat-number,
.price-amount,
.custom-price {
    font-weight: 800;
    color: #0d457f;
}

.pricing-section {
    background: linear-gradient(180deg, #0f2339, #102a45);
    color: #d7e7f8;
}

.pricing-section .section-title,
.pricing-section h2,
.pricing-section h3,
.pricing-section h4,
.pricing-section .price-amount,
.pricing-section .custom-price {
    color: #fff;
}

.pricing-section .section-description,
.pricing-section .plan-description,
.pricing-section .features-list li,
.pricing-section p {
    color: #c0d2e7;
}

.pricing-plan-card,
.custom-solution-card,
.no-plans,
.step-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(160, 194, 227, 0.25);
    box-shadow: none;
}

.popular-plan {
    border-color: #7ec4ff;
}

.popular-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5a2, #0f7eb8);
    color: #fff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-container {
    max-width: 760px;
    margin: 0 auto;
    padding-inline: 16px;
}

.contact-form form {
    display: grid;
    gap: 10px;
}

.contact-form label {
    font-weight: 700;
    color: #143a61;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid #c8daed;
    border-radius: 12px;
    padding: 11px 12px;
    color: #0f2f4d;
    background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--nx-primary);
    box-shadow: 0 0 0 3px rgba(15, 93, 184, 0.12);
}

.contact-form button[type="submit"] {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--nx-primary), #0f7eb8);
}

.form-message {
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.form-message.success {
    background: #def6eb;
    color: #0a6140;
    border: 1px solid #b7e8d1;
}

.form-message.error {
    background: #ffe8e7;
    color: #8b1d1a;
    border: 1px solid #ffc8c5;
}

.contact-privacy {
    margin-top: 14px;
    color: #5f748b;
    font-size: 0.9rem;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: start;
}

.quote-form-card,
.quote-summary-card {
    background: var(--nx-surface);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-shadow);
}

.quote-form-card {
    padding: 24px;
}

.quote-summary-card {
    padding: 24px;
    position: sticky;
    top: 96px;
}

.quote-summary-card h3 {
    margin-top: 0;
}

.quote-summary-note {
    color: var(--nx-text-soft);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

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

.addon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 4px;
}

.addon-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #d6e4f3;
    border-radius: 12px;
    background: #f9fcff;
    padding: 10px 12px;
    cursor: pointer;
}

.addon-item input {
    margin-top: 4px;
}

.addon-item span {
    display: grid;
    gap: 4px;
    flex: 1;
    color: #214364;
}

.addon-item span small {
    color: #5c7693;
    font-size: 0.8rem;
}

.addon-item em {
    font-style: normal;
    font-weight: 700;
    color: #0f5db8;
}

.quote-breakdown {
    margin: 0;
    display: grid;
    gap: 10px;
}

.quote-breakdown div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    border-bottom: 1px dashed #d7e4f2;
    padding-bottom: 8px;
}

.quote-breakdown dt {
    color: #4a6887;
    font-weight: 600;
}

.quote-breakdown dd {
    margin: 0;
    color: #193c62;
    font-weight: 700;
}

.quote-total-row dt,
.quote-total-row dd {
    color: #0e4c97;
    font-size: 1.05rem;
}

.quote-reference-box {
    margin-top: 18px;
    border-radius: 12px;
    border: 1px solid #cae1f8;
    background: linear-gradient(180deg, #f2f8ff, #edf4ff);
    padding: 14px;
}

.quote-reference-box h4 {
    margin: 0 0 10px;
}

.quote-reference-box p {
    margin: 0 0 6px;
    color: #355575;
    font-size: 0.92rem;
}

.site-footer {
    background: linear-gradient(180deg, #081a2f, #040f1f);
    color: #c2d5ea;
    margin-top: 48px;
    padding: 56px 0 18px;
}

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

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-bottom: 10px;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: #bfd1e6;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid rgba(202, 222, 243, 0.15);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-block;
    }

    .header-cta {
        display: none;
    }

    .header-row {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .site-main section,
    .about-page,
    .how-we-work,
    .why-choose-us,
    .contact-container,
    .industries,
    .services-overview,
    .about-us,
    .process,
    .technology-stack,
    .case-studies,
    .newsletter,
    .stats,
    .blog-preview,
    .partners,
    .awards,
    .contact-cta {
        padding: 56px 0;
    }

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

    .service-image img,
    .case-image,
    .blog-image {
        height: 180px;
    }

    .field-row,
    .addon-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }

    .quote-summary-card {
        position: static;
    }
}

/* -----------------------------
   New Home Layout (IT innovation inspired)
------------------------------ */
.home-hero {
    position: relative;
    min-height: min(78vh, 760px);
    display: grid;
    align-items: end;
    overflow: hidden;
    border-bottom: 1px solid var(--nx-border);
}

.home-hero-media {
    position: absolute;
    inset: 0;
}

.home-hero-content {
    position: relative;
    z-index: 3;
    padding: 140px 0 80px;
    color: #f7fbff;
    max-width: 900px;
}

.hero-kicker {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero-content h1 {
    font-size: clamp(2.3rem, 5.4vw, 4.6rem);
    font-weight: 800;
    line-height: 1.06;
    margin: 16px 0;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    max-width: 740px;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #d8e8f8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.section-soft {
    background: linear-gradient(180deg, #eff3ff, #edf1ff);
}

.section-heading {
    margin-bottom: 26px;
}

.section-eyebrow {
    margin: 0 0 6px;
    color: #0f5db8;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -0.02em;
}

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

.pillar-card {
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    box-shadow: var(--nx-shadow);
    padding: 24px;
}

.pillar-card h3 {
    margin: 10px 0 8px;
    font-size: 1.35rem;
}

.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #e9f2fe;
    color: #0f5db8;
    font-size: 1.25rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start;
}

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

.strength-card {
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 14px;
    padding: 16px;
}

.strength-card h4 {
    margin: 0 0 8px;
}

.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.stat-chip {
    background: linear-gradient(135deg, #0f5db8, #0f7eb8);
    color: #fff;
    border-radius: 14px;
    padding: 18px;
}

.stat-chip h3 {
    color: #fff;
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
}

.stat-chip p {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: #dbeeff;
}

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

.benefit-item {
    padding: 12px 14px;
    border: 1px solid #d4e2f1;
    border-radius: 12px;
    background: #fff;
    color: #274560;
    font-weight: 600;
}

.benefit-item i {
    color: #0f5db8;
    margin-right: 8px;
}

.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-cloud-item {
    border-radius: 999px;
    padding: 8px 12px;
    border: 1px solid #cfe0f3;
    background: #fff;
    color: #1b4169;
    font-size: 0.86rem;
    font-weight: 700;
}

.tech-extra {
    display: none;
}

.tech-cloud.expanded .tech-extra {
    display: inline-flex;
}

.tech-toggle {
    margin-top: 16px;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.process-node {
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--nx-shadow);
}

.process-index {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e9f2fe;
    color: #0f5db8;
    font-weight: 800;
}

.process-node h3 {
    margin: 12px 0 8px;
    font-size: 1.1rem;
}

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

.portfolio-card {
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--nx-shadow);
}

.portfolio-image-wrap {
    padding: 10px;
}

.portfolio-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
}

.portfolio-image-placeholder {
    width: 100%;
    height: 210px;
    border-radius: 12px;
    border: 1px dashed #c7d8ea;
    background: linear-gradient(180deg, #f7fbff, #edf4fb);
    display: grid;
    place-items: center;
    color: #6d8297;
    font-weight: 700;
    font-size: 0.9rem;
}

.portfolio-content {
    padding: 10px 16px 16px;
}

.portfolio-content h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.testimonial-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.testimonial-card-modern {
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--nx-shadow);
}

.testimonial-card-modern p {
    margin: 0 0 12px;
}

.testimonial-card-modern h4 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-card-modern span {
    color: #60768d;
    font-size: 0.85rem;
}

.projects-completed-summary {
    margin-bottom: 14px;
}

.project-total-card {
    display: inline-block;
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-accent));
    color: #fff;
    border-radius: 14px;
    padding: 16px 22px;
}

.project-total-card h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.project-total-card p {
    margin: 4px 0 0;
    color: #dbeeff;
    font-weight: 700;
}

.projects-completed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.project-completed-card {
    background: #fff;
    border: 1px solid #d7e5f2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--nx-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-completed-media {
    padding: 10px 10px 0;
}

.project-completed-media img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    border-radius: 10px;
}

.project-completed-placeholder {
    width: 100%;
    height: 185px;
    border-radius: 10px;
    border: 1px dashed #c7d8ea;
    background: linear-gradient(180deg, #f7fbff, #edf4fb);
    display: grid;
    place-items: center;
    color: #6d8297;
    font-weight: 700;
    font-size: 0.9rem;
}

.project-completed-content {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.project-completed-content h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
    line-height: 1.25;
}

.project-completed-content p {
    margin: 0;
    color: #5a738b;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf5ff;
    border: 1px solid #cde0f5;
    color: #174f8d;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
}

.project-link-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nx-primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.project-link-btn:hover {
    color: var(--nx-primary-dark);
}

.partners-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.partner-home-card {
    background: #fff;
    border: 1px solid #d7e5f2;
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--nx-shadow);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 100%;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

a.partner-home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(8, 33, 61, 0.16);
    border-color: #bed4ea;
}

.partner-home-card-static {
    cursor: default;
}

.partner-home-logo-wrap {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #f3f8ff;
    border: 1px solid #d6e4f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex: 0 0 auto;
}

.partner-home-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-home-logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(135deg, #0c3a7e, #1598c7);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.partner-home-content h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    line-height: 1.3;
}

.partner-home-content p {
    margin: 0;
    color: #5f768e;
    font-size: 0.92rem;
    line-height: 1.6;
}

.partner-home-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: var(--nx-primary);
    font-size: 0.86rem;
    font-weight: 800;
}

.home-cta-final {
    background: linear-gradient(135deg, #1a2378, #7e2ac3);
    color: #e2eefb;
    text-align: center;
}

.home-cta-final h2 {
    color: #fff;
}

.home-cta-final p {
    max-width: 760px;
    margin: 0 auto 18px;
}

@media (max-width: 1024px) {
    .pillars-grid,
    .portfolio-grid,
    .process-flow,
    .stats-ribbon,
    .projects-completed-grid,
    .partners-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .pillars-grid,
    .portfolio-grid,
    .process-flow,
    .stats-ribbon,
    .testimonial-strip,
    .benefits-grid,
    .strength-grid,
    .projects-completed-grid,
    .partners-home-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-content {
        padding: 110px 0 62px;
    }

    .brand img {
        width: auto;
        height: 32px;
        max-width: 118px;
    }
}

/* -----------------------------
   About Page Redesign
------------------------------ */
.about-hero-modern {
    padding: 86px 0 62px;
    background: linear-gradient(135deg, #0f2e50, #163f6a);
    color: #e3eef9;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
}

.about-hero-modern h1 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.about-hero-text {
    max-width: 760px;
    color: #d1e2f4;
    margin-bottom: 20px;
}

.about-hero-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(190, 217, 241, 0.35);
    border-radius: 16px;
    padding: 20px;
}

.about-hero-panel h3 {
    color: #fff;
    margin: 0 0 10px;
}

.about-hero-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.about-hero-panel li {
    color: #d9e9f8;
}

.about-hero-panel i {
    color: #88c7ff;
    margin-right: 8px;
}

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

.about-stat-card {
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 14px;
    box-shadow: var(--nx-shadow);
    padding: 22px;
    text-align: center;
}

.about-stat-card h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #0f5db8;
}

.about-stat-card p {
    margin: 6px 0 0;
    color: #546d86;
    font-weight: 700;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.about-story-grid h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 12px;
}

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

.about-story-cards article {
    background: #fff;
    border: 1px solid #d6e4f2;
    border-radius: 12px;
    padding: 14px;
}

.about-story-cards h4 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.about-story-cards i {
    color: #0f5db8;
    margin-right: 8px;
}

.about-story-cards p {
    margin: 0;
    color: #5b738b;
    font-size: 0.9rem;
}

.about-values-modern .benefits-grid {
    margin-top: 8px;
}

.about-work-cta {
    background: linear-gradient(135deg, #0e2b4b, #18456f);
    color: #d8e8f8;
    text-align: center;
    padding: 68px 0;
}

.about-work-cta h2 {
    color: #fff;
    margin-bottom: 10px;
}

.about-work-cta p {
    max-width: 760px;
    margin: 0 auto 18px;
}

@media (max-width: 980px) {
    .about-hero-grid,
    .about-story-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-stats-grid,
    .about-story-cards {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------
   Services Page Redesign
------------------------------ */
.services-hero-modern {
    padding: 92px 0 76px;
    background: linear-gradient(135deg, #0f2947, #18446f);
    color: #e0edf9;
}

.services-hero-inner {
    max-width: 920px;
}

.services-hero-modern h1 {
    color: #fff;
    font-size: clamp(2rem, 4.3vw, 3.6rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 14px;
}

.services-hero-modern p {
    color: #d2e3f4;
    max-width: 760px;
}

.service-category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.service-category-filter .btn.active {
    background: #0f5db8;
    color: #fff;
    border-color: #0f5db8;
}

.service-sections-wrap {
    display: grid;
    gap: 18px;
}

.service-category-block {
    background: #fff;
    border: 1px solid #d6e4f1;
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--nx-shadow);
}

.category-title-modern {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.service-category-block .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card .service-title {
    font-size: 1.22rem;
}

.service-category-block .service-card {
    height: 100%;
    border: 1px solid #d5e4f2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(12, 38, 64, 0.1);
}

.service-category-block .service-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-category-block .service-image {
    padding: 10px 10px 0;
}

.service-category-block .service-image img {
    height: 185px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.service-category-block .service-content {
    padding: 14px 16px 16px;
    gap: 10px;
}

.service-category-block .service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #eaf2fd;
    color: #0f5db8;
    font-size: 1.1rem;
}

.service-category-block .service-title {
    margin: 0;
    line-height: 1.25;
}

.service-category-block .service-description {
    margin: 0;
    color: #5a738b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.4em;
}

.service-category-block .service-features {
    margin-top: 2px;
    display: grid;
    gap: 7px;
}

.service-category-block .service-features li {
    margin: 0;
    color: #35516b;
    font-size: 0.9rem;
}

.service-category-block .service-features i {
    color: #0f5db8;
    margin-top: 2px;
}

.service-category-block .service-technologies {
    margin-top: 2px;
    min-height: 32px;
}

.service-category-block .tech-tag {
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.service-category-block .service-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.service-category-block .service-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 0.84rem;
    padding: 10px 12px;
    min-height: 40px;
}

.pricing-section .section-eyebrow {
    color: #8fc8ff;
}

.home-cta-final {
    padding: 68px 0;
}

@media (max-width: 768px) {
    .service-category-block {
        padding: 14px;
    }

    .service-category-block .service-actions {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------
   Industries Page Redesign
------------------------------ */
.industries-hero-modern {
    padding: 92px 0 76px;
    background: linear-gradient(135deg, #0f2a48, #194771);
    color: #deecfa;
}

.industries-hero-inner {
    max-width: 900px;
}

.industries-hero-modern h1 {
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.industries-hero-modern p {
    color: #d1e4f6;
    max-width: 760px;
}

.industry-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.industry-modern-card {
    background: #fff;
    border: 1px solid #d8e6f3;
    border-radius: 16px;
    box-shadow: var(--nx-shadow);
    padding: 18px;
}

.industry-modern-card h3 {
    margin: 0 0 10px;
    font-size: 1.14rem;
}

.industry-modern-card i {
    color: #0f5db8;
    margin-right: 8px;
}

.industry-modern-card p {
    margin: 0 0 10px;
    color: #58718a;
}

.industry-modern-card ul {
    margin: 0;
    padding-left: 18px;
    color: #3c5670;
    display: grid;
    gap: 6px;
}

.industry-outcome-panel {
    background: #fff;
    border: 1px solid #d9e6f3;
    border-radius: 16px;
    box-shadow: var(--nx-shadow);
    padding: 20px;
}

.industry-outcome-panel h3 {
    margin-top: 0;
}

.outcome-item {
    padding: 12px 0;
    border-bottom: 1px solid #e7eff8;
}

.outcome-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.outcome-item h4 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.outcome-item p {
    margin: 0;
    color: #5e768e;
}

@media (max-width: 1024px) {
    .industry-modern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .industry-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------
   How We Work + Why Choose Us Redesign
------------------------------ */
.work-hero-modern,
.why-hero-modern {
    padding: 92px 0 76px;
    background: linear-gradient(135deg, #0f2a48, #18446f);
    color: #deecfa;
}

.work-hero-inner,
.why-hero-inner {
    max-width: 920px;
}

.work-hero-modern h1,
.why-hero-modern h1 {
    color: #fff;
    font-size: clamp(2rem, 4.3vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.work-hero-modern p,
.why-hero-modern p {
    color: #d2e3f4;
    max-width: 760px;
}

.work-process-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.work-step-card-modern {
    background: #fff;
    border: 1px solid #d6e4f1;
    border-radius: 14px;
    box-shadow: var(--nx-shadow);
    padding: 16px;
}

.work-step-index {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e9f2fe;
    color: #0f5db8;
    font-weight: 800;
    font-size: 0.85rem;
}

.work-step-card-modern h3 {
    margin: 10px 0 8px;
    font-size: 1.02rem;
}

.work-step-card-modern p {
    margin: 0 0 10px;
    color: #58718a;
    font-size: 0.9rem;
}

.work-step-card-modern ul {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 6px;
    color: #3f5a75;
    font-size: 0.86rem;
}

.why-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.why-modern-card {
    background: #fff;
    border: 1px solid #d8e6f3;
    border-radius: 14px;
    box-shadow: var(--nx-shadow);
    padding: 18px;
}

.why-modern-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.why-modern-card i {
    color: #0f5db8;
    margin-right: 8px;
}

.why-modern-card p {
    margin: 0;
    color: #58718a;
}

@media (max-width: 1200px) {
    .work-process-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .why-modern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .work-process-timeline,
    .why-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------
   Global Design Polish (2026)
------------------------------ */
:root {
    --nx-bg: #f3f7ff;
    --nx-surface: #ffffff;
    --nx-text: #121a4a;
    --nx-text-soft: #516181;
    --nx-primary: #2f6de2;
    --nx-primary-dark: #1f4faf;
    --nx-accent: #d246e5;
    --nx-border: #d7e1f1;
    --nx-shadow: 0 12px 34px rgba(16, 35, 78, 0.1);
    --nx-shadow-hover: 0 20px 44px rgba(16, 35, 78, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(900px 380px at 8% -2%, rgba(77, 132, 248, 0.14), transparent 62%),
        radial-gradient(760px 300px at 96% 2%, rgba(210, 70, 229, 0.09), transparent 64%),
        var(--nx-bg);
    color: var(--nx-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--nx-text);
    letter-spacing: -0.02em;
    line-height: 1.14;
}

p {
    color: var(--nx-text-soft);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(47, 109, 226, 0.25);
    outline-offset: 2px;
}

.container {
    width: min(1240px, 92vw);
}

.site-main section {
    scroll-margin-top: 118px;
}

.topbar {
    background: linear-gradient(90deg, #0d2f6d 0%, #2449b3 42%, #7c39cf 100%);
}

.topbar-inner {
    min-height: 44px;
}

.topbar-inner p,
.topbar-inner a {
    font-weight: 700;
}

.site-header {
    background: linear-gradient(180deg, rgba(251, 253, 255, 0.95), rgba(241, 246, 255, 0.93));
    border-bottom: 1px solid rgba(190, 205, 229, 0.95);
}

.site-header.scrolled {
    box-shadow: 0 10px 28px rgba(9, 31, 76, 0.14);
}

.header-row {
    min-height: 78px;
    gap: clamp(12px, 1.3vw, 22px);
}

.brand-logo,
.brand img {
    height: clamp(34px, 2.6vw, 44px);
    max-width: clamp(134px, 12vw, 172px);
    width: auto;
}

.nav-links {
    gap: clamp(6px, 0.68vw, 12px);
}

.nav-links a {
    font-size: clamp(1rem, 0.56vw + 0.74rem, 1.1rem);
    color: #1e3159;
    font-weight: 800;
    padding: 8px 8px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--nx-primary);
    background: rgba(47, 109, 226, 0.09);
}

.header-tools {
    gap: 10px;
}

.search-shell {
    width: clamp(210px, 16vw, 280px);
}

.search-shell input {
    height: 44px;
    border-color: #cad8eb;
    color: #21385f;
}

.header-cta {
    min-height: 44px;
    padding-inline: 18px;
    font-weight: 800;
}

.btn {
    min-height: 42px;
    border-radius: 999px;
    font-weight: 800;
}

.page-block,
.about-page,
.how-we-work,
.why-choose-us,
.contact-container,
.industries,
.services-overview,
.about-us,
.process,
.technology-stack,
.case-studies,
.newsletter,
.stats,
.blog-preview,
.partners,
.awards,
.contact-cta {
    padding: clamp(62px, 7vw, 90px) 0;
}

.section-heading {
    max-width: 780px;
    display: grid;
    gap: 10px;
}

.section-heading h2 {
    line-height: 1.14;
}

.section-subtitle {
    margin-bottom: 0;
}

.about-section,
.value-card,
.work-step,
.advantage,
.contact-form,
.industry-card,
.service-card,
.step,
.tech-category,
.case-card,
.blog-card,
.partner-card,
.award-card,
.stat-card,
.newsletter-card,
.pricing-plan-card,
.custom-solution-card,
.step-card,
.no-plans,
.process-node,
.portfolio-card,
.project-completed-card,
.partner-home-card,
.industry-modern-card,
.work-step-card-modern,
.why-modern-card {
    border-color: #d7e2f0;
    box-shadow: 0 10px 30px rgba(17, 39, 78, 0.1);
}

.service-card:hover,
.industry-card:hover,
.tech-category:hover,
.case-card:hover,
.blog-card:hover,
.partner-card:hover,
.award-card:hover,
.stat-card:hover,
.step-card:hover,
.pricing-plan-card:hover,
.portfolio-card:hover,
.project-completed-card:hover,
.partner-home-card:hover,
.industry-modern-card:hover,
.work-step-card-modern:hover,
.why-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--nx-shadow-hover);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.quote-form-card input,
.quote-form-card select,
.quote-form-card textarea {
    border: 1px solid #c9d8eb;
    border-radius: 12px;
    color: #203a5f;
}

.contact-form input,
.contact-form select,
.quote-form-card input,
.quote-form-card select {
    min-height: 46px;
}

.contact-form textarea,
.quote-form-card textarea {
    min-height: 140px;
}

.site-footer {
    background: linear-gradient(180deg, #071a3f 0%, #0f224d 56%, #211652 100%);
}

@media (max-width: 1360px) {
    .search-shell {
        width: clamp(190px, 14vw, 220px);
    }

    .nav-links a {
        font-size: 0.98rem;
    }
}

@media (max-width: 1180px) {
    .header-row {
        min-height: 72px;
    }

    .search-shell {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-row {
        min-height: 66px;
    }

    .brand-logo,
    .brand img {
        height: 30px;
        max-width: 132px;
    }

    .topbar {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -----------------------------
   Compact + Consistent Card System
------------------------------ */
:root {
    --nx-card-radius: 14px;
    --nx-card-padding: 14px;
    --nx-card-gap: 8px;
}

.pillars-grid,
.services-grid,
.industry-modern-grid,
.why-modern-grid,
.work-process-timeline,
.case-grid,
.portfolio-grid,
.projects-completed-grid,
.partners-home-grid,
.about-story-cards {
    gap: clamp(10px, 1.2vw, 14px);
}

.service-card,
.industry-card,
.case-card,
.blog-card,
.portfolio-card,
.project-completed-card,
.partner-home-card,
.industry-modern-card,
.work-step-card-modern,
.why-modern-card,
.about-stat-card,
.pillar-card,
.strength-card,
.about-story-cards article {
    border-radius: var(--nx-card-radius);
}

.pillar-card,
.strength-card,
.about-story-cards article,
.about-stat-card,
.industry-modern-card,
.work-step-card-modern,
.why-modern-card {
    padding: 16px;
}

.service-category-block {
    padding: 14px;
}

.service-category-block .service-image,
.case-image-wrapper,
.portfolio-image-wrap,
.project-completed-media {
    padding: 10px 10px 0;
}

.service-category-block .service-image img,
.case-image,
.blog-image,
.portfolio-image,
.project-completed-media img {
    border-radius: 10px;
}

.service-category-block .service-image img {
    height: 168px;
}

.case-image,
.blog-image,
.portfolio-image {
    height: 176px;
}

.project-completed-media img {
    height: 158px;
}

.partner-home-card {
    padding: 14px;
    gap: 12px;
}

.partner-home-logo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.service-category-block .service-content,
.case-content,
.portfolio-content,
.project-completed-content,
.partner-home-content {
    display: grid;
    gap: var(--nx-card-gap);
}

.compact-card-content,
.case-content,
.portfolio-content,
.project-completed-content {
    padding: 12px 14px 14px;
}

.service-category-block .service-content {
    padding: 12px 14px 14px;
}

.service-category-block .service-title,
.case-title,
.portfolio-content h3,
.project-completed-content h3,
.partner-home-content h3,
.industry-modern-card h3,
.why-modern-card h3,
.work-step-card-modern h3 {
    margin: 0;
    line-height: 1.24;
    font-size: clamp(1rem, 0.35vw + 0.93rem, 1.16rem);
}

.service-category-block .service-description {
    margin: 0;
    color: #526a85;
    line-height: 1.52;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    min-height: 0;
}

.service-category-block .service-features {
    margin-top: 2px;
    gap: 6px;
}

.service-category-block .service-features li {
    font-size: 0.88rem;
}

.service-category-block .service-technologies {
    margin-top: 0;
    min-height: 0;
}

.service-category-block .tech-tag {
    font-size: 0.72rem;
    padding: 4px 9px;
}

.service-category-block .service-actions {
    margin-top: 2px;
}

.case-description,
.case-results,
.portfolio-content p,
.project-completed-content p,
.partner-home-content p,
.testimonial-card-modern p,
.industry-modern-card p,
.why-modern-card p,
.work-step-card-modern p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #57708a;
    overflow-wrap: anywhere;
}

.case-results {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.case-results i {
    color: var(--nx-primary);
    margin-top: 2px;
}

.testimonial-card-modern {
    padding: 16px;
}

.stat-chip {
    padding: 14px;
}

.project-total-card {
    padding: 14px 18px;
    border-radius: 12px;
}

.case-image-wrapper-detail {
    padding: 0;
    margin-bottom: 18px;
}

.related-case-section {
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .service-category-block .service-actions {
        grid-template-columns: 1fr;
    }

    .service-category-block .service-image img,
    .case-image,
    .blog-image,
    .portfolio-image,
    .project-completed-media img {
        height: 164px;
    }

    .partner-home-logo-wrap {
        width: 54px;
        height: 54px;
    }
}

/* -----------------------------
   Text Visibility Improvements
------------------------------ */
.topbar {
    display: block;
}

.topbar-inner p,
.topbar-inner a {
    color: #f7fbff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}

.video-overlay {
    background:
        linear-gradient(116deg, rgba(4, 16, 45, 0.9) 6%, rgba(8, 34, 78, 0.76) 54%, rgba(28, 22, 86, 0.65) 100%),
        radial-gradient(850px 420px at 18% 20%, rgba(47, 109, 226, 0.2), transparent 66%);
}

.home-hero-content,
.services-hero-modern,
.industries-hero-modern,
.about-hero-modern,
.work-hero-modern,
.why-hero-modern {
    text-shadow: 0 2px 14px rgba(4, 12, 38, 0.35);
}

.home-hero-content h1,
.services-hero-modern h1,
.industries-hero-modern h1,
.about-hero-modern h1,
.work-hero-modern h1,
.why-hero-modern h1 {
    color: #ffffff;
}

.hero-subtitle,
.services-hero-modern p,
.industries-hero-modern p,
.about-hero-text,
.work-hero-modern p,
.why-hero-modern p {
    color: #e2ecfb;
}

.hero-kicker {
    color: #ffffff;
    background: rgba(12, 28, 72, 0.42);
    border-color: rgba(226, 236, 251, 0.42);
}

@media (max-width: 768px) {
    .topbar {
        display: block;
    }

    .topbar-inner {
        min-height: 40px;
        padding: 6px 0;
        gap: 0.35rem;
        flex-wrap: wrap;
    }

    .topbar-inner p {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .topbar-inner a {
        font-size: 0.83rem;
    }
}

/* -----------------------------
   UX and Accessibility Upgrades
------------------------------ */
.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    background: #102c63;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    z-index: 3000;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
}

.field-invalid,
.field-invalid:focus {
    border-color: #c63d58 !important;
    box-shadow: 0 0 0 3px rgba(198, 61, 88, 0.16) !important;
}

.deferred-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 840px;
}

.section-subtitle,
.subheading,
.hero-subtitle {
    max-width: 70ch;
}

.nav-links a,
.mobile-menu-links a {
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.mobile-menu-links a:hover {
    transform: translateY(-1px);
}

/* -----------------------------
   WCAG + Keyboard Refinements
------------------------------ */
.result-description {
    color: #445d7b;
}

.search-result-item:focus-visible,
.search-result-item.is-keyboard-active {
    background: #eaf3ff;
    outline: 2px solid rgba(41, 109, 211, 0.35);
    outline-offset: -2px;
}

.nav-links a:focus-visible,
.mobile-menu-links a:focus-visible,
.btn:focus-visible,
.header-cta:focus-visible,
.back-to-top:focus-visible {
    outline: 3px solid rgba(47, 109, 226, 0.35);
    outline-offset: 2px;
}

.section-eyebrow {
    color: #0c4f9f;
}

.contact-privacy {
    color: #45627f;
}

[data-reveal] {
    will-change: opacity, transform;
    transition-delay: var(--reveal-delay, 0ms);
}
