/* =========================================================
   New Mediland — frontend design system
   ========================================================= */
:root {
  --nm-primary: #0d3b8c;
  --nm-primary-600: #0a2f70;
  --nm-primary-50: #eef4ff;
  --nm-accent: #0ea5a4;
  --nm-accent-50: #e6f7f6;
  --nm-cta: #f59e0b;
  --nm-cta-600: #d97706;
  --nm-dark: #0f1b33;
  --nm-text: #1f2937;
  --nm-muted: #64748b;
  --nm-border: #e5e7eb;
  --nm-bg: #f6f8fc;
  --nm-white: #fff;
  --nm-radius: 14px;
  --nm-radius-sm: 10px;
  --nm-shadow: 0 6px 24px rgba(15, 27, 51, .08);
  --nm-shadow-lg: 0 14px 40px rgba(15, 27, 51, .14);
  --nm-font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nm-header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--nm-font);
  color: var(--nm-text);
  background: var(--nm-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--nm-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--nm-accent); }
h1, h2, h3, h4, h5, h6 { color: var(--nm-dark); font-weight: 700; line-height: 1.25; }
:focus-visible { outline: 3px solid rgba(14, 165, 164, .45); outline-offset: 2px; }

/* ---------- Utilities ---------- */
.nm-section { padding: 64px 0; }
.nm-section-sm { padding: 40px 0; }
.nm-bg-soft { background: var(--nm-bg); }
.nm-eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--nm-accent); background: var(--nm-accent-50);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
}
.nm-section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.nm-section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.nm-section-head p { color: var(--nm-muted); margin: 0; }
.nm-empty {
  text-align: center; color: var(--nm-muted); padding: 48px 16px;
  border: 2px dashed var(--nm-border); border-radius: var(--nm-radius);
}
.nm-empty i { font-size: 2rem; display: block; margin-bottom: 10px; color: #cbd5e1; }

/* ---------- Buttons ---------- */
.nm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: all .2s ease; text-decoration: none; white-space: nowrap;
}
.nm-btn-sm { padding: 8px 16px; font-size: .85rem; }
.nm-btn-block { width: 100%; }
.nm-btn-primary { background: var(--nm-primary); color: #fff; }
.nm-btn-primary:hover { background: var(--nm-primary-600); color: #fff; transform: translateY(-1px); box-shadow: var(--nm-shadow); }
.nm-btn-cta { background: var(--nm-cta); color: #1f1300; }
.nm-btn-cta:hover { background: var(--nm-cta-600); color: #fff; transform: translateY(-1px); box-shadow: var(--nm-shadow); }
.nm-btn-accent { background: var(--nm-accent); color: #fff; }
.nm-btn-accent:hover { background: #0b8b8a; color: #fff; }
.nm-btn-outline { background: transparent; color: var(--nm-primary); border-color: var(--nm-primary); }
.nm-btn-outline:hover { background: var(--nm-primary); color: #fff; }
.nm-btn-light { background: #fff; color: var(--nm-primary); }
.nm-btn-light:hover { background: var(--nm-primary-50); color: var(--nm-primary); }
.nm-btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.nm-btn-ghost-light:hover { background: #fff; color: var(--nm-primary); }
.nm-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Top bar ---------- */
.nm-topbar { background: var(--nm-dark); color: #cbd5e1; font-size: .85rem; }
.nm-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.nm-topbar-info { display: flex; flex-wrap: nowrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.nm-topbar-info li { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-topbar-info li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.nm-topbar-info i { flex-shrink: 0; }
.nm-topbar-info i { color: var(--nm-accent); }
.nm-topbar a { color: #cbd5e1; }
.nm-topbar a:hover { color: #fff; }
.nm-social { display: flex; gap: 8px; }
.nm-social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff; font-size: .85rem; transition: all .2s;
}
.nm-social a:hover { background: var(--nm-accent); color: #fff; transform: translateY(-2px); }

/* ---------- Header / Navbar ---------- */
.nm-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--nm-border);
  transition: box-shadow .2s;
}
.nm-header.is-scrolled { box-shadow: 0 8px 28px rgba(15,27,51,.12); border-bottom-color: transparent; }
.nm-header-main .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding-top: 8px; padding-bottom: 8px; transition: min-height .25s ease, padding .25s ease;
}
.nm-header.is-scrolled .nm-header-main .container { min-height: 58px; padding-top: 4px; padding-bottom: 4px; }
.nm-header.is-scrolled .nm-brand img { height: 42px; }
.nm-header.is-scrolled .nm-brand-tag { max-height: 0; opacity: 0; }
.nm-header .navbar { padding: 0; box-shadow: none; background: transparent; min-height: 0; }
.nm-menubar { background: var(--nm-primary) !important; }
.nm-menubar-inner { padding-left: 24px; padding-right: 24px; }
/* Below 1200px (hamburger menu): match .container widths so the list lines up with the logo row. */
@media (max-width: 1199.98px) { .nm-menubar-inner { padding-left: 12px; padding-right: 12px; max-width: 960px; } }
@media (max-width: 991.98px)  { .nm-menubar-inner { max-width: 720px; } }
@media (max-width: 767.98px)  { .nm-menubar-inner { max-width: 540px; } }
@media (max-width: 575.98px)  { .nm-menubar-inner { max-width: 100%; } }

/* Desktop menu bar (>= 1200px): always one line; overflow goes into "More" (see nmPriorityNav JS). */
@media (min-width: 1200px) {
  /* min-width:0 stops the flex boxes from growing with their content, so overflow can be measured. */
  .nm-menubar .navbar-collapse { justify-content: center; min-width: 0; }
  .nm-menubar .navbar-nav { min-width: 0; }
  /* Full-width bar: items share the whole width evenly. */
  .nm-menubar .navbar-nav { flex-wrap: nowrap; justify-content: space-between; width: 100%; max-width: 100%; }
  .nm-menubar .navbar-nav > .nav-item { flex: 1 0 auto; text-align: center; }
  .nm-menubar { background: linear-gradient(90deg, var(--nm-primary-600) 0%, var(--nm-primary) 50%, var(--nm-primary-600) 100%) !important; }
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link {
    position: relative; color: #dbe4f7 !important; padding: 14px 16px !important; border-radius: 0;
    white-space: nowrap; font-size: .95rem; line-height: 1.25; justify-content: center; letter-spacing: .01em;
    transition: color .2s, background-color .2s;
  }
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link::before {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
    border-radius: 3px 3px 0 0; background: var(--nm-cta);
    transform: scaleX(0); transition: transform .25s ease;
  }
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link:hover,
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link.show { color: #fff !important; background: rgba(255,255,255,.07); }
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link.active { color: #fff !important; background: rgba(255,255,255,.1); }
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link:hover::before,
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link.show::before,
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link.active::before { transform: scaleX(1); }
  .nm-header .nm-menubar .navbar-nav > .nav-item > .dropdown-toggle::after { transition: transform .2s; }
  .nm-header .nm-menubar .navbar-nav > .nav-item > .dropdown-toggle.show::after { transform: rotate(180deg); }
  .nm-menubar .dropdown-menu {
    margin-top: 0 !important; border-top: 3px solid var(--nm-cta);
    border-top-left-radius: 0; border-top-right-radius: 0;
  }
  .nm-menubar .dropdown-menu.show { animation: nm-drop .18s ease-out; }
  .nm-menubar .dropdown-item { transition: background-color .15s, color .15s, padding-left .15s; }
  .nm-menubar .dropdown-item:hover { padding-left: 16px; }

  /* Items moved into "More": nested dropdowns become a small labelled group. */
  .nm-more-menu { min-width: 240px; }
  .nm-more-menu > li > .nav-link {
    display: block; color: var(--nm-text) !important; background: transparent !important; box-shadow: none !important;
    padding: 9px 12px !important; border-radius: 8px; font-size: .92rem; font-weight: 500; white-space: nowrap;
  }
  .nm-more-menu > li > .nav-link:hover { background: var(--nm-primary-50) !important; color: var(--nm-primary) !important; }
  .nm-more-menu > li.dropdown > .nav-link {
    font-size: .74rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--nm-muted) !important; pointer-events: none; padding-top: 12px !important;
  }
  .nm-more-menu > li.dropdown > .nav-link::after { display: none; }
  .nm-more-menu > li.dropdown > .dropdown-menu {
    display: block !important; position: static !important; transform: none !important; inset: auto !important;
    box-shadow: none; border: 0; padding: 0 0 4px 8px; min-width: 0; margin: 0 !important; max-height: none;
  }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link { padding: 14px 10px !important; font-size: .88rem; }
  .nm-header .nm-menubar .navbar-nav > .nav-item > .nav-link::before { left: 10px; right: 10px; }
}
.nm-brand { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: 12px; }
.nm-brand img { height: 52px; width: auto; max-width: 140px; object-fit: contain; border-radius: 8px; transition: height .25s ease; }
.nm-brand-text { display: flex; flex-direction: column; min-width: 0; }
.nm-brand-name { font-size: 1.2rem; font-weight: 800; color: var(--nm-primary); line-height: 1.15; white-space: nowrap; }
.nm-brand-tag {
  font-size: .74rem; color: var(--nm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px;
  max-height: 20px; transition: max-height .25s ease, opacity .2s ease;
}
.nm-brand:hover .nm-brand-name { color: var(--nm-primary-600); }
.nm-header .navbar-nav .nav-link {
  color: var(--nm-text) !important; font-weight: 600; font-size: .93rem;
  padding: 10px 12px !important; border-radius: 8px; transition: all .2s;
}
.nm-header .navbar-nav .nav-link:hover,
.nm-header .navbar-nav .nav-link.active { color: var(--nm-primary) !important; background: var(--nm-primary-50); }
.nm-header .dropdown-menu {
  border: 1px solid var(--nm-border); border-radius: 12px; box-shadow: var(--nm-shadow-lg);
  padding: 8px; min-width: 220px; max-height: 70vh; overflow-y: auto;
}
.nm-header .dropdown-item { border-radius: 8px; padding: 9px 12px; font-size: .92rem; color: var(--nm-text); }
.nm-header .dropdown-item:hover { background: var(--nm-primary-50); color: var(--nm-primary); }
.nm-nav-actions { display: flex; align-items: center; gap: 8px; }
.nm-toggler {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border: 1px solid var(--nm-border); border-radius: 12px; padding: 0;
  background: #fff; color: var(--nm-primary); font-size: 1.15rem; box-shadow: none; transition: all .2s;
}
.nm-toggler:hover { background: var(--nm-primary-50); border-color: #c7d6f5; }
.nm-toggler .nm-toggler-close { display: none; }
.nm-toggler.is-open, .nm-toggler[aria-expanded="true"] { background: var(--nm-primary); border-color: var(--nm-primary); color: #fff; }
.nm-toggler.is-open .nm-toggler-open, .nm-toggler[aria-expanded="true"] .nm-toggler-open { display: none; }
.nm-toggler.is-open .nm-toggler-close, .nm-toggler[aria-expanded="true"] .nm-toggler-close { display: inline-block; animation: nm-spin-in .25s ease; }
@keyframes nm-spin-in { from { transform: rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nm-drop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Notice ticker ---------- */
.nm-ticker { background: linear-gradient(90deg, var(--nm-primary), var(--nm-accent)); color: #fff; font-size: .9rem; }
.nm-ticker .container { display: flex; align-items: center; gap: 14px; min-height: 40px; overflow: hidden; }
.nm-ticker-label {
  flex-shrink: 0; background: rgba(255,255,255,.18); padding: 4px 12px;
  border-radius: 999px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
}
.nm-ticker-track { overflow: hidden; flex: 1; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.nm-ticker-track span { display: inline-block; padding-left: 100%; animation: nm-ticker 28s linear infinite; }
.nm-ticker-track:hover span { animation-play-state: paused; }
@keyframes nm-ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Hero slider ---------- */
.nm-hero { position: relative; background: var(--nm-dark); overflow: hidden; }
.nm-hero .carousel-item { height: clamp(380px, 46vw, 620px); overflow: hidden; }
.nm-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 50%; }
/* Slow zoom on the visible slide (Ken Burns). */
.nm-hero .carousel-item.active img { animation: nm-kenburns 9s ease-out both; }
@keyframes nm-kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.nm-hero .carousel-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,20,48,.86) 0%, rgba(8,20,48,.55) 45%, rgba(8,20,48,.1) 100%),
    linear-gradient(0deg, rgba(8,20,48,.45) 0%, transparent 35%);
}
.nm-hero-caption {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center;
  padding-bottom: 48px; /* the info cards overlap the bottom of the hero */
}
.nm-hero-caption .nm-hero-inner { max-width: 640px; color: #fff; }
.nm-hero-caption h1, .nm-hero-caption h2 {
  color: #fff; font-size: clamp(1.6rem, 4vw, 3.1rem); font-weight: 800; margin-bottom: 14px;
  letter-spacing: -.01em; text-shadow: 0 2px 18px rgba(0,0,0,.3);
}
.nm-hero-caption p {
  color: #e2e8f0; font-size: clamp(.92rem, 1.5vw, 1.12rem); margin-bottom: 26px; max-width: 560px;
  padding-left: 14px; border-left: 3px solid var(--nm-cta);
}
/* Caption text rises in, one line after another, each time a slide becomes active. */
.nm-hero .carousel-item.active .nm-hero-inner > * { animation: nm-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.nm-hero .carousel-item.active .nm-hero-inner > :nth-child(1) { animation-delay: .15s; }
.nm-hero .carousel-item.active .nm-hero-inner > :nth-child(2) { animation-delay: .3s; }
.nm-hero .carousel-item.active .nm-hero-inner > :nth-child(3) { animation-delay: .45s; }
.nm-hero .carousel-item.active .nm-hero-inner > :nth-child(4) { animation-delay: .6s; }
@keyframes nm-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.nm-eyebrow-light {
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 8px;
}
.nm-eyebrow-light::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nm-cta);
  box-shadow: 0 0 0 3px rgba(245,158,11,.3);
}
.nm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nm-hero-actions .nm-btn { padding: 13px 26px; }
.nm-hero-actions .nm-btn-cta { box-shadow: 0 8px 22px rgba(245,158,11,.35); }
.nm-hero-actions .nm-btn-ghost-light { backdrop-filter: blur(6px); }

/* Arrows: glassy circles, inset from the edges, brighter on hover. */
.nm-hero .carousel-control-prev, .nm-hero .carousel-control-next {
  z-index: 3; width: 72px; opacity: 1; padding-bottom: 48px;
}
.nm-hero .carousel-control-prev-icon, .nm-hero .carousel-control-next-icon {
  width: 48px; height: 48px; border-radius: 50%; background-size: 40%;
  background-color: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); opacity: .7; transition: all .25s ease;
}
.nm-hero:hover .carousel-control-prev-icon, .nm-hero:hover .carousel-control-next-icon { opacity: 1; }
.nm-hero .carousel-control-prev:hover .carousel-control-prev-icon,
.nm-hero .carousel-control-next:hover .carousel-control-next-icon,
.nm-hero .carousel-control-prev:focus-visible .carousel-control-prev-icon,
.nm-hero .carousel-control-next:focus-visible .carousel-control-next-icon {
  background-color: var(--nm-cta); border-color: var(--nm-cta); opacity: 1;
}
/* Dots sit above the info cards (which overlap the hero by 48px). */
.nm-hero .carousel-indicators { z-index: 3; margin-bottom: 0; bottom: 68px; gap: 6px; }
.nm-hero .carousel-indicators [data-mdb-slide-to] {
  width: 10px; height: 10px; border-radius: 999px; border: 0; margin: 0;
  background-color: #fff; opacity: .45; transition: width .3s ease, opacity .3s ease, background-color .3s;
}
.nm-hero .carousel-indicators [data-mdb-slide-to]:hover { opacity: .8; }
.nm-hero .carousel-indicators .active { width: 34px; opacity: 1; background-color: var(--nm-cta); }
.nm-hero-static {
  background: linear-gradient(135deg, var(--nm-primary) 0%, #123f9c 50%, var(--nm-accent) 100%);
  color: #fff; padding: 90px 0;
}
.nm-hero-static h1 { color: #fff; }

/* ---------- Info cards (below hero) ---------- */
.nm-info-strip { position: relative; z-index: 5; margin-top: -48px; }
.nm-info-card {
  display: flex; align-items: center; gap: 14px; height: 100%;
  background: #fff; border-radius: var(--nm-radius); padding: 18px 20px;
  box-shadow: var(--nm-shadow); border: 1px solid var(--nm-border); color: var(--nm-text);
}
a.nm-info-card:hover { transform: translateY(-2px); box-shadow: var(--nm-shadow-lg); color: var(--nm-text); }
.nm-info-card { transition: all .2s; }
.nm-info-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--nm-primary-50); color: var(--nm-primary); font-size: 1.2rem;
}
.nm-info-card small { display: block; color: var(--nm-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.nm-info-card strong { display: block; font-size: .95rem; line-height: 1.35; word-break: break-word; }

/* ---------- Category chips ---------- */
.nm-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nm-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: #fff;
  border: 1px solid var(--nm-border); color: var(--nm-text); font-weight: 600; font-size: .92rem;
  transition: all .2s;
}
.nm-chip i { color: var(--nm-accent); }
.nm-chip:hover, .nm-chip.active { background: var(--nm-primary); border-color: var(--nm-primary); color: #fff; }
.nm-chip:hover i, .nm-chip.active i { color: #fff; }

/* ---------- Product card ---------- */
.nm-card {
  background: #fff; border-radius: var(--nm-radius); overflow: hidden; height: 100%;
  border: 1px solid var(--nm-border); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nm-card:hover { transform: translateY(-4px); box-shadow: var(--nm-shadow-lg); }
.nm-card-media { position: relative; aspect-ratio: 4 / 3; background: #f1f5f9; overflow: hidden; display: block; }
.nm-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .35s ease; }
.nm-card-media.cover img { object-fit: cover; padding: 0; }
.nm-card:hover .nm-card-media img { transform: scale(1.05); }
.nm-card-badge {
  position: absolute; top: 12px; left: 12px; background: var(--nm-accent); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.nm-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.nm-card-title { font-size: 1.02rem; font-weight: 700; margin: 0 0 6px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nm-card-title a { color: var(--nm-dark); }
.nm-card-title a:hover { color: var(--nm-primary); }
.nm-card-text { color: var(--nm-muted); font-size: .92rem; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nm-price { font-size: 1.1rem; font-weight: 800; color: var(--nm-primary); margin-bottom: 14px; }
.nm-price small { font-size: .8rem; font-weight: 600; color: var(--nm-muted); }
.nm-card-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.nm-card-actions .nm-btn { flex: 1 1 auto; }
.nm-card-meta { font-size: .8rem; color: var(--nm-muted); margin-bottom: 6px; display: flex; gap: 12px; }

/* ---------- CMS sections ---------- */
.nm-block { padding: 56px 0; }
.nm-block + .nm-block { padding-top: 24px; }
.nm-block-media img { width: 100%; border-radius: var(--nm-radius); box-shadow: var(--nm-shadow); object-fit: cover; max-height: 520px; }
.nm-block-banner {
  position: relative; border-radius: var(--nm-radius); overflow: hidden;
  background-size: cover; background-position: center; color: #fff;
  min-height: 320px; display: flex; align-items: center; padding: 48px 24px;
}
.nm-block-banner::before { content: ""; position: absolute; inset: 0; background: rgba(10,24,56,.68); }
.nm-block-banner > * { position: relative; z-index: 1; width: 100%; }
.nm-block-banner .cms-content, .nm-block-banner .cms-content * { color: #fff !important; background-color: transparent !important; }
.nm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nm-actions.center { justify-content: center; }

/* ---------- Home: shared bits for Activities / Services / About ---------- */
.nm-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.nm-lead { color: var(--nm-muted); font-size: 1.02rem; margin-bottom: 24px; max-width: 520px; }
/* Scroll reveal (only hidden when JS is running — see app.blade.php). */
.nm-js .nm-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.nm-js .nm-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Home: Our Activities ---------- */
.nm-activities { position: relative; overflow: hidden; }
.nm-activities::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -180px; top: -200px; background: radial-gradient(circle, rgba(14,165,164,.12), transparent 70%); pointer-events: none;
}
@media (min-width: 992px) { .nm-activities-aside { position: sticky; top: 150px; } }
.nm-media-frame { position: relative; margin: 8px 0 28px; }
.nm-media-frame::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: calc(var(--nm-radius) + 4px);
  background: repeating-linear-gradient(45deg, rgba(13,59,140,.10) 0 2px, transparent 2px 10px); z-index: 0;
}
.nm-media-frame img {
  position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--nm-radius); box-shadow: var(--nm-shadow-lg); background: #fff;
}
.nm-media-badge {
  position: absolute; z-index: 2; left: -10px; bottom: -18px;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  background: var(--nm-primary); color: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(13,59,140,.35);
}
.nm-media-badge strong { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--nm-cta); }
.nm-media-badge span { font-size: .78rem; font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
.nm-act-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.nm-act-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--nm-border); border-radius: var(--nm-radius); padding: 22px;
  box-shadow: 0 2px 6px rgba(15,27,51,.04); overflow: hidden;
}
.nm-js .nm-act-card.nm-reveal { transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), box-shadow .25s, border-color .25s; }
.nm-act-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--nm-primary), var(--nm-accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.nm-act-card:hover { box-shadow: var(--nm-shadow-lg); border-color: transparent; }
.nm-js .nm-act-card.is-visible:hover { transform: translateY(-4px); }
.nm-act-card:hover::after { transform: scaleX(1); }
.nm-act-top { display: flex; align-items: center; justify-content: space-between; }
.nm-act-icon {
  width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--nm-primary-50); color: var(--nm-primary); font-size: 1.3rem; transition: all .25s;
}
.nm-act-card:hover .nm-act-icon { background: var(--nm-primary); color: #fff; transform: rotate(-6deg); }
.nm-act-num { font-size: 2.2rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #cdd8ec; transition: -webkit-text-stroke-color .25s; }
.nm-act-card:hover .nm-act-num { -webkit-text-stroke-color: var(--nm-cta); }
.nm-act-card p { margin: 0; color: var(--nm-text); font-size: .95rem; font-weight: 500; line-height: 1.55; }

/* ---------- Home: Our Services ---------- */
.nm-svc-media { position: relative; padding: 0 0 28px 28px; }
.nm-svc-media::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 75%;
  border-radius: calc(var(--nm-radius) + 6px); background: linear-gradient(135deg, var(--nm-accent), var(--nm-primary)); opacity: .9;
}
.nm-svc-media img {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--nm-radius); box-shadow: var(--nm-shadow-lg);
}
.nm-svc-call {
  position: absolute; right: 18px; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px; background: #fff; border-radius: 16px; box-shadow: var(--nm-shadow-lg); color: var(--nm-text);
  transition: transform .2s;
}
.nm-svc-call:hover { color: var(--nm-text); transform: translateY(-3px); }
.nm-svc-call-icon {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--nm-cta); color: #1f1300; font-size: 1.1rem; animation: nm-ring 2.4s ease-in-out infinite;
}
@keyframes nm-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.45); } 50% { box-shadow: 0 0 0 10px rgba(245,158,11,0); } }
.nm-svc-call small { display: block; font-size: .72rem; color: var(--nm-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.nm-svc-call strong { display: block; font-size: 1.05rem; color: var(--nm-primary); }
.nm-steps { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.nm-step { position: relative; display: flex; gap: 16px; padding-bottom: 14px; }
.nm-step:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; width: 2px;
  background: linear-gradient(var(--nm-border), var(--nm-border)) ;
}
.nm-step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--nm-primary); color: var(--nm-primary); font-weight: 800; font-size: .95rem;
  position: relative; z-index: 1; transition: all .25s;
}
.nm-step-body {
  flex: 1; display: flex; align-items: center; gap: 12px; min-height: 40px;
  padding: 10px 16px; border-radius: 12px; background: var(--nm-bg); border: 1px solid transparent;
  font-weight: 500; font-size: .95rem; line-height: 1.45; transition: all .25s;
}
.nm-step-body i { color: var(--nm-accent); font-size: 1.05rem; width: 20px; text-align: center; flex-shrink: 0; }
.nm-step:hover .nm-step-num { background: var(--nm-primary); color: #fff; }
.nm-step:hover .nm-step-body { background: #fff; border-color: var(--nm-border); box-shadow: var(--nm-shadow); }
.nm-services-block .nm-actions { margin-top: 14px; }

/* ---------- Home: About Us ---------- */
.nm-about-block { padding-top: 24px; }
.nm-about-card {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  border-radius: calc(var(--nm-radius) + 6px); overflow: hidden; box-shadow: var(--nm-shadow-lg); background: #fff;
}
.nm-about-main { position: relative; background: var(--nm-primary) center / cover no-repeat; color: #fff; display: flex; align-items: center; }
.nm-about-main::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,20,48,.94) 0%, rgba(13,59,140,.82) 55%, rgba(14,165,164,.6) 100%);
}
.nm-about-main-inner { position: relative; padding: clamp(32px, 5vw, 64px); }
.nm-about-main h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.nm-about-main p { color: #dbe4f7; font-size: 1.04rem; line-height: 1.75; margin-bottom: 8px; max-width: 620px; }
.nm-about-main .nm-actions { margin-top: 26px; }
.nm-about-side { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.nm-about-side h3 { font-size: 1.35rem; margin-bottom: 4px; }
.nm-about-side-sub { color: var(--nm-muted); font-size: .92rem; margin-bottom: 20px; }
.nm-about-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.nm-about-facts li {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--nm-border); transition: all .2s;
}
.nm-about-facts li:hover { border-color: #c7d6f5; background: var(--nm-primary-50); }
.nm-about-fact-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--nm-primary-50); color: var(--nm-primary);
}
.nm-about-facts li:hover .nm-about-fact-icon { background: var(--nm-primary); color: #fff; }
.nm-about-fact-text { min-width: 0; }
.nm-about-fact-text small { display: block; font-size: .72rem; color: var(--nm-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.nm-about-fact-text a, .nm-about-fact-text strong { display: block; color: var(--nm-dark); font-weight: 600; word-break: break-word; }
.nm-about-fact-text a:hover { color: var(--nm-primary); }

@media (max-width: 991.98px) {
  .nm-about-card { grid-template-columns: 1fr; }
  .nm-media-frame { max-width: 560px; }
  .nm-svc-media { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
  .nm-act-grid { grid-template-columns: 1fr; gap: 12px; }
  .nm-act-card { flex-direction: row; align-items: flex-start; padding: 16px; gap: 14px; }
  .nm-act-top { flex-direction: column; gap: 6px; }
  .nm-act-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .nm-act-num { font-size: 1.1rem; -webkit-text-stroke: 0; color: #b6c3dc; }
  .nm-act-card p { font-size: .92rem; }
  .nm-media-frame::before { inset: 12px -8px -8px 12px; }
  .nm-media-badge { left: 8px; bottom: -14px; padding: 10px 14px 10px 12px; }
  .nm-media-badge strong { font-size: 1.6rem; }
  .nm-svc-media { padding: 0 0 22px 14px; }
  .nm-svc-call { right: auto; left: 28px; padding: 10px 14px 10px 10px; } /* keeps clear of the floating WhatsApp button */
  .nm-svc-call-icon { width: 38px; height: 38px; font-size: .95rem; }
  .nm-step { gap: 12px; }
  .nm-step-num { width: 34px; height: 34px; font-size: .85rem; }
  .nm-step:not(:last-child)::before { left: 16px; top: 36px; }
  .nm-step-body { font-size: .9rem; padding: 9px 12px; }
  .nm-activities .nm-actions .nm-btn, .nm-services-block .nm-actions .nm-btn, .nm-about-main .nm-actions .nm-btn { flex: 1 1 0; }
}

/* CMS rich-text content (from admin editor) */
.cms-content { overflow-wrap: anywhere; }
/* Admin-pasted text often carries inline fonts (Times, Open Sans...) — keep one consistent font. */
.cms-content, .cms-content * { font-family: var(--nm-font) !important; }
.cms-content p, .cms-content li { line-height: 1.75 !important; }
.cms-content .fa, .cms-content .fas, .cms-content .far { font-family: "Font Awesome 6 Free" !important; }
.cms-content .fab { font-family: "Font Awesome 6 Brands" !important; }
.cms-content img { max-width: 100% !important; height: auto !important; border-radius: 10px; }
.cms-content iframe, .cms-content video { max-width: 100%; }
.cms-content p:last-child { margin-bottom: 0; }
.cms-content [style*="width"] { max-width: 100% !important; }
.cms-content table {
  display: block; width: 100% !important; max-width: 100%; overflow-x: auto;
  border-collapse: collapse; margin: 16px 0; font-size: .9rem; -webkit-overflow-scrolling: touch;
}
.cms-content table td, .cms-content table th {
  border: 1px solid #d6dbe4 !important; padding: 8px 10px !important; vertical-align: top;
  height: auto !important; white-space: normal;
}
.cms-content table tr:nth-child(even) td { background: #f8fafc; }
.cms-content table tr:first-child td, .cms-content table th { background: var(--nm-primary-50); font-weight: 700; }
.cms-content ul, .cms-content ol { padding-left: 1.3rem; }
.cms-content h1, .cms-content h2 { font-size: clamp(1.4rem, 3vw, 2rem); }

/* ---------- Proprietor card (home) ---------- */
.nm-proprietor {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--nm-border); border-radius: var(--nm-radius);
  box-shadow: var(--nm-shadow); padding: 32px 24px;
}
/* Editor content uses inline margin-left:150px / width:50% — re-centre it for every screen size. */
.nm-proprietor .cms-content p,
.nm-proprietor .cms-content h6 { margin: 0 0 4px !important; text-align: center !important; }
.nm-proprietor .cms-content img {
  width: 220px !important; height: 220px !important; max-width: 100% !important;
  object-fit: cover; object-position: top; border-radius: 50% !important;
  border: 6px solid var(--nm-primary-50); box-shadow: var(--nm-shadow); margin-bottom: 12px;
}
.nm-proprietor .cms-content span { background-color: transparent !important; }
.nm-proprietor .cms-content br:only-child { display: none; }

/* ---------- Page header (inner pages) ---------- */
.nm-page-header {
  background: linear-gradient(135deg, var(--nm-primary) 0%, #143f9a 60%, var(--nm-accent) 140%);
  color: #fff; padding: 46px 0 40px; position: relative; overflow: hidden;
}
.nm-page-header::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.nm-page-header h1 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.4rem); margin: 0 0 8px; }
.nm-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #cbd5e1; }
.nm-breadcrumb a { color: #fff; }
.nm-breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* ---------- Gallery ---------- */
.nm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.nm-gallery a { display: block; border-radius: var(--nm-radius-sm); overflow: hidden; aspect-ratio: 4/3; background: #f1f5f9; }
.nm-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.nm-gallery a:hover img { transform: scale(1.06); }

/* ---------- Logo slider (clients) ---------- */
.nm-logos .slick-slide { margin: 0 12px; }
.nm-logos .slide {
  background: #fff; border-radius: 12px; border: 1px solid var(--nm-border);
  height: 110px; display: flex !important; align-items: center; justify-content: center; padding: 14px;
}
.nm-logos .slide img { max-height: 80px; width: auto !important; max-width: 100%; object-fit: contain; }

/* ---------- Testimonial / review ---------- */
.nm-review {
  background: #fff; border: 1px solid var(--nm-border); border-radius: var(--nm-radius);
  padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 14px;
}
.nm-review-quote { color: var(--nm-accent); font-size: 1.6rem; line-height: 1; }
.nm-review-text { color: var(--nm-text); font-size: .95rem; flex: 1; }
.nm-review-user { display: flex; align-items: center; gap: 12px; }
.nm-review-user img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--nm-primary-50); }
.nm-review-user strong { display: block; color: var(--nm-dark); }
.nm-review-user span { font-size: .85rem; color: var(--nm-muted); }
.nm-feature-review {
  background: linear-gradient(135deg, var(--nm-primary), var(--nm-accent));
  border-radius: var(--nm-radius); color: #fff; overflow: hidden;
}
.nm-feature-review .cms-content, .nm-feature-review .cms-content * { color: #fff !important; background: transparent !important; }
.nm-feature-review img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }

/* ---------- FAQ ---------- */
.nm-faq .accordion-item { border: 1px solid var(--nm-border); border-radius: 12px !important; overflow: hidden; margin-bottom: 12px; }
.nm-faq .accordion-button { font-weight: 600; color: var(--nm-dark); padding: 18px 20px; background: #fff; box-shadow: none; }
.nm-faq .accordion-button:not(.collapsed) { color: var(--nm-primary); background: var(--nm-primary-50); }
.nm-faq .accordion-body { color: var(--nm-text); padding: 18px 20px; }

/* ---------- Forms ---------- */
.nm-form-card { background: #fff; border-radius: var(--nm-radius); box-shadow: var(--nm-shadow-lg); padding: 30px; border: 1px solid var(--nm-border); }
.nm-label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--nm-dark); }
.nm-input {
  display: block; width: 100%; padding: 12px 14px; font-size: .95rem; color: var(--nm-text);
  background: #fff; border: 1px solid #d6dbe4; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.nm-input:focus { outline: none; border-color: var(--nm-primary); box-shadow: 0 0 0 4px rgba(13,59,140,.12); }
textarea.nm-input { resize: vertical; min-height: 110px; }
.nm-alert { padding: 12px 14px; border-radius: 10px; font-size: .92rem; margin-bottom: 14px; display: none; }
.nm-alert.show { display: block; }
.nm-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.nm-alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.nm-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nm-contact-list li { display: flex; gap: 14px; align-items: flex-start; }

/* ---------- Detail page ---------- */
.nm-detail-media { background: #f1f5f9; border-radius: var(--nm-radius); overflow: hidden; border: 1px solid var(--nm-border); }
.nm-detail-media img { width: 100%; max-height: 520px; object-fit: contain; display: block; }
.nm-detail-cover img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--nm-radius); }
.nm-tag { display: inline-block; background: var(--nm-accent-50); color: var(--nm-accent); font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 999px; }
.nm-sticky { position: sticky; top: calc(var(--nm-header-h) + 16px); }

/* ---------- Map ---------- */
.nm-map { border-radius: var(--nm-radius); overflow: hidden; box-shadow: var(--nm-shadow); height: 100%; min-height: 360px; }
.nm-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.nm-cta-band {
  background: linear-gradient(135deg, var(--nm-primary), var(--nm-accent));
  border-radius: var(--nm-radius); color: #fff; padding: 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.nm-cta-band h3 { color: #fff; margin: 0 0 4px; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.nm-cta-band p { margin: 0; color: #e2e8f0; }
.nm-cta-icon {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); color: #fff; font-size: 1.6rem;
}

/* ---------- Footer ---------- */
.nm-footer {
  position: relative; margin-top: 90px; color: #a9b6cc; font-size: .93rem;
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(14,165,164,.12), transparent 60%),
    radial-gradient(700px 380px at 100% 100%, rgba(13,59,140,.35), transparent 60%),
    var(--nm-dark);
}
.nm-footer-cta-wrap { position: relative; z-index: 2; top: -60px; margin-bottom: -20px; }
.nm-footer-cta-wrap .nm-cta-band { box-shadow: 0 18px 44px rgba(13,59,140,.35); }
.nm-footer-main { padding-bottom: 8px; }

.nm-footer h6 {
  color: #fff; font-size: 1.02rem; font-weight: 700; margin-bottom: 20px;
  position: relative; padding-bottom: 12px; letter-spacing: .01em;
}
.nm-footer h6::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--nm-accent), var(--nm-cta));
}
.nm-footer a { color: #a9b6cc; transition: color .2s, transform .2s; }
.nm-footer a:hover { color: #fff; }
/* Keep button colours (footer link colour must not override them). */
.nm-footer a.nm-btn-cta, .nm-footer a.nm-btn-cta:hover { color: #1f1300; }
.nm-footer a.nm-btn-cta:hover { color: #fff; }

.nm-footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.nm-footer-brand img { height: 64px; width: auto; max-width: 150px; object-fit: contain; border-radius: 12px; background: #fff; padding: 6px; }
.nm-footer-brand strong { display: block; color: #fff; font-size: 1.25rem; line-height: 1.2; }
.nm-footer-brand small { display: block; color: #8fa0bb; font-size: .8rem; margin-top: 2px; }
.nm-footer-about { line-height: 1.75; margin-bottom: 20px; max-width: 380px; }
.nm-footer-social { display: flex; gap: 10px; }
.nm-footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff;
}
.nm-footer-social a:hover { background: var(--nm-accent); border-color: var(--nm-accent); transform: translateY(-2px); }

.nm-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
/* 2 columns when there is room, otherwise 1 — never overlapping. */
.nm-footer-links-2col { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); column-gap: 12px; }
.nm-footer-links a { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1.4; }
.nm-footer-links a i { font-size: .62rem; color: var(--nm-accent); transition: transform .2s; }
.nm-footer-links a:hover i { transform: translateX(3px); }

.nm-footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.nm-footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: #d3dbe8; }
.nm-footer-contact small { display: block; color: #8fa0bb; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 2px; }
.nm-footer-contact a { color: #d3dbe8; word-break: break-word; }
.nm-fc-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(14,165,164,.14); color: #5eead4;
}

.nm-footer-newsletter {
  margin-top: 44px; padding: 24px 28px; border-radius: var(--nm-radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.nm-footer-newsletter h5 { color: #fff; font-size: 1.08rem; margin: 0 0 4px; }
.nm-footer-newsletter p { margin: 0; color: #8fa0bb; font-size: .9rem; }
.nm-footer-newsletter form { flex: 1 1 360px; max-width: 480px; }

.nm-subscribe { display: flex; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px; }
.nm-subscribe:focus-within { border-color: var(--nm-accent); box-shadow: 0 0 0 4px rgba(14,165,164,.18); }
.nm-subscribe input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 8px 16px; outline: none; font-family: inherit; }
.nm-subscribe input::placeholder { color: #8fa0bb; }
.nm-subscribe button {
  border: 0; border-radius: 999px; background: var(--nm-accent); color: #fff; height: 44px; padding: 0 20px;
  flex-shrink: 0; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background .2s;
}
.nm-subscribe button:hover { background: #0b8b8a; }

.nm-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding: 20px 0; font-size: .86rem; background: rgba(0,0,0,.15); }
.nm-footer-bottom strong { color: #fff; font-weight: 600; }
.nm-footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.nm-footer-bottom-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Floating buttons ---------- */
.nm-float { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.nm-float a, .nm-float button {
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.2); font-size: 1.5rem; cursor: pointer; transition: transform .2s;
}
.nm-float a:hover, .nm-float button:hover { transform: scale(1.08); }
.nm-float .nm-wa { background: #25d366; color: #fff; }
.nm-float .nm-top { background: #fff; color: var(--nm-primary); font-size: 1rem; width: 44px; height: 44px; opacity: 0; visibility: hidden; }
.nm-float .nm-top.show { opacity: 1; visibility: visible; }

/* ---------- Modal ---------- */
.nm-modal .modal-content { border-radius: var(--nm-radius); border: 0; overflow: hidden; }
.nm-modal .modal-header { background: var(--nm-primary); color: #fff; border: 0; }
.nm-modal .modal-header .modal-title { color: #fff; font-weight: 700; }
.nm-modal .btn-close { filter: invert(1) grayscale(1) brightness(2); }

/* ---------- Slick (base) ---------- */
.slick-slider { position: relative; display: block; box-sizing: border-box; user-select: none; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
.slick-list:focus { outline: none; }
.slick-slider .slick-track, .slick-slider .slick-list { transform: translate3d(0,0,0); }
.slick-track { position: relative; top: 0; left: 0; display: block; }
.slick-track::before, .slick-track::after { display: table; content: ""; }
.slick-track::after { clear: both; }
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
.slick-initialized .slick-slide { display: block; }
.slick-arrow.slick-hidden { display: none; }

/* ---------- Responsive ---------- */
/* Mobile / tablet menu (< 1200px): hamburger + vertical list, dropdowns open inline (no overlap). */
@media (max-width: 1199.98px) {
  .nm-brand-tag { max-width: 300px; }
  .nm-menubar { background: #fff !important; }
  .nm-header .navbar-collapse {
    padding: 8px 0 12px; border-top: 1px solid var(--nm-border);
    max-height: calc(100vh - 80px); overflow-y: auto; overscroll-behavior: contain;
  }
  .nm-header .navbar-nav { width: 100%; }
  .nm-header .navbar-nav .nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 12px !important; font-size: .98rem;
  }
  .nm-header .navbar-nav .dropdown-toggle::after { margin-left: auto; transition: transform .2s; }
  .nm-header .navbar-nav .dropdown-toggle.show::after { transform: rotate(180deg); }
  .nm-header .navbar-collapse .dropdown-menu {
    position: static !important; transform: none !important; inset: auto !important; float: none;
    width: 100%; margin: 2px 0 6px !important; box-shadow: none; border: 0;
    background: var(--nm-bg); max-height: none; padding: 6px;
  }
  .nm-header .navbar-collapse .dropdown-item { padding: 10px 14px; }
  .nm-header .navbar-nav > .nav-item + .nav-item { border-top: 1px solid #f1f3f7; }
}
@media (max-width: 991.98px) {
  :root { --nm-header-h: 68px; }
  .nm-topbar .nm-topbar-info li.hide-md { display: none; }
  .nm-topbar .nm-topbar-info li.hide-md + li { padding-left: 0; border-left: 0; }
  .nm-hero .carousel-control-prev, .nm-hero .carousel-control-next { display: none; }
  .nm-brand img { height: 44px; }
  .nm-brand-name { font-size: 1.05rem; }
  .nm-header-main .container { min-height: 64px; }
  .nm-nav-actions { padding: 10px 4px 4px; flex-wrap: wrap; }
  .nm-nav-actions .nm-btn { flex: 1 1 auto; }
  .nm-section { padding: 48px 0; }
  .nm-block { padding: 40px 0; }
  .nm-block-media { margin-top: 24px; }
  .nm-block-media.media-first { margin-top: 0; margin-bottom: 24px; }
}
@media (max-width: 767.98px) {
  .nm-topbar .nm-topbar-info li.hide-sm { display: none; }
  .nm-info-strip { margin-top: 20px; }
  .nm-hero .carousel-item { height: clamp(400px, 108vw, 480px); }
  .nm-hero .carousel-item::after {
    background: linear-gradient(0deg, rgba(8,20,48,.92) 0%, rgba(8,20,48,.6) 55%, rgba(8,20,48,.3) 100%);
  }
  .nm-hero-caption { align-items: flex-end; padding-bottom: 56px; }
  .nm-hero-caption .nm-hero-inner { max-width: 100%; }
  .nm-hero-caption p {
    font-size: .92rem; margin-bottom: 18px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .nm-hero-actions { gap: 10px; }
  .nm-hero-actions .nm-btn { flex: 1 1 0; padding: 12px 16px; }
  .nm-hero .carousel-indicators { bottom: 20px; }
  .nm-cta-band { padding: 26px 22px; text-align: center; justify-content: center; }
  .nm-cta-band > div:first-child { flex-direction: column; }
  .nm-cta-band > div:last-child { justify-content: center; width: 100%; }
  .nm-form-card { padding: 22px; }
  .nm-footer { margin-top: 110px; }
  .nm-footer-cta-wrap { top: -80px; margin-bottom: -44px; }
  .nm-footer-newsletter { padding: 22px 18px; margin-top: 32px; text-align: center; justify-content: center; }
  .nm-footer-newsletter form { flex-basis: 100%; max-width: none; }
  .nm-footer-bottom .container { justify-content: center; text-align: center; }
  .nm-sticky { position: static; }
}
@media (max-width: 575.98px) {
  .nm-topbar { display: none; }
  .nm-brand-tag { display: none; }
  .nm-section { padding: 40px 0; }
  .nm-card-body { padding: 14px; }
  .nm-card-title { font-size: .95rem; }
  .nm-card-actions .nm-btn { padding: 8px 10px; font-size: .8rem; }
  .nm-card-badge { top: 8px; left: 8px; right: 8px; max-width: max-content; font-size: .62rem; padding: 3px 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nm-info-card { padding: 14px 16px; }
  .nm-info-icon { width: 42px; height: 42px; font-size: 1rem; }
  .nm-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nm-block-banner { padding: 32px 16px; min-height: 260px; }
  .nm-float { right: 12px; bottom: 12px; }
  .nm-subscribe button span { display: none; }
  .nm-subscribe button { width: 44px; padding: 0; justify-content: center; }
  .nm-float a { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .nm-ticker-track span { padding-left: 0; }
  .nm-hero .carousel-item.active img { transform: none; }
  .nm-js .nm-reveal { opacity: 1; transform: none; }
}
