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

html {
scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #e4e7f0;
    color: #1e2028;
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
.font-Manrope {
    font-family: 'Manrope', sans-serif
}

.nm-card,
.nm-card-hero {
    background: #e4e7f0;
    box-shadow: 8px 8px 20px #c5c8d4, -8px -8px 20px #fff;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .6);
    transition: box-shadow .35s ease, transform .35s ease
}

.nm-card:hover {
    box-shadow: 10px 10px 26px #c0c3cf, -10px -10px 26px #fff;
    transform: translateY(-2px)
}

.nm-card-sm {
    background: #e4e7f0;
    box-shadow: 4px 4px 10px #c5c8d4, -4px -4px 10px #fff;
    border-radius: 16px;
    transition: box-shadow .35s ease
}

.nm-inset {
    background: #e4e7f0;
    box-shadow: inset 4px 4px 10px #c5c8d4, inset -4px -4px 10px #fff;
    border-radius: 20px;
    border: 1px solid rgba(197, 200, 212, .4);
    transition: box-shadow .35s ease
}

.nm-inset-sm {
    background: #e4e7f0;
    box-shadow: inset 2px 2px 5px #c5c8d4, inset -2px -2px 5px #fff;
    border-radius: 12px;
    transition: box-shadow .3s ease
}

.nm-icon,
.nm-icon-sm {
    box-shadow: 4px 4px 10px #c5c8d4, -4px -4px 10px #fff;
    border-radius: 16px;
    background: #e4e7f0
}

.nm-icon-sm {
    box-shadow: 3px 3px 7px #c5c8d4, -3px -3px 7px #fff;
    border-radius: 12px
}

.nm-btn-neutral {
    background: #e4e7f0;
    box-shadow: 5px 5px 10px #c5c8d4, -5px -5px 10px #fff;
    border-radius: 10px;
    transition: all .25s cubic-bezier(.25, .46, .45, .94);
    cursor: pointer;
    border: none;
    color: #1e2028
}

.nm-btn-neutral:hover {
    box-shadow: 2px 2px 5px #c5c8d4, -2px -2px 5px #fff;
    transform: translateY(-2px)
}

.nm-btn-neutral:active {
    box-shadow: inset 3px 3px 6px #c5c8d4, inset -3px -3px 6px #fff;
    transform: translateY(0)
}

.nm-btn-accent-shine {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    box-shadow: 6px 6px 14px #c5c8d4, -6px -6px 14px #fff, 0 4px 24px rgba(230, 126, 34, .3);
    border-radius: 10px;
    transition: all .3s cubic-bezier(.25, .46, .45, .94);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    color: #fff
}

.nm-btn-accent-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .6s ease
}

.nm-btn-accent-shine:hover::before {
    left: 100%
}

.nm-btn-accent-shine:hover {
    box-shadow: 2px 2px 6px #c5c8d4, -2px -2px 6px #fff, 0 8px 36px rgba(230, 126, 34, .45);
    transform: translateY(-3px)
}

.nm-btn-accent-shine:active {
    box-shadow: inset 4px 4px 10px rgba(0, 0, 0, .12), inset -4px -4px 10px rgba(255, 255, 255, .04);
    transform: translateY(0)
}

.nm-btn-soft-accent {
    background: linear-gradient(135deg, #f8a744, #ffbe5c);
    color: #e67e22;
    box-shadow: 5px 5px 12px #cfd3df, -5px -5px 12px #fff;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .6);
    transition: all .25s ease
}

.nm-btn-soft-accent:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 8px #cfd3df, -3px -3px 8px #fff
}

.nm-btn-dark {
    background: linear-gradient(135deg, #2a2d36, #1e2028);
    color: #fff;
    box-shadow: 5px 5px 12px rgba(0, 0, 0, .25), -5px -5px 12px rgba(255, 255, 255, .05);
    border-radius: 10px;
    transition: all .25s ease
}

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

@keyframes nm-pulse {
    0% {
        box-shadow: 6px 6px 14px #c5c8d4, -6px -6px 14px #fff, 0 4px 24px rgba(230, 126, 34, .6)
    }

    50% {
        box-shadow: 6px 6px 18px #c5c8d4, -6px -6px 18px #fff, 0 8px 32px rgba(230, 126, 34, .6)
    }

    100% {
        box-shadow: 6px 6px 14px #c5c8d4, -6px -6px 14px #fff, 0 4px 24px rgba(230, 126, 34, .6)
    }
}

.pulse-accent {
    animation: nm-pulse 2.4s infinite ease-in-out
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, .4)
    }

    70% {
        box-shadow: 0 0 0 12px rgba(230, 126, 34, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0)
    }
}

.pulse-ring {
    animation: pulse-ring 1.5s infinite
}

