:root {
  --primary-color: #2c3e50;
  --primary-hover: #34495e;
  --secondary-color: #f4f4f4;
  --background-color: #ffffff;
  --text-color: #222;
  --border-color: #ccc;
  --input-bg: #fff;
  --shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  --radius: 6px;
  --font-family: 'Segoe UI', Roboto, Arial, sans-serif;

  --index-bg: rgb(40, 40, 40);
  --index-text: white;
  --index-blue: rgb(0, 43, 127);
  --index-yellow: rgb(232, 193, 23);
  --index-red: rgb(206, 17, 38);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #9dc5f0;
    --primary-hover: #aee0ff;
    --secondary-color: #1e1e1e;
    --background-color: #121212;
    --text-color: #eee;
    --border-color: #333;
    --input-bg: #1a1a1a;
    --shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  }
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  transition: background-color 0.3s, color 0.3s;
}

body.index-page {
  background-color: var(--index-bg);
  color: var(--index-text);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  font-weight: 600;
}

h3.red-header {
  color: red !important;
}

.header-container {
  display: flex;
  align-items: center;
  padding: 30px;
  gap: 300px;
}

.header-container .logo-wrapper {
  flex-basis: 12%;
  min-width: 100px;
}

.header-container .title-wrapper {
  flex: 1;
  text-align: left;
  margin: 300;
}

.header-container h3 {
  font-family: Arial, sans-serif;
  color: var(--index-text);
  font-size: 33px;
  margin: 0;
  padding: 0;
}

.welcome-section {
  text-align: center;
  padding: 20px 150px;
}

.welcome-section h5 {
  font-family: Arial, sans-serif;
  color: var(--index-text);
  font-size: 26px;
  margin: 50px 0 20px 0;
}

.welcome-section p {
  font-family: Arial, sans-serif;
  color: var(--index-text);
  font-size: 18px;
  margin: 20px 0;
  text-align: center;
  line-height: 1.6;
}

.index-page .value-prop {
  font-size: 22px;
  text-align: center;
  font-weight: 700;
}

.index-page .value-prop .demi {   font-size: 22px;
  text-align: center;
  font-weight: 600 }
.index-page .value-prop,
.index-page .value-prop-demi {
  font-size: 20px;
  text-align: center;
  font-weight: 600;
}

.index-page .value-prop strong,
.index-page .value-prop-demi strong {
  font-weight: 600;
}

.index-page .value-prop,
.index-page .value-prop-demi { font-size: 21px; }

.index-page .service-rows {
  text-align: left !important;
  margin: 0 auto;
  max-width: 900px;
}

.index-page .service-rows p {
  text-align: left !important;
  margin: 0 0 14px 0;
}

.service-buttons {
  width: 750px;
  margin: 50px auto;
  text-align: center;
}

.service-btn {
  display: inline-block;
  width: 150px;
  height: 100px;
  text-decoration: none;
  margin: 0;
  transition: opacity 0.2s;
}

.service-btn:hover {
  opacity: 0.85;
}

.service-btn rect {
  transition: fill 0.2s;
}

.service-btn text {
  fill: white;
  font-weight: bold;
  font-family: sans-serif;
  pointer-events: none;
}

.footer-links {
  text-align: center;
  padding: 20px;
}

.footer-links a {
  color: var(--index-text);
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-links .separator {
  color: var(--index-text);
  margin: 0 10px;
}

body.index-page hr {
  height: 0.25px;
  background-color: var(--index-text);
  border: none;
  margin: 20px 0;
}

.columbus-chamber-of-commerce {
  text-align: center;
  font-size: 18px;
  color: var(--index-text);
  padding: 20px 150px;
}

.federal-info {
  text-align: center;
  font-size: 18px;
  color: var(--index-text);
  padding: 20px 150px;
}

.links-general {
  text-align: center;
  font-size: 18px;
  color: var(--index-text);
  padding: 20px 150px;
}

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

a:hover {
  color: var(--primary-hover);
}

.links {
  font-family: Arial, sans-serif;
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 50px 150px;
}

.links a,
.links a:visited {
  color: #fff;
  text-decoration: none;
}

.links a:hover,
.links a:focus {
  color: #fff;
  text-decoration: underline;
}

.container .links a,
.container .links a:visited {
  color: #fff;
}

.container .links a {
  color: #fff !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px;
  box-sizing: border-box;
}

.container.small {
  max-width: 800px;
}

.card {
  background-color: var(--input-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.form-title {
  text-align: center;
  font-size: 1.6em;
  margin-bottom: 25px;
}

.styled-form {
  width: 100%;
}

.form-section {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-top: 10px;
}

.input-field,
select.input-field,
textarea.input-field {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-top: 6px;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.2s, background-color 0.3s, color 0.3s;
}

.input-field:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.2);
}

textarea.input-field {
  resize: vertical;
}

.name-fields {
  display: flex;
  gap: 10px;
}

.field-group {
  flex: 1;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.input-field.valid {
  border: 2px solid #2ecc71 !important;
  background-color: rgba(46, 204, 113, 0.05);
}

.input-field.invalid {
  border: 2px solid #e63946 !important;
  background-color: rgba(230, 57, 70, 0.05);
}

.validation-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1em;
  pointer-events: none;
}

.error-msg {
  display: block;
  font-size: 0.85em;
  color: #e63946;
  margin-top: 4px;
  transition: opacity 0.3s ease;
  opacity: 0;
  height: 0;
  line-height: 1.2;
}

.error-msg.active {
  opacity: 1;
  height: auto;
}

.phone-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
}

.phone-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 90px;
  position: relative;
}

.phone-group .input-field {
  width: 100%;
  text-align: center;
  height: 40px;
  box-sizing: border-box;
}

.phone-group .error-msg {
  margin-top: 4px;
  font-size: 0.85em;
  color: #e63946;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 0;
}

.phone-group .error-msg.active {
  opacity: 1;
  height: auto;
}

.phone-group-ext {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.phone-group-ext .ext-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
}

.phone-group-ext .ext-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 500;
  color: var(--text-color);
}

.phone-group-ext .input-field {
  width: 80px;
  height: 40px;
  text-align: center;
  box-sizing: border-box;
}

