/* NX - About Section (nx-about.css) */
:root {
  --nx-about-max: 1200px;
  --nx-blob-size: clamp(500px, 28vw, 380px);
}

/* Container + layout */
.nx-about-section {
  padding: var(--about-padding-vertical, 48px) 20px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  overflow: hidden;
}
.nx-about-inner {
  max-width: var(--nx-about-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, var(--nx-blob-size)) 1fr;
  gap: var(--about-gap, 36px);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ART / Blob */
/* ART / Blob */
.nx-about-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 4;
  pointer-events: auto;
  width: var(--nx-blob-size);
  height: var(--nx-blob-size);
  margin-left: -35%; /* desktop cut */
}

.nx-about-blob {
  width: 120%;
  height: 90%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.15),
    0 0 40px rgba(175,44,238,0.25),
    0 0 60px rgba(2,175,240,0.25),
    inset 0 6px 20px rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
  will-change: border-radius;
  transform: translateZ(0);
  background-clip: padding-box;
  pointer-events: auto;
  z-index: 5;
  transition: transform 0.3s ease;
display: flex;                /* make blob a flex container */
  align-items: center;          /* vertical centering */
  justify-content: center; 
}

.nx-about-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 65%);
  pointer-events: none;
}

/* Illustration inside blob */
.nx-about-illustration {
  width: 120%;
  height: 120%;
  object-fit: contain;
  border-radius: 50%;
  opacity: 1;
  mix-blend-mode: normal;
transform: scaleX(-1);   /* ✅ flips horizontally */
}

