* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  background: url("image/bg1.jpg") center/cover no-repeat fixed;
}

/* dark overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.842); /* adjust darkness :3 */
  z-index: 0;
}

/* HAMBURGER (hidden on desktop) */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    color: white;
  }

  .nav-links {
    display: none !important; /* FORCE hide */
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0f0f1a;

    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
  }

  .nav-links.active {
    display: flex !important; /* FORCE show when clicked */
  }

  .nav-links ul {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .system-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .system-text {
    align-items: center;
  }
}



/* LOGO FONT/HEADER */

nav {
  position: relative;
}

@media (max-width: 768px) {
  .nav-links {
    right: 0;
  }
}

nav, section, footer {
  position: relative;
  z-index: 1;
}

nav {
  height: 70px;
}

.logo img {
  height: 150px;
  width: auto;
  display: flex;
  align-items: center;

}

h1, h2, h3 {
  font-family:  sans-serif;
  letter-spacing: 1px;
}


/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;

  background: #0f0f1a; /* solid block */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

nav h1 {
  font-size: 22px;
  color: #7f8cff;
}

/* RIGHT SIDE GROUP */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* LINKS */
.nav-links ul {
  display: flex;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 15px;
}

.nav-links a.active {
  color: #7f8cff;
  font-weight: 500;
  position: relative;
}

.nav-links ul li a {
  text-decoration: none;
  color: white;
  font-size: 15px;

  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

/* HOVER EFFECT */
.nav-links ul li a:hover {
  background: rgba(127, 140, 255, 0.15);
  color: #7f8cff;
}

nav h1 {
  font-size: 22px;
  color: #7f8cff;
}

/* CENTER NAV LINKS */
nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  justify-content: center;
}

nav ul {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 15px;
}

/* PUSH BUTTON RIGHT */
.nav-right {
  display: flex;
  justify-content: flex-end;
}

/* HERO */
.hero {
  text-align: center;
  padding: 70px 8% 40px;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 25px;
  color: #bbb;
  font-size: 15px;
}

/* ABOUT HERO LAYOUT */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 8%;
  gap: 40px;
}

/* LEFT SIDE */
.about-left h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.about-left p {
  color: #bbb;
  max-width: 500px;
}

/* "ABOUT US" LABEL */
.about-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.about-label h4 {
  color: #7f8cff;
  letter-spacing: 1px;
}

/* SHAPE BEFORE TEXT */
.shape {
  width: 30px;
  height: 3px;
  background: #7f8cff;
  display: inline-block;
}

.about-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 75%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(127,140,255,0.2),
    transparent
  );
  
}

.system-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 8%;
  gap: 40px;
}

/* LEFT TEXT */
.system-text {
  max-width: 500px;
}

.system-text p {
  color: #bbb;
  margin-bottom: 10px;
}

/* RIGHT GRAPH AREA */
.system-graph {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(320px, 42vw, 520px);
  overflow: hidden;
}

.system-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;

  padding: 80px 8%;
  gap: 40px;

  background: #1a1a2e; /* dark purple */
  border-top: 1px solid rgba(127,140,255,0.15);
  border-bottom: 1px solid rgba(127,140,255,0.15);
}

.about-hero {
  margin-bottom: 40px;
}

.system-text p {
  color: #aaa;
}


/* TEXT SIDE */
.system-text p {
  color: #bbb;
  margin-bottom: 10px;
  max-width: 500px;
}


.about-sankey-img {
  width: 100%;
  max-width: 680px;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
  transform: scale(1.097);
  transform-origin: center center;
  filter: none;
  text-shadow: none;
  mix-blend-mode: normal;
  opacity: 1;
}

@media (max-width: 768px) {
  .system-graph {
    min-height: clamp(280px, 70vw, 360px);
  }

  .about-sankey-img {
    transform: scale(1.037);
  }
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at left,
    rgba(127,140,255,0.15),
    transparent 60%
  );

  z-index: 0;
}

.about-left,
.about-graph {
  position: relative;
  z-index: 2;
}

.about-left, .about-right {
  position: relative;
  z-index: 2;
}

.about-details {
  padding: 60px 8%;
  display: flex;
  justify-content: center;
}

