:root {
  --bg: #020813;
  --bg-soft: #06111f;
  --panel: #08182b;
  --panel-light: #0b2038;

  --blue: #168dff;
  --blue-light: #7dd3fc;
  --blue-pale: #bae6fd;

  --text: #ffffff;
  --muted: #9db0c5;
  --border: rgba(125, 211, 252, 0.18);

  --max-width: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(22,141,255,0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(2, 8, 19, 0.9);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      #075db8
    );

  font-size: 0.85rem;
  font-weight: 900;

  box-shadow:
    0 0 30px rgba(22,141,255,0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;

  font-size: 0.92rem;
}

.main-nav a {
  color: #d5e5f5;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue-light);
}

.nav-cta {
  padding: 10px 16px;

  border: 1px solid var(--blue);
  border-radius: 8px;
}

.mobile-menu-button {
  display: none;

  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;

  padding: 8px 12px;

  color: white;

  font-size: 1.3rem;
}


/* HERO */

.hero {
  position: relative;
  overflow: hidden;

  min-height: calc(100vh - 76px);

  display: flex;
  align-items: center;

  padding: 90px 0;
}

.hero-glow {
  position: absolute;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  filter: blur(110px);

  opacity: 0.18;

  pointer-events: none;
}

.hero-glow-one {
  right: -160px;
  top: -120px;

  background: var(--blue);
}

.hero-glow-two {
  left: 20%;
  bottom: -300px;

  background: #0059ff;
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;

  gap: 70px;

  align-items: center;
}

.eyebrow {
  color: var(--blue-light);

  font-size: 0.76rem;
  font-weight: 800;

  letter-spacing: 0.15em;

  margin-bottom: 24px;
}

.hero h1 {
  max-width: 850px;

  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.98;

  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;

  color: var(--blue);
}

.hero-lead {
  max-width: 720px;

  margin-top: 28px;

  color: #afc1d4;

  font-size: 1.15rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 34px;
}

.button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px;

  border-radius: 9px;

  font-weight: 750;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);

  color: white;

  box-shadow:
    0 10px 35px rgba(22,141,255,0.25);
}

.button-primary:hover {
  background: #309cff;
}

.button-secondary {
  border: 1px solid var(--border);

  background: rgba(255,255,255,0.025);

  color: var(--blue-pale);
}

.button-secondary:hover {
  border-color: var(--blue);
}

.hero-trust {
  margin-top: 50px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 16px;
}

.hero-trust div {
  padding-top: 14px;

  border-top: 1px solid var(--border);
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  font-size: 0.92rem;
}

.hero-trust span {
  margin-top: 4px;

  color: var(--muted);

  font-size: 0.75rem;
}


/* SYSTEM CARD */

.hero-panel {
  display: flex;
  justify-content: center;
}

.system-card {
  width: 100%;
  max-width: 500px;

  border: 1px solid rgba(22,141,255,0.3);
  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(11,32,56,0.85),
      rgba(4,14,26,0.95)
    );

  box-shadow:
    0 30px 100px rgba(0,0,0,0.42),
    0 0 60px rgba(22,141,255,0.08);

  overflow: hidden;
}

.system-card-header {
  min-height: 54px;

  display: flex;
  align-items: center;

  padding: 0 18px;

  border-bottom: 1px solid var(--border);

  color: #cfdfef;

  font-size: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;

  margin-right: 9px;

  border-radius: 50%;

  background: #40e58c;

  box-shadow:
    0 0 12px rgba(64,229,140,0.8);
}

.status-label {
  margin-left: auto;

  color: #40e58c;

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.1em;
}

.pipeline {
  padding: 30px;
}

.pipeline-node {
  display: flex;
  align-items: center;

  gap: 15px;
}

.pipeline-node > span {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(22,141,255,0.45);
  border-radius: 9px;

  background: rgba(22,141,255,0.08);

  color: var(--blue-light);

  font-size: 0.72rem;
  font-weight: 900;
}

.pipeline-node strong,
.pipeline-node small {
  display: block;
}

.pipeline-node strong {
  font-size: 1rem;
}

.pipeline-node small {
  margin-top: 2px;

  color: var(--muted);

  font-size: 0.76rem;
}

.pipeline-line {
  width: 1px;
  height: 28px;

  margin-left: 19px;

  background:
    linear-gradient(
      var(--blue),
      rgba(22,141,255,0.12)
    );
}


