/*
Theme Name:        NASENI TROMENT Biotechnologies
Theme URI:         https://ntbiotechnologies.com
Author:            NASENI TROMENT Biotechnologies
Author URI:        https://ntbiotechnologies.com
Description:       Custom theme for NASENI TROMENT Biotechnologies — Nigeria's first and Africa's most independent rapid diagnostic test manufacturing facility. Blue-led design system derived from brand identity.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           Private — All Rights Reserved
Text Domain:       naseni-troment
Tags:              custom-background, custom-logo, custom-menu, full-width-template
*/

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS — Brand Identity System v1.1
   Derived from NASENI TROMENT Biotechnologies logo
   Primary: Blue system (cobalt + steel + soft)
   Secondary: Naija Gold (premium accent)
   Accent: Nigerian Green (Impact/sovereignty moments only)
═══════════════════════════════════════════════════════════ */
:root {
  /* Primary Blues — from logo */
  --nt-navy:        #2D3D95;
  --nt-blue:        #2D3D95;
  --nt-blue-mid:    #33CDFA;
  --nt-blue-soft:   #33CDFA;
  --nt-blue-pale:   #E8F9FF;

  /* Secondary — Naija Gold */
  --nt-gold:        #2D3D95;
  --nt-gold-light:  #33CDFA;
  --nt-gold-pale:   #E8F9FF;

  /* Accent — Nigerian Green (use sparingly) */
  --nt-green:       #2D3D95;
  --nt-green-pale:  #E8F9FF;

  /* Neutrals */
  --nt-white:       #ffffff;
  --nt-off-white:   #f7f9fc;
  --nt-gray-100:    #edf1f7;
  --nt-gray-300:    #c8d3e0;
  --nt-gray-500:    #7a8fa8;
  --nt-gray-700:    #3d4f63;
  --nt-near-black:  #0a0a0a;

  /* Typography */
  --nt-font-display: 'Playfair Display', Georgia, serif;
  --nt-font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --nt-radius-sm:  6px;
  --nt-radius-md:  10px;
  --nt-radius-lg:  16px;
  --nt-section-pad: 100px;

  /* Transitions */
  --nt-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--nt-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--nt-near-black);
  background: var(--nt-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  display: block;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ═══════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════ */
.nt-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.nt-section {
  padding: var(--nt-section-pad) 0;
}

.nt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ═══════════════════════════════════════
   TYPOGRAPHY UTILITIES
═══════════════════════════════════════ */
.nt-overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nt-blue-mid);
  display: block;
  margin-bottom: 16px;
}
.nt-overline--light { color: var(--nt-blue-soft); }
.nt-overline--gold  { color: #33CDFA; }
.nt-overline--white { color: rgba(255,255,255,0.5); }

.nt-section-title {
  font-family: var(--nt-font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--nt-navy);
  margin-bottom: 20px;
}
.nt-section-title em { font-style: italic; color: var(--nt-blue); }
.nt-section-title--white { color: var(--nt-white); }
.nt-section-title--white em { color: #33CDFA; }

.nt-section-body {
  font-size: 17px;
  color: var(--nt-gray-700);
  line-height: 1.75;
  max-width: 580px;
}
.nt-section-body--white { color: rgba(255,255,255,0.72); }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.nt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--nt-radius-sm);
  font-family: var(--nt-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--nt-transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.nt-btn--primary {
  background: var(--nt-blue);
  color: var(--nt-white);
}
.nt-btn--primary:hover {
  background: #233188;
  transform: translateY(-1px);
  color: var(--nt-white);
}
.nt-btn--outline {
  background: transparent;
  color: var(--nt-white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.nt-btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--nt-white);
}
.nt-btn--ghost {
  background: transparent;
  color: var(--nt-blue);
  border: 1.5px solid var(--nt-blue);
  padding: 12px 24px;
}
.nt-btn--ghost:hover {
  background: var(--nt-blue-pale);
  color: var(--nt-blue);
}
.nt-btn--white-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.nt-btn--white-ghost:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.nt-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.nt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nt-reveal--d1 { transition-delay: 0.1s; }
.nt-reveal--d2 { transition-delay: 0.2s; }
.nt-reveal--d3 { transition-delay: 0.3s; }
.nt-reveal--d4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.nt-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  background: #2D3D95;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--nt-transition);
}
.nt-nav--scrolled { background: #2D3D95; }

.nt-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
}

.nt-nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: auto;
  text-decoration: none;
}
.nt-nav__logo-img {
  height: 36px;
  width: auto;
}
.nt-nav__logo-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--nt-white);
  letter-spacing: 0.01em;
}
.nt-nav__logo-sub {
  font-size: 9px;
  font-weight: 400;
  color: var(--nt-blue-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nt-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nt-nav__links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  padding: 6px 14px;
  border-radius: 4px;
  transition: var(--nt-transition);
  text-decoration: none;
}
.nt-nav__links a:hover,
.nt-nav__links a.current-menu-item {
  color: var(--nt-white);
  background: rgba(255,255,255,0.08);
}

.nt-nav__cta {
  margin-left: 20px;
  background: var(--nt-blue);
  color: var(--nt-white);
  padding: 9px 20px;
  border-radius: var(--nt-radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: var(--nt-transition);
  white-space: nowrap;
  text-decoration: none;
}
.nt-nav__cta:hover {
  background: #233188;
  color: var(--nt-white);
}

/* Mobile hamburger */
.nt-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: 16px;
  cursor: pointer;
}
.nt-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nt-white);
  border-radius: 2px;
  transition: var(--nt-transition);
}

