/* LUCIDWebsite theme (Executive Dark) */

:root {
  --bs-primary: #E19B7D;
  --bs-primary-hover: #ECC8B6;
  --bs-body-bg: #141721;
  --bs-body-color: #F4F6F8;
  --bs-secondary: #A0AEC0;
  --bs-border-color: #2D3748;
  --surface: #1E1E2C;
  --surface-rgb: 30, 30, 44;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.lucid-page-bg {
  background-image: url('/img/Shared/Background.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
}

a {
  color: var(--bs-primary);
}

a:hover {
  color: var(--bs-primary-hover);
}

.bg-surface {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--surface-rgb), var(--bs-bg-opacity)) !important;
}

.bg-opacity-50 {
  --bs-bg-opacity: 0.5;
}

.text-muted,
.text-body-secondary {
  color: var(--bs-secondary) !important;
}

.border,
.border-top,
.border-bottom,
.border-start,
.border-end {
  border-color: var(--bs-border-color) !important;
}

.card {
  --bs-bg-opacity: 0.5;
  background-color: rgba(var(--surface-rgb), var(--bs-bg-opacity)) !important;
  border: 0;
}

.lucid-service-card-title {
  color: var(--bs-primary);
}

.list-group {
  --bs-list-group-bg: var(--surface);
  --bs-list-group-color: var(--bs-body-color);
  --bs-list-group-border-color: var(--bs-border-color);
  --bs-list-group-action-hover-bg: var(--surface);
}

.list-group-item {
  background-color: var(--surface);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

.btn-primary {
  --bs-btn-color: var(--bs-body-bg);
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-body-bg);
  --bs-btn-hover-bg: var(--bs-primary-hover);
  --bs-btn-hover-border-color: var(--bs-primary-hover);
  --bs-btn-active-color: var(--bs-body-bg);
  --bs-btn-active-bg: var(--bs-primary-hover);
  --bs-btn-active-border-color: var(--bs-primary-hover);
  --bs-btn-disabled-color: var(--bs-body-bg);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem var(--bs-body-bg), 0 0 0 0.25rem var(--bs-primary);
}

.form-control,
.form-select,
.form-check-input {
  background-color: var(--surface);
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
}

.form-control::placeholder {
  color: var(--bs-secondary);
}

.form-control:focus,
.form-select:focus {
  background-color: var(--surface);
  border-color: var(--bs-primary);
  color: var(--bs-body-color);
}

.lucid-navbar {
  border-bottom: 1px solid var(--bs-border-color);
}

.lucid-navbar .nav-link {
  color: var(--bs-body-color);
}

.lucid-navbar .nav-link:hover {
  color: var(--bs-primary-hover);
}

.lucid-navbar .nav-link.active {
  color: var(--bs-primary) !important;
}

.lucid-hero {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Home hero: interactive network canvas */
.lucid-hero-network {
  position: absolute;
  /* Extend the simulation area beyond the visible hero so dots can drift in from “outside”. */
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  pointer-events: none;
  z-index: 1;
  display: block;
}

/* Keep hero content above the animation */
.lucid-hero > .container {
  position: relative;
  z-index: 2;
}

.lucid-section {
  padding: 4rem 0;
}

/* Legacy-style tiles (used on Our Solutions: LUCID Approach) */
.lucidapproach {
  --bs-bg-opacity: 0.5;
  background-color: rgba(var(--surface-rgb), var(--bs-bg-opacity)) !important;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  min-height: 150px;
}

.approachtitle {
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: .5rem;
}

.lucidparagraph {
  color: var(--bs-secondary);
  margin: 0;
}

.lucid-footer {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Clients page: animated logo rows ("We also work with") */
.lucid-marquee {
  /* Used by JS to animate without resets */
  --marquee-speed: 60; /* px/sec */
  --marquee-speed-hover: 18; /* px/sec */
}

.lucid-marquee-row {
  overflow: hidden;
}

.lucid-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

.lucid-marquee-row--ltr .lucid-marquee-track,
.lucid-marquee-row--rtl .lucid-marquee-track {
  transform: translateX(0);
}

.lucid-marquee-item {
  flex: 0 0 auto;
}

/* Match the Signed logo cards sizing */
.lucid-logo-card {
  width: 100%;
  min-width: 220px;
}

.lucid-logo-img {
  max-height: 64px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}


/* Our Services page: reduce service image size */
.our-services-page .card-img-top {
  width: 50%;
  height: auto;
  display: block;
  margin: 1rem auto 0;
  object-fit: contain;
}