/* ==========================================================================
   NM INFOCOM design system — loaded after main.css and restyles every page.
   Tokens first, then template overrides, then homepage sections (.nm-*).
   ========================================================================== */

:root {
  --nm-ink: #0b1430;
  --nm-heading: #0f172a;
  --nm-text: #3b4559;
  --nm-muted: #64748b;
  --nm-border: #e3e8f0;
  --nm-bg: #ffffff;
  --nm-bg-soft: #f5f7fb;
  --nm-primary: #1d4ed8;
  --nm-primary-dark: #1e3a8a;
  --nm-accent: #0ea5e9;
  --nm-success: #10b981;
  --nm-radius: 16px;
  --nm-radius-sm: 10px;
  --nm-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --nm-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --nm-shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .28);
  --nm-gradient: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
  --nm-gradient-dark: radial-gradient(1200px 500px at 85% -10%, rgba(14, 165, 233, .28), transparent 60%),
                      radial-gradient(900px 500px at -10% 110%, rgba(29, 78, 216, .35), transparent 60%),
                      #0b1430;

  /* Template variables (main.css) */
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --heading-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --nav-font: "Inter", system-ui, sans-serif;
  --background-color: var(--nm-bg);
  --default-color: var(--nm-text);
  --heading-color: var(--nm-heading);
  --accent-color: var(--nm-primary);
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-color: #1e293b;
  --nav-hover-color: var(--nm-primary);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #334155;
  --nav-dropdown-hover-color: var(--nm-primary);
}

