:root {
  --white: #FFFFFF;
  --primary: #1a1f2e;
  --surface: #f6f8fa;
  --secondary: #2D8FA8;
}

html, body {
  height: 100vh;
  font-family: 'Inter';
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  padding: 0;
  position: relative;
  width: 100%;
  max-width: 100vw;

  background-color: #f8fafb;
  background-image: 
    radial-gradient(ellipse at 20% 0%, rgba(45, 143, 168, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(45, 143, 168, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

*{
  box-sizing: border-box;
}

.fa-light, .fa-regular {
  font-family: "Font Awesome 6 Pro" !important;
}

nav {
  align-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 60px;
  color: black;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  height: 56px;
  padding: 3px 24px 3px 20px;
  user-select: none;
  -moz-user-select: none;

  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  width: min(92%, 1100px);
  animation: entryNav 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes entryNav {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  } to {
    transform: translateX(-50%) translateY(0px);
    opacity: 1;
  } 
}

nav img {
  max-height: 22px;
  width: auto;
  display: block;
}

nav .action-buttons > div {
  cursor: pointer;
  margin-left: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

nav .action-buttons .nav-dropdown {
  position: relative;
}

nav .action-buttons .nav-dropdown .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  min-width: 200px;
  padding: 8px 0;
  z-index: 10000;
  padding-top: 16px;
}

nav .action-buttons .nav-dropdown .nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 16px;
}

nav .action-buttons .nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

nav .action-buttons .nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
  white-space: nowrap;
}

nav .action-buttons .nav-dropdown-menu a:hover {
  background: #f0f4f8;
  color: var(--secondary);
}

nav .action-buttons .nav-dropdown-menu a small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #888;
  margin-top: 2px;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  overflow: auto;
  padding-top: 100px;
}

main {
  min-height: 100%;
}

.carousel-container {
  height: 90px;           /* single‐word height */
  overflow: hidden;
  position: relative;
}

.carousel-words {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease-in-out; /* smooth slide */
}

.carousel-words span {
  height: 90px;            /* match container */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-align: center;
  font-weight: 400;
  color: #2a2a2a;
  font-style: italic;
  line-height: 1.7;
  padding-inline: 32px;
  font-family: Georgia, 'Times New Roman', serif;
}

@media (max-width: 992px) {
  .carousel-words span {
    font-size: 1.2rem;
    text-align: center;
    margin: auto;
    display: block;
  }

  .carousel-container2 {
    height: 115vmin !important;
  }
}

body .main-container {
  align-items: center;
  /* box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px 0px, rgba(0, 0, 0, 0.24) 0px 1px 2px 0px; */
  /* flex-direction: column; */
  min-height: 75vh;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.newtag {
  border: 1px solid rgba(45, 143, 168, 0.2);
  background: rgba(45, 143, 168, 0.04);
  border-radius: 40px;
  padding: 10px 24px;
  width: max-content;
  max-width: calc(100vw - 40px);
  margin: auto;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.03em;
  opacity: 0;
  animation: fadeIn2 0.5s ease-out 0.3s forwards;
}

@keyframes newTagEntry {
  0% {
    opacity: 0;
    width: 69px;
  } 40% {
    opacity: 0;
    width: 69px;
  } 60% {
    opacity: 1;
  } 100% {
    width: min(480px, calc(100vw - 40px));
    opacity: 1;
  } 
}

body .main-container:not(.contact-us) {
  display: flex;
}

body .main-container div.image {
  transform: translateY(-50px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

body .main-container div.image::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  height: 40vmin;
  aspect-ratio: var(--aspect-ratio);
  background-color: #d4e0ed;
  border-radius: 20px;
  z-index: -1;
  transform: translate(-50%, -50%) scale(1.05, 1.1) rotate(1deg);
}

body .main-container div.image::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  height: 40vmin;
  aspect-ratio: var(--aspect-ratio);
  background: var(--bg);
  box-shadow: 0 0 0 1px #bdbdbd90, 0 0 0 15px white, 0 0 0 16px #bdbdbd50 !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  z-index: 1;
  transform: translate(-50%, -50%);
}

body .main-container .carousel-item {
  height: 100% !important;
}

body .main-container .carousel-item img::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  right: 5px;
  background: #ceccdd;
}

body .main-container .marquee  img {
  box-shadow: unset !important;
  filter: grayscale(1) opacity(0.8);
  transition: 0.5s;
  max-height: 40px;
}

body .main-container .marquee  img:hover {
  filter: unset;
  transition: 0.5s;
}

@media (max-width: 992px) {
  .actionButtonsContainer {
    display: block !important;
    justify-content: center;
  }

  body .main-container {
    background-size: unset;
    margin-bottom: 60px;
    padding: 0;
    width: unset;
  }

  body .main-container > div:nth-child(1) {
    text-align: center;
  }

  body .main-container .col-12.col-lg-5 .position-relative {
    margin-left: 12.5%;
  }

  .carousel-container {
    margin-block: 2em;
    height: 70px;
  }

  .carousel-words span {
    height: 70px;
    font-size: 1rem;
  }
}

body .main-container .title {
  color: #0a0f1a;
  font-size: 4.5rem;
  font-weight: 800;
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  line-height: 110%;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.035em;
}

body .main-container h2.title {
  font-size: 1.3rem;
  font-weight: 400;
  color: #555;
  line-height: 1.8;
  letter-spacing: 0;
  max-width: 700px;
  margin-inline: auto;
}

body .float {
  position: absolute;
  top: 30%;
  left: 6%;
  width: 20%;
  height: auto;
  object-fit: contain;
  opacity: 0.25;
	animation: float 10s ease-in-out infinite;
  user-select: none;
  -moz-user-select: none;
  max-width: 12%;
  z-index: -1;
  filter: blur(1px);
}

body .floatRight {
  left: unset;
  right: 8%;
  top: 25%;
  animation-delay: 1s;
}

body .floatTop {
  left: 6%;
  top: 5%;
  max-width: 10%;
  rotate: -9deg;
  animation-delay: -2s;
}

@keyframes float {
	0% {
		transform: translatey(0px) rotateX(0) rotateZ(0) rotateY(0);
	}
	50% {
		transform: translatey(-20px) rotateX(15deg) rotateZ(5deg) rotateY(5deg);
	}
	100% {
		transform: translatey(0px) rotateX(0) rotateZ(0) rotateY(0);
	}
}

.fadeIn {
  animation: fadeIn2 0.15s ease-in forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeIn2 {
  from {
    opacity: 0;
    transform: translateY(20px);
  } to {
    opacity: 1;
    transform: translateY(0px);
  } 
}

.actionButtons {
    background-color: var(--secondary);
    border: none;
    border-radius: 50px;
    color: white;
    padding: 16px 32px;
    margin-right: 12px;
    margin-bottom: 20px;
    min-width: 200px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.actionButtons.secondary {
  background-color: var(--white);
  border: 1.5px solid #e0e4ea;
  color: var(--primary);
  /* box-shadow: rgba(0, 0, 0, 0.1) 0px 0.48175px 1.25255px -1.16667px, rgba(0, 0, 0, 0.09) 0px 1.83083px 4.76015px -2.33333px, rgba(0, 0, 0, 0.043) 0px 8px 20.8px -3.5px, rgba(255, 255, 255, 0.49) 0px -2px 9px 0px inset, rgba(0, 0, 0, 0.2) 0px 0px 0px 2px; */
}

.actionButtonsContainer {
  margin: auto;
  margin-top: 60px;
  justify-content: center;
  max-width: 500px;
  gap: 12px;
}

.key-features {
  align-items: stretch;
  background: white;
  /* display: grid; */
  /* grid-template-columns: 1fr 1fr 1fr; */
  justify-content: space-around;
  overflow: auto;
  /* padding: 60px 30px; */
  margin: auto;
  position: relative;
  align-items: center;
  margin-top: 25px;
  row-gap: 40px;
  padding-bottom: 10px;
}

.main-container .key-features div:has(> img) {
  min-height: 200px;
  background: white;
  display: flex;
  align-items: baseline;
  justify-content: center;
  overflow: hidden;
  margin: 0 16px;
}

.main-container .main-container .key-features img {
  max-width: 100%;
  margin-bottom: 30px;
  /* min-height: 300px; */
  max-width: 60vw;
  width: 100%;
  object-fit: contain;
  background-color: white;
  border-radius: 8px;
  border: thin solid #eee;
}

.key-features .features {
  background: white;
  cursor: pointer;
  margin: auto;
  margin-bottom: 120px;
  transition: 0.15s;
  height: 100%;
  width: 90%;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 3vw;
  grid-row-gap: 2vw;
}

/* Platform Capabilities showcase - full-bleed alternating rows, same
   pattern as .home-product on the homepage. No card chrome: the image
   itself carries the elevation (border + shadow), the section doesn't. */
.pf-showcase {
  display: flex;
  flex-direction: column;
}

.pf-row {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 5%;
}

.pf-row-reverse {
  flex-direction: row-reverse;
}

.pf-text {
  flex: 1;
  min-width: 0;
}

.pf-visual {
  flex: 1;
  min-width: 0;
}

.pf-stage {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(45, 143, 168, 0.14);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.pf-text h3 {
  font-family: 'Urbanist';
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.pf-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.pf-visual img {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pf-row:hover .pf-visual img {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.45);
}

@media (max-width: 900px) {
  .pf-row, .pf-row-reverse {
    flex-direction: column;
    padding: 50px 6%;
    gap: 32px;
  }
}

/* The Problem grid - open grid like Value grid, but these are enumerated
   ("three problems, in sequence" language used elsewhere on the page),
   so each item carries a large faint watermark numeral instead of a box. */
.pf-problems {
  padding: 70px 5% 20px;
}

.pf-problems-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.pf-problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
  text-align: left;
}

.pf-problem {
  position: relative;
  padding-top: 8px;
}

.pf-problem-num {
  position: absolute;
  top: -20px;
  right: 4px;
  font-family: 'Urbanist';
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--border-soft);
  user-select: none;
  transition: color 0.3s ease;
}

.pf-problem:hover .pf-problem-num {
  color: var(--border-soft-hover);
}

.pf-problem i {
  position: relative;
  display: block;
  color: var(--secondary);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.pf-problem h4 {
  position: relative;
  font-family: 'Urbanist';
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  margin: 0 0 8px;
}

.pf-problem p {
  position: relative;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* Value grid - open grid, no card boxes. Icon + heading + text, separated
   by whitespace rather than borders. */
.pf-values {
  padding: 90px 5%;
}

.pf-values-inner {
  max-width: 1100px;
  margin: auto;
}

.pf-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  column-gap: 48px;
  row-gap: 44px;
  margin-top: 40px;
}

.pf-value i {
  display: block;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 14px;
}

.pf-value h4 {
  font-family: 'Urbanist';
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  margin: 0 0 8px;
}

.pf-value p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* Automated Alerts / Data Blending / Chart Intelligence - used to sit
   inside one big rounded card; now full-bleed, 3 columns split by
   hairline dividers (same idea as the stats bar's divider lines). */
.pf-alerts {
  display: flex;
  max-width: 1180px;
  margin: 0 auto 100px;
  padding: 0 5%;
}

.pf-alerts-col {
  flex: 1;
  padding: 0 32px;
  text-align: left;
}

.pf-alerts-col:not(:last-child) {
  border-right: 1px solid var(--border-soft);
}

.pf-alerts-col:first-child {
  padding-left: 0;
}

.pf-alerts-col:last-child {
  padding-right: 0;
  border-right: none;
}

.pf-alerts-col i {
  display: block;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 14px;
}

.pf-alerts-col h4 {
  font-family: 'Urbanist';
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  margin: 0 0 10px;
}

.pf-alerts-col p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

/* "What each role gets" persona cards - flat cards with a colored left
   accent bar picking up the same per-role color already used on each
   card's icon, instead of a plain uniform border. */
.pf-personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.pf-persona {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px 24px 24px 28px;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease;
}

.pf-persona::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--persona-accent, var(--secondary));
}

.pf-persona:hover {
  transform: translateY(-3px);
  background: var(--bg-elevated-2);
}

.pf-persona svg {
  display: block;
  color: var(--persona-accent, var(--secondary));
  margin-bottom: 14px;
}

.pf-persona .content {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.pf-persona .content b {
  color: var(--text-heading);
}

/* Core Strategic Capabilities - this is an intelligence maturity model
   (operational -> analytical -> predictive -> prescriptive), a genuine
   sequence, so it gets a connected flow instead of a static grid: a
   hairline threads through each stage's icon marker, stage by stage. */
.pf-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 0 5%;
}

.pf-flow-stage {
  position: relative;
  text-align: center;
}

.pf-flow-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: var(--border-soft-hover);
  z-index: -1;
}

.pf-flow-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
}

.pf-flow-icon img {
  max-width: 20px;
  max-height: 20px;
  filter: invert(1) brightness(1.4);
}

.pf-flow-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.pf-flow-stage h4 {
  font-family: 'Urbanist';
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 10px;
}

.pf-flow-stage h4 b {
  font-weight: 700;
}

.pf-flow-stage p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .pf-flow {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pf-flow-stage:not(:last-child)::after {
    display: none;
  }
}

/* Built for Every Industry - the 7 tabs used to be horizontal pills that
   wrapped into an awkward 6+1 orphaned row, and the illustration sat tiny
   and centered in a much taller empty flex column next to the accordion.
   Tabs move to a vertical sidebar (scales to any number of industries
   without wrapping) and the illustration gets its own panel that matches
   the accordion's height instead of floating in empty page background. */
.pf-industry-shell {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.pf-industry-tabs {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 !important;
}

.pf-industry-tabs .nav-link {
  text-align: left;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 0.86rem;
}

.pf-industry-content {
  flex: 1;
  min-width: 0;
  margin: 0 !important;
}

.pf-industry-panel {
  display: flex;
  align-items: stretch;
  gap: 48px;
}

.pf-industry-panel .accordion {
  flex: 1.15;
  min-width: 0;
}

.pf-industry-visual {
  flex: 0.85;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--bg-elevated-2) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 32px;
}

.pf-industry-visual img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
}

