@font-face {
  font-family: "SansPro";
  font-display: swap;
  src: url('https://d122f4822rob2u.cloudfront.net/fonts/SourceSansPro-Regular.ttf');;
}

@font-face {
  font-family: "SansProBold";
  font-display: swap;
  src: url('https://d122f4822rob2u.cloudfront.net/fonts/SourceSansPro-SemiBold.ttf');;
}

@font-face {
  font-family: "SansProLight";
  font-display: swap;
  src: url('https://d122f4822rob2u.cloudfront.net/fonts/SourceSansPro-ExtraLight.ttf');;
}

@font-face {
  font-family: "righteous";
  font-display: swap;
  src: url('https://d122f4822rob2u.cloudfront.net/fonts/Righteous-Regular.ttf');;
}

@font-face {
  font-family: "avenirBold";
  font-display: swap;
  src: url('https://d122f4822rob2u.cloudfront.net/fonts/Ubuntu-Medium.ttf');;
}





html{
  scroll-padding-top: 90px;
}

.boldBody{
  font-family: 'SansProBold', sans-serif;
  font-size: 1.1em;
}

.lightBody{
  font-family: 'SansPro', sans-serif;
  font-size: 1.05em;
}


.nav-link:hover{
  background-color: #e8edf2 !important; /* steel grey */
}

.navbar .nav-link.active {
  font-weight: normal !important; /* Prevent bold font on active link */
  background-color: #e8edf2 !important; /* steel grey */
}

.navbar .nav-item {
  font-weight: normal !important; /* Prevent bold font on active link */
}

.darkhover {
  -webkit-filter: brightness(100%);
  cursor: pointer;
}

.darkhover:hover {
  -webkit-filter: brightness(80%);
  filter: brightness(80%);
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

    .register_holder {
      display: flex;
      align-items: center;
      justify-content: center;
    }

.btn-outline-light:hover{
  color: black !important;
}

.btn-outline-light:focus{
  color: black !important;
}

.fixed_alert{
  position: fixed;
  top: 0px;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 92%;
  animation: slidedown 0.2s 0.2s ease-out forwards;
}
@keyframes slidedown {
  to {
    top: 47px;
  }
}

  @media only screen and (min-width: 800px) {  
    .w400 {
      font-weight: 400;
      font-size: 1.6em;
    }  
  }

  @media only screen and (max-width: 800px) {  
    .w400 {
      font-weight: 400;
      font-size: 1.2em;
    }  
  }
  

  @media only screen and (min-width: 800px) {  
    .w300 {
      font-weight: 400;
      font-size: 1.4em;
    }  
  }

  @media only screen and (max-width: 800px) {  
    .w300 {
      font-weight: 400;
      font-size: 1.2em;
    }  
  }  


  @media only screen and (min-width: 800px) {     
    .w800 {
      font-weight: 800;
      font-size: 3.5em;
    }
  }

  @media only screen and (max-width: 800px) {     
    .w800 {
      font-weight: 800;
      font-size: 2.5em;
    }
  }


.white{
color:white;
}


.selected{
  background-color: #E5E4E4;
  border: 3px solid black;
}

.selected5{
  background: white !important;
  /* make button look selected */
  border: 1px solid black !important;
  color: black !important;
  /* shadow */
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}


.font-primary {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  color: transparent; /* Make the text color transparent */
  background-clip: text; /* Clip the background to the text */
  -webkit-background-clip: text; /* For Safari */
  --tw-gradient-from: #9CACFF;
  --tw-gradient-to: rgb(214 173 255 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), #D6ADFF, var(--tw-gradient-to);
  --tw-gradient-to: #D7B8FF;
}

.font-primary-darker {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  color: transparent; /* Make the text color transparent */
  background-clip: text; /* Clip the background to the text */
  -webkit-background-clip: text; /* For Safari */
  --tw-gradient-from: #1a3a5c;
  --tw-gradient-to: rgb(46 109 164 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), #2e6da4, var(--tw-gradient-to);
  --tw-gradient-to: #2e6da4;
}


.font-primary-dark{
  color: #1a3a5c !important;
}


.btn-primary {
  color: white;
  background-color: #1B5FA8;
  border: 1px solid #164D8A;
}

.text-primary {
  color: #1D4ED8 !important; /* mirror .btn-primary bg */
}


.btn-primary:hover {
  background-color: #164D8A;
  border: 1px solid #164D8A;
}


.btn-primary:focus{
  background-color: #164D8A;
  border: 1px solid #164D8A;
}

.btn-primary.disabled{
  background-color: rgb(88, 88, 88) !important;
  border: 1px solid black !important;
}

.btn-primary:disabled{
  background-color: rgb(88, 88, 88) !important;
  border: 1px solid black !important;
}


/* -----------------------------------------------------------
   OUTLINE VARIANT THAT VISUALLY MATCHES YOUR .btn-primary
   -----------------------------------------------------------*/

/* default (transparent background, coloured text/border) */
.btn-outline-primary {
  color: #1B5FA8;
  background-color: transparent;
  border: 1px solid #1a3a5c;
  border-radius: 4px;
}

/* hover / focus / active — match the filled style’s hover */
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
  color: #000;                 /* accessible contrast  */
  background-color: #e8edf2;   /* steel grey hover */
  border-color: #1a3a5c;
  text-decoration: none;       /* kill link underline in <a> buttons */
}