.nt-nav__mobile {
  display: none;
  background: var(--nt-near-black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}
.nt-nav__mobile.is-open { display: block; }
.nt-nav__mobile ul { list-style: none; }
.nt-nav__mobile ul li a {
  display: block;
  padding: 12px 40px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  text-decoration: none;
  transition: var(--nt-transition);
}
.nt-nav__mobile ul li a:hover { color: var(--nt-white); background: rgba(255,255,255,0.05); }
.nt-nav__mobile .nt-nav__cta {
  margin: 16px 40px 0;
  display: block;
  text-align: center;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.nt-footer {
  background: var(--nt-near-black);
  padding: 72px 0 0;
}
.nt-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nt-footer__brand-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--nt-white);
  margin-bottom: 4px;
}
.nt-footer__brand-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nt-blue-soft);
  margin-bottom: 20px;
}
.nt-footer__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 28px;
}
.nt-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.nt-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nt-footer__social a:hover {
  background: #33CDFA;
  border-color: #33CDFA;
  color: #2D3D95;
  transform: translateY(-2px);
}
.nt-footer__cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nt-footer__cert {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.nt-footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.nt-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nt-footer__col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--nt-transition);
  text-decoration: none;
}
.nt-footer__col ul li a:hover { color: var(--nt-white); }
.nt-footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nt-footer__copyright { font-size: 12px; color: rgba(255,255,255,0.25); }
.nt-footer__made {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nt-green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nt-footer__made::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--nt-green);
}

/* Footer contact block */
.nt-footer__contact {
  margin-top: 20px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nt-footer__contact span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
}
.nt-footer__contact a {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nt-footer__contact a:hover { color: #33CDFA; }

/* Footer bottom links row */
.nt-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nt-footer__bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nt-footer__bottom-links a:hover { color: #33CDFA; }

/* ═══════════════════════════════════════
   INNER PAGE HERO (shared across pages)
═══════════════════════════════════════ */
.nt-page-hero {
  background: var(--nt-navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.nt-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2D3D95 0%, #2D3D95 60%, #2D3D95 100%);
}
.nt-page-hero__inner {
  position: relative;
  z-index: 2;
}
.nt-page-hero__overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #33CDFA;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.nt-page-hero__overline::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--nt-gold-light);
}
.nt-page-hero h1 {
  font-family: var(--nt-font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--nt-white);
  max-width: 700px;
  margin-bottom: 20px;
}
.nt-page-hero h1 em { font-style: italic; color: #33CDFA; }
.nt-page-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.nt-card {
  background: var(--nt-white);
  border: 1px solid var(--nt-gray-100);
  border-radius: var(--nt-radius-md);
  padding: 32px 28px;
  transition: var(--nt-transition);
}
.nt-card:hover {
  border-color: var(--nt-blue);
  box-shadow: 0 8px 32px rgba(45,61,149,0.08);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   NEWS CARDS (used on home + archive)
═══════════════════════════════════════ */
.nt-news-card {
  background: var(--nt-white);
  border: 1px solid var(--nt-gray-100);
  border-radius: var(--nt-radius-md);
  overflow: hidden;
  transition: var(--nt-transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.nt-news-card:hover {
  border-color: var(--nt-blue);
  box-shadow: 0 8px 32px rgba(45,61,149,0.08);
  transform: translateY(-2px);
}
.nt-news-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--nt-blue-pale);
}
.nt-news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.nt-news-card:hover .nt-news-card__img img { transform: scale(1.04); }
.nt-news-card__img--placeholder {
  aspect-ratio: 16/9;
  background: var(--nt-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nt-gray-500);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nt-news-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nt-news-card__date {
  font-size: 11px;
  color: var(--nt-gray-500);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  font-weight: 500;
}
.nt-news-card__title {
  font-family: var(--nt-font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--nt-navy);
  margin-bottom: 12px;
}
.nt-news-card__excerpt {
  font-size: 13px;
  color: var(--nt-gray-700);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.nt-news-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--nt-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--nt-transition);
}
.nt-news-card:hover .nt-news-card__link { gap: 10px; }

/* ═══════════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════════ */
.nt-product-card {
  background: var(--nt-white);
  border: 1px solid var(--nt-gray-100);
  border-radius: var(--nt-radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: var(--nt-transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.nt-product-card:hover {
  border-color: var(--nt-blue);
  box-shadow: 0 8px 32px rgba(45,61,149,0.1);
  transform: translateY(-3px);
  color: inherit;
}
.nt-product-card__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--nt-radius-sm);
  overflow: hidden;
  background: var(--nt-blue-pale);
}
.nt-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nt-product-card__img--placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nt-gray-500);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.5;
  padding: 12px;
}
.nt-product-card__cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nt-blue-mid);
}
.nt-product-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--nt-navy);
  line-height: 1.3;
}
.nt-product-card__type { font-size: 12px; color: var(--nt-gray-500); }
.nt-product-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--nt-blue-pale);
  color: var(--nt-blue);
}
.nt-product-card__tag--self {
  background: var(--nt-gold-pale);
  color: #33CDFA;
}