/* GENERAL SECTIONS */

.section {
  padding: 105px 0;
}

.section-dark {
  background:
    linear-gradient(
      180deg,
      rgba(6,17,31,0.9),
      rgba(3,10,20,0.95)
    );

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;

  margin: 0 auto 56px;

  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;

  text-align: left;
}

.section-heading > span {
  color: var(--blue-light);

  font-size: 0.76rem;
  font-weight: 850;

  letter-spacing: 0.15em;
}

.section-heading h2 {
  margin-top: 12px;

  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.05;

  letter-spacing: -0.035em;
}

.section-heading p {
  margin-top: 18px;

  color: var(--muted);

  font-size: 1.06rem;
}

.large-copy {
  color: #b5c6d8;

  font-size: 1.08rem;
  line-height: 1.9;
}


/* SOLUTIONS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.solution-card {
  padding: 28px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background:
    linear-gradient(
      180deg,
      rgba(8,24,43,0.75),
      rgba(5,16,29,0.9)
    );

  transition:
    transform 0.2s ease,
    border 0.2s ease,
    box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-5px);

  border-color: rgba(22,141,255,0.65);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.25);
}

.card-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  margin-bottom: 23px;

  border-radius: 10px;

  background: rgba(22,141,255,0.1);
  border: 1px solid rgba(22,141,255,0.3);

  color: var(--blue-light);

  font-size: 0.68rem;
  font-weight: 900;
}

.solution-card h3 {
  font-size: 1.25rem;
}

.solution-card p {
  min-height: 115px;

  margin-top: 10px;

  color: var(--muted);

  font-size: 0.92rem;
}

.solution-card a {
  display: inline-block;

  margin-top: 16px;

  color: var(--blue-light);

  font-size: 0.88rem;
  font-weight: 700;
}


/* ENGINEERING */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  align-items: center;
}

.feature-list {
  margin-top: 30px;

  display: grid;

  gap: 12px;
}

.feature-list div {
  position: relative;

  padding-left: 27px;

  color: #d9e7f4;
}

.feature-list div::before {
  position: absolute;
  left: 0;
  top: 0.08rem;

  content: "✓";

  color: var(--blue-light);

  font-weight: 900;
}

.architecture-box {
  padding: 30px;

  border: 1px solid rgba(22,141,255,0.3);
  border-radius: 16px;

  background: #04101d;
}

.arch-title {
  margin-bottom: 22px;

  color: var(--blue-light);

  font-size: 0.78rem;
  font-weight: 900;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arch-stage {
  padding: 15px 18px;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: rgba(255,255,255,0.02);
}

.arch-stage strong,
.arch-stage span {
  display: block;
}

.arch-stage strong {
  color: white;

  font-size: 0.85rem;
}

.arch-stage span {
  margin-top: 3px;

  color: var(--muted);

  font-size: 0.76rem;
}

.arch-final {
  border-color: rgba(22,141,255,0.5);

  background: rgba(22,141,255,0.08);
}

.arch-arrow {
  padding: 6px 0;

  text-align: center;

  color: var(--blue);
}


/* ASSURANCE */

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.assurance-panel {
  padding: 25px;

  border-top: 2px solid var(--blue);

  background:
    linear-gradient(
      180deg,
      rgba(8,24,43,0.72),
      rgba(5,16,29,0.95)
    );
}

.panel-number {
  color: var(--blue);

  font-size: 0.75rem;
  font-weight: 900;
}

.assurance-panel h3 {
  margin-top: 30px;

  font-size: 1.2rem;
}

.assurance-panel p {
  margin-top: 8px;

  color: var(--muted);

  font-size: 0.9rem;
}


/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  gap: 70px;

  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 16px;
}

.about-stats div {
  min-height: 150px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 25px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: rgba(255,255,255,0.02);
}

.about-stats strong {
  color: var(--blue-light);

  font-size: 2rem;
}

.about-stats span {
  margin-top: 4px;

  color: var(--muted);

  font-size: 0.82rem;
}


/* CONTACT */

.contact-section {
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(22,141,255,0.15),
      transparent 35%
    );
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;

  gap: 70px;

  align-items: center;
}

.contact-kicker {
  color: var(--blue-light);

  font-size: 0.75rem;
  font-weight: 900;

  letter-spacing: 0.15em;
}