.light-background { --background-color: var(--nm-bg-soft); --surface-color: #ffffff; }
.dark-background { --background-color: #0b1430; --default-color: #cbd5e1; --heading-color: #ffffff; --surface-color: #131d3d; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); letter-spacing: -0.02em; font-weight: 700; }
a { transition: color .2s ease; }
img { max-width: 100%; }
::selection { background: rgba(29, 78, 216, .16); }
:focus-visible { outline: 3px solid rgba(14, 165, 233, .55); outline-offset: 2px; border-radius: 6px; }
.container, .container-xl { --bs-gutter-x: 2rem; }
@media (max-width: 575px) { .container, .container-xl { --bs-gutter-x: 2rem; } }

.section { padding: 96px 0; scroll-margin-top: 80px; }
@media (max-width: 767px) { .section { padding: 64px 0; } }
/* Some legacy pages nest a .section inside another; keep only the inner one's spacing. */
.section:has(> .section) { padding: 0; }
main > .nm-cta:first-child, .main + .nm-cta { padding-top: 96px; }

/* Section titles used across all pages */
.section-title { padding-bottom: 48px; text-align: center; max-width: 760px; }
.section-title h2 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; margin-bottom: 14px; padding: 0;
  text-transform: none; letter-spacing: -0.03em;
}
.section-title h2::before, .section-title h2::after { display: none; }
.section-title p { color: var(--nm-muted); font-size: 1.08rem; margin: 0 auto; }

.nm-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--default-font);
  letter-spacing: .12em; text-transform: uppercase; color: var(--nm-primary);
  background: rgba(29, 78, 216, .08); border: 1px solid rgba(29, 78, 216, .15);
  padding: 8px 12px; border-radius: 999px; margin-bottom: 16px;
}
.dark-background .nm-eyebrow, .nm-dark .nm-eyebrow { color: #7dd3fc; background: rgba(125, 211, 252, .1); border-color: rgba(125, 211, 252, .25); }

/* ---------- Buttons ---------- */
.nm-btn, .btn-get-started, .nm-form button[type=submit], .cta-btn, .read-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem/1 var(--default-font); padding: 15px 26px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.nm-btn-primary, .btn-get-started, .nm-form button[type=submit], .cta-btn {
  background: var(--nm-primary); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(29, 78, 216, .65);
}
.nm-btn-primary:hover, .btn-get-started:hover, .nm-form button[type=submit]:hover, .cta-btn:hover {
  background: var(--nm-primary-dark); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(29, 78, 216, .7);
}
.nm-btn-ghost { background: #fff; color: var(--nm-heading); border-color: var(--nm-border); }
.nm-btn-ghost:hover { border-color: var(--nm-primary); color: var(--nm-primary); }
.nm-btn-light { background: #fff; color: var(--nm-ink); }
.nm-btn-light:hover { background: #e0f2fe; color: var(--nm-ink); }
.nm-btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.nm-btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: #fff; }
.nm-btn-sm { padding: 11px 18px; font-size: .92rem; border-radius: 10px; }

/* ---------- Header ---------- */
.header, .index-page .header, .scrolled .header, .scrolled .index-page .header {
  --background-color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .86) !important;
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .8); padding: 12px 0; box-shadow: none;
  transition: box-shadow .25s ease, padding .25s ease;
}
.scrolled .header { box-shadow: 0 6px 24px -14px rgba(15, 23, 42, .35); padding: 8px 0; }
.header .logo { gap: 10px; text-decoration: none; }
.header .logo img { max-height: 44px !important; width: auto; }
.header .logo .nm-wordmark { font: 800 1.15rem/1 var(--heading-font); color: var(--nm-ink); letter-spacing: -0.02em; }
.header .logo .nm-wordmark span { color: var(--nm-primary); }
.header .nm-header-cta { margin-left: 18px; }
@media (max-width: 1199px) { .header .nm-header-cta { display: none !important; } }

@media (min-width: 1200px) {
  .navmenu a, .navmenu a:focus { font-size: .95rem; font-weight: 500; padding: 10px 14px; color: var(--nav-color); }
  .navmenu li:last-child a { padding-right: 14px; }
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus { color: var(--nm-primary); }
  .navmenu .dropdown ul {
    border-radius: 14px; border: 1px solid var(--nm-border); box-shadow: var(--nm-shadow-lg); padding: 8px; min-width: 240px;
  }
  .navmenu .dropdown ul a { padding: 10px 14px; border-radius: 8px; font-size: .92rem; line-height: 1.35; }
  .navmenu .dropdown ul a:hover { background: var(--nm-bg-soft); }
}
.mobile-nav-toggle { color: var(--nm-ink); font-size: 30px; }
/* backdrop-filter would make the header the containing block of the fixed full-screen menu. */
.mobile-nav-active .header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }
.mobile-nav-active .navmenu > ul { border-radius: 16px; box-shadow: var(--nm-shadow-lg); }
.mobile-nav-active .mobile-nav-toggle { color: var(--nm-ink); }
.navmenu .nm-menu-cta { padding: 12px 20px 4px; }
.navmenu .nm-menu-cta a.nm-btn { display: flex; justify-content: center; color: #fff !important; padding: 14px 20px; }
.index-page .header .logo h1, .header .logo .sitename { color: var(--nm-ink); }

/* ---------- Inner page banner (all non-home pages) ---------- */
.page-title {
  background: var(--nm-gradient-dark) !important; padding: 150px 0 72px !important; position: relative; overflow: hidden; text-align: left;
}
.page-title::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 70%);
}
.page-title h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: -0.03em; }
.page-title p { color: #cbd5e1; max-width: 680px; }
.page-title .breadcrumbs ol { justify-content: flex-start; font-size: .92rem; }
.page-title .breadcrumbs ol li, .page-title .breadcrumbs ol a { color: #93c5fd; }
.page-title .breadcrumbs ol li + li::before { color: #64748b; }
.page-title .container { position: relative; z-index: 1; }

/* ---------- Generic cards used on inner pages ---------- */
.service-card, .service-item, .card-item, .member, .faq-item, .info-item, .post-item, .event-item, .job-card,
.product-card, .card.product, .service-box {
  border-radius: var(--nm-radius) !important;
}
.service-card, .service-item, .card-item {
  background: #fff; border: 1px solid var(--nm-border); box-shadow: var(--nm-shadow-sm); padding: 28px;
  height: 100%; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.service-card:hover, .service-item:hover, .card-item:hover { transform: translateY(-4px); box-shadow: var(--nm-shadow); border-color: rgba(29, 78, 216, .25); }
.service-card img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.service-card h4, .service-item h3 { font-size: 1.15rem; font-weight: 700; margin: 6px 0 10px; color: var(--nm-heading); }
.service-card p, .service-item p, .card-item p { color: var(--nm-muted); font-size: .97rem; }
.service-card ul { padding-left: 0; list-style: none; margin: 14px 0 6px; }
.service-card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .95rem; color: var(--nm-text); }
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(16, 185, 129, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 8.3l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.service-card .stretched-link, .service-item .stretched-link { color: var(--nm-primary); font-weight: 600; text-decoration: none; }
.left-image img { border-radius: 20px; box-shadow: var(--nm-shadow-lg); }
.right-description h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; }
.right-description p { color: var(--nm-muted); font-size: 1.05rem; }
@media (max-width: 991px) {
  .d-flex.justify-content-between.align-items-center.mb-5 { flex-direction: column; gap: 28px; }
}

/* Forms (all pages) */
.form-control, .form-select {
  border-radius: 12px; border: 1px solid #d5dce8; padding: 13px 16px; font-size: .98rem; color: var(--nm-heading); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus, .form-select:focus { border-color: var(--nm-primary); box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--nm-heading); margin-bottom: 6px; }

/* Scroll-to-top + preloader */
.scroll-top { background: var(--nm-primary); border-radius: 12px; width: 44px; height: 44px; box-shadow: var(--nm-shadow); }
.scroll-top:hover { background: var(--nm-primary-dark); }
#preloader::before { border-color: var(--nm-primary) transparent var(--nm-primary) transparent; }

/* ==========================================================================
   Homepage sections
   ========================================================================== */

/* Hero */
.nm-hero { position: relative; padding: 156px 0 88px; background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 70%); overflow: hidden; }
.nm-hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, .18), transparent 65%); pointer-events: none;
}
.nm-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.04em; color: var(--nm-ink); margin-bottom: 20px; }
.nm-hero h1 .nm-grad { background: var(--nm-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nm-hero .nm-lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); color: var(--nm-text); max-width: 560px; margin-bottom: 32px; }
.nm-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.nm-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--nm-text); font-size: .95rem; }
.nm-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.nm-hero-points i { color: var(--nm-success); font-size: 1.1rem; }
.nm-hero-visual { position: relative; }
.nm-hero-visual .nm-hero-img { border-radius: 24px; box-shadow: var(--nm-shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.nm-float {
  position: absolute; background: #fff; border: 1px solid var(--nm-border); border-radius: 16px; box-shadow: var(--nm-shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; animation: nm-bob 6s ease-in-out infinite;
}
.nm-float .nm-float-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; color: #fff; background: var(--nm-gradient); flex: none; }
.nm-float strong { display: block; font: 800 1.2rem/1.1 var(--heading-font); color: var(--nm-ink); }
.nm-float span { font-size: .82rem; color: var(--nm-muted); }
.nm-float-a { left: -28px; bottom: 36px; }
.nm-float-b { right: -18px; top: 28px; animation-delay: -3s; }
@keyframes nm-bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .nm-float { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 991px) {
  .nm-hero { padding: 120px 0 64px; }
  .nm-hero-visual { margin-top: 48px; }
  .nm-float-a { left: 12px; bottom: -20px; } .nm-float-b { right: 12px; top: -20px; }
}

/* Logo strip */
.nm-logos { padding: 36px 0 56px; }
.nm-logos p { text-align: center; color: var(--nm-muted); font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.nm-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.nm-marquee-track { display: flex; gap: 64px; width: max-content; animation: nm-scroll 36s linear infinite; align-items: center; }
.nm-marquee:hover .nm-marquee-track { animation-play-state: paused; }
.nm-marquee img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.nm-marquee img:hover { filter: none; opacity: 1; }
@keyframes nm-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nm-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Services grid */
.nm-services .nm-service {
  display: flex; flex-direction: column; height: 100%; padding: 30px; border-radius: var(--nm-radius); background: #fff;
  border: 1px solid var(--nm-border); text-decoration: none; color: inherit; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.nm-services .nm-service::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--nm-gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nm-services .nm-service:hover { transform: translateY(-4px); box-shadow: var(--nm-shadow); border-color: transparent; }
.nm-services .nm-service:hover::after { transform: scaleX(1); }
.nm-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  color: var(--nm-primary); background: linear-gradient(135deg, rgba(29, 78, 216, .12), rgba(14, 165, 233, .12)); margin-bottom: 20px;
}
.nm-service h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--nm-heading); }
.nm-service p { color: var(--nm-muted); font-size: .97rem; margin-bottom: 18px; flex: 1; }
.nm-service .nm-link { font-weight: 600; color: var(--nm-primary); display: inline-flex; align-items: center; gap: 6px; }
.nm-service:hover .nm-link i { transform: translateX(3px); }
.nm-link i { transition: transform .2s ease; }

/* About */
.nm-about-img { border-radius: 24px; box-shadow: var(--nm-shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.nm-about h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.nm-about .nm-lead { color: var(--nm-muted); font-size: 1.07rem; margin-bottom: 24px; }
.nm-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--nm-bg-soft); border: 1px solid var(--nm-border); margin-bottom: 8px; flex-wrap: wrap; }
.nm-tabs .nav-link { border-radius: 9px; padding: 9px 16px; font-weight: 600; font-size: .92rem; color: var(--nm-muted); background: none; border: 0; }
.nm-tabs .nav-link.active { background: #fff; color: var(--nm-heading); box-shadow: var(--nm-shadow-sm); }
.nm-check { display: flex; gap: 14px; margin-top: 22px; }
.nm-check i { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(16, 185, 129, .12); color: var(--nm-success); font-size: 1rem; }
.nm-check h4 { font-size: 1.02rem; font-weight: 700; margin: 2px 0 4px; }
.nm-check p { margin: 0; color: var(--nm-muted); font-size: .95rem; }

/* Stats band */
.nm-stats { background: var(--nm-gradient-dark); padding: 64px 0; color: #fff; }
.nm-stat { text-align: center; padding: 8px; }
.nm-stat strong { display: block; font: 800 clamp(2.2rem, 1.6rem + 2vw, 3rem)/1 var(--heading-font); color: #fff; letter-spacing: -0.03em; }
.nm-stat .nm-plus { color: #7dd3fc; }
.nm-stat p { margin: 10px 0 0; color: #a5b4cf; font-size: .95rem; }

/* Process */
.nm-step { position: relative; padding: 28px; border-radius: var(--nm-radius); background: #fff; border: 1px solid var(--nm-border); height: 100%; }
.nm-step .nm-step-num { font: 800 .85rem/1 var(--heading-font); color: var(--nm-primary); letter-spacing: .1em; margin-bottom: 18px; display: block; }
.nm-step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.nm-step p { color: var(--nm-muted); font-size: .95rem; margin: 0; }

/* Why us */
.nm-why .nm-why-card { padding: 30px; border-radius: var(--nm-radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); height: 100%; }
.nm-why .nm-why-card span { font: 800 .9rem/1 var(--heading-font); color: #7dd3fc; letter-spacing: .08em; }
.nm-why .nm-why-card h3 { color: #fff; font-size: 1.2rem; margin: 14px 0 10px; }
.nm-why .nm-why-card p { color: #a5b4cf; margin: 0; font-size: .97rem; }
.nm-dark { background: var(--nm-gradient-dark); color: #cbd5e1; }
.nm-dark .section-title h2 { color: #fff; }
.nm-dark .section-title p { color: #a5b4cf; }

/* Testimonials */
.nm-quote { background: #fff; border: 1px solid var(--nm-border); border-radius: var(--nm-radius); padding: 28px; height: 100%; display: flex; flex-direction: column; box-shadow: var(--nm-shadow-sm); }
.nm-quote .nm-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.nm-quote blockquote { margin: 0 0 22px; color: var(--nm-text); font-size: 1rem; flex: 1; }
.nm-person { display: flex; align-items: center; gap: 12px; }
.nm-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem/1 var(--heading-font); color: #fff; background: var(--nm-gradient); flex: none; }
.nm-person strong { display: block; color: var(--nm-heading); font-size: .97rem; }
.nm-person span { color: var(--nm-muted); font-size: .86rem; }
.nm-person .nm-avatar { color: #fff; font-size: .95rem; }

/* Team */
.nm-member { text-align: center; padding: 28px; border-radius: var(--nm-radius); border: 1px solid var(--nm-border); background: #fff; height: 100%; }
.nm-member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; box-shadow: 0 0 0 6px var(--nm-bg-soft); }
.nm-member h4 { font-size: 1.1rem; margin-bottom: 4px; }
.nm-member span { color: var(--nm-muted); font-size: .93rem; }
.nm-member .nm-social { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.nm-social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--nm-bg-soft); color: var(--nm-text); }
.nm-social a:hover { background: var(--nm-primary); color: #fff; }

/* FAQ */
.nm-faq .faq-item { background: #fff; border: 1px solid var(--nm-border); border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; position: relative; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.nm-faq .faq-item h3 { font-size: 1.02rem; font-weight: 700; margin: 0; padding-right: 36px; color: var(--nm-heading); }
.nm-faq .faq-item .faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease, margin .3s ease; }
.nm-faq .faq-item .faq-content > div { overflow: hidden; }
.nm-faq .faq-item .faq-content p { margin: 0; color: var(--nm-muted); }
.nm-faq .faq-item .faq-toggle { position: absolute; right: 22px; top: 20px; font-size: 1.1rem; color: var(--nm-muted); transition: transform .3s; }
.nm-faq .faq-item.faq-active { border-color: rgba(29, 78, 216, .35); box-shadow: var(--nm-shadow-sm); }
.nm-faq .faq-item.faq-active .faq-content { grid-template-rows: 1fr; margin-top: 12px; }
.nm-faq .faq-item.faq-active .faq-toggle { transform: rotate(45deg); color: var(--nm-primary); }

/* CTA band */
.nm-cta { padding: 0 0 96px; }
.nm-cta-card {
  border-radius: 28px; padding: clamp(36px, 5vw, 64px); background: var(--nm-gradient-dark); color: #cbd5e1; position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.nm-cta-card h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.nm-cta-card p { margin: 0; max-width: 560px; }
.nm-cta-card .nm-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact */
.nm-contact-card { background: #fff; border: 1px solid var(--nm-border); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--nm-shadow); }
.nm-contact-info { display: grid; gap: 14px; }
.nm-contact-info a, .nm-contact-info div.nm-info { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; border: 1px solid var(--nm-border); background: #fff; color: inherit; text-decoration: none; }
.nm-contact-info a:hover { border-color: rgba(29, 78, 216, .35); }
.nm-contact-info strong { display: block; color: var(--nm-heading); font-size: .95rem; }
.nm-contact-info span { color: var(--nm-muted); font-size: .93rem; word-break: break-word; }
.nm-contact-info .nm-icon { margin: 0; width: 44px; height: 44px; font-size: 1.15rem; flex: none; }
.nm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer.dark-background, .footer { background: #0b1430 !important; color: #a5b4cf; padding-top: 0; font-size: .95rem; }
.footer .footer-top { padding-top: 72px; }
.footer .nm-wordmark { font: 800 1.3rem/1 var(--heading-font); color: #fff; }
.footer .nm-wordmark span { color: #38bdf8; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul li { padding: 6px 0; }
.footer .footer-links ul a { color: #a5b4cf; text-decoration: none; }
.footer .footer-links ul a:hover { color: #fff; }
.footer .social-links a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .12); color: #cbd5e1; margin-right: 8px; font-size: 1rem; }
.footer .social-links a:hover { background: var(--nm-primary); border-color: var(--nm-primary); color: #fff; }
.footer .nm-newsletter { display: flex; gap: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 6px; }
.footer .nm-newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 12px; outline: none; }
.footer .nm-newsletter input::placeholder { color: #7c8aa5; }
.footer .nm-newsletter button { border: 0; border-radius: 10px; background: var(--nm-primary); color: #fff; font-weight: 600; padding: 10px 18px; }
.footer .nm-newsletter button:hover { background: #2563eb; }
.footer .nm-form-msg { font-size: .88rem; margin-top: 10px; min-height: 1.2em; }
.footer .copyright { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; margin-top: 56px !important; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #7c8aa5; }
.footer .copyright a { color: #a5b4cf; }

/* ---------- Listing pages (products, blog, events): light filter sidebar ---------- */
body .sidebar {
  background: #fff !important; color: var(--nm-text) !important; border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius) !important; box-shadow: var(--nm-shadow-sm) !important; align-self: flex-start;
}
body .sidebar h2, body .sidebar h3, body .sidebar h4, body .sidebar label, body .sidebar span, body .sidebar p { color: var(--nm-heading) !important; }
body .sidebar .product-count, body .sidebar .count { color: var(--nm-muted) !important; }
body .sidebar input[type=text], body .sidebar input[type=search], body .sidebar input[type=number], body .sidebar select,
body .sort-select, body .price-inputs input, body .search-box input, body .mobile-search input {
  background: #fff !important; color: var(--nm-heading) !important; border: 1px solid #d5dce8 !important; border-radius: 10px !important; padding: 10px 12px !important;
}
body .sort-select option { background: #fff !important; color: var(--nm-heading) !important; }
body .sidebar input[type=checkbox], body .sidebar input[type=range] { accent-color: var(--nm-primary); }
body .sidebar .filter-group, body .sidebar .filter-section { border-color: var(--nm-border) !important; }
body .mobile-header, body .mobile-search { background: #fff !important; border-bottom: 1px solid var(--nm-border); }
body .sidebar-toggle { background: var(--nm-primary) !important; border-radius: 10px !important; }

/* Listing cards */
body .product-card, body .blog-card, body .event-card, body .post-item {
  border: 1px solid var(--nm-border) !important; border-radius: var(--nm-radius) !important; box-shadow: var(--nm-shadow-sm) !important; overflow: hidden; background: #fff;
  transition: transform .2s ease, box-shadow .25s ease;
}
body .product-card:hover, body .blog-card:hover, body .event-card:hover, body .post-item:hover { transform: translateY(-4px); box-shadow: var(--nm-shadow) !important; }
body .product-card .btn, body .blog-card .btn, body .view-details, body .view-details-btn, body .read-more-btn {
  background: var(--nm-primary) !important; border-color: var(--nm-primary) !important; color: #fff !important; border-radius: 10px !important; font-weight: 600;
}
body .sidebar .search-box, body .sidebar .filter-group { background: var(--nm-bg-soft) !important; border: 1px solid var(--nm-border) !important; border-radius: 12px !important; }
body .sidebar .category-divider { background: var(--nm-border) !important; }
body .sidebar .price-slider { background: #dbe3f0 !important; accent-color: var(--nm-primary); }
body .product-card .btn-primary, body .blog-card .btn-primary { background: var(--nm-primary) !important; border: 0 !important; color: #fff !important; border-radius: 10px !important; font-weight: 600; }
body .product-card .btn-primary:hover, body .blog-card .btn-primary:hover { background: var(--nm-primary-dark) !important; }

/* ---------- Service detail cards (IT security, infrastructure, cloud, mobility pages) ---------- */
.service-card, .resource-card {
  display: flex; flex-direction: column; padding: 0 !important; overflow: hidden; background: #fff;
  border: 1px solid var(--nm-border); border-radius: var(--nm-radius) !important; box-shadow: var(--nm-shadow-sm); height: 100%;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.service-card:hover, .resource-card:hover { transform: translateY(-4px); box-shadow: var(--nm-shadow); border-color: rgba(29, 78, 216, .25); }
.service-card > img {
  border-radius: 0 !important; margin: 0 0 22px !important; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover > img { transform: scale(1.03); }
.service-card > :not(img), .resource-card > * { margin-left: 24px; margin-right: 24px; }
.resource-card > i:first-child { margin-top: 28px; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem !important; color: var(--nm-primary); background: linear-gradient(135deg, rgba(29, 78, 216, .12), rgba(14, 165, 233, .12)); }
.service-card h4, .resource-card h4 { font-size: 1.12rem; font-weight: 700; margin-top: 0; margin-bottom: 8px; color: var(--nm-heading); }
.service-card p, .resource-card p { color: var(--nm-muted); font-size: .95rem; margin-bottom: 12px; }
.service-card ul { margin-top: 4px; margin-bottom: 18px; }
.service-card > a:last-child, .resource-card > a:last-child { margin-top: auto; margin-bottom: 22px; }
.nm-card-link {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 600; font-size: .93rem;
  color: var(--nm-primary) !important; text-decoration: none; padding-top: 14px; border-top: 1px solid #eef1f6; width: calc(100% - 48px);
}
.nm-card-link i { transition: transform .2s ease; }
.nm-card-link:hover i { transform: translateX(3px); }
.service-card > .stretched-link { color: var(--nm-primary); font-weight: 600; padding-top: 14px; border-top: 1px solid #eef1f6; }
.service-card, .service-card *, .resource-card, .resource-card * { text-align: left !important; }
.service-card ul li { justify-content: flex-start; }
.nm-empty { grid-column: 1 / -1; text-align: center; padding: 64px 24px; border: 1px dashed #cdd6e4; border-radius: var(--nm-radius); background: #fff; }
.nm-empty i { font-size: 2.4rem; color: var(--nm-primary); }
.nm-empty h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.nm-empty p { color: var(--nm-muted); max-width: 460px; margin: 0 auto 20px; }

/* Overview pages (IT Security, IT Infrastructure, Mobility): equal-height cards that grow with content. */
#services .service-card { height: 100% !important; padding: 0 !important; text-align: left !important; }
#services .service-card:hover { background: #fff !important; color: inherit !important; }
#services .service-card:hover h4 { color: var(--nm-heading) !important; }
#services .service-card:hover p, #services .service-card:hover ul li { color: inherit !important; }
#services .service-card ul { padding-left: 0 !important; flex-grow: 1; }
#services .service-card > a:last-child, .service-card a.nm-card-link { margin-top: auto !important; font-weight: 600 !important; color: var(--nm-primary) !important; text-decoration: none !important; display: inline-flex !important; }
#services .service-card img, #services .service-card .img-fluid.rounded.mb-3 { border-radius: 0 !important; margin: 0 0 22px !important; }
.service-card:hover .nm-card-link i { transform: translateX(3px); }

/* ==========================================================================
   Web Development page (webdev.php)
   ========================================================================== */
.wd-hero { position: relative; overflow: hidden; padding: 150px 0 96px; background: var(--nm-gradient-dark); color: #cbd5e1; }
.wd-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.wd-hero .container { position: relative; z-index: 1; }
.wd-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); line-height: 1.07; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 20px; }
.wd-hero .nm-grad { background: linear-gradient(135deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wd-hero .nm-lead { color: #cbd5e1; font-size: 1.12rem; max-width: 560px; margin-bottom: 30px; }
.wd-hero .nm-eyebrow { color: #7dd3fc; background: rgba(125, 211, 252, .1); border-color: rgba(125, 211, 252, .25); }
.wd-crumbs { font-size: .88rem; color: #64748b; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.wd-crumbs a { color: #93c5fd; text-decoration: none; }
.wd-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; }
.wd-points li { display: inline-flex; align-items: center; gap: 8px; }
.wd-points i { color: #34d399; }

.wd-mock { position: relative; padding: 24px 0 48px; }
.wd-window { border-radius: 18px; background: #0f1a3a; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.wd-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); }
.wd-bar span { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.wd-bar span:nth-child(2) { background: #fbbf24; } .wd-bar span:nth-child(3) { background: #34d399; }
.wd-bar em { margin-left: 12px; font-style: normal; font-size: .8rem; color: #8193ad; background: rgba(255,255,255,.06); padding: 4px 12px; border-radius: 999px; }
.wd-screen { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 300px; }
.wd-code { padding: 22px 20px; font: 500 .86rem/1.85 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #cbd5e1; border-right: 1px solid rgba(255,255,255,.07); }
.wd-code p { margin: 0; white-space: nowrap; } .wd-code .i { padding-left: 18px; }
.wd-code b { font-weight: 500; } .wd-code .k { color: #c084fc; } .wd-code .v { color: #60a5fa; } .wd-code .s { color: #34d399; } .wd-code .c { color: #64748b; margin-top: 8px; }
.wd-preview { padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.wd-skel { border-radius: 8px; background: #e7ecf5; }
.wd-skel-nav { height: 12px; width: 100%; } .wd-skel-h { height: 26px; width: 85%; background: linear-gradient(90deg, #1d4ed8, #0ea5e9); opacity: .85; }
.wd-skel-p { height: 46px; width: 100%; } .wd-skel-btn { height: 28px; width: 46%; background: #1d4ed8; }
.wd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.wd-tiles span { height: 54px; border-radius: 10px; background: #eef2fa; border: 1px solid #e1e7f2; }
.wd-float-a { left: -26px; bottom: -34px; } .wd-float-b { right: -16px; top: -4px; animation-delay: -3s; }
@media (max-width: 991px) { .wd-hero { padding: 120px 0 72px; } .wd-float-a { left: 8px; } .wd-float-b { right: 8px; } }
@media (max-width: 575px) { .wd-screen { grid-template-columns: 1fr; } .wd-preview { display: none; } .wd-code { border-right: 0; } }

.wd-h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.wd-benefit { display: flex; gap: 14px; padding: 20px; height: 100%; background: #fff; border: 1px solid var(--nm-border); border-radius: 14px; }
.wd-benefit > i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; color: var(--nm-primary); background: linear-gradient(135deg, rgba(29,78,216,.12), rgba(14,165,233,.12)); }
.wd-benefit h3 { font-size: 1rem; margin: 2px 0 4px; } .wd-benefit p { margin: 0; color: var(--nm-muted); font-size: .92rem; }

.wd-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.wd-timeline li { position: relative; display: flex; gap: 14px; }
.wd-num { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 800 .95rem/1 var(--heading-font); color: #fff; background: var(--nm-gradient); box-shadow: 0 10px 20px -10px rgba(29,78,216,.7); }
.wd-step { flex: 1; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--nm-border); box-shadow: var(--nm-shadow-sm); }
.wd-step h3 { font-size: 1.1rem; margin-bottom: 8px; } .wd-step p { color: var(--nm-muted); font-size: .95rem; margin-bottom: 14px; }
.wd-meet { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; padding: 5px 10px; border-radius: 999px; }
@media (max-width: 991px) { .wd-timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .wd-timeline { grid-template-columns: 1fr; } }

.wd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wd-chips span { padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #dbeafe; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.nm-webdev .nm-why-card span i { font-size: 1.3rem; }
.wd-cta { padding-top: 96px; }

/* ==========================================================================
   Blog (Blogs.php, blog-details.php)
   ========================================================================== */
.bl-chip { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nm-primary); background: rgba(29,78,216,.08); padding: 6px 10px; border-radius: 999px; }
.bl-chip-dark { color: #7dd3fc; background: rgba(125,211,252,.12); }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--nm-muted); }
.bl-meta i { margin-right: 4px; }
.bl-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; background: #fff;
  border: 1px solid var(--nm-border); box-shadow: var(--nm-shadow); text-decoration: none; color: inherit; margin-bottom: 48px;
  transition: transform .2s ease, box-shadow .25s ease;
}
.bl-featured:hover { transform: translateY(-3px); box-shadow: var(--nm-shadow-lg); }
.bl-featured-img { min-height: 340px; overflow: hidden; }
.bl-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bl-featured:hover img { transform: scale(1.04); }
.bl-featured-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.bl-featured-body h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; margin: 0; color: var(--nm-heading); letter-spacing: -0.02em; }
.bl-featured-body p { color: var(--nm-muted); margin: 0; font-size: 1.02rem; }
.bl-featured .nm-link { font-weight: 600; color: var(--nm-primary); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 991px) { .bl-featured { grid-template-columns: 1fr; } .bl-featured-img { min-height: 220px; aspect-ratio: 16 / 9; } }

.bl-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 28px; }
.bl-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-filters button { border: 1px solid var(--nm-border); background: #fff; color: var(--nm-text); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; }
.bl-filters button small { color: var(--nm-muted); font-weight: 600; margin-left: 2px; }
.bl-filters button.active, .bl-filters button:hover { background: var(--nm-ink); color: #fff; border-color: var(--nm-ink); }
.bl-filters button.active small { color: #93c5fd; }
.bl-search { position: relative; margin: 0; min-width: 260px; flex: 0 1 320px; }
.bl-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--nm-muted); }
.bl-search input { width: 100%; border: 1px solid #d5dce8; border-radius: 999px; padding: 11px 16px 11px 40px; font-size: .95rem; }
.bl-search input:focus { outline: none; border-color: var(--nm-primary); box-shadow: 0 0 0 4px rgba(29,78,216,.12); }

.bl-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--nm-radius); overflow: hidden; background: #fff; border: 1px solid var(--nm-border); box-shadow: var(--nm-shadow-sm); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .25s ease; }
.bl-card:hover { transform: translateY(-4px); box-shadow: var(--nm-shadow); }
.bl-card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.bl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bl-card:hover .bl-card-img img { transform: scale(1.05); }
.bl-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bl-card-body h3 { font-size: 1.12rem; font-weight: 700; margin: 0; color: var(--nm-heading); line-height: 1.35; }
.bl-card-body p { color: var(--nm-muted); font-size: .94rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card-body .bl-meta { margin-top: auto; padding-top: 6px; }

.bl-article-head { background: var(--nm-gradient-dark); padding: 140px 0 56px; color: #cbd5e1; }
.bl-article-head h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 14px 0 18px; }
.bl-meta-dark { color: #a5b4cf; align-items: center; }
.bl-author { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.bl-author .nm-avatar { width: 30px; height: 30px; font-size: .8rem; }
.bl-article { padding: 48px 0 80px; }
.bl-cover { width: 100%; border-radius: 18px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--nm-shadow); margin-bottom: 28px; }
.bl-lead { font-size: 1.2rem; line-height: 1.7; color: var(--nm-heading); font-weight: 500; }
.bl-body { font-size: 1.06rem; line-height: 1.8; color: var(--nm-text); }
.bl-body h2 { font-size: 1.6rem; margin: 36px 0 12px; } .bl-body h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.bl-body ul, .bl-body ol { padding-left: 1.3rem; margin-bottom: 1.2rem; } .bl-body li { margin-bottom: 6px; }
.bl-body a { color: var(--nm-primary); text-decoration: underline; text-underline-offset: 3px; }
.bl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--nm-border); }
.bl-share strong { margin-right: 6px; color: var(--nm-heading); }
.bl-share a, .bl-share button { height: 40px; min-width: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--nm-border); background: #fff; color: var(--nm-text); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.bl-share a:hover, .bl-share button:hover { border-color: var(--nm-primary); color: var(--nm-primary); }
.bl-side { position: sticky; top: 100px; padding: 26px; border-radius: 18px; background: var(--nm-bg-soft); border: 1px solid var(--nm-border); }
.bl-side h3 { font-size: 1.25rem; margin-bottom: 8px; } .bl-side p { color: var(--nm-muted); font-size: .95rem; }
.bl-related-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 24px; }
.bl-featured-body .bl-chip, .bl-card-body .bl-chip { align-self: flex-start; }
.bl-article-head h1 { max-width: 900px; }

/* ==========================================================================
   Careers (Career.php)
   ========================================================================== */
.cr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cr-stats div { padding: 22px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.cr-stats strong { display: block; font: 800 1.7rem/1.1 var(--heading-font); color: #fff; }
.cr-stats span { color: #a5b4cf; font-size: .9rem; }
.cr-type { width: auto; border-radius: 999px; padding: 10px 36px 10px 16px; }
.cr-jobs { display: grid; gap: 14px; }
.cr-job { background: #fff; border: 1px solid var(--nm-border); border-radius: var(--nm-radius); box-shadow: var(--nm-shadow-sm); transition: border-color .2s, box-shadow .2s; }
.cr-job[open], .cr-job:hover { border-color: rgba(29,78,216,.3); box-shadow: var(--nm-shadow); }
.cr-job summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; flex-wrap: wrap; }
.cr-job summary::-webkit-details-marker { display: none; }
.cr-job-team { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nm-primary); }
.cr-job h3 { font-size: 1.2rem; margin: 4px 0 8px; color: var(--nm-heading); }
.cr-job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--nm-muted); font-size: .9rem; }
.cr-job-meta i { margin-right: 4px; }
.cr-job-side { display: flex; align-items: center; gap: 14px; }
.cr-deadline { font-size: .8rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; color: #047857; background: #ecfdf5; }
.cr-deadline.soon { color: #b45309; background: #fffbeb; }
.cr-toggle { font-weight: 600; color: var(--nm-primary); font-size: .92rem; white-space: nowrap; }
.cr-toggle i { display: inline-block; transition: transform .2s; }
.cr-job[open] .cr-toggle i { transform: rotate(180deg); }
.cr-job-body { padding: 0 24px 24px; border-top: 1px solid #eef1f6; padding-top: 20px; }
.cr-job-body h4 { font-size: 1rem; margin-bottom: 10px; }
.cr-job-body ul { padding-left: 1.1rem; color: var(--nm-text); margin-bottom: 0; }
.cr-job-body li { margin-bottom: 6px; }
.cr-skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.cr-skills span { font-size: .84rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--nm-bg-soft); border: 1px solid var(--nm-border); color: var(--nm-text); }
.cr-job-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
#applyModal .modal-content { border: 0; border-radius: 20px; }
#applyModal .modal-header, #applyModal .modal-footer { border-color: var(--nm-border); }

/* ==========================================================================
   Events (Events.php)
   ========================================================================== */
.ev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.ev-head h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800; margin: 0; }
.ev-count { font-weight: 600; color: var(--nm-muted); }
.ev-next { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--nm-border); box-shadow: var(--nm-shadow); }
.ev-next-img { position: relative; min-height: 320px; background: var(--nm-gradient-dark); }
.ev-next-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-next-body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.ev-next-body h3 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem); font-weight: 800; margin: 0; }
.ev-next-body p { color: var(--nm-muted); margin: 0; }
.ev-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ev-mode { font-size: .84rem; font-weight: 600; color: var(--nm-text); }
.ev-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--nm-text); }
.ev-facts i { color: var(--nm-primary); margin-right: 8px; }
.ev-countdown { display: flex; gap: 10px; }
.ev-countdown div { flex: 1; max-width: 110px; text-align: center; padding: 12px 8px; border-radius: 14px; background: var(--nm-bg-soft); border: 1px solid var(--nm-border); }
.ev-countdown strong { display: block; font: 800 1.6rem/1 var(--heading-font); color: var(--nm-ink); }
.ev-countdown span { font-size: .78rem; color: var(--nm-muted); }
.ev-badge { position: absolute; top: 14px; left: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(11,20,48,.75); color: #fff; backdrop-filter: blur(4px); }
.ev-badge-live { background: var(--nm-success); }
@media (max-width: 991px) { .ev-next { grid-template-columns: 1fr; } .ev-next-img { min-height: 220px; aspect-ratio: 16 / 9; } }
.ev-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nm-border); border-radius: var(--nm-radius); overflow: hidden; box-shadow: var(--nm-shadow-sm); transition: transform .2s, box-shadow .25s; }
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--nm-shadow); }
.ev-card-img { position: relative; aspect-ratio: 16 / 9; background: var(--nm-gradient-dark); overflow: hidden; }
.ev-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-past .ev-card-img img { filter: saturate(.75); }
.ev-date { position: absolute; right: 14px; bottom: 14px; background: #fff; border-radius: 12px; padding: 8px 12px; text-align: center; box-shadow: var(--nm-shadow); }
.ev-date strong { display: block; font: 800 1.35rem/1 var(--heading-font); color: var(--nm-ink); }
.ev-date span { font-size: .74rem; font-weight: 600; color: var(--nm-muted); text-transform: uppercase; }
.ev-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ev-card-body h3 { font-size: 1.12rem; margin: 0; }
.ev-card-body p { color: var(--nm-muted); font-size: .94rem; margin: 0; }
.ev-card-body .bl-chip { align-self: flex-start; }
.ev-when { font-size: .88rem !important; } .ev-when i { margin-right: 4px; }
.ev-card .nm-card-link { margin-top: auto; width: 100%; }
.bl-toolbar > .d-flex { flex-direction: row !important; align-items: center; }
.bl-toolbar .cr-type { flex: 0 0 auto; width: auto !important; }
@media (max-width: 575px) { .bl-toolbar > .d-flex { flex-wrap: wrap !important; width: 100%; } .bl-search { min-width: 0; flex: 1 1 100%; } }
@media (min-width: 576px) { .bl-toolbar > .d-flex { flex-wrap: nowrap !important; } .bl-toolbar > .d-flex .bl-search { flex: 0 0 300px; min-width: 0; } }
