/* ===========================================
   VISIONXTENT – THEME CORE (NEUTRAL)
   Shared layout, typography, components
   No CIV/MIL-specific branding here
   =========================================== */

:root {
  /* Backgrounds */
  --vx-bg: #f5f7f9;
  --vx-bg-alt: #e7f3f6;
  --vx-bg-dark: #0b1b2b;

  /* Text */
  --vx-text-main: #07121f;
  --vx-text-muted: #5c6470;

  /* Borders & surfaces */
  --vx-border-subtle: #dde3ea;
  --vx-card-bg: #ffffff;
  --vx-card-bg-soft: rgba(255, 255, 255, 0.92);

  /* Neutral accents (fallbacks) */
  --vx-accent-strong: #1f7ae0;
  --vx-accent-soft: #9bbcf0;

  /* Typography */
  --vx-font-logo: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --vx-font-main: "Sora", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  /* Radius & shadows */
  --vx-radius-card: 16px;
  --vx-shadow-soft: 0 14px 45px rgba(9, 26, 46, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--vx-font-main);
  color: var(--vx-text-main);
  background: radial-gradient(circle at top left, var(--vx-bg-alt), var(--vx-bg));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.vx-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================================
   HEADER
   =========================================== */

.vx-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 249, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 227, 234, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.vx-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--vx-font-logo);
  letter-spacing: 0.2em;
  font-size: 14px;
}

.vx-logo-mark {
  font-size: 24px;
  font-weight: 700;
  color: var(--vx-accent-strong); /* themed by child CSS if needed */
}

.vx-logo-text {
  font-weight: 600;
}

.vx-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.vx-nav a {
  position: relative;
  font-weight: 500;
}

.vx-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vx-accent-strong), var(--vx-accent-soft));
  transition: width 0.2s ease-out;
}

.vx-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(7, 18, 31, 0.1);
  background: white;
  box-shadow: 0 8px 20px rgba(7, 18, 31, 0.08);
}

/* MOBILE NAV */

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-bottom: 4px;
  background: var(--vx-text-main);
}

/* ===========================================
   HERO – CORE
   =========================================== */

.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-text p {
  margin: 0 0 24px;
  color: var(--vx-text-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* hero slides for index */

.hero-slide {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.hero-slide.is-active {
  display: block;
}

.hero-toggle {
  display: inline-flex;
  margin-top: 20px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--vx-border-subtle);
}

.hero-toggle-btn {
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--vx-text-muted);
}

.hero-toggle-btn.is-active {
  background: rgba(255, 255, 255, 0.9);
  color: var(--vx-text-main);
}

/* hero media */

.hero-media {
  position: relative;
}

.hero-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--vx-shadow-soft);
}

.hero-image.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.hero-watermark {
  position: absolute;
  inset: auto -200px -220px auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(31, 122, 224, 0.18),
    transparent 60%
  );
  opacity: 0.6;
  pointer-events: none;
}

/* simple hero layout for subpages */

.hero-inner-simple {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
}

.hero-media-simple {
  position: relative;
}

.simple-hero-image {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--vx-shadow-soft);
  object-fit: cover;
}

/* ===========================================
   BUTTONS
   =========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.12s ease-out,
    color 0.12s ease-out,
    border-color 0.12s ease-out;
}

.btn-primary {
  background: var(--vx-accent-strong);
  color: #fff;
  box-shadow: 0 12px 30px rgba(31, 122, 224, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(31, 122, 224, 0.45);
}

.btn-secondary {
  background: #fff;
  color: var(--vx-text-main);
  border: 1px solid rgba(7, 18, 31, 0.08);
}

.btn-secondary:hover {
  box-shadow: 0 10px 24px rgba(7, 18, 31, 0.1);
}

.btn-link {
  padding: 0;
  background: none;
  border-radius: 0;
  border: 0;
  color: var(--vx-accent-strong);
}

/* ===========================================
   VALUE STRIP
   =========================================== */

.value-strip {
  padding: 20px 0 12px;
}