/* CONTENT */
.nx-about-content {
  position: relative;
  z-index: 3;
}
.nx-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-magenta);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.nx-about-title {
  font-size: clamp(30px, 4vw, 44px);
  margin: 6px 0 16px;
  color: var(--color-dark);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 
    0 2px 6px rgba(0,0,0,0.08),
    0 4px 12px rgba(0,0,0,0.05);
}
.nx-about-lead {
  color: var(--muted);
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 22px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* CTA */
.nx-about-ctas { margin-bottom: 28px; }
.btn-primary.nx-about-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
    background: linear-gradient(90deg, #03bb7c, #6a4ee6, #af2cee);
  color: #fff;
  box-shadow: 0 20px 44px rgba(46,30,100,0.18);
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn-primary.nx-about-cta:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 28px 64px rgba(46,30,100,0.25);
}

/* Cards */
.nx-about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
  margin-top: 14px;
}
.nx-card {
  display: block;
  background: rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 20px;
  box-shadow:
    0 6px 18px rgba(7,10,30,0.05),
    0 2px 6px rgba(0,0,0,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}
.nx-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 14px 36px rgba(46,30,100,0.14),
    0 0 12px rgba(175,44,238,0.12);
}
.nx-card:active {
  transform: scale(0.96);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12) inset;
}
.nx-card-inner h4 {
  margin: 0 0 8px;
  color: var(--accent-magenta);
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.nx-card-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  text-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* Desktop tweaks */
@media (min-width: 1000px) {
  .nx-about-art {
    left: -6%;
    transform: none;
    top: auto;
    margin-left: -35%; /* ✅ keep cut only on desktop */
  }
  .nx-about-content { padding-left: 18px; }
  .nx-about-cards { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
}

/* Mobile & Tablet fix */
@media (max-width: 999px) {
  .nx-about-inner { 
    display: block; 
    text-align: center; /* ✅ center content */
  }

  .nx-about-art {
    position: relative;
    margin: 0 auto 36px auto;
    width: min(80vw, 420px);
    height: min(80vw, 420px);
    z-index: 2;
    left: auto; /* ✅ reset desktop shift */
    margin-left: 0; /* ✅ prevent pushing right */
  }

  .nx-about-content {
    padding: 0;
    margin: 0 auto; /* ✅ keep centered */
  }

  .nx-about-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  .nx-card {
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(7,10,30,0.06);
  }
  .nx-card:active {
    transform: scale(0.97);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  }

  @media (max-width: 480px) {
    .nx-about-content {
      background: rgba(255,255,255,0.96);
      border-radius: 14px;
      padding: 20px;
      box-shadow: 0 10px 28px rgba(7,10,30,0.06);
    }
  }
}
/* =======================================
   FULL ABOUT US PAGE (Who We Are, Leadership, Values)
   ======================================= */

/* =======================================
   ✅ FINAL FIX — ABOUT PAGE OFFSET & HEADER GAP
   ======================================= */

/* Remove default padding-top entirely */
#about-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Prevent Hello Elementor or theme margin issues */
body.page-template-page-about main#content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ✅ The only active dynamic offset rule */
body.page-template-page-about #about-page {
  margin-top: 0 !important;
  padding-top: var(--nx-header-height, 0px) !important; /* updated dynamically by JS */
  border-top: 1px solid transparent; /* avoids margin collapse */
  transition: none !important; /* prevents flicker during header resize */
  contain: layout paint; /* isolates layout repaint, no white gap */
}

/* Safety reset for first section */
body.page-template-page-about #who-we-are {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Who We Are section */
/* ===============================
   WHO WE ARE – LUXURY STYLE
   =============================== */
/* ==========================================================
   NX WHO WE ARE — FINAL BRAND-BALANCED VERSION
   Elegant, soft depth with purple–teal balance
   (Full Section Code - complete and optimized)
========================================================== */

/* ----------------------------------------------------------
   THEME ACCENTS — NexTA Premium Purple Identity
---------------------------------------------------------- */
:root {
  --nx-accent-1: #7d3ff0;   /* royal purple — dominant */
  --nx-accent-2: #5b2de0;   /* deep accent purple */
  --nx-accent-3: #22c5b3;   /* refined teal glow (for light hints only) */
  --nx-dark: #0a1325;       /* deep ink text */
  --nx-muted: #5c5c70;      /* muted grey-blue */
}

/* ----------------------------------------------------------
   SECTION BASE
---------------------------------------------------------- */
.nx-who-we-are {
  position: relative;
  padding: 120px 20px 60px;
  background: linear-gradient(145deg, #fafaff 0%, #f3f6ff 100%);
  overflow: hidden;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* ----------------------------------------------------------
   GRID
---------------------------------------------------------- */
.nx-who-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

/* ----------------------------------------------------------
   LEFT COLUMN
---------------------------------------------------------- */
.nx-eyebrow {
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nx-accent-1);
  text-transform: uppercase;
}

.nx-who-title {
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 800;
  margin: 10px 0 16px;
  color: var(--nx-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 0.4px 0.6px rgba(0,0,0,0.04);
}

.nx-who-text {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--nx-muted);
  text-rendering: optimizeLegibility;
}

/* ----------------------------------------------------------
   RIGHT COLUMN — Keyword Rotator
---------------------------------------------------------- */
.nx-who-right {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.nx-rotate {
  position: relative;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--nx-dark);
  min-height: 40px;
  letter-spacing: -0.02em;
}

.nx-rotate-item {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  white-space: nowrap;
}

.nx-rotate-item.is-active {
  opacity: 1;
  transform: translateY(0);
  background: linear-gradient(90deg, var(--nx-accent-1), var(--nx-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.3) contrast(1.25);
  text-shadow: 0 1px 6px rgba(125, 63, 240, 0.12);
}

/* ==========================================================
   WHO WE ARE – GLASS GRID + AURORA + REFINEMENT
========================================================== */
:root {
  --nx-max: 1200px;
  --accent-1: #7d3ff0;
  --accent-2: #5b2de0;
  --accent-3: #22c5b3;
  --ink: #0a1325;
  --muted: #6b7480;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --card-shadow: 0 18px 50px rgba(125, 63, 230, 0.1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* SAFETY FIX */
body.page-about #content.nx-footer-fixed-content {
  min-height: auto !important;
}

/* WRAPPER */
body.page-about #nx-who-glass,
#nx-who-glass {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #fbfcff 0%, #f3f7fc 100%);
  position: relative;
  z-index: 1;
  padding: 20px 18px 80px;
}

/* CONTAINER GRID */
#nx-who-glass .hp-container {
  max-width: var(--nx-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 24px;
  align-items: center;
}

@media (max-width: 980px) {
  #nx-who-glass .hp-container {
    grid-template-columns: 1fr;
  }
}

/* LEFT */
.nx-left {
  padding-right: 8px;
}

.nx-eyebrow {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-1);
  font-weight: 700;
  margin-bottom: 6px;
}