@media (max-width: 900px) {
  .pf-industry-shell {
    flex-direction: column;
  }
  .pf-industry-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .pf-industry-panel {
    flex-direction: column;
  }
  .pf-industry-visual {
    padding: 20px;
  }
}

@media (max-width: 900px) {
  .pf-alerts {
    flex-direction: column;
    gap: 32px;
  }
  .pf-alerts-col {
    padding: 0 0 32px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-soft);
  }
  .pf-alerts-col:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }
}

.key-features .features:nth-child(3),
.key-features .features:nth-child(6) {
  border-right: 0;
}

.key-features .features:nth-child(4),
.key-features .features:nth-child(5),
.key-features .features:nth-child(6) {
  border-bottom: 0;
}

@media (max-width: 650px) {
  .key-features .features {
    margin: auto !important;
    margin-bottom: 20px !important;
    height: max-content;
  }

  .key-features .features .title {
    min-height: unset !important;
  }
}

@media (min-width: 651px) and (max-width: 900px) {
  .key-features {
    display: grid;
    gap: 20px;
    grid-template-columns: auto auto;
  }

  .key-features .features {
    height: 100%;
    margin: auto !important;
    margin-bottom: 20px !important;
  }

  .key-features .features .title {
    min-height: unset !important;
  }
}

;
.key-features .features:nth-last-child(1) {
  margin-right: 0;
}

