:root {
  --primary-red: #88151b;
  --primary-red-hover: #a01920;
  --primary-red-light: rgba(136, 21, 27, 0.1);
  --dark-bg: #212529;
  --dark-bg-light: #2c3136;
  --card-bg: #ffffff;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --text-light: #adb5bd;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/noto-sans/noto-sans-latin-standard-normal.woff2") format("woff2");
}

@font-face {
  font-family: InterVariable;
  font-style: italic;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/noto-sans/noto-sans-latin-standard-italic.woff2") format("woff2");
}

body {
  background-color: var(--dark-bg);
  color: var(--text-dark);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  font-family: "Noto-Sans", sans-serif;
  line-height: 1.6;
  padding-top: 80px;
}

/* Navbar */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* spacing between logo and text */
}

.custom-logo {
  display: block;
  /* removes baseline alignment issues */
}

.brand-highlight {
  line-height: 1;
}

.navbar-custom {
  background-color: var(--dark-bg);
  padding: 1rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.navbar-custom .navbar-brand {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.navbar-custom .navbar-brand:hover {
  color: var(--primary-red);
}

.navbar-custom .navbar-brand .brand-highlight {
  color: var(--primary-red);
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-custom .nav-link:hover {
  color: white;
}

.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after {
  width: 60%;
}

.navbar-custom .nav-link.active {
  color: white;
}

.navbar-custom .nav-link.active::after {
  width: 60%;
}

.navbar-custom .dropdown-toggle::after {
  border-top: 0.25em solid #88151b;
  /* same size as Bootstrap default */
  border-right: 0.25em solid transparent;
  border-left: 0.25em solid transparent;
}

.navbar-custom .dropdown-toggle::after {
  border-top-width: 0.1em;
}

.navbar-custom .btn-nav-cta {
  background-color: var(--primary-red);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  transition: background-color 0.3s ease;
}

.navbar-custom .btn-nav-cta:hover {
  background-color: var(--primary-red-hover);
}

.navbar-custom .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom .navbar-nav>.nav-item>.nav-link,
.navbar-custom .navbar-nav>.nav-item>.nav-link:hover,
.navbar-custom .navbar-nav>.nav-item>.nav-link:focus {
  text-decoration: none;
}


/* Hero Section */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1d23 0%, var(--dark-bg) 100%);
}

/* Hero Section */
.hero-section-minor {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1d23 0%, var(--dark-bg) 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: black;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: black;
  margin-bottom: 2rem;
}

.hero-content::before {
  content: "";
  position: absolute;

  left: -800px;
  right: -800px;
  top: -100vh;
  bottom: -100vh;

  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0.15) 15%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0.15) 80%,
      rgba(255, 255, 255, 0) 80%);

  z-index: -1;
}

/* Buttons */
.btn-primary-custom:hover {
  background-color: var(--primary-red-hover);
  color: white;
}

.btn-primary,
.btn-primary:disabled {
  background-color: var(--primary-red-hover);
  border-color: var(--primary-red-hover);
}


.btn-primary-custom {
  background-color: var(--primary-red);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-red-hover);
  color: white;
}

.btn-primary:hover {
  background-color: #ffffff;
  /* Replace "your-desired-hover-color" with the hover color you want */
  border-color: #ffffff;
  /* Set border color to match the background color */
  color: #212529;
  /* Add any additional styles for hover state as needed */
}

.btn-primary,
.btn-primary:disabled {
  background-color: var(--primary-red-hover);
  border-color: var(--primary-red-hover);
}

.btn-outline-custom {
  border: 2px solid black;
  color: black;
  background: transparent;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: white;
  color: var(--dark-bg);
  border-color: white;
}