.nx-title {
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.06;
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-shadow: 0 1px 2px rgba(125, 63, 240, 0.1);
}

/* REFINED ROTATOR */
.nx-rotor {
  position: relative;
  height: 1.45em;
  margin: 6px 0 10px;
  overflow: visible;
}

.nx-rot-item {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.04));
}

.nx-rot-item.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: brightness(1.25) contrast(1.2);
}

/* BLURB + QUOTE */
.nx-blurb p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 10px;
  max-width: 68ch;
}

.nx-quote {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-1);
}
.nx-quote p {
  font-style: italic;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* ----------------------------------------------------------
   [START] SIGNATURE GLOW PHRASE ANIMATION — NexTA
   Replaces: .nx-glass-grid + .panel section
---------------------------------------------------------- */

/* ----------------------------------------------------------
   FORCE TWO-COLUMN LAYOUT: Left text (65%) / Right video card (35%)
   Scoped & specific to override prior rules
   ---------------------------------------------------------- */

/* Target the exact container used in your PHP */
#nx-who-glass .nx-inner.hp-container,
#nx-who-glass .nx-inner {
  display: flex !important;               /* force flex */
  flex-direction: row !important;         /* horizontal split */
  align-items: center !important;         /* vertical center alignment */
  justify-content: space-between !important;
  gap: 32px !important;
  width: 100%;
  box-sizing: border-box;
}

/* LEFT column — content block */
#nx-who-glass .nx-left {
  flex: 0 0 65% !important;               /* 65% width fixed */
  max-width: 65% !important;
  min-width: 300px;                       /* safe minimum on narrow screens */
  z-index: 3;
  box-sizing: border-box;
  padding-right: 20px;
position: relative;
  top: 75px; /* 🔧 adjust this value (20px–60px) to match your exact alignment */
}

/* RIGHT column — video card */
#nx-who-glass .nx-right {
  flex: 0 0 35% !important;               /* 35% width fixed */
  max-width: 35% !important;
  min-width: 260px;                       /* safe minimum */
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;  /* keep video to the right edge */
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  padding-left: 12px;
}

/* ----------------------------------------------------------
   💎 NX WHO WE ARE — Cinematic Photo Panel (Final Edition)
   Deep glow • Breathing light • Subtle reflection • On-brand
---------------------------------------------------------- */
/* ===============================
   ABOUT SECTION - PURE PHOTO BLOCK
   (Desktop unchanged; mobile-safe overrides)
   =============================== */

/* Control variables (kept as you had them) */
:root {
  --about-photo-x: -85px;
  --about-photo-y: 0px;
  --about-photo-scale: 1.35;
  --about-photo-width: clamp(500px, 35vw, 500px);
}

/* Desktop / default: absolute-right, breathing animation */
.about-photo-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%)
             translate(var(--about-photo-x), var(--about-photo-y))
             scale(var(--about-photo-scale));
  width: var(--about-photo-width);
  z-index: 1;
  pointer-events: none;
  display: block;
  will-change: transform, opacity;
}

.about-photo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform-origin: center;
  animation: aboutPhotoBreathing 12s ease-in-out infinite; /* desktop speed preserved */
}

/* Breathing animation (desktop) */
@keyframes aboutPhotoBreathing {
  0%   { transform: scale(1); opacity: 1; }
  25%  { transform: scale(1.005); opacity: 0.995; }
  50%  { transform: scale(1.01); opacity: 1; }
  75%  { transform: scale(1.005); opacity: 0.995; }
  100% { transform: scale(1); opacity: 1; }
}

/* Keep hero text above image (unchanged) */
.hero-text,
.hp-container .hero-text {
  position: relative;
  z-index: 3;
}