.key-features .features .title {
  justify-content: space-between;
  font-family: "Urbanist", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a0f1a;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.key-features .features .content {
  font-weight: 400;
  font-family: Inter;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
}

.key-features .features .title i {
  align-items: center;
  display: flex;
  font-size: 2.4rem;
  justify-content: center;
  margin-top: 9%;
  margin-left: 10px;
  width: 78%;
}

.key-features .d-flex:has(.features) .features {
  border-radius: 0;
  border-right: thin solid #ddd;
  padding-inline: 50px;
  height: auto;
}

.key-features .d-flex:has(.features) .features:nth-last-child(1) {
  border-right: none;
}

.key-features .d-flex:has(.features) .features .content {
  width: unset;
}

.features .content ul {
  /* color: #444; */
  margin-top: 20px;
  font-size: 16px;
  padding: 0;
}

.what-persivx-can-do .features .content ul {
  color: #666;
}

.features .content ul b {
  color: #333;
}

.features .content li {
  list-style-type: none;
}

.what-persivx-can-do,
.testimonials {
  min-height: 30vh;
  padding: 20px 0 0;
  width: 100%;
}

.what-persivx-can-do > .title,
.testimonials > .title {
  font-family: "Urbanist", sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  padding: 30px 30px 10px 30px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.what-persivx-can-do .features {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  position: relative;
  /* The unscoped .features rule further down (meant for the unrelated
     features/index.php scroll-snap page) sets height: 80vh; width: 90vw;
     overflow: auto - since it doesn't touch these properties here, that
     rule wins by default cascade and clamps this section to a fixed
     height shorter than its content, producing an internal scrollbar and
     a too-narrow/misaligned box. Override explicitly. */
  height: auto;
  width: 100%;
  overflow: visible;
}

.what-persivx-can-do .feature-list {
  font-size: 18px;
  margin: auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: auto 1px auto;
  row-gap: 40px;
  column-gap: 50px;
}

.what-persivx-can-do .feature-list > div {
  display: grid;
  row-gap: 50px;
}

.what-persivx-can-do .feature-list .feature2 div:nth-child(2) {
  font-size: 14px;
}

@media (max-width: 900px) {
  .what-persivx-can-do .feature-list {
    grid-template-columns: auto;
    padding: 30px;
    row-gap: 100px;
  }

  .key-features .features, .what-persivx-can-do .features {
    display: block;
    margin-bottom: 80px !important;
  }
  
  .key-features div:has(> img) {
    min-height: unset;
    margin-bottom: 10px;
  }

  .key-features .features:nth-child(2) {
    display: flex;
    flex-direction: column;
  }

  .key-features img {
    max-width: unset;
  }

  .key-features > .d-flex {
    display: block !important;
  }

  .key-features .d-flex:has(.features) .features {
    border-right: unset;
    padding-inline: unset;
  }

  .what-persivx-can-do .features .feature {
    width: calc(100% - 20px) !important;
    margin-right: unset !important;
    margin-bottom: 20px;
  }
}

.what-persivx-can-do .features .feature {
  background: white;
  border: thin solid #00000030;
  box-shadow: rgba(0, 0, 0, 0.10) 0px 1px 3px 0px, rgba(0, 0, 0, 0.10) 0px 1px 2px 0px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  min-height: 30vh;
  margin-right: 40px;
  min-width: min(400px, 80vw);
  overflow: hidden;
  width: 45%;
  z-index: 2;
}

.what-persivx-can-do .features .feature div.padding{
  padding: 20px;
}

.what-persivx-can-do .features .feature .img {
  background-color: #00000030;
  min-height: 100%;
  margin-inline: 20px;
  width: 30%;
}

.what-persivx-can-do .features .feature .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: right;
    filter: brightness(0.6);
}

.what-persivx-can-do .features .feature .title {
  font-size: 1.2rem;
  font-weight: bold;
  padding-bottom: 20px;
}

.what-persivx-can-do {
  background: white;
}

.testimonials .testimonies {
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 30px;
  width: max-content;
  margin: auto;
  position: relative;
  max-width: 100vw;
}

.testimonials video {
  height: auto;
  object-fit: contain;
  width: 100%;
  max-height: 100%;
}

.testimonials .testimonies .testimony {
  background-color: white;
  box-shadow: 0 1px 2px 1px #00000025;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  margin-bottom: 30px;
  margin-right: 40px;
  min-width: min(450px, 80vw);
  padding: 20px;
  position: relative;
  width: 70vw;
}

.testimonials .testimonies::before {
    content: '';
    position: absolute;
    top: 0px;
    left: -12px;
    height: 68%;
    background-color: #d4e0ed;
    border-radius: 20px;
    width: 89vw;
    transform: translate(1vw, 5vh) rotate(1deg);
}

.testimonials.longbkdrp .testimonies::before {
    width: 90vw;
    transform: translate(2vw, 5vh) rotate(1deg);
}


.testimonials .testimonies .testimony:nth-last-child(1) {
  margin-right: 0;
}

.testimonials .testimonies .testimony .video {
    display: flex;
    align-content: center;
    justify-content: center;
    background: #eef2f7;
    height: min(20vw, 200px);
    margin-right: 10px;
    min-height: 100%;
    min-width: min(200px, 40%);
    aspect-ratio: 1 !important;
    width: 100%;
}

.testimony-by:has(.written-testimony) > div:nth-child(2) {
  color: var(--primary);
  height: 65px;
  padding: 10px 20px 0 20px;
}

@media (max-width: 900px) {
  .testimonies {
    flex-direction: column;
    align-items: center;
  }

  .testimonials .testimonies .testimony .video {
    height: unset;
    max-height: 300px;
  }

  .testimonials .testimonies .testimony {
    margin-right: unset;
  }

  .testimony.col-6 {
      width: 90% !important;
  }

  .testimonials.longbkdrp .testimonies::before {
    transform: translate(5vw, 15vh) rotate(1deg)
  }

  .testimonials .testimonies .testimony:nth-last-child(1) {
    margin-top: 50px;
  }
}

.testimony-by:not(:has(.written-testimony)) {
  padding: 20px 10px;
}

.testimonials .testimonies .testimony .testimony-by .name,
.testimonials .testimonies .testimony .testimony-by .organization {
  font-size: 12px;
  font-weight: bold;
}

.testimonials .testimonies .testimony .testimony-by .about-designation {
  color: #666;
  font-size: 12px;
  margin-top: 20px;
}

.testimonials .testimonies .testimony .testimony-by .written-testimony {
  height: calc(100% - 65px);
  padding: 20px;
}

.testimonials .testimonies .testimony .testimony-by:has(.written-testimony) .name {
  font-size: 1.2rem;
  font-family: Inter;
  font-weight: bold;
}

.testimonials .testimonies .testimony .testimony-by:has(.written-testimony) .name small {
  font-weight: 300;
}

footer {
  background-color: white;
  border-top: thin solid #00000030;
  font-size: 12px;
  padding: 10px 30px;
  text-align: center;
}

.uMainModal_Body {
  border: 0 !important;
  box-shadow: inset 0 -8px 15px -12px rgba(0, 0, 0, 0.3), inset 0 8px 15px -12px rgba(0, 0, 0, 0.03), 0 0 0px #555
}

.uMainModal_Body button {
  background: var(--secondary);
  border: thin solid #eee;
  color: var(--primary);
  font-weight: bold;
  font-size: 13px;
  border-radius: 14px;
  padding: 10px 30px !important;
  margin-bottom: 5px;
}

.contact-us {
  align-items: unset !important;
  justify-content: unset !important;
  padding: 30px 40px !important;
  position: relative;
  text-align: center;
}

.contact-us .title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px !important;
}

.contact-us .subtitle {
  color: #444;
}

.contact-us img {
  position: absolute;
  left: 10%;
  max-height: min(20vh, 180px);
  max-width: 180px;
}

