/*
Theme Name: NimXo
Theme URI: https://nimxo.org
Author: NimXo
Author URI: https://nimxo.org
Description: Custom corporate training design studio theme built for NimXo. Designed to work seamlessly with the Elementor page builder — import the NimXo Elementor templates, publish your pages, and go live.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nimxo
Tags: business, custom-logo, custom-menu, one-column, threaded-comments
*/

/* =====================================================================
   NimXo Design System — Deep Emerald + Gold
   ===================================================================== */

:root {
  --nx-emerald-950: #06211b;
  --nx-emerald-900: #082a23;
  --nx-emerald-800: #0b3b31;
  --nx-emerald-700: #0f4c3f;
  --nx-emerald-600: #14624f;
  --nx-gold: #c9a227;
  --nx-gold-light: #e3c36b;
  --nx-gold-pale: #f4e9cd;
  --nx-ivory: #f8f6f0;
  --nx-ink: #14211d;
  --nx-muted: #51605a;
  --nx-radius: 14px;
  --nx-shadow: 0 14px 34px -14px rgba(11, 59, 49, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--nx-ink);
  background: #ffffff;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nx-body-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.nx-body-layout > .nx-site-main {
  flex: 1 0 auto;
  width: 100%;
}

.nx-display {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

a {
  color: var(--nx-emerald-700);
}

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999999;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

/* ---------------------------------------------------------------------
   Buttons (used by theme + Elementor templates via css_classes)
   --------------------------------------------------------------------- */

.nx-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 15px 30px !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  font-family: "Inter", sans-serif;
}
.nx-btn--gold {
  background: var(--nx-gold);
  color: var(--nx-emerald-950) !important;
}
.nx-btn--gold:hover {
  background: var(--nx-gold-light);
  transform: translateY(-1px);
}
.nx-btn--dark {
  background: var(--nx-emerald-800);
  color: #ffffff !important;
}
.nx-btn--dark:hover {
  background: var(--nx-emerald-700);
  transform: translateY(-1px);
}
.nx-btn--outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}
.nx-btn--outline-light:hover {
  border-color: var(--nx-gold-light);
  color: var(--nx-gold-light) !important;
}
.nx-btn--outline-dark {
  background: transparent;
  border: 1.5px solid rgba(11, 59, 49, 0.3);
  color: var(--nx-emerald-800) !important;
}
.nx-btn--outline-dark:hover {
  border-color: var(--nx-gold);
  color: var(--nx-gold) !important;
}

/* ---------------------------------------------------------------------
   Shared brand components (used inside Elementor templates)
   --------------------------------------------------------------------- */

.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.1);
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nx-gold-light);
}
.nx-eyebrow--dark {
  color: var(--nx-emerald-700);
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.12);
}

.nx-divider-gold {
  height: 3px;
  width: 64px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--nx-gold), var(--nx-gold-light));
}

.nx-card {
  background: #ffffff;
  border: 1px solid rgba(11, 59, 49, 0.08);
  border-radius: var(--nx-radius);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.nx-card:hover {
  box-shadow: var(--nx-shadow);
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.55);
}

.nx-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.06));
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--nx-emerald-700);
  font-size: 22px;
}
.nx-icon-badge .elementor-icon {
  color: var(--nx-emerald-700);
}

.nx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 49, 0.14);
  font-size: 13px;
  font-weight: 500;
  color: var(--nx-emerald-800);
}

.nx-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: #2c3a34;
  margin-bottom: 10px;
}

/* Decorative rings that echo the NimXo logo arc */
.nx-arcs {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.nx-arcs::before,
.nx-arcs::after {
  content: "";
  position: absolute;
  border: 1.5px solid rgba(201, 162, 39, 0.3);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}
.nx-arcs::before {
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
}
.nx-arcs::after {
  width: 360px;
  height: 360px;
  left: -150px;
  bottom: -180px;
}
.nx-arcs > .elementor-container {
  position: relative;
  z-index: 2;
}

/* Tag chip (gold pill) used on service / program cards */
.nx-tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--nx-gold-pale);
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6d14;
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */

.nx-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 59, 49, 0.1);
}
.nx-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nx-brand img {
  max-height: 58px;
  width: auto;
}
.nx-brand__text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--nx-emerald-800);
  text-decoration: none;
}
.nx-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nx-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #3c4a44;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}
.nx-nav a:hover,
.nx-nav .current-menu-item a,
.nx-nav .current_page_item a {
  color: var(--nx-emerald-700);
  border-bottom-color: var(--nx-gold);
  font-weight: 600;
}
.nx-header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nx-header__cta .nx-btn {
  padding: 11px 22px !important;
  font-size: 14px;
}
.nx-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nx-emerald-800);
  text-decoration: none;
}