/* === Mobile overrides: stack the photo & ensure visibility ===
   - Targets screens <= 1000px only
   - Does not change desktop layout/animation
*/
@media (max-width: 1000px) {

  /* Prevent parent containers from clipping the image */
  #nx-who-glass,
  #nx-who-glass .nx-inner,
  #nx-who-glass .hp-container,
  .hp-container,
  .nx-inner {
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }

  /* Remove transforms / stacking-context issues on parents (mobile only) */
  #nx-who-glass,
  #nx-who-glass .nx-inner,
  .hp-container {
    transform: none !important;
  }

  /* Put the photo inline with the flow on mobile */
  #nx-who-glass .about-photo-wrap,
  .nx-who-we-are .about-photo-wrap,
  .about-photo-wrap {
    position: relative !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    width: 92% !important;
    margin: 20px auto 0 !important;
    z-index: 999 !important; /* bring forward on mobile */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* allow touch if you want */
  }

  .about-photo-img {
    width: 100% !important;
    height: auto !important;
    max-width: 420px !important; /* safe cap on small screens */
    margin: 0 auto !important;
    transform: none !important;
    animation: none !important; /* disable breathing on mobile for perf */
  }
}

/* Extra smaller-screen tweak */
@media (max-width: 768px) {
  .about-photo-wrap {
    text-align: center;
  }
  .about-photo-img {
    margin: 0 auto;
    max-width: 360px;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .about-photo-img {
    animation: none !important;
  }
}
/* =============================
   Mobile phone (iPhone) overrides
   Ensures team photo is visible on narrow screens
   ============================= */

/* Keep desktop behavior exactly as before (no changes) */

/* VERY SPECIFIC selectors for phones */
@media (max-width: 420px) {

  /* Ensure parent containers don't clip the image */
  html body #nx-who-glass,
  html body #nx-who-glass .nx-inner,
  html body .hp-container,
  html body .nx-inner {
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
    transform: none !important;
  }

  /* Force aside to be in the flow & visible on phones */
  html body .about-photo-wrap,
  html body #nx-who-glass .about-photo-wrap,
  body .nx-who-we-are .about-photo-wrap {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    width: 94% !important;
    max-width: 420px !important;
    margin: 14px auto 0 !important;
    z-index: 99999 !important;
  }

  /* Force the image to render and cap its size */
  html body .about-photo-img,
  body #nx-about-photo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    max-width: 420px !important;
    max-height: none !important;
    margin: 0 auto !important;
    transform: none !important;
    object-fit: cover !important;
    animation: none !important;
  }

  /* If some plugin sets display:none via attribute selectors, override it */
  html body .about-photo-wrap[aria-hidden="true"],
  html body .about-photo-wrap[hidden] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* keep reduced-motion preference respected */
@media (prefers-reduced-motion: reduce) {
  .about-photo-img { animation: none !important; }
}

	
/* ----------------------------------------------------------
   [END] SIGNATURE GLOW PHRASE ANIMATION — NexTA
---------------------------------------------------------- */

/* AURORA GLOW */
#nx-who-glass::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -200px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at center,
    rgba(125, 63, 230, 0.35),
    rgba(34, 197, 179, 0.1),
    transparent 70%);
  filter: blur(100px);
  animation: floatGlow 9s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); opacity: 0.45; }
  to { transform: translate(-40px, 20px) scale(1.1); opacity: 0.85; }
}