.about-box {
  background: #1a1a2e;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
}

.about-box p {
  color: #aaa;
  margin-bottom: 8px;
}

.about-page {
  background: url("image/bg1.jpg") center/cover no-repeat fixed !important;
}

.about-page .about-hero {
  padding-top: 100px;
}



/* BUTTON */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 11px 22px;
  background: linear-gradient(135deg, #7f8cff 0%, #6f7cff 100%);
  border-radius: 8px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(127, 140, 255, 0.28);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.btn:hover {
  background: linear-gradient(135deg, #8b97ff 0%, #6a75e0 100%);
  transform: translateY(-3px);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(127, 140, 255, 0.48);
}

.btn:active {
  transform: translateY(1px);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.26),
    0 0 14px rgba(127, 140, 255, 0.32);
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 280ms ease;
}

.btn:hover::after {
  left: 125%;
}

.logo img {
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* DASHBOARD + FEATURES AS ONE BLOCK */
.dashboard {
  padding: 50px 8% 20px;
  text-align: center;
}

.dashboard h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.dashboard-box {
  height: clamp(380px, 42vw, 560px);
  background: #1a1a2e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  overflow: hidden;
  padding: 10px;
}

.ecosystem-snapshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.035);
  transform-origin: center center;
}

@media (max-width: 768px) {
  .dashboard-box {
    height: clamp(280px, 65vw, 420px);
  }

  .ecosystem-snapshot-img {
    transform: scale(1);
  }
}


/* FEATURES (VERY CLOSE TO DASHBOARD) */
.features {
  padding: 20px 8% 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature {
  background: #1a1a2e;
  padding: 18px;
  border-radius: 12px;
  transition: 0.25s;
  cursor: pointer;
}

.feature:hover {
  transform: translateY(-4px);
  background: #202040;
}

.feature h3 {
  margin-bottom: 8px;
  color: #7f8cff;
  font-size: 16px;
}

.feature p {
  color: #aaa;
  font-size: 13px;
}

.consequences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;

  padding: 80px 8%;
}


/* EACH BOX */
.consequence {
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 25px;
  height: 100%;

  background: #1a1a2e;
  border: 1px solid rgba(127,140,255,0.2);
  border-radius: 12px;

  transition: all 0.25s ease;
}


/* ICON */
.icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 15px;

  background: rgba(127,140,255,0.1);
  border: 1px solid rgba(127,140,255,0.3);
  border-radius: 50%;

  font-size: 20px;
  color: #7f8cff;

  flex-shrink: 0; /* prevents squishing */
}

/* TEXT */
.consequence h3 {
  margin-bottom: 8px;
  color: #7f8cff;
  font-size: 16px;

  min-height: 40px; /* 👈 KEY FIX */
}

.consequence p {
  color: #aaa;
  font-size: 13px;

  max-width: 180px; /* keeps width consistent */
}

.consequences {
  align-items: stretch;
}