/* Burger */
.nx-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(11, 59, 49, 0.15);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nx-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--nx-emerald-800);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nx-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nx-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nx-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nx-mobile-menu {
  display: none;
  border-top: 1px solid rgba(11, 59, 49, 0.08);
  background: #ffffff;
  padding: 14px 24px 20px;
}
.nx-mobile-menu.is-open {
  display: block;
}
.nx-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nx-mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--nx-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 59, 49, 0.06);
}

@media (max-width: 1024px) {
  .nx-nav {
    display: none;
  }
  .nx-burger {
    display: flex;
  }
  .nx-phone-link {
    display: none;
  }
}
@media (max-width: 480px) {
  .nx-header__cta .nx-btn {
    padding: 10px 16px !important;
    font-size: 13px;
  }
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

.nx-footer {
  background: var(--nx-emerald-950);
  color: #ffffff;
  margin-top: auto;
}
.nx-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
}
.nx-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nx-footer__brand img {
  max-height: 50px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  width: auto;
}
.nx-footer__brand .nx-footer__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--nx-gold-light);
}
.nx-footer__blurb {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 380px;
}
.nx-footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-gold-light);
  margin: 0 0 16px;
}
.nx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nx-footer ul li {
  margin-bottom: 10px;
}
.nx-footer ul a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
}
.nx-footer ul a:hover {
  color: var(--nx-gold-light);
}
.nx-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
}
.nx-footer__contact .nx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx-gold);
  margin-top: 7px;
  flex-shrink: 0;
}
.nx-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nx-footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 900px) {
  .nx-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------------------------------------------------------------------
   Content areas & forms (Contact Form 7 styling)
   --------------------------------------------------------------------- */

.nx-page-wrap.non-elementor {
  max-width: 840px;
  margin: 0 auto;
  padding: 60px 24px;
}

.nx-404 {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.wpcf7 form {
  --wpcf7-accent: var(--nx-gold);
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 16px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid rgba(11, 59, 49, 0.15);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--nx-ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--nx-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}
.wpcf7 .wpcf7-submit {
  background: var(--nx-emerald-800);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}
.wpcf7 .wpcf7-submit:hover {
  background: var(--nx-emerald-700);
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 13px;
  margin-top: 4px;
}
.wpcf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: var(--nx-gold-pale);
  color: #6b5510;
  font-size: 14px;
}

/* Elementor boxed width alignment */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

/* ---------------------------------------------------------------------
   Extra component classes used by the NimXo Elementor templates
   --------------------------------------------------------------------- */

/* Dark cards (used on emerald sections) */
.nx-darkcard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nx-darkcard:hover {
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(255, 255, 255, 0.07);
}
.nx-darkcard .elementor-icon-box-title,
.nx-darkcard .elementor-icon-box-title a {
  color: #ffffff;
}
.nx-darkcard .elementor-icon-box-description {
  color: rgba(255, 255, 255, 0.72);
}
.nx-darkcard .elementor-icon {
  color: #e3c36b !important;
}

/* Icon badge on dark cards */
.nx-darkcard .elementor-icon-box-icon .elementor-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid rgba(201, 162, 39, 0.4);
  font-size: 22px;
}

/* Plain inline icon (no card) */
.nx-icon-plain {
  background: transparent !important;
  border: none !important;
  padding-left: 0 !important;
}
.nx-icon-plain .elementor-icon-box-icon .elementor-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.06));
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: #0f4c3f !important;
  font-size: 20px;
}
.nx-icon-plain .elementor-icon-box-title {
  color: #0b3b31;
}

/* Industries compact icon rows */
.nx-ind .elementor-icon-box-icon .elementor-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.06));
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: #0f4c3f !important;
  font-size: 19px;
}
.nx-ind .elementor-icon-box-title {
  color: #0b3b31;
}

/* Custom quote band */
.nx-quote-band {
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 18px;
  margin: 0 auto;
  max-width: 1200px;
}

/* Example package label */
.nx-example-label .elementor-widget-container,
.nx-example-label p {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 12px !important;
}

/* Counters inside stat cards */
.nx-stat .elementor-counter-number-wrapper {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
}
.nx-stat .elementor-counter-title {
  font-weight: 500;
}

/* Setup tip box on contact page */
.nx-setup-tip .elementor-widget-container {
  background: #f4e9cd;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
}

/* Elementor default button reset when using nx-btn classes */
a.nx-btn.elementor-button,
.elementor-button.nx-btn {
  border: none;
}
.nx-btn--outline-light.elementor-button {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}