.phone-group-ext .error-msg {
  display: block;
  margin-top: 4px;
  font-size: 0.85em;
  color: #e63946;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 80px;
  margin-left: calc(8px + 1.7em + 6px);
  order: 2;
}

.phone-group-ext .error-msg.active {
  opacity: 1;
  height: auto;
}

.ext-label {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  gap: 3px;
}

.button-primary,
.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.button-primary:hover,
.btn-primary:hover {
  background-color: var(--primary-hover);
}

.button-primary:active {
  transform: scale(0.98);
}

#resendCodeBtn.disabled,
#resendCodeBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.success-box,
.error-box,
.info-box {
  padding: 12px 15px;
  border-radius: var(--radius);
  margin: 15px 0;
  font-weight: 500;
}

.success-box {
  background-color: #eaf8ea;
  color: #2a652a;
  border: 1px solid #b4e0b4;
}

.error-box {
  background-color: #fbeaea;
  color: #b33a3a;
  border: 1px solid #f1b1b1;
}

.info-box {
  background-color: #eaf2fb;
  color: #2a4a8a;
  border: 1px solid #bcd2f7;
}

@media (prefers-color-scheme: dark) {
  .success-box {
    background-color: #203a20;
    color: #b7ffb7;
    border-color: #2d7f2d;
  }
  .error-box {
    background-color: #3a2020;
    color: #ffb7b7;
    border-color: #7f2d2d;
  }
  .info-box {
    background-color: #20283a;
    color: #b7d2ff;
    border-color: #2d4f7f;
  }
}

.scroll-box {
  max-height: 180px;
  overflow-y: auto;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  padding: 10px 15px;
  margin: 15px 0;
  border-radius: var(--radius);
  font-size: 0.95em;
  color: var(--text-color);
}

img.logo {
  filter: brightness(0.85) contrast(1.1);
  transition: filter 0.3s ease-in-out;
  max-width: 150px;
  margin-bottom: 25px;
  display: block;
  margin: auto;
}

img.logo:hover {
  filter: brightness(1.0) contrast(1.2);
}