@media (max-width: 768px) {

  .consequences {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .divider {
    display: none; /* removes vertical lines on mobile */
  }

  .consequence {
    padding: 15px 10px;
  }

  .consequence h3 {
    min-height: auto; /* removes forced alignment height on mobile */
  }
}

.consequences {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  padding: 80px 8%;
}

@media (max-width: 768px) {
  .consequences {
    grid-template-columns: 1fr;
  }
}

.nuvora-solution {
  display: flex;
  justify-content: center;

  padding: 40px 8% 80px;
}

.solution-box {
  text-align: center;

  max-width: 500px;

  padding: 30px;

  background: #1a1a2e;
  border: 1px solid rgba(127,140,255,0.2);

  box-shadow: 0 0 25px rgba(127,140,255,0.08);
}

.solution-box .icon {
  width: 50px;
  height: 50px;

  margin: 0 auto 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(127,140,255,0.1);
  border: 1px solid rgba(127,140,255,0.3);

  color: #7f8cff;
  font-size: 18px;
}

.solution-box h3 {
  color: #7f8cff;
  margin-bottom: 10px;
}

.solution-box p {
  color: #bbb;
  font-size: 14px;
}

.trigger-line {
  text-align: center;

  margin: 60px 0 10px; /* ← THIS creates space above (from graph) */

  padding: 30px 8% 20px;

  position: relative;
}

.trigger-line p {
  font-size: 18px;
  color: #7f8cff; /* your purple accent */
  font-weight: 500;
  letter-spacing: 0.5px;
}

.trigger-line p {
  font-size: 20px;
  color: #7f8cff;
  font-weight: 500;
  letter-spacing: 0.5px;

  max-width: 600px;
  margin: 0 auto;
}

.consequences {
  padding: 30px 8% 80px;
}

/* CTA */
.cta {
  padding: 50px 8%;
  display: flex;
  justify-content: center;
}

.cta-box {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(127,140,255,0.2);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 100%;
  max-width: 520px;
}

.cta-box h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.cta-box p {
  color: #bbb;
  margin-bottom: 15px;
}

/* INPUT */
.cta-box input {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  outline: none;
  margin-bottom: 15px;
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 14px;
}

/* FOOTER */
footer {
  padding: 30px 8%;
  text-align: center;
  color: #777;

  background: #0f0f1a; /* same solid color as header */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* SERVICES PAGE */
.services-page {
  background: url("image/bg1.jpg") center/cover no-repeat fixed !important;
}

.services-page main {
  position: relative;
  z-index: 1;
}

.services-hero {
  padding: 90px 8% 55px;
  max-width: 1180px;
  margin: 0 auto;
}

.services-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.services-label h4 {
  color: #7f8cff;
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
}

.services-hero h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: 46px;
  line-height: 1.08;
}

.services-hero p {
  max-width: 760px;
}

.hero-note {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
  color: #8f9cff !important;
  font-size: 14px !important;
}

.services-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
  width: calc(100% - 16%);
  max-width: 1120px;
  margin: 10px auto 0;
  padding: 34px;
  background: rgba(26, 26, 46, 0.78);
  border: 1px solid rgba(127,140,255,0.22);
  border-radius: 12px;
  box-shadow: 0 0 28px rgba(127,140,255,0.08);
}

.services-intro h2,
.process-heading h2 {
  font-size: 30px;
  line-height: 1.15;
}

.services-intro p {
  color: #bbb;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: calc(100% - 16%);
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 0 45px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 24px;
  background: rgba(26, 26, 46, 0.82);
  border: 1px solid rgba(127,140,255,0.22);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(127,140,255,0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(127,140,255,0.18), transparent 42%);
  opacity: 0.75;
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(32, 32, 64, 0.9);
  border-color: rgba(127,140,255,0.42);
}

.service-card h3 {
  color: #7f8cff;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.service-card p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.service-card .service-summary {
  color: #ddd;
  font-weight: 600;
}

.service-card h4 {
  margin: 18px 0 10px;
  color: white;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-card ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin-top: auto;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: #bbb;
  font-size: 13px;
  line-height: 1.4;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7f8cff;
  box-shadow: 0 0 10px rgba(127,140,255,0.75);
}

.process-section {
  width: calc(100% - 16%);
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 0 70px;
}

.process-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
  counter-reset: none;
}

.process-steps li {
  position: relative;
  min-height: 145px;
  padding: 22px 18px;
  background: rgba(15, 15, 26, 0.88);
  border: 1px solid rgba(127,140,255,0.22);
  border-radius: 12px;
}

.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 1px;
  background: rgba(127,140,255,0.55);
}

.process-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(127,140,255,0.1);
  border: 1px solid rgba(127,140,255,0.36);
  color: #7f8cff;
  font-size: 13px;
  font-weight: bold;
}

.process-steps p {
  color: #ddd;
  font-size: 14px;
  line-height: 1.45;
}

.services-cta-box {
  max-width: 680px;
  box-shadow: 0 0 28px rgba(127,140,255,0.1);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 70px 8% 40px;
  }

  .services-hero h1 {
    font-size: 34px;
  }

  .services-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    width: calc(100% - 12%);
    padding: 24px;
    text-align: left;
  }

  .services-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-section {
    width: calc(100% - 12%);
  }

  .service-card {
    min-height: auto;
  }
}