/* ═══════════════════════════════════════
   CERTIFICATIONS STRIP
═══════════════════════════════════════ */
.nt-certs {
  background: var(--nt-blue-pale);
  border-top: 1px solid rgba(45,61,149,0.1);
  border-bottom: 1px solid rgba(45,61,149,0.1);
  padding: 32px 0;
}
.nt-certs__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.nt-certs__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  border-right: 1px solid rgba(45,61,149,0.15);
}
.nt-certs__item:last-child { border-right: none; }
.nt-certs__icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--nt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.nt-certs__icon--pending { background: rgba(51,205,250,0.15); }
.nt-certs__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--nt-navy);
  line-height: 1.2;
}
.nt-certs__status {
  font-size: 10px;
  color: var(--nt-blue-mid);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nt-certs__status--pending { color: #33CDFA; }

/* ═══════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════ */
.nt-single {
  padding: 80px 0 100px;
}
.nt-single__inner {
  max-width: 780px;
  margin: 0 auto;
}
.nt-single__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--nt-gray-500);
}
.nt-single__meta span { display: flex; align-items: center; gap: 6px; }
.nt-single h1 {
  font-family: var(--nt-font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--nt-navy);
  margin-bottom: 32px;
}
.nt-single__featured {
  width: 100%;
  border-radius: var(--nt-radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}
.nt-single__featured img { width: 100%; height: auto; }
.nt-single__content h2 { font-family: var(--nt-font-display); font-size: 28px; font-weight: 400; color: var(--nt-navy); margin: 40px 0 16px; }
.nt-single__content h3 { font-size: 20px; font-weight: 600; color: var(--nt-navy); margin: 32px 0 12px; }
.nt-single__content p { font-size: 17px; color: var(--nt-gray-700); line-height: 1.8; margin-bottom: 24px; }
.nt-single__content a { color: var(--nt-blue); text-decoration: underline; }
.nt-single__content blockquote {
  border-left: 4px solid var(--nt-blue);
  background: var(--nt-blue-pale);
  padding: 24px 28px;
  border-radius: 0 var(--nt-radius-md) var(--nt-radius-md) 0;
  margin: 32px 0;
  font-family: var(--nt-font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--nt-navy);
  line-height: 1.5;
}
.nt-single__content ul, .nt-single__content ol {
  padding-left: 24px;
  margin-bottom: 24px;
  font-size: 17px;
  color: var(--nt-gray-700);
  line-height: 1.8;
}
.nt-single__content ul { list-style: disc; }
.nt-single__content ol { list-style: decimal; }
.nt-single__content img {
  border-radius: var(--nt-radius-md);
  margin: 32px 0;
}

/* ═══════════════════════════════════════
   ARCHIVE (News listing)
═══════════════════════════════════════ */
.nt-archive {
  padding: 80px 0 100px;
  background: var(--nt-off-white);
}
.nt-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.nt-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}
.nt-pagination a, .nt-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--nt-radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--nt-gray-300);
  color: var(--nt-gray-700);
  transition: var(--nt-transition);
  text-decoration: none;
}
.nt-pagination a:hover, .nt-pagination span.current {
  background: var(--nt-blue);
  color: white;
  border-color: var(--nt-blue);
}