.value-strip-inner {
  text-align: center;
}

.value-strip-main {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  margin: 0 0 4px;
}

.value-strip-sub {
  margin: 0;
  font-size: 14px;
  color: var(--vx-text-muted);
}

/* ===========================================
   SECTIONS
   =========================================== */

.section {
  padding: 56px 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.section-header p {
  margin: 0;
  color: var(--vx-text-muted);
}

/* ===========================================
   CARDS & GRIDS
   =========================================== */

.industries-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.industry-card {
  padding: 18px 18px 20px;
  border-radius: var(--vx-radius-card);
  background: var(--vx-card-bg-soft);
  border: 1px solid rgba(221, 227, 234, 0.9);
  box-shadow: var(--vx-shadow-soft);
}

.industry-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.industry-card p {
  margin: 0;
  font-size: 14px;
  color: var(--vx-text-muted);
}

/* top border accents – can be overridden by theme CSS */
.industry-card--civ {
  border-top: 3px solid rgba(31, 122, 224, 0.9);
}

.industry-card--mil {
  border-top: 3px solid rgba(31, 122, 224, 0.9);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.how-card {
  padding: 20px 18px 22px;
  border-radius: var(--vx-radius-card);
  border: 1px solid var(--vx-border-subtle);
  background: rgba(255, 255, 255, 0.9);
}

.how-card h3 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.capability-card {
  padding: 18px 18px 22px;
  border-radius: var(--vx-radius-card);
  background: rgba(7, 18, 31, 0.97);
  color: #f5f7f9;
}

.capability-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.capability-card p {
  margin: 0;
  font-size: 14px;
  color: #dae2ee;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.why-card {
  padding: 20px 18px 22px;
  border-radius: var(--vx-radius-card);
  border: 1px solid var(--vx-border-subtle);
  background: rgba(255, 255, 255, 0.92);
}

/* ===========================================
   FINAL CTA
   =========================================== */

.final-cta {
  background: linear-gradient(
    120deg,
    rgba(31, 122, 224, 0.12),
    rgba(155, 188, 240, 0.12)
  );
}

.final-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.final-cta-inner p {
  max-width: 520px;
  color: var(--vx-text-muted);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================================
   FOOTER
   =========================================== */

.vx-footer {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(221, 227, 234, 0.9);
  background: rgba(248, 250, 252, 0.95);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--vx-text-muted);
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .hero-inner-simple {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 10px;
  }

  .hero-media,
  .hero-media-simple {
    order: -1;
  }

  .hero-text h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .vx-nav {
    position: absolute;
    inset: 72px 0 auto 0;
    background: rgba(245, 247, 249, 0.98);
    border-bottom: 1px solid rgba(221, 227, 234, 0.9);
    display: none;
  }

  .vx-nav.open {
    display: block;
  }

  .vx-nav ul {
    flex-direction: column;
    padding: 16px 20px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 40px;
  }
}
.vx-logo {
  display: flex;
  align-items: center;
}

.vx-logo-img {
  height: 60px;      /* <-- adjusts the header logo height */
  width: auto;
  display: block;
}
.vx-footer .vx-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55); /* for dark footers */
  margin-bottom: 6px;
  max-width: 720px;
}
/* Make the disclaimer full width and centered */
.vx-disclaimer {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}


/* Keep original footer layout for the row below */
.footer-main-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Company Page – Development Status */
.theme-home .section-header h2,
.theme-civ .section-header h2,
.theme-mil .section-header h2 {
  /* Ensures consistency across themes */
  font-weight: 600;
}

.development-status-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--vx-text-muted);
  max-width: 720px;
}
.development-status-note {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 22px;
}
/* Unified contact form styling */
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #dbe7f5; /* brighter readability */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #f3f6fa;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

/* Hover and focus states */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--vx-accent-aqua);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 2px rgba(79,228,255,0.25);
}

/* Field spacing */
.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
  .form-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
  }

  .input-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.25) !important;
  }