/* focus ring for keyboard users (Bootstrap normally handles this,
   but re-assert here in case your global CSS resets it) */
.btn-outline-primary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(26, 58, 92, 0.25); /* 4 px focus halo */
}

/* disabled states (match your filled button’s grey) */
.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
  color: rgb(88, 88, 88);     /* muted text for contrast */
  background-color: transparent;
  border-color: rgb(88, 88, 88);
  pointer-events: none;
  opacity: 0.65;              /* keeps parity with Bootstrap defaults */
}


.btn-outline-dark{
  background-color: white
}

.btn-outline-dark:hover{
  color:black !important;
  background-color: #e8edf2; /* steel grey */
  border: 1px solid black;
}





.form-control{
  border-color: black;
}

.form-select {
  text-align: center;
}

@media only screen and (min-width: 1200px) {
  .pt-10 {
    padding-top: 120px;
  }
}
@media only screen and (max-width: 1200px) {
  .pt-10 {
    padding-top: 30px;
  }
}


.results {
  max-width: 2000px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.viewportheight {
  min-height:87vh;
}

.predictorcolour {
 background-color: #f4f6f8;
}

.curveborder {
  border-radius: 10px;
}

.fade-in-slow2{
  -webkit-animation: 0.2s ease 0s normal forwards 1 fadein;
  animation: 0.2s ease 0s normal forwards 1 fadein;
  opacity:1
}

.fade-in-slow3{
  -webkit-animation: 1s ease 0s normal forwards 1 fadein;
  animation: 1s ease 0s normal forwards 1 fadein;
  opacity:1
}

@keyframes fadein{
  0% { opacity:0; }
  75% { opacity:0; }
  100% { opacity:1; }
}

@-webkit-keyframes fadein{
  0% { opacity:0; }
  75% { opacity:0; }
  100% { opacity:1; }
}

.fade-in-fast{
  -webkit-animation: 0.1s ease 0s normal forwards 1 fadein;
  animation: 0.1s ease 0s normal forwards 1 fadein;
  opacity:1
}

@keyframes fadein{
  0% { opacity:0; }
  33% { opacity:0; }
  100% { opacity:1; }
}

@-webkit-keyframes fadein{
  0% { opacity:0; }
  33% { opacity:0; }
  100% { opacity:1; }
}

.rotate {
  transition: 0.70s;
  -webkit-transition: 0.70s;
  -moz-transition: 0.70s;
  -ms-transition: 0.70s;
  -o-transition: 0.70s;
}
/*
.flash {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 2.5s;
}



.flash1 {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 2.6s;
}

.flash2 {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 2.7s;
}

.flash3 {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 2.8s;
}

.flash4 {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 2.9s;
}

.flash5 {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 0.1s;
}

.flash6 {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 0.2s;
}

.flash7 {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 0.3s;
}

.flash8 {
  animation-name: glowing;
  animation-duration: 0.2s; 
  animation-iteration-count: 1;
  animation-play-state: running; 
  animation-timing-function: ease-out; 
  animation-delay: 0.4s;
}
*/

.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

  .fade_in_fast{
    -webkit-animation: 0.5s ease 0s normal forwards 1 fadein;
    animation: 0.5s ease 0s normal forwards 1 fadein;
    opacity:1
  }

@media only screen and (max-width: 500px) {
  iframe[src*=youtube] {
    width: 330px;
    height: 200px;
  }
}

.initial_hidden{
  display: none;
}

a[type='button'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


.index_title{
  /* font family bold maven pro */
  font-family: 'avenirBold', sans-serif;
  letter-spacing: 0.02em;
}

/* Override inline-block styling for CKEditor */
.django-ckeditor-widget {
  display: block !important; /* Change to block */
  width: 100%;              /* Full width */
}





.canvas_align{
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);               
}

/* For mobile devices */

/* .database_holder{
  min-height: 350px;
} */

b{
  font-family: 'SansProBold', sans-serif;
  font-size: 1em;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


@media (max-width: 992px) {
  /* Style for screens smaller than "lg" */
}

.modal-content{
  border-radius: 10px;
}

.card{
  border-radius: 10px;
}

.card-header{
  background: none;
  border-radius: 10px;
}

.card-footer{
  background: none;
  border-radius: 10px;
}

/* Add this if you want to differentiate user and AI messages */

.min-vh-100{
  min-height: calc(100vh - 52px) !important;
}

/* #titleholder {
  display: flex;
  align-items: flex-end;
  justify-content: center;
} */

@media (max-width: 1200px) { /* This corresponds to Bootstrap's 'md' breakpoint */
}


.bg_light_gradient {
  background: linear-gradient(300deg,#f5f5f5,#d3ced8,#e9e9e9);
  background-size: 180% 180%;
  animation: gradient-animation 24s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* if screensize is less then 800px then regs_list height is 3vh if greater than this then 60vh */



.btn-design-menu{
    border-radius: 0px;
    text-align: start;
    font-weight: normal;
    border: none;
}
.btn-design-menu:hover{
    background-color: #e3e2e0;
    color: #28242c;
}
.btn-design-menu:focus,.btn:active{
    background-color: #e3e2e0;
    color: #28242c;
    font-weight: bold;
}




.li-cross {
  position: relative;
  padding-left: 1.5em;  /* space to preserve indentation on wrap */
}

.li-cross::before{
  content: "✗";
  position: absolute;
  left: 0;
  color: red;
  
}


body {
  max-width: 100vw;
}

.form-check-input:checked {

  background-color: #1a3a5c;
  border-color: #000;
}

.spinner-border{
  overflow: hidden;
}

strong{
  font-family: 'SansProBold', sans-serif;
  font-size: 1.1em;
}

a{
  color: #1a3a5c
}

.bg_dark_gradient{
  background: rgb(35,37,37);
  background: linear-gradient(135deg, rgba(35,37,37,1) 0%, rgba(39,39,39,1) 100%);
  border: 1px solid rgb(70, 70, 70);
}

.card-hover-animation:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add shadow */
  background-color: #e8edf2 !important;
}

/* ===== MODERN ANIMATIONS ===== */

/* ---- Hero section ---- */
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #1B5FA8;
  background: rgba(27, 95, 168, 0.08);
  border: 1px solid rgba(27, 95, 168, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  letter-spacing: 0.01em;
}

.hero-highlight {
  color: #1B5FA8;
  position: relative;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: #1B5FA8;
  border-radius: 2px;
  opacity: 0.5;
}

.hero-chip {
  display: inline-block;
  font-size: 0.78rem;
  color: #495057;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.hero-video-glow {
  box-shadow: 0 8px 40px rgba(27, 95, 168, 0.16), 0 2px 12px rgba(0, 0, 0, 0.06);
}

.btn-outline-secondary {
  border-radius: 8px !important;
}

/* Card hover lift */
.card-lift {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Typewriter cursor */
.txt-rotate > .wrap {
  border-right: 2px solid #1B5FA8;
  padding-right: 2px;
  animation: blink-cursor 0.7s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { border-color: #1B5FA8; }
  50%       { border-color: transparent; }
}


.background1{
  background-color: #f4f4f2;
}

html{
  font-family: 'SansPro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.1em;
  line-height: 1.65;
}

h2, h3 {
  font-weight: 600;
  line-height: 1.3;
}

.pricing{
  font-size: 0.9em !important;
}

/* CSS for making all table columns equal width */
table.equal-width-columns th, 
table.equal-width-columns td {
  width: 25%; /* Divide the table width equally among 4 columns */
}

/* Optional: Ensure table layout is fixed to respect the width */
table.equal-width-columns {
  table-layout: fixed;
  width: 100%; /* Ensure the table spans the full container width */
}

.btn-outline-purple{
  border: 1px solid #1a3a5c !important;
}

.dropdown-menu-center {
  left: 50% !important;
  right: auto !important;
  text-align: center !important;
  transform: translate(-50%, 0) !important;
}


.btn-group .btn {
  font-weight: normal;
  text-decoration: none;
  color: black;
  background: none;
  border: none; /* Remove all borders initially */
}

.btn-group .btn-check:checked + .btn {
  font-weight: bold;
  color: black;
  background: none;
  border-bottom: 3px solid black !important; /* Force thicker black border */
}

.btn-group .btn-outline-primary {
  border: none; /* Remove Bootstrap's outline styles */
  border-radius: 0px;
  padding-left: 25px;
  padding-right: 25px;

}


.category-red{
  background-color: #FDEBEC;
}

.category-grey{
  background-color: #F1F1EF;
}

.category-blue{
  background-color: #E9F3F7;
}

.category-brown{
  background-color: #F3EEEE;
}

.category-green{
  background-color: #EDF3EC
}

.workflow-card{
  cursor: pointer;
  text-decoration: none;
}

.workflow-card:hover{
  border-color: black;
  /* background-color: #eeefff; */
}

.workflow-card:hover .card-header{
  background-color: #e8edf2 !important;
}

.badge-rotate {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.badge-rotate.hide {
  opacity: 0;
}


.check-list {
  list-style: none; /* Remove default bullets */
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 1.5em;      /* Space for the icon */
  line-height: 1.3;         /* Slightly increase line spacing */
}

/* Use Font Awesome’s “content” for the check icon */
.check-list li::before {
  font-family: "Font Awesome 5 Free"; /* Adjust if you use another FA version/name */
  content: "\f00c";                  /* \f00c is the "check" icon */
  font-weight: 900;                  /* Solid icon weight (fa-solid) */
  color: #4CAF50;                    /* Green color—customize as needed */
  position: absolute;
  left: 0;
  top: 0;                            /* Align near the top of the line */
  font-size: 1.2em;                  /* Make the icon larger/bolder */
}


.marquee {
  --gap: 2rem;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
}

.marquee__content,
.marquee__content2 {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
  animation: scroll 38s linear infinite;
}

.marquee__content img,
.marquee__content2 img {
  width: 160px;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.marquee__content img:hover,
.marquee__content2 img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.marquee__content li,
.marquee__content2 li {
  list-style: none;
}

.marquee-outer {
  position: relative;
}

.marquee-outer::before,
.marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, #F7F6F3 0%, transparent 100%);
}

.marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, #F7F6F3 0%, transparent 100%);
}

.bg-light .marquee-outer::before {
  background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.bg-light .marquee-outer::after {
  background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.youtube2 {
  position: relative;
  padding-bottom: 65%; /* matches embedded video aspect ratio */
  height: 0;
}

.youtube2 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


#compare-civils-chatgpt .py-6 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  #compare-civils-chatgpt .py-7 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }

  #compare-civils-chatgpt .bg-gradient-primary {
    background-image: linear-gradient(135deg, #1a3a5c 0%, #2e6da4 100%);
  }
  #compare-civils-chatgpt .bg-gradient-dark {
    background-image: linear-gradient(135deg, #111 0%, #444 100%);
  }
  #compare-civils-chatgpt .brand-dot {
    width: 36px; height: 36px; border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }

  #compare-civils-chatgpt .table > :not(caption) > * > * {
    padding-top: .95rem; padding-bottom: .95rem;
  }

  #compare-civils-chatgpt .table-section td {
    background: rgba(0,0,0,.02);
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
  }
  #compare-civils-chatgpt .section-label::before{
    content: "";
    display: inline-block;
    width: .5rem; height: .5rem;
    background: #1a3a5c; border-radius: 50%;
    margin-right: .5rem; vertical-align: middle;
    box-shadow: 0 0 0 3px rgba(26,58,92,.15);
  }

  /* Subtle “soft” badges using Bootstrap vars where available */
  #compare-civils-chatgpt .bg-primary-subtle { background-color: rgba(13,110,253,.12) !important; color: #0d6efd !important; }
  #compare-civils-chatgpt .bg-success-subtle { background-color: rgba(25,135,84,.12) !important; color: #198754 !important; }
  #compare-civils-chatgpt .bg-secondary-subtle { background-color: rgba(108,117,125,.12) !important; color: #6c757d !important; }
  #compare-civils-chatgpt .bg-dark-subtle { background-color: rgba(33,37,41,.08) !important; color: #212529 !important; }
  #compare-civils-chatgpt .bg-body-tertiary { background-color: rgba(0,0,0,.03) !important; }

/* ════════════════════════════════════════════════════════════════════════════
   DESIGN SYSTEM ("Direction B" / Steel-blue editorial)
   Shared across: index.html, about.html, cad_ai.html, geotech_ai.html,
   workflow_specs_search.html. Page-specific overrides remain in each
   template's {% block extra_css %}.
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── Palette tokens ─────────────────────────────────────────────────────── */
:root{
  --bg:#f4f4f2; --bg-2:#e9e8e3;
  --ink:#1a1a1a; --ink-2:#3a3733; --mute:#7a766e; --line:#d8d6cf;
  --navy:#1a1a1a; --navy-2:#2e2c28;
  --accent:#3D6F94; --accent-2:#2c5470;
  --orange:var(--accent); --orange-2:var(--accent-2);
  --ok:#16a34a;
  --bs-body-bg: var(--bg);
  --bs-body-color: #0e1116;
  --bs-body-font-family: 'IBM Plex Sans', system-ui, sans-serif;
  --bs-border-color: var(--line);
}

.design-b{ font-family:'IBM Plex Sans', system-ui, sans-serif; font-size:15px; line-height:1.55; color:#0e1116; background:var(--bg); }
.design-b ::selection{ background:var(--accent); color:#fff; }
.design-b a{ color:inherit; text-decoration:none; }

/* ─── Type system ────────────────────────────────────────────────────────── */
.ff-display{ font-family:'Saira Semi Condensed',sans-serif; text-transform:uppercase; letter-spacing:-0.01em; }
.ff-mono   { font-family:'IBM Plex Mono',monospace; }
.display-h1{ font-family:'Saira Semi Condensed',sans-serif; font-weight:700; font-size:62px; line-height:1.05; letter-spacing:-0.01em; color:var(--navy); text-transform:uppercase; }
.display-h2{ font-family:'Saira Semi Condensed',sans-serif; font-weight:700; font-size:56px; line-height:1.03; letter-spacing:-0.015em; color:var(--navy); text-transform:uppercase; margin:0; }
.display-h3{ font-family:'Saira Semi Condensed',sans-serif; font-weight:700; font-size:30px; line-height:1.08; color:var(--navy); text-transform:uppercase; }
.display-h1 em, .display-h2 em, .display-h3 em{ font-style:normal; color:var(--accent); font-weight:800; }
.lede{ font-size:17px; color:var(--ink-2); max-width:48ch; }

.kicker{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.04em; color:var(--accent); font-weight:500; display:flex; align-items:center; gap:10px; }
.kicker::before{ content:""; width:24px; height:1px; background:var(--accent); }
.kicker-line{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--navy); letter-spacing:0.06em; display:flex; align-items:center; gap:12px; }
.kicker-line::before{ content:""; width:32px; height:1px; background:var(--navy); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.design-b .btn-navy{ background:var(--navy); color:#fff; border:0; padding:16px 28px; border-radius:4px; font-weight:600; font-size:13px; letter-spacing:0.06em; text-transform:uppercase; display:inline-flex; align-items:center; gap:10px; }
.design-b .btn-navy:hover{ background:#000; color:#fff; }
.design-b .btn-orange{ background:var(--orange); color:#fff; border:0; padding:20px 36px; border-radius:4px; font-weight:600; font-size:14px; letter-spacing:0.06em; text-transform:uppercase; display:inline-flex; align-items:center; gap:10px; }
.design-b .btn-orange:hover{ background:var(--orange-2); color:#fff; }
.design-b .btn-accent{ background:var(--accent); color:#fff; border:0; padding:18px 32px; border-radius:4px; font-weight:600; font-size:13px; letter-spacing:0.06em; text-transform:uppercase; display:inline-flex; align-items:center; justify-content:center; gap:10px; transition:background .15s; }
.design-b .btn-accent:hover{ background:var(--accent-2); color:#fff; }
.design-b .btn-outline-navy{ border:1.5px solid var(--navy); color:var(--navy); background:transparent; padding:12px 20px; border-radius:4px; font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.04em; text-transform:uppercase; font-weight:500; display:inline-flex; align-items:center; gap:10px; }
.design-b .btn-outline-navy:hover{ background:var(--navy); color:#fff; }
.design-b .uc.primary .btn-outline-navy{ border-color:rgba(255,255,255,.5); color:#fff; }
.design-b .uc.primary .btn-outline-navy:hover{ background:#fff; color:var(--navy); border-color:#fff; }

/* ─── Hero video frame (used on homepage hero + geotech borehole image) ─── */
.hero-video{ position:relative; border-radius:16px; overflow:hidden; background:var(--navy); box-shadow:0 40px 80px -30px rgba(11,42,72,.35); }
.hero-video video, .hero-video img{ width:100%; height:auto; display:block; }
.corner-tag{ position:absolute; top:16px; left:16px; background:rgba(11,42,72,.88); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:11px; padding:6px 10px; border-radius:4px; display:flex; align-items:center; gap:8px; }
.dot-live{ width:6px; height:6px; background:var(--orange); border-radius:50%; }

/* ─── Feature-page hero (cad_ai, geotech_ai, workflow_specs_search) ─────── */
.feature-hero{ position:relative; padding:0 40px; border-top:3px solid var(--accent); background:var(--bg); }
@media (max-width: 991.98px){ .feature-hero{ padding:0 24px; } }
.fh-eyebrow{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.18em; color:var(--accent); text-transform:uppercase; display:inline-flex; align-items:center; gap:14px; padding:24px 0 0; }
.fh-eyebrow::before, .fh-eyebrow::after{ content:""; width:14px; height:1px; background:var(--accent); display:inline-block; }
.fh-meta-row{ display:flex; align-items:center; justify-content:space-between; padding:16px 0 36px; border-bottom:1px solid var(--line); margin-bottom:48px; flex-wrap:wrap; gap:16px; }
.fh-meta-row .lhs{ font-family:'Saira Semi Condensed',sans-serif; font-weight:700; font-size:13px; letter-spacing:0.06em; color:var(--mute); text-transform:uppercase; }
.fh-meta-row .lhs b{ color:var(--navy); }
.fh-exhibit{ position:relative; padding:14px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 30px 60px -28px rgba(11,42,72,.18); }
.fh-exhibit-head{ display:flex; align-items:center; justify-content:space-between; padding:0 4px 12px; flex-wrap:wrap; gap:8px; }
.fh-exhibit-frame{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.14em; color:var(--mute); text-transform:uppercase; }
.fh-exhibit-frame b{ color:var(--navy); font-weight:600; }
.fh-exhibit-cap{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.06em; color:var(--mute); }
.fh-exhibit-cap .dot{ width:5px; height:5px; background:#10b981; border-radius:50%; display:inline-block; margin-right:6px; vertical-align:middle; box-shadow:0 0 0 3px rgba(16,185,129,.18); }
.fh-exhibit-video{ position:relative; border-radius:8px; overflow:hidden; background:#000; }
.fh-exhibit-video video, .fh-exhibit-video img{ width:100%; height:auto; display:block; }

/* ─── Use-case cards ─────────────────────────────────────────────────────── */
.uc{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:36px; height:100%; display:flex; flex-direction:column; }
.uc.primary{ background:var(--navy); border-color:var(--navy); color:#fff; }
.uc.primary .display-h3{ color:#fff; }
.uc.primary .lede, .uc.primary p{ color:rgba(255,255,255,.78); }
.uc-num{ font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--accent); }
.uc-tag{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.04em; text-transform:uppercase; color:var(--mute); padding-left:14px; border-left:1px solid var(--line); }
.uc.primary .uc-tag{ color:rgba(255,255,255,.55); border-left-color:rgba(255,255,255,.15); }
.uc-bullets{ list-style:none; padding:0; margin:0 0 28px; }
.uc-bullets li{ display:flex; gap:12px; padding:8px 0; font-size:14px; color:var(--ink-2); }
.uc.primary .uc-bullets li{ color:rgba(255,255,255,.8); }
.uc-bullets li i{ color:var(--accent); font-size:12px; margin-top:6px; }
.uc-bullets li b{ color:var(--navy); font-weight:600; }
.uc.primary .uc-bullets li b{ color:#fff; }
.uc-video{ position:relative; border-radius:12px; overflow:hidden; background:#000; aspect-ratio:16/10; box-shadow:0 20px 50px -25px rgba(0,0,0,.3); }
.uc-video video{ width:100%; height:100%; display:block; object-fit:cover; }
.overlay-tag{ position:absolute; top:14px; left:14px; background:rgba(11,42,72,.92); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.04em; padding:5px 10px; border-radius:3px; text-transform:uppercase; z-index:2; }
.uc.primary .overlay-tag{ background:rgba(201,125,46,.92); }

/* ─── Edit / export band ─────────────────────────────────────────────────── */
.edit-band{ background:var(--navy); color:#fff; border-radius:24px; padding:48px; }
@media (max-width: 991.98px){ .edit-band{ padding:32px; } }
.edit-band .display-h2{ color:#fff; }
.edit-band .display-h2 em{ color:var(--accent); }
.edit-band p{ color:rgba(255,255,255,.78); }
.edit-band ul{ list-style:none; padding:0; margin:0 0 28px; }
.edit-band ul li{ display:flex; gap:12px; padding:8px 0; font-size:14px; color:rgba(255,255,255,.85); align-items:flex-start; }
.edit-band ul li i{ color:var(--accent); margin-top:5px; font-size:11px; }
.edit-band .uc-video{ box-shadow:0 30px 60px -25px rgba(0,0,0,.6); }

/* ─── How-it-works steps ─────────────────────────────────────────────────── */
.step{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; height:100%; position:relative; display:flex; flex-direction:column; }
.step-n{ position:absolute; top:16px; left:16px; z-index:2; background:var(--navy); color:#fff; font-family:'Saira Semi Condensed',sans-serif; font-weight:700; font-size:14px; padding:6px 12px; border-radius:3px; letter-spacing:0.04em; }
.step-img{ aspect-ratio:16/10; background:var(--bg-2); overflow:hidden; }
.step-img img{ width:100%; height:100%; object-fit:contain; }
.step h4{ font-family:'Saira Semi Condensed',sans-serif; font-weight:700; font-size:20px; text-transform:uppercase; color:var(--navy); margin:20px 24px 10px; }
.step p{ margin:0 24px 24px; font-size:14px; color:var(--ink-2); }

/* ─── Why-teams-switch / testimonials surface ────────────────────────────── */
.sec-testimonials{ background:var(--bg-2); }
.why{ background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; height:100%; display:flex; flex-direction:column; }
.why.dark{ background:var(--navy); border-color:var(--navy); color:#fff; }
.why-img{ aspect-ratio:16/10; background:var(--bg-2); overflow:hidden; }
.why-img img, .why-img video{ width:100%; height:100%; object-fit:cover; display:block; }
.why.dark .why-img{ background:#000; }
.why-body{ padding:24px 26px 28px; display:flex; flex-direction:column; gap:12px; flex:1; }
.why-body h4{ font-family:'Saira Semi Condensed',sans-serif; font-weight:700; font-size:20px; text-transform:uppercase; color:var(--navy); margin:0; line-height:1.15; }
.why.dark .why-body h4{ color:#fff; }
.why-body p{ font-size:14px; color:var(--ink-2); margin:0; }
.why.dark .why-body p{ color:rgba(255,255,255,.78); }
.why-body ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:6px; }
.why-body ul li{ font-size:13px; color:var(--ink-2); display:flex; gap:10px; align-items:flex-start; }
.why-body ul li i{ color:var(--accent); margin-top:4px; font-size:10px; }
.why.dark .why-body ul li{ color:rgba(255,255,255,.78); }

/* ─── FAQ accordion (used on feature pages directly + via FAQ partial on
       the homepage; the partial-overrides at the bottom only match when the
       partial is included, so they are harmless when it isn't) ───────────── */
.sec-faq{ background:var(--bg-2); }
.design-b .accordion,
.sec-faq .accordion{ border:1px solid var(--line); border-radius:16px; overflow:hidden; background:#fff; }
.design-b .accordion-item,
.sec-faq .accordion-item{ border:0 !important; border-bottom:1px solid var(--line) !important; border-radius:0 !important; background:#fff; }
.design-b .accordion-item:last-child,
.sec-faq .accordion-item:last-child{ border-bottom:0 !important; }
.design-b .accordion-button,
.sec-faq .accordion-button{ font-family:'Saira Semi Condensed',sans-serif; font-weight:600; font-size:16px; color:var(--navy) !important; background:#fff !important; box-shadow:none !important; padding:20px 26px; text-transform:uppercase; letter-spacing:0.01em; }
.design-b .accordion-button:not(.collapsed),
.sec-faq .accordion-button:not(.collapsed){ color:var(--navy) !important; background:#fff !important; }
.design-b .accordion-button::after,
.sec-faq .accordion-button::after{ background:none; content:"+"; color:var(--accent); font-family:'IBM Plex Mono',monospace; font-size:20px; transition:transform .2s; width:auto; height:auto; }
.design-b .accordion-button:not(.collapsed)::after,
.sec-faq .accordion-button:not(.collapsed)::after{ transform:rotate(45deg); }
.design-b .accordion-button i{ color:var(--accent); }
.design-b .accordion-body,
.sec-faq .accordion-body{ padding:0 26px 22px; font-size:14px; color:var(--ink-2); line-height:1.6; }
.sec-faq .accordion-body p{ margin-bottom:10px; }
.sec-faq .accordion-body p:last-child{ margin-bottom:0; }
/* FAQ partial (used on the homepage) — hide its own heading column so the
   page's outer kicker + display-h2 carries the section title instead. */
.sec-faq .index_title, .sec-faq .text-muted.text-center.text-lg-start{ display:none !important; }
.sec-faq .row.p-2{ margin:0 !important; padding:0 !important; }
.sec-faq .row.p-2 > .col-12.col-lg-6:first-child{ display:none; }
.sec-faq .row.p-2 > .col-12.col-lg-6:last-child{ flex:0 0 100%; max-width:100%; }
.sec-faq .row.p-2 .pt-3.pt-lg-0{ padding-top:0 !important; }

/* ─── Final CTA band ─────────────────────────────────────────────────────── */
.sec-final{ background:var(--navy); color:#fff; position:relative; overflow:hidden; }
.sec-final::before{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 80% 20%,rgba(61,111,148,.22),transparent 50%),radial-gradient(circle at 20% 80%,rgba(46,109,164,.18),transparent 55%); }
.final-h{ font-family:'Saira Semi Condensed',sans-serif; font-weight:700; font-size:64px; line-height:1; color:#fff; text-transform:uppercase; letter-spacing:-0.02em; }
.final-h em{ font-style:normal; color:var(--accent); font-weight:800; }

/* ─── Responsive type defaults (about.html overrides these locally) ─────── */
@media (max-width: 991.98px){
  .display-h1{ font-size:48px; }
  .display-h2{ font-size:38px; }
  .final-h{ font-size:42px; }
  .uc{ padding:24px; }
}