/* SIGNATURE TAGLINE */
.nx-signature {
  text-align: center;
  margin: 60px auto 40px;
  position: relative;
  z-index: 2;
top:20px;

}
.nx-signature p {
  font-size: clamp(1.25rem, 3.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.nx-line {
  display: block;
  width: 120px;
  height: 2px;
  margin: 0 auto;
   background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 1px;
  transform-origin: center;
  transform: scaleX(1);
  animation: linePulse 4s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}
.nx-line::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: lineShimmer 6s linear infinite;
}
@keyframes linePulse {
  from { transform: scaleX(0.85); opacity: 0.7; }
  to { transform: scaleX(1.15); opacity: 1; }
}
@keyframes lineShimmer {
  from { left: -100%; }
  to { left: 100%; }
}

/* PILLARS */
.nx-pillars {
  max-width: var(--nx-max);
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.nx-pillars .pillar {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(125, 63, 230, 0.1);
  padding: 28px 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nx-pillars .pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 60px rgba(125, 63, 230, 0.18);
}
.nx-pillars h3 {
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.2);
}
.nx-pillars p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* CULTURE BADGES */
.nx-culture {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 50px auto 20px;
  position: relative;
  z-index: 2;
}
.nx-culture span {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 40px;
  padding: 10px 24px;
  box-shadow: 0 8px 24px rgba(125, 63, 230, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}
.nx-culture span:hover {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  transform: translateY(-4px);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .nx-pillars { grid-template-columns: 1fr; }
  .nx-culture { flex-direction: column; gap: 16px; }
}
/* ======================================================
   NX LEADERSHIP SECTION — Elegant Glass Grid
   ====================================================== */

/* ======================================================================
   LEADERSHIP — CEO HERO + GRID
   Append to assets/css/nx-about.css
   ====================================================================== */

/* ==========================================================
   NexTA Leadership v10.9 — Overlay Restored Edition
   Elegant • Crisp • Smooth • Performance-Optimized
   (Fully Scoped, No Cross-Section Conflicts)
============================================================= */
:root {
  --a1: #7d3ff0;
  --a2: #5b2de0;
  --ink: #0a1325;
  --muted: #5e6474;
  --radius: 18px;
  --max: 1200px;
}

/* --- BASE SECTION --- */
#leadership.nx-leadership-v6 {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fafaff 100%);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto;
  padding: 60px 0 30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  z-index: 1;
}

/* ambient glow */
#leadership.nx-leadership-v6::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(125, 63, 240, 0.04),
    rgba(34, 197, 179, 0.03),
    transparent 70%
  );
  filter: blur(25px);
  animation: ambientGlow 10s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
@keyframes ambientGlow {
  0% { opacity: 0.35; transform: scale(1); }
  100% { opacity: 0.55; transform: scale(1.04); }
}

/* base accent line */
#leadership.nx-leadership-v6::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a1));
  opacity: 0.12;
  pointer-events: none;
}

/* PRESIDENT AREA */
#leadership.nx-leadership-v6 .nx-president-inner {
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto 50px;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  min-height: 65vh;
}

/* MESSAGE CARD */
#leadership.nx-leadership-v6 .nx-president-content {
  position: relative;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(125,63,240,0.07);
  border: 1px solid rgba(125,63,240,0.07);
  padding: 32px 44px;
  transition: transform .25s cubic-bezier(.25,.9,.25,1),
              box-shadow .25s ease;
}
#leadership.nx-leadership-v6 .nx-president-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(125,63,240,0.1);
}
#leadership.nx-leadership-v6 .nx-president-content::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px; width: 3px;
  background: linear-gradient(180deg,
    rgba(125,63,240,.8),
    rgba(125,63,240,.25),
    rgba(125,63,240,.8));
  border-radius: 2px;
}
#leadership.nx-leadership-v6 .nx-president-content::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit; padding: 2px;
  background: linear-gradient(135deg,var(--a1),var(--a2),rgba(125,63,240,.3));
  mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
#leadership.nx-leadership-v6 .nx-president-content:hover::after { opacity: 1; }

/* PHOTO FRAME */
#leadership.nx-leadership-v6 .nx-president-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg,rgba(125,63,240,.1),rgba(34,197,179,.05));
  padding: 6px;
  box-shadow: 0 6px 24px rgba(125,63,240,.08);
  justify-self: center;
  aspect-ratio: 4/4.8;
}
#leadership.nx-leadership-v6 .nx-president-photo::before {
  content: "";
  position: absolute; bottom: -25%; left: 0; width: 100%; height: 45%;
  background: radial-gradient(ellipse at center,rgba(125,63,240,.12),transparent 70%);
  filter: blur(30px);
  pointer-events: none; z-index: 0;
}

/* reflection sheen */
#leadership.nx-leadership-v6 .nx-president-photo::after {
  content: "";
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.3) 50%,
    rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 3;
}
#leadership.nx-leadership-v6 .nx-president-photo:hover::after {
  opacity: 1;
  animation: sheenSlide 1.2s cubic-bezier(.4,.9,.3,1) forwards;
}
@keyframes sheenSlide {
  0% { left: -75%; opacity: 0; }
  20% { opacity: .8; }
  100% { left: 125%; opacity: 0; }
}