/* ═══════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════ */
.nt-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nt-form__group { display: flex; flex-direction: column; gap: 8px; }
.nt-form__label { font-size: 13px; font-weight: 600; color: var(--nt-navy); }
.nt-form__input,
.nt-form__select,
.nt-form__textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--nt-gray-300);
  border-radius: var(--nt-radius-sm);
  font-family: var(--nt-font-body);
  font-size: 15px;
  color: var(--nt-near-black);
  background: var(--nt-white);
  transition: var(--nt-transition);
  outline: none;
  width: 100%;
}
.nt-form__input:focus,
.nt-form__select:focus,
.nt-form__textarea:focus {
  border-color: var(--nt-blue);
  box-shadow: 0 0 0 3px rgba(45,61,149,0.12);
}
.nt-form__textarea { min-height: 140px; resize: vertical; }
.nt-form__submit {
  align-self: flex-start;
}

/* ═══════════════════════════════════════
   WORDPRESS ALIGNMENT CLASSES
═══════════════════════════════════════ */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin: 0 auto 24px; display: block; }
.alignwide  { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--nt-gray-500); margin-top: 8px; text-align: center; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .nt-container { padding: 0 24px; }
  :root { --nt-section-pad: 72px; }
  .nt-grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .nt-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nt-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nt-archive__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Laptop range: tighten nav so 8 links + CTA fit without overflow */
@media (max-width: 1180px) and (min-width: 769px) {
  .nt-nav__links a { padding: 6px 9px; font-size: 12.5px; }
  .nt-nav { padding: 0 24px; }
  .nt-nav__cta { padding: 8px 16px; font-size: 13px; }
}

@media (max-width: 768px) {
  :root { --nt-section-pad: 56px; }
  .nt-nav__links, .nt-nav__cta { display: none; }
  .nt-nav__toggle { display: flex; }
  .nt-grid-3 { grid-template-columns: 1fr; }
  .nt-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nt-footer__grid { grid-template-columns: 1fr; }
  .nt-archive__grid { grid-template-columns: 1fr; }
  .nt-certs__item { flex: 1; min-width: 140px; justify-content: center; }
  .nt-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .nt-container { padding: 0 16px; }
  .nt-grid-4 { grid-template-columns: 1fr; }
  .nt-nav { padding: 0 16px; }
}
</style>

/* ── Dot motif — global fix so it works on all inner pages ── */
/* Overrides homepage.css definition if both load */
.nt-dots-motif {
  position: absolute !important;
  pointer-events: none;
  user-select: none;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
  z-index: 1;
  display: block;
}

/* ═══════════════════════════════════════════
   GLOBAL IMAGE & VIDEO FIT
   object-fit:cover on every img/video context
   so any aspect ratio fills its container cleanly
═══════════════════════════════════════════ */