.btn-outline-dark-custom {
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  background: transparent;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-outline-dark-custom:hover {
  background-color: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
}

/* Feature Cards - Top Section with Images */
.feature-card {
  background-color: var(--card-bg);
  border: none;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card-auto {
  height: auto;
}

.gallery-card {
  background-color: var(--card-bg);
  border: none;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  /* box-shadow 0.3s ease; */
  /* transition: transform 0.3s ease, */
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(136, 21, 27, 0.3);
}

.feature-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-card-image {
  width: 100%;
  object-fit: cover;
}

.feature-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.feature-tagline {
  min-height: 3rem;
  /* about two lines */
}

.feature-description {
  min-height: 7rem;
  /* about four lines */
}

.feature-icon {
  color: var(--primary-red);
  font-size: 2.5rem;
  background-color: var(--primary-red-light);
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.feature-icon-minimal {

  width: 44px;
  height: 44px;

  background: rgba(136, 21, 27, .07);

  color: var(--primary-red);

  border-radius: 10px;

  font-size: 1.3rem;

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

  flex-shrink: 0;
}

.hr-icon {
  height: 2px;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  opacity: 1;
  background-color: var(--primary-red);
}



.accordion {
  --bs-accordion-border-color: var(--primary-red);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0rem;
  margin-top: 1rem;
  color: var(--text-dark);
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 1rem;
  color: var(--text-dark);
}

.product-subtitle {
  font-weight: 700;
}

.product-icon {
  color: var(--primary-red);
  font-size: 2.5rem;
  background-color: var(--primary-red-light);
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}


.service-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  margin-bottom: 0rem;
  color: var(--text-dark);
}

.service-card-title {
  font-size: 1.5rem;
  display: flex;
  gap: 0.75rem;
  min-height: 4rem;
  margin-bottom: 0rem;
  color: var(--text-dark);
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a31a22;
  /* slightly lighter red */
  text-decoration: underline;
}


.accordion-service .accordion-item {
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-button:not(.collapsed) {
  background-color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-red-light);
}

.workflow-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.workflow-icon {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.workflow-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}


.feature-list {
  columns: 2;
  column-gap: 2rem;
}

.feature-list li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

@media (max-width: 767.98px) {
  .feature-list {
    columns: 1;
  }
}

/* Modified stats rules (from LISPRO3D) */
.stats-section {
  background: #fff;
  border: 1px solid rgba(136, 21, 27, 0.18);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  padding: 1.75rem 2rem;
}

.stat-item {
  color: var(--primary-red);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: .5rem;
}

.stat-number {
  color: var(--primary-red);
  font-size: 1.75rem;
  font-weight: 700;
}

.stat-label {
  color: #212529;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
  }

  .processing-section {
    padding: 2rem 1.5rem;
  }
}

#bundle {
  background: url('../images/lispro3d/header-bg.jpg') center center/cover no-repeat;
  margin: 0 auto;
  /* Center the section horizontally */
}



.bg-light {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.bg-white {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}


.header-bg {
  background-color: black;
  padding: 15px;
  border-radius: 5px;
}


.sw-wrapper {
  aspect-ratio: 992 / 820;
  width: 100%;
  overflow: hidden;
}

.sw-wrapper img {
  width: 100%;
  object-fit: cover;
}


.project-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.project-strip-label {
  font-weight: 700;
  color: #212529;
  margin-right: .25rem;
}

.project-strip-label i {
  color: var(--primary-red);
  margin-right: .35rem;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .65rem;
  border: 1px solid rgba(136, 21, 27, .25);
  border-radius: 999px;
  background: rgba(136, 21, 27, .06);
  color: #212529;
  font-size: .9rem;
  font-weight: 500;
}


.reference-item {
  padding: .9rem 0;
}

.reference-item:first-child {
  border-top: none;
}

.reference-customer {
  font-weight: 600;
  color: #212529;
}

.reference-project {
  color: #6c757d;
  margin-left: 1rem;
}

.image-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-ticker {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 0.75rem 0;
}

.reference-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  animation: ticker 25s linear infinite;
}

.reference-track.industry {
  animation-duration: 30s;
}

.reference-track.public {
  animation-duration: 30s;
}

.reference-track.research {
  animation-duration: 45s;
}

.reference-track span {
  color: black;
  font-weight: 500;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}