.nm-divider-h,
.nm-divider-h-left,
.nm-divider-h-right {
    height: 3px;
    background: linear-gradient(90deg, transparent, #c5c8d4 50%, #c5c8d4 80%, transparent)
}

.nm-divider-h-right {
    background: linear-gradient(270deg, transparent, #c5c8d4 50%, #c5c8d4 80%, transparent)
}

.nav-pill {
    background: #e4e7f0;
    box-shadow: 8px 8px 20px #c5c8d4, -8px -8px 20px #fff;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .5)
}

.nav-pill.scrolled {
    box-shadow: 7px 7px 18px rgba(0, 0, 0, .22), -7px -7px 18px rgba(255, 255, 255, .9)
}

.nm-link {
    padding: 6px 14px;
    border-radius: 10px;
    transition: all .25s ease;
    color: #3a3a4a;
    background: #e4e7f0;
    box-shadow: 3px 3px 7px #c5c8d4, -3px -3px 7px #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit
}

.nm-link:hover,
.nm-link.active {
    box-shadow: inset 2px 2px 5px #c5c8d4, inset -2px -2px 5px #fff;
    color: #1e2028
}

.nm-link.active {
    color: #d35400
}

.nm-tag-accent {
    background: rgba(230, 126, 34, .1);
    box-shadow: inset 1px 1px 3px rgba(230, 126, 34, .08), inset -1px -1px 3px rgba(255, 255, 255, .5);
    border-radius: 10px
}

.nm-badge {
    background: rgba(230, 126, 34, .08);
    box-shadow: inset 2px 2px 4px rgba(230, 126, 34, .06), inset -2px -2px 4px rgba(255, 255, 255, .5)
}

.typing-cursor {
    display: inline-block;
    animation: blink .8s infinite;
    font-weight: 300;
    margin-left: 2px;
    color: #e67e22
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.border-gradient {
    position: relative
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(230, 126, 34, .55), transparent 40%, transparent 60%, rgba(99, 102, 241, .15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1
}

/* ── mega wrapper ── */
.mega-wrapper {
    position: fixed;
    top: 78px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 90%;
    max-width: 1400px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
    z-index: 45;
}

.mega-wrapper.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-panel {
    border-radius: 24px;
    background: #e4e7f0;
    box-shadow: 14px 14px 36px #c5c8d4, -14px -14px 36px #fff;
    overflow: hidden;
}

/* ── service grid ── */
.mega-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 540px) {
    .mega-service-grid {
        grid-template-columns: 1fr;
    }
}

.mega-service-card {
    padding: 14px 20px;
    border-radius: 18px;
    transition: all .35s cubic-bezier(.86, 1, .7, 1);
    cursor: pointer;
    background: #e4e7f0;
    box-shadow: inset 2px 2px 5px #c5c8d4, inset -2px -2px 5px #fff;
}

.mega-service-card:hover {
    box-shadow: 6px 6px 16px #c5c8d4, -6px -6px 16px #fff;
    transform: translateY(-2px);
    z-index: 2;
}

.mega-svc-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    color: #6b6b7e;
    box-shadow: inset 2px 2px 4px #c5c8d4, inset -2px -2px 4px #fff;
    flex-shrink: 0;
    transition: color .3s;
}

.mega-service-card:hover .mega-svc-num {
    color: #e67e22;
}

.mega-svc-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 3px 3px 7px #c5c8d4, inset -3px -3px 7px #fff;
    flex-shrink: 0;
}

.mega-svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
    display: block;
}

.mega-service-card:hover .mega-svc-img img {
    transform: scale(1.12);
    filter: brightness(1.06);
}

.mega-svc-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    color: #1e1e2a;
    transition: color .3s;
}

.mega-service-card:hover .mega-svc-title {
    color: #d35400;
}

.mega-svc-desc {
    font-size: .68rem;
    color: #6b6b7e;
    line-height: 1.4;
    margin-top: 1px;
}

.mega-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: .55rem;
    font-weight: 600;
    color: #6b6b7e;
    background: #e4e7f0;
    padding: 2px 8px;
    border-radius: 20px;
    box-shadow: inset 2px 2px 5px #c5c8d4, inset -2px -2px 5px #fff;
    transition: all .3s;
}

.mega-service-card:hover .mega-tag {
    color: #d35400;
}

.mega-tag-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #e67e22;
    opacity: .4;
}

.mega-svc-arrow {
    font-size: .7rem;
    color: #6b6b7e;
    opacity: 0;
    transform: translateX(-4px);
    transition: all .3s;
}

.mega-service-card:hover .mega-svc-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #e67e22;
}

/* ── industries ── */
.mega-industry-item {
    text-decoration: none;
    display: block;
}

.mega-industry-item:hover .nm-inset-sm i {
    transform: scale(1.25);
}