.index-logo {
  max-width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.index-logo:hover {
  opacity: 0.85;
}

.char-counter {
  font-size: 0.9em;
  color: #888;
  text-align: right;
  margin-top: 4px;
}

@media (prefers-color-scheme: dark) {
  .char-counter {
    color: #aaa;
  }
}

* {
  box-sizing: border-box;
}

img {
  vertical-align: middle;
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 999;
  color: var(--text-color);
  transition: transform 0.2s, color 0.3s;
}

.theme-toggle:hover {
  transform: scale(1.2);
}

body[data-theme="dark"] {
  --primary-color: #9dc5f0;
  --primary-hover: #aee0ff;
  --secondary-color: #1e1e1e;
  --background-color: #121212;
  --text-color: #eee;
  --border-color: #333;
  --input-bg: #1a1a1a;
  --shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

body[data-theme="light"] {
  --primary-color: #2c3e50;
  --primary-hover: #34495e;
  --secondary-color: #f4f4f4;
  --background-color: #ffffff;
  --text-color: #222;
  --border-color: #ccc;
  --input-bg: #fff;
  --shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .links a,
body[data-theme="dark"] .links a:visited,
body[data-theme="dark"] .links a:hover,
body[data-theme="dark"] .links a:focus {
  color: #fff !important;
}

body[data-theme="light"] .links a,
body[data-theme="light"] .links a:visited {
  color: #000 !important;
  text-decoration: none;
}

body[data-theme="light"] .links a:hover,
body[data-theme="light"] .links a:focus {
  color: #000 !important;
  text-decoration: underline;
}

body[data-theme="light"] .info-box {
  background-color: #CBE7F3;
  color: #1f3b70;
  border-color: #d4e4ff;
}

@media (max-width: 768px) {
  .name-fields {
    flex-direction: column;
  }
  
  .container.small {
    padding: 15px;
  }

  .welcome-section,
  .federal-info {
    padding: 20px 30px;
  }
  
  .service-buttons {
    width: 100%;
    padding: 0 20px;
  }
  
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .header-container .logo-wrapper {
    flex-basis: auto;
    margin-bottom: 20px;
  }
  
  .header-container h3 {
    font-size: 24px;
  }
}

@media (max-width: 700px) {
  .phone-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-group,
  .phone-group-ext {
    width: 100%;
  }

  .phone-group .input-field,
  .phone-group-ext .input-field {
    width: 100%;
  }

  .phone-group .error-msg,
  .phone-group-ext .error-msg {
    width: 100%;
    margin-left: 0 !important;
  }

  .phone-group-ext .ext-row {
    flex-wrap: wrap;
    gap: 6px;
  }
}

body.computing-page {
  background-color: rgb(40, 40, 40);
}

body.computing-page h3 {
  font-family: sans-serif;
  color: white;
  padding-left: 0;
  padding-top: 50px;
  font-size: 33px;
}

body.computing-page h4 {
  font-family: sans-serif;
  color: white;
  font-size: 12px;
  padding-left: 150px;
  padding-top: 0;
  padding-right: 150px;
}

body.computing-page h5 {
  font-family: sans-serif;
  color: white;
  font-size: 26px;
  padding-left: 150px;
  padding-top: 50px;
  padding-right: 150px;
}

body.computing-page h6 {
  font-family: sans-serif;
  color: white;
  font-size: 22px;
  padding-left: 150px;
  padding-top: 10px;
  padding-right: 150px;
}

body.computing-page p {
  font-family: sans-serif;
  color: white;
  font-size: 18px;
  padding-left: 150px;
  padding-top: 0;
  padding-right: 150px;
  text-indent: 50px;
}

body.computing-page hr {
  height: 0.25px;
  background-color: white;
  border-color: transparent;
}

body.computing-page .container {
  display: flex;
  justify-content: center;
  max-width: none;
  padding: 0;
  margin: 0;
}

body.computing-page img {
  max-width: 100%;
}

body.computing-page .image {
  flex-basis: 12%;
  padding-top: 30px;
  padding-left: 30px;
}

body.computing-page .image2 {
  flex-basis: 12%;
  opacity: 0;
}

body.computing-page .text {
  font-size: 20px;
  margin: auto;
}

body.computing-page .buttons {
  width: 750px;
  margin: auto;
}

.software-category {
  font-family: sans-serif;
  color: #bbbbbb;
  font-size: 18px;
  padding-left: 150px;
  padding-top: 30px;
  padding-right: 150px;
  font-style: italic;
  margin-bottom: 6px;
  text-indent: 0;
}

.software-list,
.software-list-no-hyperlink {
  list-style: none;
  padding-left: 200px;
  padding-right: 150px;
  margin-top: 6px;
}

.software-list-no-hyperlink {
  font-family: sans-serif;
  font-size: 18px;
  color: white;
}

.software-list li,
.software-list-no-hyperlink li {
  padding: 4px 0;
}

.software-list a {
  font-family: sans-serif;
  color: #9ecfff;
  font-size: 18px;
  text-decoration: none;
}

.software-list a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.software-list span,
.software-list-no-hyperlink span {
  font-family: sans-serif;
  color: #666666;
  font-size: 18px;
}

.sublist-l1 {
  list-style: disc;
  padding-left: 30px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.sublist-l1 > li {
  font-family: sans-serif;
  font-size: 17px;
  color: #cccccc;
  padding: 3px 0;
}

.sublist-l2 {
  list-style: circle;
  padding-left: 28px;
  margin-top: 3px;
  margin-bottom: 3px;
}

.sublist-l2 li {
  font-family: sans-serif;
  font-size: 16px;
  color: #aaaaaa;
  padding: 2px 0;
}

.subtitle {
  font-family: sans-serif;
  color: #aaaaaa;
  font-size: 16px;
  padding-left: 150px;
  padding-top: 4px;
  padding-right: 150px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-left: 150px;
  padding-right: 150px;
  padding-top: 20px;
}

.gallery-item {
  flex: 1 1 280px;
  max-width: 300px;
  background-color: rgb(55, 55, 55);
  border: 1px solid rgb(80, 80, 80);
  padding: 8px;
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background-color: rgb(45, 45, 45);
  display: block;
}

.gallery-caption {
  font-family: sans-serif;
  color: #bbbbbb;
  font-size: 13px;
  padding-top: 6px;
  text-align: center;
}

.video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-left: 150px;
  padding-right: 150px;
  padding-top: 20px;
}

.video-item {
  flex: 1 1 400px;
  max-width: 640px;
}

.video-item video,
.video-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(80, 80, 80);
  background-color: #000;
  display: block;
}

.video-caption {
  font-family: sans-serif;
  color: #bbbbbb;
  font-size: 13px;
  padding-top: 6px;
  text-align: center;
}

.doc-list {
  list-style: none;
  padding-left: 200px;
  padding-right: 150px;
  padding-top: 10px;
  margin: 0;
}

.doc-list li {
  padding: 5px 0;
}

.doc-list a {
  font-family: sans-serif;
  color: #9ecfff;
  font-size: 18px;
  text-decoration: none;
}

.doc-list a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.doc-icon {
  margin-right: 8px;
  font-size: 14px;
  color: #cc4444;
}

.placeholder-box {
  font-family: sans-serif;
  color: #666666;
  font-size: 16px;
  font-style: italic;
  padding-left: 200px;
  padding-top: 10px;
  padding-right: 150px;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background-color: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: default;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);

  font-family: sans-serif;
  font-size: 14px;
  color: #cccccc;
  text-align: center;

  max-width: 80vw;
  white-space: normal;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;

  font-family: sans-serif;
  font-size: 32px;
  line-height: 1;
  color: #cccccc;

  background: none;
  border: none;
  cursor: pointer;
  z-index: 9001;
  transition: color 0.15s ease, transform 0.15s ease;
}

.lightbox-close:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.gallery-item img {
  cursor: zoom-in;
}

body.index-page {
  --sai-dark: #ffffff;
  --sai-blue: #7ab7ff;
  --sai-blue-dark: #a8d0ff;
  --sai-gold: #e8c117;
  --sai-light: #151515;
  --sai-line: rgba(255, 255, 255, 0.18);
  --sai-text: #f4f4f4;
  --sai-muted: #c9c9c9;
  --sai-white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.38);

  margin: 0;
  font-family: var(--font-family, Arial, Helvetica, sans-serif);
  color: var(--sai-text);
  background:
    radial-gradient(circle at top left, rgba(0, 43, 127, 0.32), transparent 32rem),
    linear-gradient(180deg, #000000 0%, var(--index-bg, rgb(40, 40, 40)) 100%);
  line-height: 1.55;
}

body.index-page a {
  color: var(--sai-blue);
  text-decoration: none;
}

body.index-page a:hover,
body.index-page a:focus {
  text-decoration: underline;
}

body.index-page .page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

body.index-page .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 28px;
  border-bottom: 1px solid var(--sai-line);
}

body.index-page .brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

body.index-page .brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
}

body.index-page .brand-logo {
  display: block;
  width: clamp(72px, 8vw, 112px);
  height: auto;
  max-height: 112px;
  object-fit: contain;
}

body.index-page .brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.index-page .brand-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--sai-dark);
  letter-spacing: 0.01em;
}

body.index-page .brand-subtitle {
  color: var(--sai-muted);
  font-size: 0.96rem;
}

body.index-page .top-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.index-page .top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--sai-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--sai-line);
}

body.index-page .top-nav a.client-login {
  color: #ffffff;
  background: var(--index-blue, rgb(0, 43, 127));
  border-color: var(--index-blue, rgb(0, 43, 127));
  box-shadow: 0 10px 22px rgba(0, 43, 127, 0.32);
}

body.index-page .top-nav a.client-login:hover,
body.index-page .top-nav a.client-login:focus {
  filter: brightness(1.15);
  text-decoration: none;
}

body.index-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
  padding: 44px 0 28px;
}

