: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;
}

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

/* Navbar */
.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");
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  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: 1;
  max-width: 1200px;
  padding: 2rem;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  /* color: #ced4da; */
  color: white;
  margin-bottom: 2rem;
}

/* 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 white;
  color: white;
  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: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;
}

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

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

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

.feature-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.feature-highlight {
  color: var(--primary-red);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

/* Workflow Cards - Bottom Section with Schematics */
.workflow-card {
  background-color: var(--card-bg);
  border: 2px solid var(--dark-bg-light);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.workflow-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 8px 32px rgba(136, 21, 27, 0.3);
  transform: translateY(-4px);
}

.workflow-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-red);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(136, 21, 27, 0.3);
}

.workflow-icon {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  padding: 1rem;
}

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

.workflow-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Processing Section */
.processing-section {
  background: linear-gradient(135deg,
      #1a1d23 0%,
      var(--dark-bg-light) 100%);
  border-radius: 16px;
  padding: 3rem;
  margin: 4rem 0;
  color: white;
  border: 2px solid var(--dark-bg-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.feature-list {
  padding: 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  /* letter-spacing: 0.7px; */
  /* text-transform: uppercase; */
  /* display: flex; */
  text-align: center;
  color: #e9ecef;
}

.processing-list {
  list-style: none;
  padding: 0;
}

.processing-list li {
  padding: 0.75rem 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  color: #e9ecef;
}

.processing-list li::before {
  content: "✓";
  color: var(--primary-red);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.5rem;
  background-color: rgba(136, 21, 27, 0.15);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.processing-illustration {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1d23 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-red);
  box-shadow: 0 4px 16px rgba(136, 21, 27, 0.3);
}

.processing-illustration i {
  font-size: 6rem;
  color: var(--primary-red);
  opacity: 0.6;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: white;
  border-radius: 16px;
  margin: 4rem 0;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

.cta-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 2.5rem;
}

/* Section Titles */
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-light {
  color: white;
}

.section-subtitle-light {
  color: var(--text-light);
}

/* Stats Section */
.stats-section {
  /* background: linear-gradient(135deg,
      var(--primary-red) 0%,
      #6b1116 100%); */
  background-color: rgba(136, 21, 27);
  padding: 4rem 0;
  margin: 4rem 0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(136, 21, 27, 0.4);
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* 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;
  }
}

hr {
  height: 4px;
  opacity: 1;
  background-color: var(--primary-red);
}

/* For lis tools hexagons */

#bundle {
  background: url('../images/lispro3d/header-bg.jpg') center center/cover no-repeat;
  /*max-width: 900px; Set the maximum width for the entire section */
  margin: 0 auto;
  /* Center the section horizontally */
}

.column-to-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;


  width: 20%;
  /* Adjust the width as needed */
  margin: 0 auto;
  /* Center the column horizontally */
  min-width: 120px;
  /* Set the minimum width as needed */
  max-width: 150px;
  /* Set the minimum width as needed */
}

.svg-container {
  position: relative;
  padding: 30px 30px;
  /* Adjust the padding as needed */
  display: inline-block;

  width: 100px;
  /* Adjust the width as needed */
  height: 100px;
  /* Adjust the height as needed */

}

.svg-container img,
.svg-container .hover-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.svg-container .hover-svg {
  opacity: 0;
}

.svg-container:hover .hover-svg {
  opacity: 1;
}

.svg-container:hover img {
  transform: scale(1.1);
  opacity: 0;
}

.hover-text {
  position: absolute;
  top: 50%;
  /* Adjust as needed */
  left: 50%;
  transform: translate(-50%, -220%);
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
  /* Hide text completely */
}

.hover-text-below {
  position: absolute;
  top: 50%;
  /* Adjust as needed */
  left: 50%;
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
  /* Hide text completely */
}


.custom-text {
  position: absolute;
  top: 50%;
  /* Adjust as needed */
  left: 50%;
  transform: translate(-50%, 140%);
  opacity: 1;
  transition: opacity 0.3s ease;
  visibility: visible;
  /* Ensure text is visible by default */
  color: #d9d9d9;
}

.custom-text-above {
  position: absolute;
  top: 50%;
  /* Adjust as needed */
  left: 50%;
  transform: translate(-50%, -220%);
  opacity: 1;
  transition: opacity 0.3s ease;
  visibility: visible;
  /* Ensure text is visible by default */
  color: #d9d9d9;
}

.svg-container:hover .hover-svg,
.svg-container:hover .hover-text,
.svg-container:hover .hover-text-below {
  opacity: 1;
  visibility: visible;
  /* Ensure text is visible when hovered */
}

.svg-container:hover .custom-text {
  opacity: 0;
  visibility: hidden;
  /* Hide custom text when hovered */
}

.svg-container:hover .custom-text-above {
  opacity: 0;
  visibility: hidden;
  /* Hide custom text when hovered */
}


.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;
}

.img-comp-container {
  position: relative;
  height: 458px;
  /* should be the same height as the images */
}



.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}

.img-comp-img img {
  display: block;
  /* vertical-align: middle; */
}

.img-comp-slider {
  position: absolute;
  z-index: 2;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 20px;
  height: 20px;
  background-color: #88151b;
  opacity: 1;
  border-radius: 50%;
}

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

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

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