.contact-wrap h2 {
  max-width: 720px;

  margin-top: 12px;

  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.02;

  letter-spacing: -0.04em;
}

.contact-wrap > div > p {
  max-width: 650px;

  margin-top: 20px;

  color: var(--muted);

  font-size: 1.05rem;
}

.contact-card {
  padding: 30px;

  border: 1px solid rgba(22,141,255,0.35);
  border-radius: 16px;

  background: rgba(7,17,31,0.9);

  box-shadow:
    0 25px 80px rgba(0,0,0,0.3);
}

.contact-card h3 {
  font-size: 1.35rem;
}

.contact-card > p {
  margin-top: 6px;

  color: var(--muted);
}

.contact-details {
  display: flex;
  flex-direction: column;

  gap: 10px;

  margin: 26px 0;
}

.contact-details a {
  color: var(--blue-pale);
}

.contact-details span {
  color: var(--muted);
}

.full-width {
  width: 100%;
}


/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border);

  background: #01050c;

  padding: 34px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

.footer-wrap p,
.footer-right {
  color: #71859c;

  font-size: 0.78rem;
}

.footer-right {
  display: flex;

  gap: 25px;
}


/* RESPONSIVE */

@media (max-width: 980px) {

  .main-nav {
    display: none;

    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;

    padding: 20px;

    flex-direction: column;
    align-items: stretch;

    background: #06111f;

    border: 1px solid var(--border);
    border-radius: 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero-grid,
  .split-layout,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin-top: 20px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .assurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrap {
    gap: 40px;
  }

  .contact-card {
    max-width: 520px;
  }

}

@media (max-width: 640px) {

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    position: sticky;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    min-height: auto;

    padding: 70px 0;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 75px 0;
  }

  .card-grid,
  .assurance-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .solution-card p {
    min-height: auto;
  }

  .pipeline {
    padding: 22px;
  }

  .architecture-box {
    padding: 20px;
  }

  .footer-wrap,
  .footer-right {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* CONTACT FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 25px;
}

.contact-form label {
  margin-top: 7px;
  color: #d9e7f4;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: #030c17;
  color: white;

  font: inherit;

  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);

  box-shadow:
    0 0 0 3px rgba(22,141,255,0.10);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form button {
  margin-top: 14px;
  border: 0;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 5px !important;
  color: var(--muted) !important;
  font-size: 0.76rem !important;
  text-align: center;
}


/* ==========================================================
   COMMERCIAL SOLUTION CARD IMAGES
   ========================================================== */

.solution-card-image {
  position: relative;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  isolation: isolate;
}

.solution-card-image::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background:
    linear-gradient(
      180deg,
      rgba(2, 8, 19, 0.34) 0%,
      rgba(2, 8, 19, 0.76) 48%,
      rgba(2, 8, 19, 0.96) 100%
    );
}

.solution-card-image h3 {
  color: #ffffff;

  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.55);
}

.solution-card-image p {
  color: rgba(235, 242, 252, 0.90);

  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.55);
}

.solution-card-image .card-icon {
  background: rgba(2, 8, 19, 0.62);

  border-color: rgba(125, 211, 252, 0.55);

  backdrop-filter: blur(4px);
}

.solution-card-image a {
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.7);
}

.solution-websites {
  background-image:
    linear-gradient(
      180deg,
      rgba(2, 8, 19, 0.10),
      rgba(2, 8, 19, 0.48)
    ),
    url("/assets/images/ai-websites.webp");
}

.solution-automation {
  background-image:
    linear-gradient(
      180deg,
      rgba(2, 8, 19, 0.10),
      rgba(2, 8, 19, 0.48)
    ),
    url("/assets/images/ai-automation.webp");
}

.solution-workforce {
  background-image:
    linear-gradient(
      180deg,
      rgba(2, 8, 19, 0.10),
      rgba(2, 8, 19, 0.48)
    ),
    url("/assets/images/ai-workforce.webp");
}

.solution-nexus {
  background-image:
    linear-gradient(
      180deg,
      rgba(2, 8, 19, 0.10),
      rgba(2, 8, 19, 0.48)
    ),
    url("/assets/images/df-nexus.webp");
}