body.index-page .hero-card,
body.index-page .contact-card,
body.index-page .client-login-card,
body.index-page .service-card,
body.index-page .info-card {
  background: rgba(16, 16, 16, 0.88);
  border: 1px solid var(--sai-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body.index-page .hero-card,
body.index-page .contact-card {
  padding: clamp(24px, 4vw, 44px);
}

body.index-page .eyebrow {
  margin: 0 0 12px;
  color: var(--sai-gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

body.index-page h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.04;
  color: var(--sai-dark);
}

body.index-page h2,
body.index-page h3 {
  color: var(--sai-dark);
}

body.index-page p {
  color: var(--sai-text);
}

body.index-page .hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--sai-text);
  max-width: 780px;
}

body.index-page .tagline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(122, 183, 255, 0.12);
  color: var(--sai-blue-dark);
  font-weight: 800;
}

body.index-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body.index-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--sai-blue);
  font-weight: 800;
  text-decoration: none;
}

body.index-page .button.primary {
  color: #ffffff;
  background: var(--index-blue, rgb(0, 43, 127));
  border-color: var(--index-blue, rgb(0, 43, 127));
}

body.index-page .button.secondary {
  color: var(--sai-blue);
  background: transparent;
}

body.index-page .button:hover,
body.index-page .button:focus {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.12);
}

body.index-page .hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: start;
}

body.index-page .contact-card {
  display: block;
}

body.index-page .contact-card p:first-child,
body.index-page .hero-card p:first-child {
  margin-top: 0;
}

body.index-page .contact-card p:last-child,
body.index-page .client-login-card p:last-child {
  margin-bottom: 0;
}

body.index-page .client-login-card {
  padding: 26px;
}

body.index-page .contact-card h2 {
  margin: 0 0 8px;
}

body.index-page .phone,
body.index-page .e-mail {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sai-blue-dark);
}

body.index-page .client-box {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.index-page .client-login-card .eyebrow {
  margin-bottom: 16px;
}

body.index-page .client-box h3 {
  margin: 0 0 8px;
}

body.index-page .section {
  padding: 24px 0;
}

body.index-page .section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

body.index-page .services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.index-page .service-card {
  padding: 22px;
}

body.index-page .service-card h3 {
  margin: 0 0 8px;
}

body.index-page .service-card p {
  margin: 0;
  color: var(--sai-muted);
}

body.index-page .check {
  color: var(--sai-gold);
  font-weight: 900;
  margin-right: 6px;
}

body.index-page .info-card {
  padding: 22px;
  margin-top: 18px;
}

body.index-page .service-area-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
  margin: 22px 0 22px;
}

body.index-page .service-area-block {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 0;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

body.index-page .service-area-block:hover,
body.index-page .service-area-block:focus {
  text-decoration: none;
  transform: translateY(-2px);
  opacity: 0.92;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.48);
}

body.index-page .service-area-block.architectural {
  background: var(--index-red, rgb(206, 17, 38));
}

body.index-page .service-area-block.computing {
  background: var(--index-yellow, rgb(232, 193, 23));
  color: #1f2933;
}

body.index-page .service-area-block.advanced {
  background: var(--index-blue, rgb(0, 43, 127));
}

body.index-page .service-detail-grid {
  margin-top: 18px;
}

/* Our Clients strip */
body.index-page .clients-strip {
  overflow: hidden;
}

body.index-page .clients-strip-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

body.index-page .clients-carousel {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--sai-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

body.index-page .clients-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.65s ease;
  will-change: transform;
}

body.index-page .client-slide {
  flex: 0 0 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px;
}

body.index-page .client-logo-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

body.index-page .client-logo-wrap img {
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
}

body.index-page .client-initials {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

body.index-page .client-name {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(1rem, 3vw, 1.75rem);
  font-weight: 500;
}

body.index-page .client-note {
  margin: 0;
  color: var(--sai-muted);
  font-size: 1rem;
}

body.index-page .footer {
  margin-top: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--sai-line);
  color: var(--sai-muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

body.index-page .footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
}

@media (max-width: 820px) {
  body.index-page .service-area-blocks,
  body.index-page .services-grid {
    grid-template-columns: 1fr;
  }

  body.index-page .site-header,
  body.index-page .hero {
    grid-template-columns: 1fr;
  }

  body.index-page .site-header {
    align-items: flex-start;
  }

  body.index-page .top-nav {
    justify-content: flex-start;
  }

  body.index-page .brand {
    align-items: center;
    gap: 12px;
  }

  body.index-page .brand-logo {
    width: 76px;
  }

  body.index-page .hero {
    display: block;
  }

  body.index-page .hero-side {
    margin-top: 18px;
  }

  body.index-page .client-slide {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

body.index-page {
  --sai-bright-blue: #0094ff;
  --sai-bright-blue-2: #28c7ff;
  --sai-card-bg: rgba(16, 20, 28, 0.82);
  --sai-card-bg-soft: rgba(255, 255, 255, 0.075);
  --sai-card-border: rgba(255, 255, 255, 0.28);
  --sai-card-border-strong: rgba(122, 183, 255, 0.42);
  --sai-focus-ring: rgba(40, 199, 255, 0.38);
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 148, 255, 0.36), transparent 28rem),
    radial-gradient(circle at 95% 12%, rgba(232, 193, 23, 0.13), transparent 22rem),
    radial-gradient(circle at 55% 105%, rgba(0, 43, 127, 0.28), transparent 34rem),
    linear-gradient(180deg, #050608 0%, #151515 56%, #252525 100%);
}

body.index-page .hero-card,
body.index-page .contact-card,
body.index-page .client-login-card,
body.index-page .service-card,
body.index-page .info-card,
body.index-page .clients-carousel {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    var(--sai-card-bg);
  border: 2px solid var(--sai-card-border);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.index-page .hero-card::before,
body.index-page .contact-card::before,
body.index-page .client-login-card::before,
body.index-page .service-card::before,
body.index-page .info-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(40, 199, 255, 0.34), transparent 34%, rgba(232, 193, 23, 0.16));
  opacity: 0.38;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 2px;
}

body.index-page .hero-card:hover,
body.index-page .contact-card:hover,
body.index-page .client-login-card:hover,
body.index-page .service-card:hover,
body.index-page .info-card:hover {
  border-color: var(--sai-card-border-strong);
  transform: translateY(-2px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.index-page .button {
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(0, 148, 255, 0.24);
}

body.index-page .button.primary {
  background: linear-gradient(135deg, var(--sai-bright-blue), var(--sai-bright-blue-2));
  border-color: rgba(40, 199, 255, 0.82);
  color: #ffffff;
}

body.index-page .button.primary:hover,
body.index-page .button.primary:focus {
  filter: none;
  box-shadow:
    0 16px 34px rgba(0, 148, 255, 0.38),
    0 0 0 4px rgba(40, 199, 255, 0.14);
}

body.index-page .service-area-block {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.44);
}

body.index-page .service-area-block.architectural {
  background: linear-gradient(135deg, rgb(206, 17, 38), rgb(255, 74, 94));
}

body.index-page .service-area-block.computing {
  background: linear-gradient(135deg, rgb(232, 193, 23), rgb(255, 226, 92));
}

body.index-page .service-area-block.advanced {
  background: linear-gradient(135deg, rgb(0, 74, 190), rgb(0, 148, 255));
}

/* Clients strip now uses a continuous one-way marquee animation. */
body.index-page .clients-carousel {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

body.index-page .clients-track {
  width: max-content;
  gap: 18px;
  align-items: stretch;
  transition: none;
  animation: saiClientMarquee 28s linear infinite;
}

body.index-page .clients-carousel:hover .clients-track {
  animation-play-state: paused;
}

body.index-page .client-slide {
  flex: 0 0 360px;
  min-height: 130px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes saiClientMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

/* Temporary client login popup. This can later post to the PHP login backend. */
body.index-page .client-login-modal[hidden] {
  display: none;
}

body.index-page .client-login-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

body.index-page .client-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.index-page .client-login-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(12, 16, 24, 0.95);
  border: 2px solid var(--sai-card-border-strong);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.62);
  color: var(--sai-text);
}

body.index-page .client-login-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

body.index-page .client-login-help {
  margin-top: 0;
  color: var(--sai-muted);
}

body.index-page .client-login-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

body.index-page .client-login-field label {
  display: block;
  margin: 0 0 7px;
  color: #ffffff;
  font-weight: 800;
}

body.index-page .client-login-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
  outline: none;
}

body.index-page .client-login-field input:focus {
  border-color: var(--sai-bright-blue-2);
  box-shadow: 0 0 0 4px var(--sai-focus-ring);
}

body.index-page .client-login-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.index-page .client-login-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #ffd7d7;
  background: rgba(206, 17, 38, 0.18);
  border: 1px solid rgba(255, 74, 94, 0.46);
  font-weight: 700;
}