/* Hero video */
.nt-hero__video,
.nt-page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* All standard img contexts */
.nt-facility__image img,
.nt-facility-gallery img,
.nt-facility-gallery__main img,
.nt-facility-gallery__secondary img,
.nt-news-card__img img,
.nt-product-card__img img,
.nt-product-single__img img,
.nt-team-card__photo img,
.nt-about-team-photo-placeholder img,
.nt-single__featured img,
.nt-partners-img-placeholder img,
.nt-partner__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Logo images — contain, don't crop */
.nt-nav__logo-img,
.nt-footer__brand-logo img,
.nt-partner__logo-img,
.nt-about-partner-card__logo-placeholder img,
.nt-partners-logo-placeholder img,
.nt-reg-cert-card__logo-placeholder img {
  width: auto;
  height: 100%;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* Nav logo specifically */
.nt-nav__logo-img {
  height: 36px;
  max-height: 36px;
}

/* Footer logo */
.nt-footer__brand-logo img {
  height: 36px;
  max-height: 36px;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* VideoPress iframe embed — full bleed behind overlay */
.nt-hero-video-wrap,
.nt-page-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.nt-hero-video-wrap iframe,
.nt-page-hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;  /* 16:9 */
  min-width: 100%;
  height: 56.25vw;  /* 16:9 */
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* Facility gallery images fill their slot */
.nt-facility-gallery__main,
.nt-facility-gallery__placeholder--sm {
  overflow: hidden;
  border-radius: 12px;
}

/* ── Inner page hero overlay (sits over video, under text) ── */
.nt-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(45, 61, 149, 0.80) 0%,
    rgba(45, 61, 149, 0.72) 55%,
    rgba(45, 61, 149, 0.4)  100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Ensure inner page hero text sits above video + overlay */
.nt-page-hero .nt-container {
  position: relative;
  z-index: 2;
}

/* Inner page hero dots also above overlay */
.nt-page-hero .nt-dots-motif {
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════
   SMOOTH TRANSITIONS — NASENI Brand Experience
   All interactive elements get considered, fluid easing
═══════════════════════════════════════════════════════ */

/* Page-level: smooth scroll already on html element.
   Add scroll-behavior to anchors too for reliability */
html { scroll-behavior: smooth; }

/* All links and buttons — base transition */
a, button {
  transition:
    color          0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background     0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color   0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow     0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity        0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform      0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cards — lift on hover with shadow bloom */
.nt-card,
.nt-news-card,
.nt-product-card,
.nt-team-card,
.nt-zone-card,
.nt-impact-econ-card,
.nt-impact-burden-card,
.nt-about-partner-card,
.nt-reg-cert-card,
.nt-reg-pending-card,
.nt-partner-card {
  transition:
    transform      0.4s  cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow     0.4s  cubic-bezier(0.4, 0, 0.2, 1),
    border-color   0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background     0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slightly springy lift — feels alive */
.nt-card:hover,
.nt-news-card:hover,
.nt-product-card:hover,
.nt-team-card:hover,
.nt-zone-card:hover,
.nt-impact-econ-card:hover,
.nt-impact-burden-card:hover {
  transform: translateY(-4px);
}

/* Images inside cards — subtle zoom on hover */
.nt-news-card__img img,
.nt-product-card__img img,
.nt-facility__image img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.nt-news-card:hover .nt-news-card__img img,
.nt-product-card:hover .nt-product-card__img img,
.nt-facility__image:hover img {
  transform: scale(1.04);
}

/* Stat bar underline reveal */
.nt-stat-item::after {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Nav links — underline slide in */
.nt-nav__links a {
  position: relative;
}
.nt-nav__links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 1.5px;
  background: #33CDFA;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nt-nav__links a:hover::after { transform: scaleX(1); }

/* Scroll reveal — smoother, slightly longer */
.nt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.nt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nt-reveal--d1 { transition-delay: 0.08s; }
.nt-reveal--d2 { transition-delay: 0.16s; }
.nt-reveal--d3 { transition-delay: 0.24s; }
.nt-reveal--d4 { transition-delay: 0.32s; }

/* Filter buttons — smooth pill transition */
.nt-filter-btn,
.nt-cat-filter-btn,
.nt-contact-tab {
  transition:
    background    0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color         0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color  0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav CTA button */
.nt-nav__cta {
  transition:
    background  0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform   0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nt-nav__cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,61,149,0.3); }

/* Primary buttons — slight lift + glow */
.nt-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 61, 149, 0.35);
}
.nt-btn--ghost:hover {
  transform: translateY(-1px);
}

/* Form inputs — border glow on focus */
.nt-fallback-form__input,
.nt-fallback-form__textarea,
.nt-fallback-form__select {
  transition:
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Story act hover */
.nt-story__act {
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nt-story__act-num {
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* News card link arrow slide */
.nt-news-card__link {
  transition: gap 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s;
}

/* Impact stat hover */
.nt-impact__stat {
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Team cards */
.nt-team-card {
  transition:
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   0.4s  cubic-bezier(0.34, 1.56, 0.64, 1),
    transform    0.4s  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Footer links */
.nt-footer__col ul li a {
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .nt-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   FORM SUBMISSION BANNERS (NT Form Collector plugin)
   Success + error notices shown after a form is submitted
═══════════════════════════════════════════════════════ */
.nt-fallback-form__success,
.nt-fallback-form__error {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  animation: ntfcSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nt-fallback-form__success {
  background: #E8F9FF;
  border: 1.5px solid #33CDFA;
  color: #1a2a6b;
}
.nt-fallback-form__error {
  background: #fdecec;
  border: 1.5px solid #e5484d;
  color: #a01b20;
}
@keyframes ntfcSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