.solution-edge {
  background-image:
    linear-gradient(
      180deg,
      rgba(2, 8, 19, 0.10),
      rgba(2, 8, 19, 0.48)
    ),
    url("/assets/images/edge-ai.webp");
}

.solution-education {
  background-image:
    linear-gradient(
      180deg,
      rgba(2, 8, 19, 0.10),
      rgba(2, 8, 19, 0.48)
    ),
    url("/assets/images/lean-ai-education.webp");
}


/* Card image focal points */

.solution-websites {
  background-position: center center;
}

.solution-automation {
  background-position: center center;
}

.solution-workforce {
  background-position: center center;
}

.solution-nexus {
  background-position: center center;
}

.solution-edge {
  background-position: center center;
}

.solution-education {
  background-position: center center;
}

/* ==========================================================
   AGENTIC AI SYSTEMS — SECTION IMAGE BACKGROUNDS
   Reuses existing OUR SOLUTIONS artwork.
   ========================================================== */

/* DF NEXUS */
#engineering {
    background:
        linear-gradient(
            rgba(2, 8, 19, 0.78),
            rgba(2, 8, 19, 0.92)
        ),
        url("../images/df-nexus.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* AI ASSURANCE */
#assurance {
    background:
        linear-gradient(
            rgba(2, 8, 19, 0.80),
            rgba(2, 8, 19, 0.94)
        ),
        url("../images/edge-ai.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/*
 * Preserve readability of the AI Assurance cards
 * over the photographic background.
 */
#assurance .assurance-panel {
    background: rgba(5, 17, 34, 0.90);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/*
 * Preserve readability of the DF Nexus architecture panel.
 */
#engineering .architecture-box {
    background: rgba(5, 17, 34, 0.90);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}


/* ==========================================================
   BRIGHTER SECTION BACKGROUNDS
   ========================================================== */

#engineering {
    background:
        linear-gradient(
            rgba(2, 8, 19, 0.48),
            rgba(2, 8, 19, 0.68)
        ),
        url("../images/df-nexus.webp") center center / cover no-repeat;
}

#assurance {
    background:
        linear-gradient(
            rgba(2, 8, 19, 0.48),
            rgba(2, 8, 19, 0.68)
        ),
        url("../images/edge-ai.webp") center center / cover no-repeat;
}

#engineering .architecture-box,
#assurance .assurance-panel {
    background: rgba(5, 17, 34, 0.78);
}


/* ==========================================================
   HARD BACKGROUND IMAGE LAYER
   Uses section pseudo-elements instead of CSS background.
   ========================================================== */

section#engineering,
section#assurance {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
}

/* Keep real section content above image layer */
section#engineering > *,
section#assurance > * {
    position: relative !important;
    z-index: 2 !important;
}

/* DF NEXUS IMAGE */
section#engineering::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;

    background-image:
        linear-gradient(
            rgba(2, 8, 19, 0.25),
            rgba(2, 8, 19, 0.55)
        ),
        url("/assets/images/df-nexus.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;
    pointer-events: none !important;
}

/* AI ASSURANCE IMAGE */
section#assurance::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;

    background-image:
        linear-gradient(
            rgba(2, 8, 19, 0.25),
            rgba(2, 8, 19, 0.55)
        ),
        url("/assets/images/edge-ai.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;
    pointer-events: none !important;
}

/* Reduce panel opacity so image remains visible */
section#engineering .architecture-box,
section#assurance .assurance-panel {
    background: rgba(4, 16, 29, 0.68) !important;
}



/* ==========================================================
   AGENTIC AI SYSTEMS
   SITE-WIDE PHOTOGRAPHIC BACKGROUND SYSTEM

   Existing OUR SOLUTIONS artwork reused as section artwork.
   ========================================================== */


/* ----------------------------------------------------------
   COMMON SECTION BACKGROUND BEHAVIOUR
   ---------------------------------------------------------- */