body.index-page .client-login-submit {
  width: 100%;
}

body.index-page.client-login-open {
  overflow: hidden;
}

body.index-page {
  --sai-line-strong: rgba(122, 183, 255, 0.38);
  --sai-card-border-width: 2px;
  --sai-button-bright: #168cff;
  --sai-button-bright-2: #08c8ff;
}

body.index-page .site-header {
  border-bottom: var(--sai-card-border-width) solid var(--sai-line-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

body.index-page .hero {
  align-items: stretch;
}

body.index-page .hero-card,
body.index-page .contact-card,
body.index-page .client-login-card,
body.index-page .about-card,
body.index-page .blog-card,
body.index-page .service-card,
body.index-page .info-card,
body.index-page .seo-card,
body.index-page .clients-carousel {
  border-width: var(--sai-card-border-width);
  border-color: var(--sai-line-strong);
}

body.index-page .hero-card {
  min-height: 100%;
}

body.index-page .hero-card-stack {
  height: 100%;
  min-height: 100%;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.index-page .hero-side-card {
  min-height: 0;
  padding: clamp(18px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

body.index-page .hero-side-card p {
  margin-top: 0;
  margin-bottom: 0;
}

body.index-page .hero-side-card .eyebrow {
  margin-bottom: 2px;
}

body.index-page .contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

body.index-page .phone,
body.index-page .e-mail {
  color: #d7edff;
}

body.index-page .card-link-button {
  align-self: flex-start;
  margin-top: auto;
}

body.index-page .button.primary {
  background: linear-gradient(135deg, var(--sai-button-bright) 0%, var(--sai-button-bright-2) 100%);
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 14px 28px rgba(8, 200, 255, 0.22);
}

body.index-page .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(122, 183, 255, 0.55);
}

body.index-page .button.secondary:hover,
body.index-page .button.secondary:focus {
  background: rgba(22, 140, 255, 0.22);
}

body.index-page .seo-support h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

body.index-page .seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.index-page .seo-card {
  background: rgba(16, 16, 16, 0.88);
  border-style: solid;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

body.index-page .seo-card h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.05rem;
}

body.index-page .seo-card p {
  margin: 0;
  color: var(--sai-muted);
}

body.index-page .work-strip {
  overflow: hidden;
}

body.index-page .work-carousel {
  background: rgba(255, 255, 255, 0.055);
}

body.index-page .work-slide .client-logo-wrap {
  background: linear-gradient(135deg, rgba(22, 140, 255, 0.22), rgba(232, 193, 23, 0.14));
}

body.index-page .work-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(22, 140, 255, 0.2);
  border: 1px solid rgba(122, 183, 255, 0.36);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  body.index-page .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body.index-page .hero-card-stack {
    height: auto;
    grid-template-rows: none;
  }

  body.index-page .hero-side-card {
    min-height: 160px;
  }
}

@media (max-width: 640px) {
  body.index-page .seo-grid {
    grid-template-columns: 1fr;
  }
}

body.index-page {
  --sai-work-slide-min-height: 108px;
  --sai-work-slide-padding: 16px 20px;
  --sai-work-logo-size: 72px;
  --sai-work-logo-image-size: 58px;
}

body.index-page .hero-card {
  display: flex;
  flex-direction: column;
}

body.index-page .hero-who-we-help {
  margin-top: 24px;
}

body.index-page .hero-who-we-help h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.25;
}

body.index-page .hero-who-we-help .eyebrow {
  margin-bottom: 8px;
}

body.index-page .hero-seo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.index-page .hero-seo-grid .seo-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
}

body.index-page .hero-seo-grid .seo-card h3 {
  font-size: 0.98rem;
}

body.index-page .hero-seo-grid .seo-card p {
  font-size: 0.94rem;
  line-height: 1.45;
}

body.index-page .hero-actions {
  margin-top: auto;
  padding-top: 26px;
}

body.index-page .work-slide {
  min-height: var(--sai-work-slide-min-height);
  padding: var(--sai-work-slide-padding);
}

body.index-page .work-slide .client-logo-wrap {
  width: var(--sai-work-logo-size);
  height: var(--sai-work-logo-size);
  border-radius: 14px;
}

body.index-page .work-slide .client-logo-wrap img {
  max-width: var(--sai-work-logo-image-size);
  max-height: var(--sai-work-logo-image-size);
}

body.index-page .work-slide .client-initials {
  font-size: 1rem;
}

body.index-page .work-slide .client-name {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

body.index-page .work-slide .client-note {
  font-size: 0.92rem;
}

body.index-page .work-slide .work-tag {
  margin-bottom: 5px;
  padding: 3px 9px;
  font-size: 0.7rem;
}

@media (max-width: 980px) {
  body.index-page .hero-seo-grid {
    grid-template-columns: 1fr;
  }
}

body.index-page {
  --sai-hero-main-card-top-padding: clamp(18px, 2.2vw, 26px);
  --sai-hero-main-card-side-padding: clamp(24px, 4vw, 44px);
  --sai-hero-main-card-bottom-padding: clamp(24px, 4vw, 44px);
}

body.index-page .hero-card {
  padding: var(--sai-hero-main-card-top-padding)
           var(--sai-hero-main-card-side-padding)
           var(--sai-hero-main-card-bottom-padding);
}

body.index-page .hero-card > .eyebrow:first-child,
body.index-page .hero-side-card > .eyebrow:first-child {
  margin-top: 0;
}

body.index-page .client-logo-wrap.client-logo-wrap-plain {
  width: auto;
  height: auto;
  min-width: var(--client-logo-max-width, 120px);
  max-width: var(--client-logo-max-width, 120px);

  /* Remove the rounded-square vignette around real logos. */
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  overflow: visible;
}

body.index-page .client-logo-wrap.client-logo-wrap-plain img.client-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--client-logo-max-width, 120px);
  max-height: var(--client-logo-max-height, 70px);

  object-fit: contain;
}