.mega-industry-item .nm-inset-sm i {
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.mega-industry-item:focus-visible .nm-inset-sm {
    outline: 2px solid #e67e22;
    outline-offset: 1px;
}

/* ── CTA ── */
.mega-cta-panel {
    background: #e4e7f0;
    box-shadow: inset 4px 4px 10px #c5c8d4, inset -4px -4px 10px #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mega-cta-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #e67e22, #f39c12);
    border-radius: 0 3px 3px 0;
}

/* ── footer inside services ── */
.mega-services-footer .nm-inset-sm {
    background: #e4e7f0;
    box-shadow: inset 3px 3px 7px #c5c8d4, inset -3px -3px 7px #fff;
    border-radius: 14px;
    transition: box-shadow .3s ease;
}

.mega-services-footer .nm-inset-sm:hover {
    box-shadow: 6px 6px 16px #c5c8d4, -6px -6px 16px #fff;
}

/* ── scrollable on small screens ── */
@media (max-width: 768px) {
    .mega-wrapper {
        top: 68px;
        width: 96%;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .mega-panel {
        border-radius: 18px;
    }

    .mega-service-grid {
        gap: 8px;
    }

    .mega-svc-img {
        width: 64px;
        height: 50px;
    }
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(197, 200, 212, .5);
    backdrop-filter: blur(2px);
    z-index: 39;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible
}

.mobile-menu {
    position: fixed;
    top: 78px;
    left: 50%;
    width: calc(100% - 24px);
    max-width: 420px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-radius: 20px;
    background: #e4e7f0;
    box-shadow: 10px 10px 28px #c5c8d4, -10px -10px 28px #fff;
    z-index: 40;
    transform: translateX(-50%) translateY(-14px) scaleY(.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .45s cubic-bezier(.16, 1, .3, 1);
    transform-origin: top center
}

.mobile-menu.active {
    transform: translateX(-50%) translateY(0) scaleY(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.mobile-menu::-webkit-scrollbar {
    width: .1px
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    font-weight: 500;
    font-size: .9rem;
    color: #3a3a4a;
    border-radius: 14px;
    margin: 6px 8px;
    cursor: pointer;
    transition: all .25s ease;
    background: #e4e7f0;
    box-shadow: 3px 3px 7px #c5c8d4, -3px -3px 7px #fff
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    box-shadow: inset 2px 2px 5px #c5c8d4, inset -2px -2px 5px #fff;
    color: #1e1e2a
}

.mobile-menu-link.active {
    color: #d35400
}

.mobile-solutions-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.16, 1, .3, 1)
}

.mobile-solutions-panel.open {
    max-height: 400px
}

.mobile-service-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    margin: 3px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all .3s ease
}

.mobile-service-item:hover {
    background: #e4e7f0;
    box-shadow: 4px 4px 10px #c5c8d4, -4px -4px 10px #fff
}

.mobile-service-img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 2px 2px 5px #c5c8d4, inset -2px -2px 5px #fff;
    flex-shrink: 0
}

.mobile-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.mobile-service-item:hover .mobile-service-img img {
    transform: scale(1.08)
}

.hamburger-btn {
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: #e4e7f0;
    padding: 0;
    border-radius: 12px;
    box-shadow: inset 2px 2px 5px #c5c8d4, inset -2px -2px 5px #fff;
    transition: box-shadow .3s
}

.hamburger-btn:hover {
    box-shadow: 3px 3px 8px #c5c8d4, -3px -3px 8px #fff
}

.hamburger-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #3a3a4a;
    border-radius: 2px;
    transition: all .3s;
    transform-origin: center
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg)
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg)
}

.browser-bar-inset {
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, .06), inset 0 -1px 0 rgba(0, 0, 0, .02)
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.animate-slide-up {
    animation: slideUp .85s cubic-bezier(.16, 1, .3, 1) forwards
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.92) translateY(12px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.animate-scale-in {
    animation: scaleIn .95s cubic-bezier(.16, 1, .3, 1) forwards
}

.grid-pattern {
    background-image: linear-gradient(rgba(197, 200, 212, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(197, 200, 212, .2) 1px, transparent 1px);
    background-size: 72px 72px
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 7px 7px 18px #c5c8d4, -7px -7px 18px #fff
}

.dropdown-chevron.rotated {
    transform: rotate(180deg)
}

.logo-mark {
    background: #fff;
    box-shadow: 2px 2px 6px #c5c8d4, -2px -2px 6px #fff;
    transition: all .2s
}

a:hover .logo-mark {
    box-shadow: 4px 4px 10px #c5c8d4, -4px -4px 10px #fff
}

@media (min-width:801px) {
    #mainNav .hidden.md\:flex {
        display: flex !important
    }

    #mainNav .hidden.md\:inline-flex {
        display: inline-flex !important
    }

    #mainNav .md\:hidden {
        display: none !important
    }
}

@media (max-width:800px) {
    #mainNav .md\:hidden {
        display: flex !important
    }

    #mainNav .hidden.md\:flex,
    #mainNav .hidden.md\:inline-flex {
        display: none !important
    }
}

@media (min-width:801px) {
    .hidden.md\:flex {
        display: flex !important
    }

    .md\:hidden {
        display: none !important
    }
}

@media (max-width:800px) {
    .hidden.md\:flex {
        display: none !important
    }

    .md\:hidden {
        display: block !important
    }
}

.img-reveal {
    overflow: hidden;
    border-radius: 20px;
}

.img-reveal img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-reveal:hover img {
    transform: scale(1.04);
}