main section {
    background-color: #020813;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* ----------------------------------------------------------
   HERO
   AI WEBSITES
   ---------------------------------------------------------- */

#home {
    background-image:
        linear-gradient(
            rgba(2, 8, 19, 0.38),
            rgba(2, 8, 19, 0.70)
        ),
        url("/assets/images/ai-websites.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ----------------------------------------------------------
   OUR SOLUTIONS
   AI AUTOMATION
   ---------------------------------------------------------- */

#solutions {
    background-image:
        linear-gradient(
            rgba(2, 8, 19, 0.42),
            rgba(2, 8, 19, 0.72)
        ),
        url("/assets/images/ai-automation.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ----------------------------------------------------------
   DF NEXUS
   ---------------------------------------------------------- */

section#engineering {
    background-image:
        linear-gradient(
            rgba(2, 8, 19, 0.34),
            rgba(2, 8, 19, 0.68)
        ),
        url("/assets/images/df-nexus.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ----------------------------------------------------------
   AI ASSURANCE
   EDGE AI
   ---------------------------------------------------------- */

section#assurance {
    background-image:
        linear-gradient(
            rgba(2, 8, 19, 0.36),
            rgba(2, 8, 19, 0.70)
        ),
        url("/assets/images/edge-ai.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ----------------------------------------------------------
   ABOUT
   AI WORKFORCE
   ---------------------------------------------------------- */

section#about {
    background-image:
        linear-gradient(
            rgba(2, 8, 19, 0.40),
            rgba(2, 8, 19, 0.74)
        ),
        url("/assets/images/ai-workforce.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ----------------------------------------------------------
   CONTACT
   LEAN AI EDUCATION
   ---------------------------------------------------------- */

section#contact {
    background-image:
        linear-gradient(
            rgba(2, 8, 19, 0.42),
            rgba(2, 8, 19, 0.76)
        ),
        url("/assets/images/lean-ai-education.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ----------------------------------------------------------
   GLASS PANELS

   Keep content readable while allowing artwork to remain
   visible behind the interface.
   ---------------------------------------------------------- */

section#engineering .architecture-box,
section#assurance .assurance-panel,
section#about .about-stats > div,
section#contact form {
    background: rgba(3, 12, 24, 0.70) !important;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* ----------------------------------------------------------
   REMOVE PREVIOUS PSEUDO IMAGE LAYERS

   Backgrounds are now controlled directly by each section.
   ---------------------------------------------------------- */

section#engineering::before,
section#assurance::before {
    content: none !important;
    display: none !important;
}


/* ----------------------------------------------------------
   CONTENT ABOVE BACKGROUNDS
   ---------------------------------------------------------- */

#home > *,
#solutions > *,
section#engineering > *,
section#assurance > *,
section#about > *,
section#contact > * {
    position: relative;
    z-index: 1;
}



/* ==========================================================
   HERO ALIGNMENT FIX
   ========================================================== */

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-position: center center !important;
}

#home .container {
    width: 100%;
}

#home .hero-grid {
    width: 100%;
    align-items: center;
    margin: 0 auto;
}

/* Keep text block aligned and readable */
#home .hero-copy {
    max-width: 720px;
}

/* If right-side hero content exists, keep it vertically centred */
#home .hero-visual,
#home .hero-panel,
#home .hero-art {
    align-self: center;
}

/* Desktop spacing */
@media (min-width: 900px) {
    #home {
        padding-top: 110px;
        padding-bottom: 90px;
    }

    #home .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 60px;
    }
}

/* Mobile */
@media (max-width: 899px) {
    #home {
        min-height: auto;
        padding-top: 95px;
        padding-bottom: 70px;
        background-position: center top !important;
    }

    #home .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}


/* HERO IMAGE FOCAL POINT */
#home {
    background-position: 65% center !important;
}


/* ==========================================================
   HERO CONTENT ALIGNMENT — AUTHORITATIVE OVERRIDE
   ========================================================== */

#home {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 110px !important;
    padding-bottom: 80px !important;
}

#home .container {
    width: min(1180px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 56px !important;
    width: 100% !important;
    margin: 0 !important;
}

#home .hero-copy {
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 !important;
    align-self: center !important;
    justify-self: start !important;
}

#home .hero-copy h1,
#home .hero-copy p,
#home .hero-copy .hero-actions {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#home .hero-visual,
#home .hero-panel,
#home .hero-art {
    width: 100% !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
}

/* Tablet / mobile */
@media (max-width: 899px) {
    #home {
        min-height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 64px !important;
    }

    #home .container {
        width: min(100% - 32px, 720px) !important;
    }

    #home .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    #home .hero-copy,
    #home .hero-visual,
    #home .hero-panel,
    #home .hero-art {
        max-width: 100% !important;
        justify-self: stretch !important;
    }
}