body.index-page .work-strip.work-strip-hidden[aria-labelledby="work-title"] {
  display: none !important;
}

body.index-page .clients-strip[aria-labelledby="clients-title"] {
  display: block !important;
  visibility: visible !important;
}

body.index-page.sai-content-page .page { max-width: 1180px; }
body.index-page.sai-content-page .site-header { margin-bottom: 30px; }
body.index-page.sai-content-page .content-hero { padding: 28px 0 20px; }
body.index-page.sai-content-page .content-card,
body.index-page.sai-content-page .content-section-card,
body.index-page.sai-content-page .team-card,
body.index-page.sai-content-page .gallery-card,
body.index-page.sai-content-page .software-card,
body.index-page.sai-content-page .content-nav-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)), var(--sai-card-bg, rgba(16,20,28,.82));
  border: var(--sai-card-border-width, 2px) solid var(--sai-line-strong, rgba(122,183,255,.38));
  border-radius: var(--radius, 18px);
  box-shadow: 0 22px 58px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.index-page.sai-content-page .content-card,
body.index-page.sai-content-page .content-section-card,
body.index-page.sai-content-page .content-nav-card { padding: clamp(22px, 3.2vw, 40px); margin-bottom: 22px; }
body.index-page.sai-content-page h1,
body.index-page.sai-content-page h2,
body.index-page.sai-content-page h3 { color: #fff; }
body.index-page.sai-content-page .content-card h1 { margin: 0 0 16px; font-size: clamp(1.75rem,3.5vw,3rem); line-height: 1.04; }
body.index-page.sai-content-page .content-section-card h2,
body.index-page.sai-content-page .team-card h2,
body.index-page.sai-content-page .gallery-card h2 { margin-top: 0; font-size: clamp(1.35rem,2.4vw,2rem); }
body.index-page.sai-content-page p,
body.index-page.sai-content-page li { color: var(--sai-text,#f4f4f4); }
body.index-page.sai-content-page .content-lead { font-size: clamp(1.05rem,2vw,1.25rem); }
body.index-page.sai-content-page .content-grid,
body.index-page.sai-content-page .team-grid,
body.index-page.sai-content-page .software-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
body.index-page.sai-content-page .team-card,
body.index-page.sai-content-page .software-card,
body.index-page.sai-content-page .gallery-card { padding: 22px; }
body.index-page.sai-content-page .page-actions,
body.index-page.sai-content-page .content-nav-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
body.index-page.sai-content-page .modern-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; margin-top: 18px; }
body.index-page.sai-content-page .modern-gallery-item { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 10px; overflow: hidden; }
body.index-page.sai-content-page .modern-gallery-item img { width: 100%; height: 170px; display: block; object-fit: contain; background: rgba(0,0,0,.24); border-radius: 12px; cursor: zoom-in; }
body.index-page.sai-content-page .modern-gallery-caption { margin: 8px 0 0; color: var(--sai-muted,#c9c9c9); font-size: .92rem; text-align: center; }
body.index-page.sai-content-page .software-list,
body.index-page.sai-content-page .software-list-no-hyperlink { list-style: none; padding-left: 0; }
body.index-page.sai-content-page .software-list li,
body.index-page.sai-content-page .software-list-no-hyperlink li { margin: 8px 0; }
body.index-page.sai-content-page .sublist-l1,
body.index-page.sai-content-page .sublist-l2 { margin: 6px 0; }
body.index-page.sai-content-page .subtitle-pill { display: inline-flex; padding: 6px 12px; border-radius: 999px; color: #fff; background: rgba(22,140,255,.2); border: 1px solid rgba(122,183,255,.36); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
body.index-page.sai-content-page .lightbox-overlay { display:none; position:fixed; inset:0; z-index:9000; background:rgba(0,0,0,.92); align-items:center; justify-content:center; }
body.index-page.sai-content-page .lightbox-overlay.active { display:flex; }
body.index-page.sai-content-page .lightbox-img { max-width:95vw; max-height:92vh; object-fit:contain; border:1px solid rgba(255,255,255,.15); }
body.index-page.sai-content-page .lightbox-caption { position:absolute; bottom:18px; left:50%; transform:translateX(-50%); color:#ccc; text-align:center; max-width:80vw; }
body.index-page.sai-content-page .lightbox-close { position:absolute; top:18px; right:24px; font-size:32px; color:#ccc; background:none; border:0; cursor:pointer; }
@media (max-width:820px) {
  body.index-page.sai-content-page .content-grid,
  body.index-page.sai-content-page .team-grid,
  body.index-page.sai-content-page .software-grid { grid-template-columns: 1fr; }
}

body.index-page.sai-content-page {
  --sai-project-list-max-height: 760px;
  --sai-project-strip-min-height: 230px;
  --sai-project-thumb-width: 260px;
  --sai-project-thumb-height: 180px;
  --sai-project-carousel-duration: 34s;
}

body.index-page.sai-content-page .projects-scroll-card {
  position: relative;
  margin-bottom: 22px;
  padding: clamp(22px, 3.2vw, 40px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    var(--sai-card-bg, rgba(16, 20, 28, 0.82));
  border: var(--sai-card-border-width, 2px) solid var(--sai-line-strong, rgba(122, 183, 255, 0.38));
  border-radius: var(--radius, 18px);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.index-page.sai-content-page .projects-scroll-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

body.index-page.sai-content-page .project-scroll-note {
  margin: 0;
  color: var(--sai-muted, #c9c9c9);
  font-size: 0.95rem;
}

body.index-page.sai-content-page .projects-scroll-window {
  max-height: var(--sai-project-list-max-height);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  scrollbar-color: rgba(122, 183, 255, 0.58) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

body.index-page.sai-content-page .projects-scroll-window::-webkit-scrollbar {
  width: 10px;
}

body.index-page.sai-content-page .projects-scroll-window::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

body.index-page.sai-content-page .projects-scroll-window::-webkit-scrollbar-thumb {
  background: rgba(122, 183, 255, 0.58);
  border-radius: 999px;
}

body.index-page.sai-content-page .project-strip-card {
  min-height: var(--sai-project-strip-min-height);
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

body.index-page.sai-content-page .project-strip-card:last-child {
  margin-bottom: 0;
}

body.index-page.sai-content-page .project-strip-header {
  margin-bottom: 14px;
}

body.index-page.sai-content-page .project-strip-header h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

body.index-page.sai-content-page .project-strip-header p {
  margin: 0;
  color: var(--sai-muted, #c9c9c9);
}

body.index-page.sai-content-page .project-carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

body.index-page.sai-content-page .project-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  animation: saiProjectMarquee var(--sai-project-carousel-duration) linear infinite;
  will-change: transform;
}

body.index-page.sai-content-page .project-track-slower {
  animation-duration: calc(var(--sai-project-carousel-duration) + 10s);
}

body.index-page.sai-content-page .project-carousel:hover .project-track {
  animation-play-state: paused;
}

body.index-page.sai-content-page .project-thumb,
body.index-page.sai-content-page .project-placeholder-thumb {
  flex: 0 0 var(--sai-project-thumb-width);
  width: var(--sai-project-thumb-width);
  height: var(--sai-project-thumb-height);
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  display: grid;
  place-items: center;
  text-align: center;
}

body.index-page.sai-content-page .project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  display: block;
}

body.index-page.sai-content-page .project-placeholder-thumb {
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.03em;
  background:
    linear-gradient(135deg, rgba(22, 140, 255, 0.24), rgba(232, 193, 23, 0.12)),
    rgba(255, 255, 255, 0.065);
}

@keyframes saiProjectMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

@media (max-width: 720px) {
  body.index-page.sai-content-page {
    --sai-project-list-max-height: 680px;
    --sai-project-thumb-width: 210px;
    --sai-project-thumb-height: 118px;
  }
}

body.index-page.sai-content-page {
  --sai-project-thumb-width: 260px;
  --sai-project-thumb-height: 180px;
  --sai-project-thumb-title-height: 28px;
}

body.index-page.sai-content-page .project-carousel {
  overflow: hidden;
  width: 100%;
}

body.index-page.sai-content-page .project-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  min-width: max-content;
}

body.index-page.sai-content-page .project-thumb.project-thumb-card {
  flex: 0 0 var(--sai-project-thumb-width);
  width: var(--sai-project-thumb-width);
  max-width: var(--sai-project-thumb-width);
  height: var(--sai-project-thumb-height);
  min-height: var(--sai-project-thumb-height);
  max-height: var(--sai-project-thumb-height);
  display: grid;
  grid-template-rows: var(--sai-project-thumb-title-height) 1fr;
  gap: 6px;
  place-items: stretch;
  text-align: center;
  padding: 8px;
  overflow: hidden;
}

body.index-page.sai-content-page .project-thumb-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

body.index-page.sai-content-page .project-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
}

body.index-page.sai-content-page .project-thumb img.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  body.index-page.sai-content-page {
    --sai-project-thumb-width: 190px;
    --sai-project-thumb-height: 138px;
    --sai-project-thumb-title-height: 26px;
  }

  body.index-page.sai-content-page .projects-scroll-window {
    max-height: 650px;
  }
}
/* ==========================================================
   Capability Statement
   ========================================================== */

body.index-page.sai-content-page .capability-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

body.index-page.sai-content-page .capability-audience-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.index-page.sai-content-page .capability-pdf-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

body.index-page.sai-content-page .capability-pdf-toolbar h2 {
  margin: 0;
}

body.index-page.sai-content-page .capability-pdf-actions {
  margin-top: 0;
}

body.index-page.sai-content-page .capability-pdf-viewer {
  height: 82vh;
  min-height: 650px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(122, 183, 255, 0.38);
  background: rgba(255, 255, 255, 0.055);
}

body.index-page.sai-content-page .capability-pdf-viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

body.index-page.sai-content-page .capability-fallback-note {
  margin: 14px 0 0;
  color: var(--sai-muted, #c9c9c9);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  body.index-page.sai-content-page .capability-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.index-page.sai-content-page .capability-pdf-viewer {
    height: 74vh;
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  body.index-page.sai-content-page .capability-audience-grid {
    grid-template-columns: 1fr;
  }

  body.index-page.sai-content-page .capability-pdf-actions,
  body.index-page.sai-content-page .capability-pdf-actions .button {
    width: 100%;
  }

  body.index-page.sai-content-page .capability-pdf-viewer {
    min-height: 460px;
  }
}
/* Capability Statement PDF buttons - smaller size */
body.index-page.sai-content-page .capability-pdf-actions .button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.86rem;
  border-radius: 999px;
  line-height: 1.15;
}
/* ==========================================================
FAQ section
   ========================================================== */
body.index-page .faq-section {
  padding: 24px 0;
}

body.index-page .faq-section .faq-intro {
  max-width: 860px;
  margin: 0 0 18px;
  color: var(--sai-muted, #c9c9c9);
  font-size: 1.02rem;
}

body.index-page .faq-item {
  position: relative;
  margin: 0 0 12px;
  padding: 0;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    var(--sai-card-bg, rgba(16, 20, 28, 0.82));
  border: var(--sai-card-border-width, 2px) solid var(--sai-line-strong, rgba(122, 183, 255, 0.38));
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

body.index-page .faq-question {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 18px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  list-style: none !important;
}

body.index-page .faq-question::-webkit-details-marker {
  display: none !important;
}

body.index-page .faq-question::marker {
  content: "" !important;
}

body.index-page .faq-question::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;

  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #17bee8, #5adeff);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 30px;
  text-align: center;

  padding: 0;
  transform: translateY(-1px);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 8px 18px rgba(23, 187, 232, 0.26);

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

body.index-page .faq-item[open] .faq-question::before {
  content: "−";
  color: #ffffff;
  background: linear-gradient(135deg, #168cff, #08c8ff);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.30) inset,
    0 8px 20px rgba(8, 200, 255, 0.30);
  transform: translateY(-1px) rotate(180deg);
}

body.index-page .faq-question:hover,
body.index-page .faq-question:focus {
  background: rgba(22, 140, 255, 0.16);
  outline: none;
}

body.index-page .faq-question:hover::before,
body.index-page .faq-question:focus::before {
  transform: translateY(-1px) scale(1.08);
}

body.index-page .faq-item[open] .faq-question:hover::before,
body.index-page .faq-item[open] .faq-question:focus::before {
  transform: translateY(-1px) rotate(180deg) scale(1.08);
}

body.index-page .faq-question:focus-visible {
  box-shadow: inset 0 0 0 3px var(--sai-focus-ring, rgba(40, 199, 255, 0.38));
}

body.index-page .faq-item p {
  margin: 0;
  padding: 0 18px 18px 58px;
  color: var(--sai-muted, #c9c9c9);
  line-height: 1.6;
}

@media (max-width: 640px) {
  body.index-page .faq-question {
    align-items: flex-start;
    padding: 15px;
    font-size: 0.98rem;
  }

  body.index-page .faq-item p {
    padding: 0 15px 16px 55px;
  }
}
/* ==========================================================
   Patchwork Blog Styles
   ========================================================== */

body.index-page.blog-page .blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}

body.index-page.blog-page .blog-main {
  display: grid;
  gap: 18px;
}

body.index-page.blog-page .blog-post-card,
body.index-page.blog-page .blog-sidebar-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius, 18px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    var(--sai-card-bg, rgba(16, 20, 28, 0.82));
  border: var(--sai-card-border-width, 2px) solid var(--sai-line-strong, rgba(122, 183, 255, 0.38));
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.index-page.blog-page .blog-post-card h2,
body.index-page.blog-page .blog-sidebar-card h2 {
  margin-top: 0;
  color: #ffffff;
}

body.index-page.blog-page .blog-post-card h2 a {
  color: #ffffff;
  text-decoration: none;
}

body.index-page.blog-page .blog-post-card h2 a:hover,
body.index-page.blog-page .blog-post-card h2 a:focus {
  color: var(--sai-link, #7ab7ff);
  text-decoration: none;
}

body.index-page.blog-page .blog-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 20px;
}

body.index-page.blog-page .blog-post-tags,
body.index-page.blog-page .blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

body.index-page.blog-page .blog-post-tags span,
body.index-page.blog-page .blog-tag-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(22, 140, 255, 0.20);
  border: 1px solid rgba(122, 183, 255, 0.42);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

body.index-page.blog-page .blog-tag-cloud a:hover,
body.index-page.blog-page .blog-tag-cloud a:focus {
  background: rgba(22, 140, 255, 0.32);
  text-decoration: none;
}

body.index-page.blog-page .blog-inline-preview {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body.index-page.blog-page .blog-inline-preview h3 {
  color: #ffffff;
  margin-top: 0;
}

body.index-page.blog-page .blog-code {
  overflow-x: auto;
  padding: 16px;
  border-radius: 14px;
  color: #d7edff;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(122, 183, 255, 0.34);
  font-size: 0.92rem;
  line-height: 1.55;
}

body.index-page.blog-page .blog-figure {
  margin: 22px 0;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.index-page.blog-page .blog-figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

body.index-page.blog-page .blog-figure figcaption {
  margin-top: 8px;
  color: var(--sai-muted, #c9c9c9);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 900px) {
  body.index-page.blog-page .blog-layout {
    grid-template-columns: 1fr;
  }

  body.index-page.blog-page .blog-sidebar {
    position: static;
  }
}

/* Footer*/
body.index-page .site-footer-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

body.index-page .site-footer-payment .footer-copyright {
  flex: 1 1 auto;
}

body.index-page .site-footer-payment .footer-payment {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Keeps button from becoming too large */
body.index-page .site-footer-payment .footer-payment a,
body.index-page .site-footer-payment .footer-payment button {
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 640px) {
  body.index-page .site-footer-payment {
    justify-content: center;
    text-align: center;
  }

  body.index-page .site-footer-payment .footer-copyright,
  body.index-page .site-footer-payment .footer-payment {
    flex: 1 1 100%;
    justify-content: center;
  }
}