.contact-us .form {
  background-color: white;
  border: thin solid #00000030;
  border-radius: 10px;
  margin: auto;
  max-width: 500px;
  padding: 20px;
  text-align: left;
}

.contact-us .title {
  margin-top: min(20vh, 200px);
}

.contact-us img {
  margin-left: 50%;
  transform: translateX(-50%);
  left: 0;
}

.contact-us button {
  margin-top: 20px;
  border: thin solid #eee;
  background: var(--secondary);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: bold;
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(45, 143, 168, 0.2);
}

.harbour-loader-container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: #00000030;
  z-index: 9999999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.harbour-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  border-radius: 5px;
  background-color: white;
}

.harbour-loader .title {
  color: #000;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.harbour-loader .msg {
  color: #333;
  font-size: 12px;
}

@keyframes loading {
  from {
    transform: rotate(0);
  } to {
    transform: rotate(360deg);
  }
}

.harbour-loader .fa-loader {
  animation: loading linear 1s infinite;
  font-size: 24px;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.d-md-block {
  display: block !important;
}

.zoomedImage .uMainModal {
  max-width: 95vw !important;
  max-height: 95vh !important;
}

.zoomedImage .uMainModal {
  overflow: auto;
}

.persivx-for-everyone {
  padding: auto;
}

.persivx-for-everyone > .title {
    margin-bottom: 30px;
}

.persivx-for-everyone  .d-flex {
  margin: auto;
  max-width: min(90vw, 950px); 
  overflow: auto;
}

.persivx-for-everyone .card {
  border: 0;
  border-radius: 16px;
  margin: 20px;
  font-size: 15px;
  padding: 28px !important;
  min-width: 350px;
  max-width: 50%;
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  line-height: 1.65;
}

.persivx-for-everyone .card svg {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .px-d-sm-none {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .persivx-for-everyone .d-flex {
    display: block !important;
  }

  .persivx-for-everyone .card:not(.governance) {
    min-width: calc(100% - 40px) !important;
    width: 100% !important;
  }

  .persivx-for-everyone .card.governance {
    margin: auto !important;
    margin-bottom: 2rem !important;
  }

  nav .action-buttons > div {
    font-size: 10px;
    margin-left: 16px;
    letter-spacing: 0.02em;
  }

  body .main-container .title {
    font-size: 2.4rem;
    line-height: 120%;
    letter-spacing: -0.03em;
  }

  body .main-container h2.title {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 90%;
  }

  body .main-container .title.pb-3 {
    font-size: 1.05rem !important;
    font-weight: 400;
  }

  .float.floatLeft.floatTop {
    display: none;
  }

  .float.floatRight {
    top: 3%;
  }

  .float {
    max-width: 50% !important;
  }

  .px-mt-sm-0 {
    margin-top: 0 !important;
  }

  .px-mb-sm-0 {
    margin-bottom: 0 !important;
  }

  .px-pb-sm-0 {
    padding-bottom: 0 !important;
  }

  .px-p-sm-0 {
    padding: 0 !important;
  }

  .persivx-for-everyone .card.governance {
    padding: 0 !important;
  }

  .persivx-for-everyone .card.governance img {
    max-width: calc(100% - 8px) !important;
    width: unset !important;
    margin: 4px;
    border-radius: 8px;
  }
}

.pointer-bubble {
  border: thin solid #eef2f7;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgb(255, 255, 255)  52%, #eef2f7  100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-badge {
  width: max-content;
  margin: auto;
  border: thin solid #ddd;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  margin-block: 20px;
}

label.form-label {
    color: #444444;
    /* font-weight: 400; */
    font-size: 14px;
}

.nav-link {
  color: var(--primary) !important;
  font-size: 13px;
  font-weight: 500;
  border-radius: 30px !important;
  padding: 8px 20px !important;
  border: 1px solid #e0e4ea !important;
  margin: 4px;
  transition: all 0.25s ease;
  background: white !important;
}

.nav-link:hover {
  border-color: var(--secondary) !important;
  color: var(--secondary) !important;
}

.nav-link.active {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.use-cases img {
  height: auto;
  max-height: 28ch;
  max-width: 100%;
  width: auto;
  border-radius: 12px;
  opacity: 0.9;
}

.use-cases .accordion ul {
    padding: 0 0 0 16px;
    list-style: none;
}

.use-cases .accordion ul li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    margin-right: 10px;
    margin-left: -16px;
    vertical-align: middle;
}

.use-cases .accordion li {
  margin-bottom: 10px;
  color: #555;
}

ul.nav.nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  overflow: auto;
  gap: 0;
  padding: 0;
  margin-bottom: 32px !important;
}

#pills-tabContent .accordion-item .accordion-body {
  background: white;
  padding: 20px 32px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #444;
}

.accordion-button {
  background-color: white !important;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 24px;
}

.accordion-button:not(.collapsed) {
  color: var(--secondary) !important;
  box-shadow: none;
}

.accordion-button::after {
  width: 14px;
  height: 14px;
  background-size: 14px;
}

.accordion.accordion-flush {
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.trust-and-security {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
    color: var(--secondary);
}

body .main-container.features {
  box-shadow: none;
  height: 85vh;
  margin-inline: 5vh !important;
  margin-bottom: 10vh;
  overflow: auto;
  scroll-snap-type: y mandatory;
  white-space: nowrap;
  padding: 0 !important;
  z-index: 1;
}

.features {
  border-radius: 10px;
  /* box-shadow: 2px 2px 0 0 #00000030; */
  height: 80vh;
  margin: auto;
  padding: 2px;
  width: 90vw;
  align-self: center;
  justify-content: center !important;
  flex-direction: column;
  flex-grow: 1;
}

.main-container.contact-us.features .feature {
  background-image: linear-gradient(45deg, #e8eef4, #f0f4f8, #e4ecf4);
  height: 84vh;
  scroll-snap-align: start;
  box-shadow: 3px 3px 2px 0px #00000025;
  border-radius: 15px;
  margin-bottom: 30px;
  padding: 30px;
}

body .main-container.features::before {
  content: '';
  position: fixed;
  top: 14vh;
  left: 4vw;
  height: 84vh;
  aspect-ratio: var(--aspect-ratio);
  background-color: #d4e0ed;
  border-radius: 20px;
  z-index: -1;
  transform: translate(-0.03%, -0.3%) scale(1.01, 1.01) rotate(1deg);
  width: 90vw;
}

body .main-container.features .title, body .main-container.features .sub-title {
  color: #252E3D;
  margin: 0;
  padding: 0;
  font-size: 30px;
  font-family: 'Urbanist';
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  white-space: break-spaces;
}

body .main-container.features .sub-title {
  font-size: 22px;
  font-weight: 400;
  text-transform: unset;
  margin: auto;
  max-width: 60vw;
}

body .main-container.features .persivx-for-everyone{
    width: 60%;
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    height: 400px;
}

body .main-container.features div.card > div:nth-child(1) {
    margin-bottom: 10px;
}


/* ===== MODERN ENTERPRISE ENHANCEMENTS ===== */

/* Glassmorphism nav - handled in main nav block */

/* Modern button hover effects */
.actionButtons {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-size: 0.92rem;
}

.actionButtons:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45,143,168,0.3);
}

.actionButtons.secondary:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  background: #fafafa;
}