/* PHOTO IMAGE */
#leadership.nx-leadership-v6 .nx-president-photo img {
  border-radius: calc(var(--radius) - 4px);
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.9,.2,1),
              filter .45s cubic-bezier(.2,.9,.2,1);
  animation: floatPhoto 9s ease-in-out infinite;
}
#leadership.nx-leadership-v6 .nx-president-photo:hover img {
  transform: scale(1.025);
  filter: brightness(1.06) contrast(1.04);
}
@keyframes floatPhoto {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* TEXT */
#leadership.nx-leadership-v6 .nx-eyebrow {
  color: var(--a1);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}
#leadership.nx-leadership-v6 .nx-title {
  position: relative;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 800;
  margin: 4px 0 16px;
  line-height: 1.1;
  display: inline-block;
  padding-bottom: 10px;
}
#leadership.nx-leadership-v6 .nx-title .nx-gradient {
  background: linear-gradient(90deg,var(--a1),var(--a2),var(--a1));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 4s ease infinite, glowBreath 8s ease-in-out infinite;
}
#leadership.nx-leadership-v6 .nx-title::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 80px; height: 3px;
  background: linear-gradient(90deg,var(--a1),var(--a2));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(125,63,240,.2);
  animation: lineFlow 5s linear infinite;
}
@keyframes shimmerText { 0%{background-position:0% center;}100%{background-position:200% center;} }
@keyframes glowBreath { 0%,100%{opacity:.95;}50%{opacity:1;} }
@keyframes lineFlow { 0%,100%{opacity:1;transform:scaleX(.2);}50%{opacity:.8;transform:scaleX(1);} }

#leadership.nx-leadership-v6 .nx-lead p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
  margin-bottom: 10px;
  max-width: 58ch;
}
#leadership.nx-leadership-v6 .nx-lead strong { color: var(--ink); }
#leadership.nx-leadership-v6 .nx-lead em { color: var(--ink); opacity: .9; }

#leadership.nx-leadership-v6 .nx-signature {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(125,63,240,.12);
  position: relative;
}
#leadership.nx-leadership-v6 .nx-signature::before {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg,transparent,var(--a1),transparent);
  opacity: .3;
  animation: signaturePulse 6s ease-in-out infinite;
}
@keyframes signaturePulse { 0%,100%{opacity:.3;}50%{opacity:.7;} }
#leadership.nx-leadership-v6 .nx-name {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
#leadership.nx-leadership-v6 .nx-role {
  color: var(--muted);
  font-size: .9rem;
}

/* GRID */
#leadership.nx-leadership-v6 .nx-leadership-grid {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
}
#leadership.nx-leadership-v6 .nx-grid-header { margin-bottom: 32px; }
#leadership.nx-leadership-v6 .nx-heading {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  margin: 6px 0;
}
#leadership.nx-leadership-v6 .nx-intro {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}
#leadership.nx-leadership-v6 .nx-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
#leadership.nx-leadership-v6 .nx-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .25s cubic-bezier(.25,.9,.25,1),
              box-shadow .25s ease;
}
#leadership.nx-leadership-v6 .nx-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(125,63,240,.08);
}
#leadership.nx-leadership-v6 .nx-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}
#leadership.nx-leadership-v6 .nx-card:hover img { transform: scale(1.03); }
#leadership.nx-leadership-v6 .nx-card-body {
  background: rgba(255,255,255,.96);
  text-align: center;
  padding: 14px 18px;
}
#leadership.nx-leadership-v6 .nx-card-body h4 {
  margin: 0 0 4px;
  font-weight: 700;
}
#leadership.nx-leadership-v6 .nx-card-role {
  color: var(--a1);
  font-weight: 600;
}

