:root {
  --background-color: #ffffff;
  --default-color: #34445c;
  --heading-color: #102a56;
  --accent-color: #2463d1;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-hover-color: #8dbaff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-color: #34445c;
  --nav-dropdown-hover-color: #2463d1;
  --cbt-navy: #102a56;
  --cbt-blue: #2463d1;
  --cbt-light: #f3f6fb;
}

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

body {
  color: var(--default-color);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f4b740;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--cbt-navy);
  border-radius: 0.4rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

body.index-page .header {
  --background-color: rgba(16, 42, 86, 0.98);
  --heading-color: #ffffff;
  --nav-color: #ffffff;
  padding: 12px 0;
}

body.index-page.scrolled .header {
  --background-color: rgba(16, 42, 86, 0.98);
}

.header .container-xl {
  max-width: 1320px;
}

.header .logo {
  gap: 0.65rem;
  min-width: max-content;
}

.brand-mark {
  display: inline-grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: #fff;
  background: var(--cbt-blue);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-name {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.055em;
}

.header .btn-getstarted {
  flex-shrink: 0;
  margin-left: 1rem;
  padding: 0.65rem 1.1rem;
  background: var(--cbt-blue);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.5rem;
  font-weight: 650;
  white-space: nowrap;
}

.navmenu a,
.navmenu a:focus {
  font-size: 0.85rem;
  font-weight: 550;
}

.navmenu li:last-child a {
  padding-right: 0.6rem;
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: #a9cbff;
}

.mobile-nav-toggle {
  border: 0;
  background: transparent;
}

.section-space {
  padding: 88px 0;
}

section.section-space {
  scroll-margin-top: 78px;
}

.light-background {
  --background-color: var(--cbt-light);
  --surface-color: #ffffff;
}

.hero {
  min-height: 690px;
  padding: 145px 0 90px;
  background:
    radial-gradient(ellipse at 80% 42%, rgba(52, 112, 203, 0.3), transparent 34%),
    linear-gradient(120deg, #102a56 0%, #163b72 58%, #1b4c8a 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  margin: 0 0 1rem;
  color: #b6d2fb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero .hero-copy h1 {
  max-width: 780px;
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 4.1vw, 3.65rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero .hero-copy .hero-lead {
  max-width: 690px;
  margin: 0 0 1.9rem;
  color: #e1eaf7;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.75;
}

.btn-primary-custom,
.btn-outline-custom {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.5rem;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn-primary-custom {
  color: #fff;
  background: var(--cbt-blue);
  border: 1px solid var(--cbt-blue);
}

.btn-primary-custom:hover {
  color: #fff;
  background: #184fae;
  border-color: #184fae;
  transform: translateY(-1px);
}

.btn-primary-custom:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.btn-outline-custom {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-outline-custom:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-note {
  margin-top: 1.5rem;
  color: #d2e0f3;
  font-size: 0.88rem;
}

.hero-note i {
  margin-right: 0.35rem;
  color: #9dc5ff;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(100%, 480px);
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(5, 20, 45, 0.2));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--cbt-blue);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.content-heading,
.careers-panel h2 {
  margin: 0 0 1rem;
  color: var(--cbt-navy);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 730;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin: 0;
  color: #5d6b7d;
  font-size: 1.03rem;
}

.content-heading {
  font-size: 1.8rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.principle-card,
.service-card,
.technology-card {
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 0.85rem;
  box-shadow: 0 8px 26px rgba(16, 42, 86, 0.045);
}

.principle-card i {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--cbt-blue);
  font-size: 1.45rem;
}

.principle-card h3,
.service-card h3,
.technology-card h3 {
  color: var(--cbt-navy);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.principle-card p,
.service-card p {
  margin: 0;
  color: #5d6b7d;
  font-size: 0.92rem;
}

.service-card {
  padding: 1.6rem;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.service-card:hover {
  border-color: #c5d6f0;
  box-shadow: 0 14px 34px rgba(16, 42, 86, 0.09);
  transform: translateY(-3px);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.15rem;
  place-items: center;
  color: var(--cbt-blue);
  background: #edf4ff;
  border-radius: 0.7rem;
  font-size: 1.35rem;
}

.service-card h3 {
  min-height: 2.8rem;
  margin-bottom: 0.7rem;
}

.offerings-note {
  margin: 1.5rem auto 0;
  color: #5d6b7d;
  font-size: 0.86rem;
  text-align: center;
}

.offerings-note i {
  color: var(--cbt-blue);
}

.technology-card {
  padding: 1.35rem;
}

.technology-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.technology-card h3 i {
  color: var(--cbt-blue);
  font-size: 1.2rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-tags li {
  padding: 0.3rem 0.6rem;
  color: #33465f;
  background: #f1f5fa;
  border: 1px solid #e5ebf3;
  border-radius: 999px;
  font-size: 0.82rem;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.value-list > div {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid #e5ebf3;
  border-radius: 0.75rem;
}

.value-list > div > i {
  margin-top: 0.15rem;
  color: var(--cbt-blue);
}

.value-list strong,
.value-list small {
  display: block;
}

.value-list strong {
  color: var(--cbt-navy);
  font-size: 0.94rem;
}

.value-list small {
  margin-top: 0.25rem;
  color: #5d6b7d;
  font-size: 0.83rem;
  line-height: 1.5;
}

.text-link {
  color: var(--cbt-blue);
  font-weight: 700;
}

.careers-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #eef4fd;
  border: 1px solid #dfe9f8;
  border-radius: 1rem;
}

.careers-panel p {
  max-width: 720px;
  margin-bottom: 0;
  color: #53647a;
}

.contact-panel,
.zoho-form-panel {
  min-width: 0;
  height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 0.9rem;
  box-shadow: 0 8px 26px rgba(16, 42, 86, 0.05);
}

.contact-panel h3 {
  margin-bottom: 0.75rem;
  color: var(--cbt-navy);
  font-size: 1.25rem;
  font-weight: 720;
}

.contact-panel > p {
  margin-bottom: 1.5rem;
  color: #5d6b7d;
}

.contact-detail {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 1.2rem 0;
}

.contact-detail > i {
  color: var(--cbt-blue);
  font-size: 1.15rem;
}

.contact-detail strong,
.contact-detail span {
  display: block;
}

.contact-detail strong {
  color: var(--cbt-navy);
  font-size: 0.92rem;
}

.contact-detail span {
  color: #5d6b7d;
  font-size: 0.88rem;
}

.contact-detail a {
  color: #53647a;
  overflow-wrap: anywhere;
}

.contact-detail a:hover,
.form-provider-note a:hover {
  color: var(--cbt-blue);
}

.zoho-form-panel {
  padding: clamp(0.75rem, 2vw, 1.25rem);
}

.zoho-form-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 1400px;
  border: 0;
}

.form-provider-note {
  margin: 0.75rem 0 0;
  color: #5d6b7d;
  font-size: 0.85rem;
}

.footer {
  --background-color: #0c2144;
  --default-color: #d7e1ef;
  color: #d7e1ef;
  background: #0c2144;
}

.footer-top {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: #fff;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.035em;
}

.footer-brand:hover {
  color: #fff;
}

.footer-description {
  max-width: 340px;
  margin-top: 1.1rem;
  color: #c1ccdc;
  font-size: 0.9rem;
}

.footer .footer-links h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.footer .footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .footer-links li {
  padding: 0.3rem 0;
  color: #c1ccdc;
  font-size: 0.88rem;
}

.footer .footer-links a {
  color: #c1ccdc;
}

.footer .footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c1ccdc;
  font-size: 0.82rem;
  text-align: center;
}

.footer-bottom .credits a {
  color: #b6d2fb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1199px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 0.8rem 0 0;
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
  }

  .header .navmenu {
    order: 3;
  }

  .navmenu ul {
    inset: 72px 16px auto;
    max-height: calc(100vh - 92px);
    padding: 0.6rem 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #283a52;
  }

  .navmenu .active,
  .navmenu a:hover {
    color: var(--cbt-blue);
  }

  .mobile-nav-active .mobile-nav-toggle {
    top: 18px;
    right: 16px;
    color: #fff;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
    position: fixed;
    inset: 76px 16px auto;
    max-height: calc(100vh - 96px);
  }
}

@media (max-width: 767px) {
  .section-space {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    padding: 125px 0 65px;
  }

  .hero .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero .hero-copy .hero-lead {
    font-size: 1rem;
  }

  .hero-visual img {
    max-height: 300px;
  }

  .section-heading {
    margin-bottom: 2.25rem;
  }

  .zoho-form-iframe {
    height: 1450px;
  }

  .principles-grid {
    gap: 0.75rem;
  }

  .principle-card {
    padding: 1rem;
  }

  .value-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 0.64rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header .btn-getstarted {
    margin-right: 0.4rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.76rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