/* Stats bar - dark premium */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  background: linear-gradient(135deg, #1a1f2e 0%, #1e2a3a 50%, #1a2535 100%);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  margin: 80px auto;
  border-radius: 28px;
  max-width: 1000px;
  width: 88%;
  box-shadow: 0 20px 60px rgba(26, 31, 46, 0.3), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 10% 50%, rgba(45,143,168,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(45,143,168,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 0%, rgba(91,184,208,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.stats-bar .stat {
  text-align: center;
  padding: 52px 40px;
  position: relative;
  flex: 1;
  min-width: 200px;
}

.stats-bar .stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(91,184,208,0.2), transparent);
}

.stats-bar .stat .number {
  font-family: "Urbanist", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stats-bar .stat .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* Engine Section */
.engine-section {
  background: var(--primary);
  padding: 80px 5% 60px;
  position: relative;
  overflow: hidden;
}

.engine-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(45,143,168,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.engine-section .testimonials .title {
  color: white !important;
}

.engine-section .title-badge {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

.engine-grid {
  max-width: 1100px;
  margin: 40px auto 0;
}

.engine-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.engine-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(45,143,168,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.engine-core {
  text-align: center;
  padding: 36px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(45,143,168,0.12), rgba(45,143,168,0.04)) !important;
  border-color: rgba(45,143,168,0.25) !important;
}

.engine-core .engine-icon {
  font-size: 2.4rem;
}

.engine-core .engine-label {
  font-size: 1.4rem;
}

.engine-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #5bb8d0;
}

.engine-label {
  font-family: "Urbanist", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.engine-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.engine-ring {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Enterprise CTA Banner */
.enterprise-cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.enterprise-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(45,143,168,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.enterprise-cta .title {
  font-family: "Urbanist", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: white !important;
  margin-bottom: 12px;
  position: relative;
  letter-spacing: -0.02em;
}

.enterprise-cta .subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  margin-bottom: 40px;
  font-weight: 300;
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.7;
}

.enterprise-cta .actionButtons {
  margin: 0 8px;
  position: relative;
}

.enterprise-cta .actionButtons.secondary {
  border-color: rgba(255,255,255,0.25);
  color: white;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.enterprise-cta .actionButtons.secondary:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.enterprise-cta-trust {
  position: relative;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.enterprise-cta-trust i {
  color: var(--secondary);
}

.enterprise-cta-link {
  position: relative;
  margin-top: 18px;
  font-size: 0.78rem;
}

.enterprise-cta-link a {
  color: var(--secondary);
  text-decoration: underline;
}

/* Leadership section */
.leadership-section {
  padding: 80px 5%;
  background: white;
}

.leadership-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 40px auto 0;
  flex-wrap: wrap;
}

.leadership-cards .leader {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background: linear-gradient(180deg, #fff 40%, var(--surface) 100%);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.leadership-cards .leader:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(45,143,168,0.2);
}

.leadership-cards .leader .leader-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid rgba(45,143,168,0.2);
}

.leadership-cards .leader .name {
  font-family: "Urbanist", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.leadership-cards .leader .role {
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.leadership-cards .leader .bio {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
}

/* Modern card hover for feature cards */
.key-features .features .feature {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.key-features .features .feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(45,143,168,0.15);
}

/* Modern title badge */
.title-badge {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--secondary);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Modern card hover for persona cards */
.persivx-for-everyone .card {
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0 !important;
}

.persivx-for-everyone .card:not(.governance):hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  border-color: rgba(45,143,168,0.15) !important;
}

/* Strategic capabilities cards */
.testimonials .card {
  transition: all 0.3s ease;
}

.testimonials .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}

/* Core Strategic Capabilities - four intelligence cards */
.testimonials.pt-5.pb-5.mt-0 .card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 32px 28px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.testimonials.pt-5.pb-5.mt-0 .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), rgba(45,143,168,0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonials.pt-5.pb-5.mt-0 .card:hover::before {
  opacity: 1;
}

.testimonials.pt-5.pb-5.mt-0 .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(45,143,168,0.1);
  border-color: rgba(45,143,168,0.15);
}

.testimonials.pt-5.pb-5.mt-0 .card b[style*="text-transform"] {
  color: var(--secondary);
  letter-spacing: 0.12em;
  font-size: 9px !important;
}

.testimonials.pt-5.pb-5.mt-0 .card .content > b:not([style]) {
  font-size: 1.4rem;
  font-family: 'Urbanist';
  color: #0a0f1a;
  font-weight: 700;
}

.testimonials.pt-5.pb-5.mt-0 .card .content > div {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
}

/* Modern footer */
footer {
  background: var(--primary) !important;
  color: rgba(255,255,255,0.6) !important;
  border-top: none !important;
  padding: 20px 30px !important;
}

footer .trust-and-security {
  color: #5bb8d0 !important;
}

@media (max-width: 768px) {
  /* Prevent all x-scrolling */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  main {
    overflow-x: hidden;
  }
  nav {
    width: 94%;
    height: 50px;
    padding: 3px 16px 3px 14px;
    border-radius: 50px;
    top: 10px;
  }
  nav img {
    max-height: 19px;
    width: auto;
  }
  nav .action-buttons > div {
    margin-left: 12px;
    font-size: 9px;
  }
  body {
    padding-top: 80px;
  }
  /* Stats bar */
  .stats-bar {
    border-radius: 16px;
    margin: 40px auto;
    width: 94%;
    flex-wrap: wrap;
  }
  .stats-bar .stat {
    padding: 24px 16px;
    min-width: 50%;
    flex: unset;
    width: 50%;
  }
  .stats-bar .stat .number {
    font-size: 2rem;
  }
  .stats-bar .stat:not(:last-child)::after {
    display: none;
  }
  /* Feature cards */
  .key-features .features {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    padding-inline: 16px;
    margin-bottom: 40px !important;
  }
  .key-features .features .feature {
    padding: 24px;
  }
  .key-features .features .feature img {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Three column section */
  .key-features > .d-flex {
    display: block !important;
    width: 94% !important;
    padding: 16px !important;
    margin-inline: auto !important;
  }
  .key-features .d-flex:has(.features) .features {
    border-right: none;
    padding-inline: 0;
    margin-bottom: 24px;
  }
  /* Testimonials */
  .testimonials .testimonies {
    width: 100% !important;
    max-width: 100%;
    padding: 16px;
    flex-direction: column;
    align-items: center;
  }
  .testimonials .testimonies::before {
    width: 94vw;
    left: 3vw;
  }
  .testimonials .testimonies .testimony {
    min-width: unset !important;
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 20px;
  }
  /* Video testimonials */
  .testimonials .testimonies .row {
    width: 100% !important;
    flex-direction: column;
  }
  .testimony.col-6 {
    width: 100% !important;
  }
  /* Persona cards */
  .persivx-for-everyone .d-flex {
    max-width: 100% !important;
    overflow: visible !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .persivx-for-everyone .card {
    min-width: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 16px !important;
    padding: 20px !important;
    font-size: 14px;
  }
  /* Buttons */
  .actionButtons {
    min-width: unset;
    padding: 14px 24px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    margin-right: 0;
  }
  .actionButtonsContainer {
    flex-direction: column !important;
    align-items: stretch;
    margin-top: 40px;
    padding-inline: 20px;
    gap: 8px;
    max-width: 100%;
  }
  /* Carousel */
  .carousel-container {
    height: 80px;
  }
  .carousel-words span {
    height: 80px;
    font-size: 0.9rem;
    padding-inline: 4px;
  }
  /* Floating images */
  .float {
    display: none !important;
  }
  /* Feature list grid */
  .what-persivx-can-do .feature-list {
    grid-template-columns: 1fr !important;
    column-gap: 0;
    row-gap: 0;
    padding: 16px;
  }
  .what-persivx-can-do .feature-list > div:nth-child(2) {
    display: none;
  }
  .what-persivx-can-do .features {
    padding: 8px !important;
    overflow: visible !important;
    height: auto !important;
    width: 100% !important;
  }
  .what-persivx-can-do .feature-list > div {
    row-gap: 0 !important;
  }
  .what-persivx-can-do .feature-list .feature2 {
    padding: 16px 0 !important;
  }
  .what-persivx-can-do .feature-list .feature2 b {
    font-size: 0.9rem !important;
  }
  .what-persivx-can-do .feature-list .feature2 div {
    font-size: 0.82rem !important;
  }
  /* Section titles */
  .testimonials > .title,
  .what-persivx-can-do > .title {
    font-size: 1.5rem;
    padding: 20px 16px 10px;
  }
  .title-badge {
    font-size: 9px !important;
    padding: 7px 14px;
  }
  /* Engine section */
  .engine-section {
    padding: 50px 16px 40px;
  }
  .engine-grid {
    max-width: 100%;
  }
  .engine-core {
    padding: 24px;
  }
  .engine-core .engine-label {
    font-size: 1.2rem;
  }
  .engine-core .engine-desc {
    font-size: 0.85rem;
  }
  .engine-ring {
    grid-template-columns: 1fr;
  }
  .engine-card {
    padding: 20px;
  }
  /* Leadership */
  .leadership-section {
    padding: 40px 16px;
  }
  .leadership-cards {
    flex-direction: column;
    align-items: stretch;
  }
  .leadership-cards .leader {
    max-width: 100%;
  }
  /* CTA */
  .enterprise-cta {
    padding: 50px 16px;
  }
  .enterprise-cta .title {
    font-size: 1.7rem;
    letter-spacing: -0.02em;
  }
  .enterprise-cta .subtitle {
    font-size: 0.9rem;
  }
  .enterprise-cta .actionButtons {
    width: 90%;
    margin: 4px auto;
    display: block;
  }
  /* Governance section */
  .persivx-for-everyone.governance .d-flex {
    display: block !important;
  }
  .persivx-for-everyone .card.governance {
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
  }
  .persivx-for-everyone .card.governance img {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Use cases tabs */
  .use-cases .d-flex {
    flex-direction: column;
  }
  .use-cases .col-5 {
    display: none !important;
  }
  .use-cases .accordion {
    width: 100% !important;
  }
  /* Marquee */
  .marquee-wrapper {
    width: 100% !important;
    margin-top: 30px !important;
  }
  /* Contact form */
  .contact-us {
    padding: 20px 16px !important;
  }
  .contact-us img {
    max-height: 100px;
    max-width: 100px;
  }
  .contact-us .form {
    padding: 20px;
  }
  /* Checkmarks row */
  .main-container .d-block.d-lg-flex {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100% !important;
    padding-inline: 16px;
  }
  .main-container .d-block.d-lg-flex > div {
    font-size: 0.8rem;
  }
  .col-12.mt-0[style*="height: 600px"] {
    height: auto !important;
    max-height: 350px !important;
    overflow: hidden;
  }
  body .main-container div.image {
    transform: none !important;
  }
  body .main-container div.image::after {
    height: 25vmin;
    transform: translate(-50%, -50%) scale(0.9);
  }
  body .main-container div.image::before {
    height: 25vmin;
    transform: translate(-50%, -50%) scale(0.95);
  }
  /* Footer */
  footer {
    padding: 16px !important;
    font-size: 11px;
  }
}


/* ===== FORBES 500 GRADE ENHANCEMENTS ===== */

/* Ambient glow behind hero */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(45, 143, 168, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Premium h1 - no gradient, pure black for authority */
body .main-container h1.title {
  color: #0a0f1a;
  -webkit-text-fill-color: #0a0f1a;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 4rem;
  line-height: 1.15;
}

body .main-container h2.title {
  color: #444;
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.7;
  max-width: 680px;
  margin-inline: auto;
}

/* Refined carousel storytelling */
.carousel-container {
  margin-inline: auto;
  max-width: 700px;
  padding-inline: 24px;
  position: relative;
}

.carousel-container::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 0;
  font-size: 3rem;
  color: rgba(45, 143, 168, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Premium feature cards with left accent */
.key-features .features .feature {
  position: relative;
  overflow: hidden;
}

.key-features .features .feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary), transparent);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.key-features .features .feature:hover::before {
  opacity: 1;
}

/* Persona cards - premium quote styling */
.persivx-for-everyone .card b {
  color: var(--primary);
  font-size: 1.05em;
}

.persivx-for-everyone .card .content {
  color: #444;
}

/* Engine section - more breathing room */
.engine-section {
  padding: 120px 5% 100px;
}

.engine-core {
  padding: 48px;
  margin-bottom: 32px;
}

.engine-core .engine-label {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.engine-core .engine-desc {
  font-size: 0.95rem;
  max-width: 600px;
  margin-inline: auto;
  color: rgba(255,255,255,0.65);
}

.engine-ring {
  gap: 20px;
  margin-top: 32px;
}

.engine-card {
  padding: 28px;
}

.engine-card .engine-label {
  font-size: 1.1rem;
}

/* Hub-and-spoke cue: a faint stem drops from the core into the grid below,
   and the core icon carries a slow ambient pulse - reinforcing "one core,
   everything else built around it" without forcing the 6 cards into a
   literal (and responsive-unfriendly) circle. */
.engine-core {
  position: relative;
}

.engine-core::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -32px;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(45,143,168,0.5), transparent);
  transform: translateX(-50%);
}

.engine-core .engine-icon {
  position: relative;
  display: inline-block;
}

.engine-core .engine-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(45,143,168,0.25);
  animation: enginePulse 2.8s ease-in-out infinite;
  z-index: -1;
}

@keyframes enginePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.55; }
  50% { transform: translate(-50%, -50%) scale(1.25); opacity: 0.12; }
}

.engine-card .engine-desc {
  font-size: 0.88rem;
  line-height: 1.65;
}

/* CTA section - dramatic */
.enterprise-cta {
  padding: 120px 20px;
}

.enterprise-cta .title {
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Testimonials - cleaner cards */
.testimonials .testimonies .testimony {
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
  border-radius: 16px;
}

.testimonials .testimonies .testimony:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Title badge - refined */
.title-badge {
  background: rgba(45, 143, 168, 0.06);
  border-color: rgba(45, 143, 168, 0.2);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 10px !important;
  letter-spacing: 0.15em;
}

/* What-persivx-can-do feature list - better spacing */
.what-persivx-can-do .feature-list .feature2 {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.what-persivx-can-do .feature-list .feature2:last-child {
  border-bottom: none;
}

.what-persivx-can-do .feature-list .feature2 b {
  font-size: 1rem;
  color: var(--primary);
}

.what-persivx-can-do .feature-list .feature2 div {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* Three-column section - premium cards */
.key-features .d-flex:has(.features) .features {
  padding-inline: 40px;
  padding-block: 32px;
}

.key-features .d-flex:has(.features) .features .title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.key-features .d-flex:has(.features) .features .content li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #555;
}

/* Pointer bubble - refined */
.pointer-bubble {
  height: 26px;
  width: 26px;
  font-size: 0.7rem;
  border: 1px solid rgba(45, 143, 168, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f0f8fa 100%);
}

/* Action buttons - more premium */
.actionButtons {
  border-radius: 10px;
  padding: 14px 24px;
  min-width: 200px;
}

.actionButtons.secondary {
  border: 1px solid rgba(0,0,0,0.12);
}

/* Nav - handled in main block */

/* Governance section cards */
/* Data Governance Section */
.testimonials.persivx-for-everyone.governance {
  background: linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
  padding: 80px 5% 60px;
}

.testimonials.persivx-for-everyone.governance > .title:first-of-type {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Use cases section - refined pills */
.nav-link {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  padding: 10px 22px !important;
  border-radius: 24px !important;
}

/* Leadership cards - premium */
.leadership-cards .leader {
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}

/* Marquee - cleaner */
.marquee-wrapper {
  margin-top: 60px !important;
}

/* Accordion - refined */
.accordion-button {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Contact form - premium */
.contact-us .form {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
  padding: 32px;
}

.contact-us button {
  border-radius: 10px;
  font-size: 0.9rem;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Intersection observer fade-in - applied via JS or scroll */
.key-features,
.testimonials,
.what-persivx-can-do,
.engine-section,
.enterprise-cta,
.leadership-section {
  opacity: 1;
}

/* Selection color */
::selection {
  background: rgba(45, 143, 168, 0.15);
  color: var(--primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(45, 143, 168, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 143, 168, 0.5);
}


@media (max-width: 480px) {
  body .main-container .title {
    font-size: 2rem !important;
  }
  body .main-container h2.title {
    font-size: 0.95rem;
    max-width: 95%;
  }
  nav {
    width: 96%;
    height: 48px;
    padding: 2px 12px 2px 10px;
  }
  nav img {
    max-height: 17px;
    width: auto;
  }
  nav .action-buttons > div {
    margin-left: 8px;
    font-size: 8px;
  }
  body {
    padding-top: 72px;
  }
  .stats-bar .stat {
    width: 50%;
    padding: 20px 12px;
  }
  .stats-bar .stat .number {
    font-size: 1.6rem;
  }
  .stats-bar .stat .label {
    font-size: 0.72rem;
  }
  .enterprise-cta .title {
    font-size: 1.5rem;
  }
  .carousel-words span {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .testimonials > .title,
  .what-persivx-can-do > .title {
    font-size: 1.35rem;
  }
}

/* ============================================================
   DARK THEME - site-wide override layer
   Appended after the legacy light-mode rules above so it always
   wins the cascade. nav / footer / stats-bar / engine-section /
   enterprise-cta are left alone - they were already dark.
   ============================================================ */

:root {
  --bg: #0d1017;
  --bg-elevated: #171c29;
  --bg-elevated-2: #212739;
  --border-soft: rgba(255,255,255,0.09);
  --border-soft-hover: rgba(255,255,255,0.18);
  --text-heading: #f3f6fa;
  --text-body: #aab4c6;
  --text-muted: #7a8496;
}

html, body {
  background-color: var(--bg) !important;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(45, 143, 168, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(45, 143, 168, 0.10) 0%, transparent 55%) !important;
}

body {
  color: var(--text-body);
}

body::before {
  background: radial-gradient(ellipse at center, rgba(45, 143, 168, 0.14) 0%, transparent 70%) !important;
}

/* Headings */
body .main-container .title,
body .main-container h1.title,
body .main-container h2.title,
.testimonials > .title,
.what-persivx-can-do > .title,
.title {
  color: var(--text-heading) !important;
  -webkit-text-fill-color: var(--text-heading) !important;
}

body .main-container h2.title {
  color: var(--text-body) !important;
  -webkit-text-fill-color: var(--text-body) !important;
}

.title-badge {
  background: rgba(45, 143, 168, 0.14) !important;
  border-color: rgba(45, 143, 168, 0.32) !important;
}

.newtag {
  background: rgba(45, 143, 168, 0.1) !important;
  border-color: rgba(45, 143, 168, 0.3) !important;
}

/* Generic light surfaces -> dark elevated surfaces */
.testimonials .testimonies .testimony,
.testimonials .card,
.persivx-for-everyone .card,
.key-features .features,
.key-features .features .feature,
.leadership-cards .leader,
.what-persivx-can-do .features,
.engine-section .testimonials,
.uMainModal, .uMainModal_Body, .uMainModal_Footer,
.harbour-loader {
  background: transparent;
  border-color: var(--border-soft) !important;
  color: var(--text-body);
}

.leadership-cards .leader {
  background: linear-gradient(180deg, var(--bg-elevated-2) 0%, var(--bg-elevated) 100%) !important;
}

.testimonials .testimonies .testimony {
  background: linear-gradient(180deg, var(--bg-elevated-2) 0%, var(--bg-elevated) 100%) !important;
  position: relative;
  overflow: hidden;
}

.testimonials .testimonies .testimony::before {
  content: '\201C';
  position: absolute;
  top: -18px;
  right: 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 6rem;
  font-weight: 700;
  color: var(--secondary);
  opacity: 0.14;
  line-height: 1;
  pointer-events: none;
}

.testimonies::before {
  background-color: var(--bg-elevated-2) !important;
}

/* Core Strategic Capabilities cards - dark mode */
.testimonials.pt-5.pb-5.mt-0 .card {
  background: var(--bg-elevated);
  border-color: var(--border-soft) !important;
}

.testimonials.pt-5.pb-5.mt-0 .card .content {
  color: var(--text-body);
}

.testimonials.pt-5.pb-5.mt-0 .card .content > b:not([style]) {
  color: var(--text-heading);
}

.testimonials.pt-5.pb-5.mt-0 .card .content > div {
  color: var(--text-body);
}

/* Client-quotes testimonials deck - dark mode: the rotated "peek-through"
   backdrop card was a light-theme paper-stack effect; it just reads as a
   cutout on a flat dark page, so drop it and let the wrapper blend in. */
.testimonials.pt-5.pb-5.mt-5[style*="background: white"] {
  background: transparent !important;
}

.testimonials.pt-5.pb-5.mt-5 .testimonies::before {
  display: none;
}

/* The base .testimony width (70vw, sized for a horizontal-scroll carousel)
   makes 3 cards overflow their row and get clipped by overflow:hidden.
   Let them share the row instead, same fix as .no-backdrop uses on the homepage. */
.testimonials.pt-5.pb-5.mt-5 .testimonies .testimony {
  width: auto;
  min-width: 0;
  flex: 1 1 0;
}

/* flex-basis: 0 above is harmless in row layout (only affects width), but
   the 768px breakpoint flips .testimonies to flex-direction: column, where
   flex-basis governs height instead - collapsing every card to near-zero
   height and clipping its content. Reset it so cards size to content. */
@media (max-width: 768px) {
  .testimonials.pt-5.pb-5.mt-5 .testimonies .testimony {
    flex: none;
  }
  .testimonials.pt-5.pb-5.mt-5 .testimonies .testimony .testimony-by .written-testimony {
    height: auto;
  }
}

/* Data Governance section - reuses .pf-row (image beside text, no card
   chrome). The two capability lists sit as plain grouped lists separated
   by a hairline, instead of boxed cards. */
.pf-gov .pf-visual {
  cursor: pointer;
}

.pf-gov-group + .pf-gov-group {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.pf-gov-group ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.pf-gov-group li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 10px;
}

.pf-gov-group li:last-child {
  margin-bottom: 0;
}

.pf-gov-group li b {
  color: var(--text-heading);
}

/* Video testimonials - plain framed video + caption, no decorative
   peek-through backdrop card (that pattern only ever worked on a light
   page; the .no-backdrop opt-out for it was homepage-only, so this
   section never picked it up and kept the awkward light card floating
   behind the videos on dark). */
.pf-videos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 5%;
}

.pf-video-card {
  flex: 1;
  min-width: 320px;
  max-width: 440px;
}

.pf-video-card video {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pf-video-card:hover video {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.45);
}

.pf-video-caption {
  margin-top: 16px;
  text-align: center;
}

.pf-video-caption .name {
  font-family: 'Urbanist';
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-heading);
}

.pf-video-caption .role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonials .testimonies .testimony .testimony-by .name,
.leadership-cards .leader .name,
.what-persivx-can-do .feature-list .feature2 b,
.features .content ul b {
  color: var(--text-heading) !important;
}

.testimonials .testimonies .testimony .testimony-by .written-testimony,
.leadership-cards .leader .bio,
.what-persivx-can-do .feature-list .feature2 div,
.features .content,
.key-features .features .content,
.persivx-for-everyone .card .content {
  color: var(--text-body) !important;
}

/* These kept their original light-mode hardcoded colors (#555/#666/#333/#000)
   because they're more specific than the generic dark-theme rules above, so
   they were winning the cascade and rendering near-invisible dark-on-dark text. */
.key-features .d-flex:has(.features) .features .content li,
.what-persivx-can-do .features .content ul {
  color: var(--text-body) !important;
}

.harbour-loader .title {
  color: var(--text-heading) !important;
}

.harbour-loader .msg {
  color: var(--text-body) !important;
}

/* Value-grid / stat cards using inline light backgrounds */
[style*="background: #f8fafb"],
[style*="background:#f8fafb"],
[style*="background: #F8F7F0"],
[style*="background:#F8F7F0"] {
  background: var(--bg-elevated) !important;
  border-color: var(--border-soft) !important;
}

/* Bootstrap accordion (industry use-cases tabs) */
.accordion-button {
  background-color: var(--bg-elevated) !important;
  color: var(--text-heading) !important;
  border-color: var(--border-soft) !important;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}
.accordion-button:not(.collapsed) {
  color: var(--secondary) !important;
  background-color: var(--bg-elevated-2) !important;
  padding-left: 26px;
}
.accordion-button:not(.collapsed)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary);
}
.accordion-button::after {
  filter: invert(1) brightness(1.6);
  transition: transform 0.3s ease;
}
.accordion-body {
  background: var(--bg-elevated) !important;
  color: var(--text-body) !important;
}
.accordion-item {
  background: var(--bg-elevated) !important;
  border-color: var(--border-soft) !important;
  overflow: hidden;
}
.accordion-collapse {
  transition: height 0.3s ease;
}

/* Bootstrap nav-pills (industry tabs) */
.nav-link {
  color: var(--text-body) !important;
  border-color: var(--border-soft) !important;
  background: transparent !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav-link:hover {
  color: var(--secondary) !important;
  border-color: rgba(45,143,168,0.4) !important;
}
.nav-link.active {
  background: var(--secondary) !important;
  color: white !important;
  border-color: var(--secondary) !important;
  box-shadow: 0 6px 18px rgba(45,143,168,0.3);
}

/* Muted inline grays used throughout -> lighter muted tone on dark */
[style*="color: #666"], [style*="color:#666"],
[style*="color: #555"], [style*="color:#555"],
[style*="color: #444"], [style*="color:#444"],
[style*="color: #333"], [style*="color:#333"],
[style*="color: #888"], [style*="color:#888"] {
  color: var(--text-body) !important;
}

[style*="color: #0a0f1a"], [style*="color:#0a0f1a"] {
  color: var(--text-heading) !important;
}

hr, [style*="border-top: 1px solid #eee"], [style*="border-top: 1px solid #ddd"] {
  border-color: var(--border-soft) !important;
}

/* Section wrappers still on light backgrounds */
.key-features,
.main-container .key-features div:has(> img),
.main-container .main-container .key-features img,
.what-persivx-can-do,
.what-persivx-can-do .features .feature,
.leadership-section,
.use-cases .accordion li,
.engine-section .testimonials {
  background: transparent !important;
}

.what-persivx-can-do .features .feature,
.key-features .features .feature {
  background: var(--bg-elevated) !important;
}

.use-cases .accordion li {
  color: var(--text-body) !important;
}

.what-persivx-can-do .feature-list .feature2 {
  border-bottom-color: var(--border-soft) !important;
}

/* Governance section decorative image frame + gradient backgrounds used inline */
[style*="background: linear-gradient(#ffffff"],
[style*="background: linear-gradient(180deg, #ffffff"] {
  background: linear-gradient(180deg, var(--bg-elevated-2) 0%, var(--bg-elevated) 100%) !important;
}

.what-persivx-can-do div[style*="background-color: #d4e0ed"] {
  background-color: var(--bg-elevated-2) !important;
}

/* Customer logo marquee: keep logos legible with a light plate */
.marquee img {
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  box-sizing: border-box;
}

/* Broad catch-all: bare inline white section/card backgrounds -> dark elevated */
[style*="background: white"], [style*="background:white"],
[style*="background-color: white"], [style*="background-color:white"] {
  background: var(--bg-elevated) !important;
}

/* Exception: buttons intentionally pair a white pill with dark text for contrast */
button[style*="background: white"], .actionButtons[style*="background: white"],
button[style*="background:white"], .actionButtons[style*="background:white"] {
  background: white !important;
}
[style*="border: 1px solid #eee"], [style*="border:1px solid #eee"] {
  border-color: var(--border-soft) !important;
}

.persivx-for-everyone .card b {
  color: var(--text-heading) !important;
}

::selection {
  color: var(--text-heading);
}

svg[style*="--color-brand"], svg[color*="--color-brand"] { color: var(--secondary) !important; }
svg[style*="--color-success"], svg[color*="--color-success"] { color: #4caf7d !important; }
svg[style*="--color-warn"], svg[color*="--color-warn"] { color: #e0a94c !important; }

.testimonials.persivx-for-everyone.governance {
  background: transparent !important;
}

/* Contact form */
.contact-us .form {
  background-color: var(--bg-elevated) !important;
  border-color: var(--border-soft) !important;
}
.contact-us .subtitle {
  color: var(--text-body) !important;
}
.form-label {
  color: var(--text-heading) !important;
}
.form-control {
  background-color: var(--bg-elevated-2) !important;
  border-color: var(--border-soft) !important;
  color: var(--text-heading) !important;
}
.form-control::placeholder {
  color: var(--text-muted) !important;
}
.form-text {
  color: var(--text-muted) !important;
}

/* Orphaned /features draft page */
.main-container.contact-us.features .feature {
  background-image: linear-gradient(45deg, var(--bg-elevated-2), var(--bg-elevated), var(--bg-elevated-2)) !important;
}
body .main-container.features::before {
  background-color: var(--bg-elevated-2) !important;
}
body .main-container.features .title,
body .main-container.features .sub-title {
  color: var(--text-heading) !important;
}

/* ============================================================
   Nav redesign - dark glass bar with a light logo chip
   ============================================================ */
nav {
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(10, 13, 19, 0.78) !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
  color: var(--text-heading) !important;
  animation: navFadeIn 0.5s ease-out forwards;
}

@keyframes navFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

nav > div:first-child {
  background: transparent;
  border-radius: 0;
  padding: 0;
  height: auto;
}

nav img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.92;
}

nav .action-buttons > div {
  color: var(--text-body);
  transition: color 0.2s ease;
  line-height: 150%;
}

nav .action-buttons > div:hover {
  color: var(--secondary);
}

nav .action-buttons .nav-dropdown .nav-dropdown-menu {
  background: rgba(23, 28, 41, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--border-soft) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.45) !important;
}

nav .action-buttons .nav-dropdown-menu a {
  color: var(--text-heading) !important;
}

nav .action-buttons .nav-dropdown-menu a:hover {
  background: var(--bg-elevated-2) !important;
  color: var(--secondary) !important;
}

nav .action-buttons .nav-dropdown-menu a small {
  color: var(--text-muted) !important;
}

/* ============================================================
   Sitewide scroll reveal - cards/sections fade + slide in on scroll.
   JS (in js/index.js) observes `.reveal` and adds `.in-view`.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.48s; }

/* Per-section reveal variants - each section gets its own motion instead
   of the same fade-up everywhere. All driven by the same .reveal/.in-view
   toggle in js/index.js; only the CSS differs. */

/* Slide in from the left - paired with .reveal-right on rows whose image
   sits on the opposite side, so text and image visibly converge. */
.reveal-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Pop in with a slight overshoot - used for compact cards/tiles. */
.reveal-scale {
  opacity: 0;
  transform: scale(0.68);
  transition: opacity 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}
.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Focus in from a blur - used for quoted/editorial content. Blur is kept
   modest (not the old 18px) since filter is the most expensive property
   here to repaint - large blur radii were the main source of jank when
   several of these toggled at once during a fast scroll. */
.reveal-blur {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out, filter 0.7s ease-out;
  will-change: opacity, transform, filter;
}
.reveal-blur.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