/* CARD OVERLAY (Hover Info) */
#leadership.nx-leadership-v6 .nx-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,255,0.94));
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .36s ease, transform .36s ease;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#leadership.nx-leadership-v6 .nx-card-overlay p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42ch;
  margin: 0;
}
#leadership.nx-leadership-v6 .nx-card:hover .nx-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* SCROLL ANIMATIONS */
#leadership.nx-leadership-v6 [data-animate] {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.2,1);
}
#leadership.nx-leadership-v6 [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
#leadership.nx-leadership-v6 [data-animate].is-visible .nx-president-content {
  animation: cardLift .7s cubic-bezier(.25,.9,.25,1);
}
@keyframes cardLift {
  0% { transform: translateY(15px) scale(.98); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  #leadership.nx-leadership-v6 .nx-president-inner {
    grid-template-columns: 1fr;
    gap: 38px;
    text-align: center;
    min-height: auto;
  }
  #leadership.nx-leadership-v6 .nx-president-content {
    order: 2;
    padding: 26px 20px;
  }
  #leadership.nx-leadership-v6 .nx-president-photo {
    order: 1;
    max-width: 280px;
    margin: 0 auto;
  }
  #leadership.nx-leadership-v6 .nx-card img { height: 260px; }
}
/* Force consistent 3-column grid on desktop */
#leadership.nx-leadership-v6 .nx-grid-cards {
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
}

/* If a region has only one card, place it in the middle column */
#leadership.nx-leadership-v6 .nx-grid-cards > .nx-card:only-child {
  grid-column: 2;
}

/* Responsive: 2 columns on tablets, 1 on mobile */
@media (max-width: 960px) {
  #leadership.nx-leadership-v6 .nx-grid-cards {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
  #leadership.nx-leadership-v6 .nx-grid-cards > .nx-card:only-child {
    grid-column: 1;
  }
}
@media (max-width: 640px) {
  #leadership.nx-leadership-v6 .nx-grid-cards {
    grid-template-columns: 1fr !important;
  }
}
#leadership .nx-subsection {
  padding-top: 32px;
  border-top: 1px solid rgba(125,63,240,.08);
}
#leadership .nx-subsection:first-of-type {
  border-top: none;
}

/* ===============================
   VALUES
   =============================== */
/* ==========================================================
   NxTA Values — nx-values.css (Scoped: #nx-values)
   Luxury • Glass • Performance-Optimized
============================================================= */

:root{
  --nxv-a1: #7d3ff0;
  --nxv-a2: #5b2de0;
  --nxv-teal: #22c5b3;
  --nxv-ink: #0a1325;
  --nxv-muted: #5e6474;
  --nxv-radius: 18px;
  --nxv-max: 1200px;
}

/* Base section */
#nx-values.nxv-section{
  position: relative;
  padding: 88px 20px 64px;
  background: linear-gradient(180deg,#ffffff 0%, #fbfbff 100%);
  color: var(--nxv-ink);
  overflow: visible;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* inner */
#nx-values .nxv-inner{
  max-width: var(--nxv-max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* header */
#nx-values .nxv-header{
  text-align: center;
  margin-bottom: 40px;
}
#nx-values .nxv-eyebrow{
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--nxv-a1);
  font-weight:700;
  font-size:.82rem;
  margin-bottom:8px;
}
#nx-values .nxv-title{
  font-weight:800;
  font-size:clamp(1.6rem,2.6vw,2.4rem);
  margin:6px 0 10px;
  line-height:1.08;
}
#nx-values .nxv-gradient{
  display:inline-block;
  background: linear-gradient(90deg,var(--nxv-a1),var(--nxv-a2),var(--nxv-teal));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
#nx-values .nxv-intro{
  color: var(--nxv-muted);
  max-width: 68ch;
  margin: 0 auto;
  font-size:1rem;
  line-height:1.65;
}

/* ambient */
#nx-values .nxv-ambient{
  position:absolute;
  top:-12%;
  left:50%;
  transform:translateX(-50%);
  width:110%;
  height:160%;
  background: radial-gradient(circle at 50% 40%, rgba(125,63,240,0.06), rgba(34,197,179,0.02), transparent 60%);
  filter: blur(60px);
  pointer-events:none;
  z-index:1;
}

/* grid */
#nx-values .nxv-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 22px;
}

