/*
Theme Name: NGT Corporate
Theme URI: https://www.ngtecno.com
Author: Next Generation Technology
Author URI: https://www.ngtecno.com
Description: Bilingual (English / Arabic RTL) corporate theme for Next Generation Technology, built to the NGT Corporate Identity Manual v1.0. Poppins + Tajawal, the seven-colour brand palette, service-line colour coding, and the 12-column web grid specified in chapter 08.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary — for use by Next Generation Technology only
Text Domain: ngt
Tags: corporate, business, rtl-language-support, translation-ready, custom-logo, custom-menu
*/

/* ==========================================================================
   1. TOKENS — every value below is taken from the CI Manual v1.0
   ========================================================================== */

:root {
  /* 3.1 Primary */
  --ngt-blue: #1F93FF;
  /* 3.2 Secondary */
  --ngt-purple: #742E99;
  --ngt-magenta: #FF3DC7;
  --ngt-orange: #FFAD23;
  /* 3.3 Accent */
  --ngt-teal: #2BD69E;
  --ngt-yellow: #FFD400;
  --ngt-coral: #FF8258;
  /* 3.4 Wordmark & neutrals */
  --ngt-black: #000000;
  --ngt-ink: #1A1A2E;
  --ngt-mid-gray: #6C6D6D;
  --ngt-light-gray: #A6A8A8;
  --ngt-rule: #E5E5EC;
  --ngt-paper: #FAFAFC;
  --ngt-white: #FFFFFF;
  --ngt-deep: #1F1C6B;

  /* 6.1 Brand gradients */
  --grad-hero: linear-gradient(135deg, #1F93FF 0%, #742E99 100%);
  --grad-energy: linear-gradient(135deg, #FF3DC7 0%, #FF8258 100%);
  --grad-deep: linear-gradient(135deg, #1F1C6B 0%, #742E99 68%, #FF3DC7 100%);
  --grad-fresh: linear-gradient(135deg, #2BD69E 0%, #1F93FF 100%);
  --grad-premium-dark: linear-gradient(135deg, #742E99 0%, #1A1A2E 100%);
  --grad-spectrum: linear-gradient(90deg, #FFAD23 0%, #FF3DC7 22%, #742E99 42%, #1F93FF 62%, #2BD69E 82%, #FFD400 100%);

  /* 3.6 Service-line colours */
  --svc-datacenter: #1F93FF;
  --svc-digital: linear-gradient(135deg, #FF3DC7 0%, #FF8258 100%);
  --svc-cyber: #742E99;

  /* 8.1 Spacing scale — never invent values between */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 40px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  /* 8.1 Grid */
  --container: 1200px;
  --gutter: 24px;

  /* 6.2 Shapes */
  --radius-soft: 4px;
  --radius-btn: 8px;

  /* 8.1 Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;

  /* 4. Type */
  --font-latin: 'Poppins', Arial, Helvetica, sans-serif;
  --font-arabic: 'Tajawal', 'Poppins', Arial, sans-serif;
  --font: var(--font-latin);
}

html[lang^="ar"] {
  --font: var(--font-arabic);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ngt-ink);
  background: var(--ngt-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ngt-blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--ngt-purple); }

:focus-visible {
  outline: 3px solid var(--ngt-blue);
  outline-offset: 3px;
}

.ngt-skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--ngt-ink);
  color: #fff;
  padding: var(--sp-2) var(--sp-3);
  z-index: 200;
}
.ngt-skip-link:focus { inset-inline-start: 0; color: #fff; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   3. TYPE SCALE — 4.3 print scale × 1.6 for digital
   ========================================================================== */

h1, h2, h3, h4 { margin: 0 0 var(--sp-3); font-weight: 800; }

.t-display {
  font-size: clamp(2.6rem, 6.2vw, 4.2rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1, .t-h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.01em; }
h2, .t-h2 { font-size: clamp(1.5rem, 2.6vw, 1.8rem); line-height: 1.15; }
h3, .t-h3 { font-size: 1.2rem; line-height: 1.2; font-weight: 700; }

.t-lede {
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 300;
  color: var(--ngt-mid-gray);
}

.t-eyebrow {
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ngt-magenta);
  margin: 0 0 var(--sp-3);
  display: block;
}

.t-caption { font-size: 0.75rem; line-height: 1.4; color: var(--ngt-light-gray); }

p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

/* Arabic sizing — 4.7: Tajawal at ~1.1× the Poppins equivalent */
html[lang^="ar"] body { font-size: 1.1rem; }
html[lang^="ar"] .t-eyebrow { letter-spacing: 0; }

/* The one accent the manual permits on headlines: gradient-filled words */
.grad-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--energy { background: var(--grad-energy); -webkit-background-clip: text; background-clip: text; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.ngt-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ngt-section { padding-block: var(--sp-7); }
.ngt-section--tight { padding-block: var(--sp-6); }
.ngt-section--paper { background: var(--ngt-paper); }
.ngt-section--ink { background: var(--ngt-ink); color: var(--ngt-white); }
.ngt-section--ink .t-lede { color: rgba(255, 255, 255, 0.72); }

.ngt-section__head { max-width: 720px; margin-bottom: var(--sp-5); }

.ngt-grid { display: grid; gap: var(--gutter); }
.ngt-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ngt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ngt-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 6.3 Dividers */
.ngt-rule-rainbow { height: 4px; background: var(--grad-spectrum); border: 0; margin: 0; }
.ngt-rule-hairline { height: 1px; background: var(--ngt-rule); border: 0; margin: 0; }

/* ==========================================================================
   5. BUTTONS — 8.1: primary uses Blue → Purple at 8px radius
   ========================================================================== */

.ngt-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px var(--sp-4);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ngt-btn:hover { transform: translateY(-2px); }

.ngt-btn--primary { background: var(--grad-hero); color: #fff; }
.ngt-btn--primary:hover { color: #fff; box-shadow: 0 10px 28px rgba(31, 147, 255, 0.32); }

.ngt-btn--outline { border-color: var(--ngt-ink); color: var(--ngt-ink); background: transparent; }
.ngt-btn--outline:hover { background: var(--ngt-ink); color: #fff; }

.ngt-btn--onDark { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }
.ngt-btn--onDark:hover { background: #fff; color: var(--ngt-ink); }

.ngt-btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

.ngt-btn__arrow { transition: transform var(--dur) var(--ease); }
.ngt-btn:hover .ngt-btn__arrow { transform: translateX(4px); }
html[dir="rtl"] .ngt-btn__arrow { transform: scaleX(-1); }
html[dir="rtl"] .ngt-btn:hover .ngt-btn__arrow { transform: scaleX(-1) translateX(4px); }

/* ==========================================================================
   6. HEADER
   ========================================================================== */

.ngt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ngt-rule);
}

.ngt-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 96px;
}

.ngt-brand { display: flex; align-items: center; gap: var(--sp-2); }
/* 2.6 minimum size — never below 120px wide for digital.
   The lockup is 520x242, so height drives width: 64px tall = 138px wide. */
.ngt-brand img { width: auto; height: 64px; max-width: 300px; object-fit: contain; }
.ngt-brand__fallback { font-weight: 800; font-size: 1.25rem; line-height: 1.05; letter-spacing: -0.01em; color: var(--ngt-ink); }
.ngt-brand__fallback span { display: block; font-weight: 500; font-size: 0.6rem; letter-spacing: 0.22em; color: var(--ngt-light-gray); }

.ngt-nav { margin-inline-start: auto; }
.ngt-nav ul { display: flex; align-items: center; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.ngt-nav a {
  font-size: 0.92rem;
  white-space: nowrap;
  font-weight: 500;
  color: var(--ngt-ink);
  padding-block: var(--sp-2);
  position: relative;
}
.ngt-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--grad-hero);
  transition: width var(--dur) var(--ease);
}
.ngt-nav a:hover::after,
.ngt-nav .current-menu-item > a::after { width: 100%; }

.ngt-header__actions { display: flex; align-items: center; gap: var(--sp-3); }

.ngt-lang {
  display: inline-flex;
  border: 1px solid var(--ngt-rule);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
}
.ngt-lang a { padding: 6px 14px; color: var(--ngt-mid-gray); }
.ngt-lang a.is-active { background: var(--ngt-ink); color: #fff; }

.ngt-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--ngt-rule);
  border-radius: var(--radius-soft);
  background: #fff;
  cursor: pointer;
  padding: 12px;
}
.ngt-burger span { display: block; height: 2px; background: var(--ngt-ink); margin-bottom: 4px; }
.ngt-burger span:last-child { margin-bottom: 0; }

/* ==========================================================================
   7. HERO — 8.1: deep and confident
   ========================================================================== */

.ngt-hero {
  position: relative;
  background-color: var(--ngt-deep);
  /* 5.1 MOOD 01 — KSA skyline at blue hour, under the Deep Brand gradient */
  background-image:
    linear-gradient(135deg, rgba(31, 28, 107, 0.95) 0%, rgba(116, 46, 153, 0.88) 62%, rgba(255, 61, 199, 0.74) 100%),
    url("assets/img/photos/hero-riyadh-skyline.jpg");
  background-size: cover, cover;
  background-position: center, right center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
  padding-block: var(--sp-8) calc(var(--sp-8) + var(--sp-6));
}
.ngt-hero::after {
  /* 6.4 Nebula — a supporting layer, kept under 25% opacity */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(255, 61, 199, 0.22), transparent 70%),
    radial-gradient(50% 50% at 12% 82%, rgba(31, 147, 255, 0.20), transparent 70%);
  pointer-events: none;
}
.ngt-hero__inner { position: relative; z-index: 1; max-width: 780px; }
.ngt-hero .t-eyebrow { color: #fff; opacity: 0.72; }
.ngt-hero__title { color: #fff; margin-bottom: var(--sp-4); }
.ngt-hero__title .grad-text {
  background: linear-gradient(120deg, #FF3DC7 0%, #FF8258 55%, #FFAD23 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ngt-hero__lede { color: rgba(255, 255, 255, 0.78); max-width: 620px; margin-bottom: var(--sp-5); }

/* Service cards lift into the hero, as drawn on manual p.33 */
.ngt-services-lift { margin-top: calc(var(--sp-7) * -1); position: relative; z-index: 2; }

/* ==========================================================================
   8. SERVICE CARDS — 3.6 colour coding
   ========================================================================== */

.ngt-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--radius-soft);
  color: #fff;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ngt-svc:hover { transform: translateY(-6px); box-shadow: 0 18px 42px rgba(26, 26, 46, 0.22); color: #fff; }

/* Service photography sits under the service colour, so 3.6 colour coding
   still reads at a glance while the image carries the subject matter. */
.ngt-svc {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ngt-svc__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 400ms var(--ease);
  z-index: 0;
}
.ngt-svc:hover .ngt-svc__photo { transform: scale(1.06); }
.ngt-svc__body { position: relative; z-index: 2; }
.ngt-svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ngt-svc--datacenter::before {
  background: linear-gradient(180deg, rgba(31, 147, 255, 0.34) 0%, rgba(31, 147, 255, 0.94) 74%);
}
.ngt-svc--digital::before {
  background: linear-gradient(180deg, rgba(255, 61, 199, 0.32) 0%, rgba(255, 61, 199, 0.90) 62%, rgba(255, 130, 88, 0.94) 100%);
}
.ngt-svc--cyber::before {
  background: linear-gradient(180deg, rgba(116, 46, 153, 0.36) 0%, rgba(116, 46, 153, 0.94) 74%);
}
.ngt-svc--datacenter { background-color: var(--svc-datacenter); }
.ngt-svc--digital { background-color: var(--ngt-magenta); }
.ngt-svc--cyber { background-color: var(--svc-cyber); }
.ngt-svc__title { font-size: 1.35rem; font-weight: 800; margin: 0 0 var(--sp-2); }
.ngt-svc__text { font-size: 0.95rem; opacity: 0.9; margin: 0; }
.ngt-svc__icon { position: absolute; inset-block-start: var(--sp-4); inset-inline-start: var(--sp-4); opacity: 0.32; }

/* ==========================================================================
   9. CARDS
   ========================================================================== */

.ngt-card {
  background: #fff;
  border: 1px solid var(--ngt-rule);
  border-radius: var(--radius-soft);
  padding: var(--sp-4);
  height: 100%;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ngt-card:hover { box-shadow: 0 12px 32px rgba(26, 26, 46, 0.08); transform: translateY(-3px); }
.ngt-card__label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ngt-magenta);
  display: block; margin-bottom: var(--sp-2);
}
.ngt-card__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 var(--sp-2); }
.ngt-card__text { font-size: 0.95rem; color: var(--ngt-mid-gray); margin: 0; }

.ngt-section--ink .ngt-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.ngt-section--ink .ngt-card__title { color: #fff; }
.ngt-section--ink .ngt-card__text { color: rgba(255, 255, 255, 0.72); }

/* Numbered items — used only where the content really is a sequence */
.ngt-step__num {
  font-size: 2.2rem; font-weight: 800; line-height: 1;
  color: var(--ngt-blue); display: block; margin-bottom: var(--sp-2);
}
.ngt-section--ink .ngt-step__num { color: var(--ngt-magenta); }

.ngt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.ngt-split--narrow { grid-template-columns: 5fr 7fr; }
.ngt-split__media {
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.ngt-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ngt-split__media::after {
  /* 6.3 rainbow rule, used as a caption bar on imagery */
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 5px;
  background: var(--grad-spectrum);
}
.ngt-split--wide .ngt-split__media,
.ngt-split__media--wide { aspect-ratio: 16 / 10; }
.ngt-split--wide { align-items: start; }

/* Full-bleed photographic band */
.ngt-band-photo {
  position: relative;
  background-color: var(--ngt-ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.ngt-band-photo h2, .ngt-band-photo h3 { color: #fff; }
.ngt-band-photo .t-lede { color: rgba(255, 255, 255, 0.80); }
.ngt-band-photo > .ngt-container { position: relative; z-index: 1; }

/* ==========================================================================
   10. STAT / VALUE STRIP
   ========================================================================== */

.ngt-stat { text-align: center; }
.ngt-stat__figure {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1;
  background: var(--grad-hero);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ngt-stat__label {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ngt-mid-gray); margin-top: var(--sp-2);
}

.ngt-team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
.ngt-person__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--ngt-ink);
  position: relative;
}
.ngt-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.ngt-person:hover .ngt-person__photo img { transform: scale(1.04); }
.ngt-person__photo::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4px;
  /* 6.3 rainbow rule — the same caption bar used on every NGT image */
  background: var(--grad-spectrum);
}
.ngt-person__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: var(--sp-3) 0 var(--sp-1);
  color: var(--ngt-ink);
}
.ngt-person__role {
  font-size: 0.85rem;
  color: var(--ngt-mid-gray);
  margin: 0;
}
.ngt-section--ink .ngt-person__name { color: #fff; }
.ngt-section--ink .ngt-person__role { color: rgba(255, 255, 255, 0.68); }

/* ==========================================================================
   11. ORACLE / PARTNER BAND
   ========================================================================== */

.ngt-band-oracle {
  position: relative;
  background-color: var(--ngt-ink);
  /* 5.1 MOOD 06 — abstract tech, under Premium Dark */
  background-image:
    linear-gradient(135deg, rgba(116, 46, 153, 0.93) 0%, rgba(26, 26, 46, 0.95) 100%),
    url("assets/img/photos/abstract-network.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  color: #fff;
}
.ngt-band-oracle .t-eyebrow { color: var(--ngt-orange); }
.ngt-band-oracle h2 { color: #fff; }

.ngt-chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.ngt-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}
.ngt-chip--light {
  background: #fff;
  border-color: var(--ngt-rule);
  color: var(--ngt-mid-gray);
  font-weight: 500;
}


.ngt-logo-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid var(--ngt-rule);
  border-inline-start: 1px solid var(--ngt-rule);
  border-radius: var(--radius-soft);
  overflow: hidden;
}
.ngt-logo-wall__item {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) var(--sp-3);
  border-inline-end: 1px solid var(--ngt-rule);
  border-bottom: 1px solid var(--ngt-rule);
  transition: background var(--dur) var(--ease);
}
.ngt-logo-wall__item:hover { background: var(--ngt-paper); }
/* Third-party marks are shown as supplied — never recoloured or tinted. */
.ngt-logo-wall__item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

/* Footer lockup — 2.4 B, inverted on dark */
.ngt-footer__brand { display: inline-block; margin-bottom: var(--sp-4); }
.ngt-footer__brand img { width: auto; height: 78px; }

.ngt-band-skyline {
  background-color: var(--ngt-deep);
  background-image:
    linear-gradient(135deg, rgba(31, 28, 107, 0.92) 0%, rgba(116, 46, 153, 0.88) 100%),
    url("assets/img/photos/city-skyline.jpg");
  background-size: cover, cover;
  background-position: center, center;
  color: #fff;
}
.ngt-band-skyline h2 { color: #fff; }
.ngt-band-skyline .t-lede { color: rgba(255, 255, 255, 0.80); }

/* ==========================================================================
   12. CTA BAND
   ========================================================================== */

.ngt-cta {
  /* 5.1 MOOD 04 — collaboration, under Brand Hero */
  background-color: var(--ngt-blue);
  background-image:
    linear-gradient(135deg, rgba(31, 147, 255, 0.94) 0%, rgba(116, 46, 153, 0.94) 100%),
    url("assets/img/photos/business-strategy.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
}
.ngt-cta h2 { color: #fff; }
.ngt-cta p { color: rgba(255, 255, 255, 0.86); max-width: 640px; margin-inline: auto; }

/* ==========================================================================
   13. CONTACT
   ========================================================================== */

.ngt-office { border-top: 3px solid var(--ngt-blue); padding-top: var(--sp-3); }
.ngt-office h3 { font-size: 1rem; margin-bottom: var(--sp-2); }
.ngt-office p { font-size: 0.9rem; color: var(--ngt-mid-gray); }
.ngt-office:nth-child(2) { border-color: var(--ngt-purple); }
.ngt-office:nth-child(3) { border-color: var(--ngt-magenta); }
.ngt-office:nth-child(4) { border-color: var(--ngt-teal); }
.ngt-office:nth-child(5) { border-color: var(--ngt-orange); }

.ngt-form { display: grid; gap: var(--sp-3); }
.ngt-field label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ngt-mid-gray); margin-bottom: var(--sp-1);
}
.ngt-field input,
.ngt-field textarea,
.ngt-field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px var(--sp-3);
  border: 1px solid var(--ngt-rule);
  border-radius: var(--radius-soft);
  background: #fff;
  color: var(--ngt-ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ngt-field input:focus,
.ngt-field textarea:focus {
  border-color: var(--ngt-blue);
  box-shadow: 0 0 0 3px rgba(31, 147, 255, 0.16);
  outline: none;
}
.ngt-notice {
  padding: var(--sp-3);
  border-radius: var(--radius-soft);
  border-inline-start: 4px solid var(--ngt-teal);
  background: rgba(43, 214, 158, 0.10);
  font-size: 0.95rem;
}
.ngt-notice--error { border-color: var(--ngt-magenta); background: rgba(255, 61, 199, 0.08); }

/* ==========================================================================
   14. POSTS
   ========================================================================== */

.ngt-post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.ngt-post-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ngt-paper); }
.ngt-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.ngt-post-card:hover .ngt-post-card__thumb img { transform: scale(1.05); }
.ngt-post-card__inner { padding: var(--sp-4); }
.ngt-post-card__meta { font-size: 0.78rem; color: var(--ngt-light-gray); margin-bottom: var(--sp-2); }
.ngt-post-card__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 var(--sp-2); }
.ngt-post-card__title a { color: var(--ngt-ink); }
.ngt-post-card__title a:hover { color: var(--ngt-blue); }

.ngt-entry { max-width: 760px; margin-inline: auto; }
.ngt-entry h2 { margin-top: var(--sp-5); }
.ngt-entry img { border-radius: var(--radius-soft); margin-block: var(--sp-4); }
.ngt-entry blockquote {
  margin: var(--sp-4) 0;
  padding-inline-start: var(--sp-4);
  border-inline-start: 4px solid var(--ngt-magenta);
  font-size: 1.15rem; font-weight: 300;
}

.ngt-pagination { display: flex; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-5); }
.ngt-pagination .page-numbers {
  padding: 8px 14px; border: 1px solid var(--ngt-rule);
  border-radius: var(--radius-soft); color: var(--ngt-ink);
}
.ngt-pagination .current { background: var(--ngt-ink); color: #fff; border-color: var(--ngt-ink); }

/* ==========================================================================
   15. PAGE HERO (inner pages)
   ========================================================================== */

.ngt-page-hero {
  background: var(--grad-hero);
  color: #fff;
  padding-block: var(--sp-7);
}
.ngt-page-hero h1 { color: #fff; }
.ngt-page-hero .t-lede { color: rgba(255, 255, 255, 0.82); max-width: 640px; }
.ngt-page-hero .t-eyebrow { color: #fff; opacity: 0.75; }
.ngt-page-hero { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.ngt-page-hero--cyber { background: var(--grad-premium-dark); }
.ngt-page-hero--energy { background: var(--grad-energy); }

.ngt-page-hero--services {
  background-color: var(--ngt-ink);
  background-image:
    linear-gradient(135deg, rgba(31, 28, 107, 0.93) 0%, rgba(31, 147, 255, 0.86) 100%),
    url("assets/img/photos/data-center.jpg");
}
.ngt-page-hero--about {
  background-color: var(--ngt-purple);
  background-image:
    linear-gradient(135deg, rgba(31, 147, 255, 0.92) 0%, rgba(116, 46, 153, 0.94) 100%),
    url("assets/img/photos/team-collaboration.jpg");
}
.ngt-page-hero--clients {
  background-color: var(--ngt-deep);
  background-image:
    linear-gradient(135deg, rgba(31, 28, 107, 0.94) 0%, rgba(116, 46, 153, 0.90) 100%),
    url("assets/img/photos/glass-towers.jpg");
}
.ngt-page-hero--contact {
  background-color: var(--ngt-blue);
  background-image:
    linear-gradient(135deg, rgba(31, 147, 255, 0.93) 0%, rgba(116, 46, 153, 0.92) 100%),
    url("assets/img/photos/hero-riyadh-skyline.jpg");
}
.ngt-page-hero--vendors {
  background-color: var(--ngt-deep);
  background-image:
    linear-gradient(135deg, rgba(31, 28, 107, 0.93) 0%, rgba(116, 46, 153, 0.90) 100%),
    url("assets/img/photos/city-skyline.jpg");
}
.ngt-page-hero--team {
  background-color: var(--ngt-purple);
  background-image:
    linear-gradient(135deg, rgba(116, 46, 153, 0.93) 0%, rgba(26, 26, 46, 0.94) 100%),
    url("assets/img/photos/workspace-laptop.jpg");
}
.ngt-page-hero--insights {
  background-color: var(--ngt-ink);
  background-image:
    linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(116, 46, 153, 0.90) 100%),
    url("assets/img/photos/abstract-lines.jpg");
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */

.ngt-footer { background: var(--ngt-ink); color: rgba(255, 255, 255, 0.72); padding-block: var(--sp-6) var(--sp-4); }
.ngt-footer h4 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--sp-3); font-weight: 700;
}
.ngt-footer a { color: rgba(255, 255, 255, 0.72); }
.ngt-footer a:hover { color: #fff; }
.ngt-footer ul { list-style: none; margin: 0; padding: 0; }
.ngt-footer li { margin-bottom: var(--sp-2); font-size: 0.9rem; }
.ngt-footer__legal {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between;
  font-size: 0.8rem;
}
.ngt-footer__tagline { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: var(--sp-3); }

/* ==========================================================================
   17. RESPONSIVE — 8.1 breakpoints 1200 / 992 / 768 / 480
   ========================================================================== */

@media (max-width: 1200px) {
  .ngt-logo-wall { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  .ngt-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ngt-team { grid-template-columns: repeat(3, 1fr); }
  .ngt-hero { padding-block: var(--sp-7) calc(var(--sp-7) + var(--sp-6)); }
}

@media (max-width: 950px) {
  .ngt-header__inner { position: relative; flex-wrap: wrap; }
  .ngt-brand img { height: 58px; }
  .ngt-header__actions { order: 2; margin-inline-start: auto; }
  .ngt-burger { display: block; order: 3; margin-inline-start: var(--sp-2); }
  .ngt-nav {
    order: 4;
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--ngt-rule);
    padding: var(--sp-3) var(--gutter);
  }
  .ngt-nav.is-open { display: block; }
  .ngt-nav ul { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .ngt-section { padding-block: var(--sp-6); }
  .ngt-grid--2,
  .ngt-grid--3 { grid-template-columns: 1fr; }
  .ngt-split,
  .ngt-split--narrow { grid-template-columns: 1fr; gap: var(--sp-5); }
  .ngt-team { grid-template-columns: repeat(2, 1fr); }
  .ngt-split__media { aspect-ratio: 16 / 10; }
  .ngt-hero { background-position: center, 72% center; }
  .ngt-logo-wall { grid-template-columns: repeat(3, 1fr); }
  .ngt-logo-wall__item { min-height: 96px; }
  .ngt-svc { min-height: 200px; padding: var(--sp-4); }
  .ngt-hero { padding-block: var(--sp-6) calc(var(--sp-6) + var(--sp-5)); }
  .ngt-services-lift { margin-top: calc(var(--sp-6) * -1); }
}

@media (max-width: 480px) {
  .ngt-header__inner { gap: var(--sp-2); }
  .ngt-brand__fallback { font-size: 0.95rem; }
  .ngt-brand img { height: 56px; }
  .ngt-lang a { padding: 6px 10px; font-size: 0.72rem; }
  .ngt-grid--4 { grid-template-columns: 1fr; }
  .ngt-logo-wall { grid-template-columns: repeat(2, 1fr); }
  .ngt-footer__legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .ngt-svc:hover .ngt-svc__photo,
  .ngt-person:hover .ngt-person__photo img,
  .ngt-post-card:hover .ngt-post-card__thumb img { transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   18. WORDPRESS CORE CLASSES
   ========================================================================== */

.alignleft { float: left; margin-inline-end: var(--sp-4); margin-bottom: var(--sp-3); }
.alignright { float: right; margin-inline-start: var(--sp-4); margin-bottom: var(--sp-3); }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: 0.75rem; color: var(--ngt-light-gray); }
.sticky .ngt-post-card__title::before { content: "★ "; color: var(--ngt-yellow); }