/* card */
#nx-values .nxv-card{
  position:relative;
  border-radius: calc(var(--nxv-radius));
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,255,0.98));
  box-shadow: 0 12px 36px rgba(125,63,240,0.06);
  overflow:hidden;
  transition: transform .32s cubic-bezier(.2,.9,.2,1), box-shadow .32s ease;
  cursor: default;
  min-height: 320px;
  display:flex;
  align-items:stretch;
}
#nx-values .nxv-card:focus,
#nx-values .nxv-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(125,63,240,0.12);
  outline: none;
}

/* frame / inner */
#nx-values .nxv-card-frame{
  display:flex;flex-direction:column;align-items:center;
  padding:32px 20px;
  width:100%;
}

/* visual */
#nx-values .nxv-card-visual{
  width: 92px;
  height: 92px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  margin-bottom: 18px;
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}
#nx-values .nxv-card-visual img{
  width: 64px;
  height: 64px;
  display:block;
  object-fit:contain;
  filter: drop-shadow(0 10px 24px rgba(125,63,240,0.07));
  transition: transform .35s ease;
}
#nx-values .nxv-card:hover .nxv-card-visual{ transform: translateY(-6px); }
#nx-values .nxv-card:hover .nxv-card-visual img{ transform: scale(1.04); }

/* text */
#nx-values .nxv-card-title{
  font-size:1.06rem;
  font-weight:800;
  margin: 0 0 8px;
  color: var(--nxv-ink);
  text-align:center;
}
#nx-values .nxv-card-copy{
  color: var(--nxv-muted);
  text-align:center;
  line-height:1.6;
  font-size:.98rem;
  max-width: 44ch;
}

/* overlay (subtle, for touch devices or emphasis) */
#nx-values .nxv-card-overlay{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  padding:20px; text-align:center;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.94));
  opacity:0; transform: translateY(14px);
  transition: opacity .36s ease, transform .36s ease;
  z-index:6; pointer-events:none;
}
#nx-values .nxv-card:focus-within .nxv-card-overlay,
#nx-values .nxv-card:hover .nxv-card-overlay,
#nx-values .nxv-card.nxv-overlay-open .nxv-card-overlay{
  opacity:1; transform:translateY(0); pointer-events:auto;
}

/* responsive */
@media (max-width: 1100px){
  #nx-values .nxv-grid{ grid-template-columns: repeat(2, 1fr); }
  #nx-values .nxv-card{ min-height: 300px; }
}
@media (max-width: 640px){
  #nx-values { padding: 56px 16px; }
  #nx-values .nxv-grid{ grid-template-columns: 1fr; gap: 18px; }
  #nx-values .nxv-card{ min-height: auto; padding: 20px; }
}

/* ======================================================
   ✅ FIX: Remove Top Gap Below Header (About Page)
   ====================================================== */

/* ======================================================
   ✅ FIX: REMOVE GAP BELOW FIXED HEADER (About Page)
   ====================================================== */
/* =========================================
   💎 FINAL FIX — Remove grey gap (Hello Elementor)
   ========================================= */

/* Reset ALL potential wrapper gaps under the header */
body.page-template-default main#content,
body.page-template-page-about main#content,
body.page-about main#content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: none !important;
}

/* Now flatten inner main (your actual About content) */
#about-page.nx-about-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Also target first visible section to be 0 from header */
body.page-template-page-about section#nx-who-glass,
body.page-template-default section#nx-who-glass {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Optional – if header is fixed, give exact offset manually */
body.page-template-page-about #nx-who-glass {
  padding-top: 60px !important; /* change 60 if overlap occurs */
}

/* Neutralize any ghost spacing in Hello Elementor containers */
.e-con.e-parent:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* ===============================
   Tighten gap above intro video
   =============================== */

/* Reduce bottom padding of the About section */
.nx-about-section {
  padding-bottom: 20px !important;   /* was 48px */
}

/* Reduce bottom spacing of the signature + cards row */
.nx-signature {
  margin-bottom: 16px !important;    /* was 40px */
}

.nx-pillars {
  margin-top: 30px !important;       /* slightly tighter */
}

.nx-culture {
  margin-bottom: 0 !important;       /* remove extra bottom gap */
}

/* Make sure the video hugs the section above */
.intro-video-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
