/* ==========================================================================
   Intellects Box — Design System
   Corporate FinTech / HR. Layered on top of Bootstrap 5.
   (Variables removed — all values inlined)
   ========================================================================== */

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #17293D;
  background: #FFFFFF;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
}

h1,
h2,
h3,
h4,
h5,
.display-face {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  color: #418A71;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  color: #061a30;
}

a {
  color: #061a30;
  text-decoration: none;
  transition: color .2s cubic-bezier(.22, .61, .36, 1);
}

a:hover {
  color: #418A71;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(18, 102, 181, .18);
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(18, 102, 181, .18);
  border-radius: 6px;
}

/* ---------- Reusable structural pieces ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section--surface {
  background: #F5F8FB;
}

.section--ink {
  background: #418A71;
  /* background:radial-gradient(700px 320px at 100% 0%, rgba(62, 147, 222, .10), transparent 60%),    linear-gradient(180deg, #418A71, #061a30); */
  color: #DCE6F5;
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: #FFFFFF;
}

.section--ink p {
  color: #FFFFFF;
}

/* Eyebrow — the "box bracket" signature motif */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #061a30;
  padding: .35rem .8rem .35rem .7rem;
  position: relative;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 8px;
  height: 100%;
  position: absolute;
  top: 0;
  border: 1.5px solid rgba(18, 102, 181, .5);
}

.eyebrow::before {
  left: 0;
  border-right: none;
}

.eyebrow::after {
  right: 0;
  border-left: none;
}

.section--ink .eyebrow {
  color: #FFFFFF;
}

.section--ink .eyebrow::before,
.section--ink .eyebrow::after {
  border-color: rgb(13 40 56);
  /* border-color: rgba(62, 147, 222, .5); */
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin: .9rem 0 0;
}

.section-lead {
  font-size: 1.08rem;
  color: #0b2335;
  max-width: 62ch;
  margin-top: 1rem;
}

.section--ink .section-lead {
  color: #0b2335;
}

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-focus-box-shadow: none;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  transition: transform .2s cubic-bezier(.22, .61, .36, 1), box-shadow .25s cubic-bezier(.22, .61, .36, 1), background-color .2s cubic-bezier(.22, .61, .36, 1), color .2s cubic-bezier(.22, .61, .36, 1);
  border: 1.5px solid transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}

.btn svg { flex: 0 0 auto; }

.btn:active {
  transform: translateY(1px);
}

.btn-brand {
  background: #FFFFFF;
  color: #418A71;
  border-color: #418A71;
  /* box-shadow: 0 8px 22px rgba(18, 102, 181, .28); */
}

.btn-brand:hover {
  background: #1f4a52;
  color: #FFFFFF;
  transform: translateY(-2px);
  /* box-shadow: 0 14px 30px rgba(18, 102, 181, .34); */
}

.btn-ink {
  background: #418A71;
  color: #FFFFFF;
}

.btn-ink:hover {
  background: transparent;
  color: #418A71;
  border-color: #418A71;
  transform: translateY(-2px);
}

.btn-outline-brand {
  background: #418A71;
  border-color: #061a30;
  color: #FFFFFF;
}
.btn-outline-brand-nav {
  border-color: #E1E8F0;
  color: #FFFFFF;
}

.btn-outline-brand:hover {
    border-color: #E1E8F0;
  color: #1f4a52;
  /* background: #418A71;
  border-color: #061a30;
  color: #FFFFFF; */
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .05);
}

.section--ink .btn-outline-brand {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #FFFFFF;
}

.section--ink .btn-outline-brand:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, .08);
}

.btn-ghost-arrow {
  padding: 0;
  color: #061a30;
  background: none;
  font-weight: 600;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.btn-ghost-arrow svg {
  transition: transform .25s cubic-bezier(.22, .61, .36, 1);
}

.btn-ghost-arrow:hover svg {
  transform: translateX(4px);
    color: #418A71;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s cubic-bezier(.22, .61, .36, 1), background-color .3s cubic-bezier(.22, .61, .36, 1);
}

.site-header.is-scrolled {
  border-bottom-color: #E1E8F0;
  box-shadow: 0 6px 24px rgba(10, 37, 64, .06);
}

.navbar {
  padding-block: .85rem;
  transition: padding .3s cubic-bezier(.22, .61, .36, 1);
  background: radial-gradient(700px 320px at 100% 100%, rgba(62, 147, 222, .10), transparent 60%),    linear-gradient(to top, #418A71, #061a30);
}

.is-scrolled .navbar {
  padding-block: .55rem;
}

.navbar-brand img {
  height: 46px;
  width: auto;
  transition: height .3s cubic-bezier(.22, .61, .36, 1);
}

.is-scrolled .navbar-brand img {
  height: 40px;
}

.navbar .nav-link {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-size: .96rem;
  color: #FFFFFF !important;
  padding: .5rem .9rem !important;
  border-radius: 8px;
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .3rem;
  height: 2px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
  border-radius: 2px;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.navbar .nav-link.active {
  color: #FFFFFF !important;
}

.dropdown-menu {
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(10, 37, 64, .09);
  padding: .5rem;
  margin-top: .6rem !important;
}

.dropdown-item {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: .92rem;
  color: #17293D;
  border-radius: 8px;
  padding: .6rem .8rem;
  transition: background-color .15s cubic-bezier(.22, .61, .36, 1), color .15s cubic-bezier(.22, .61, .36, 1);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #F5F8FB;
  color: #061a30;
}

.navbar-toggler {
  border: none;
  padding: .35rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(18, 102, 181, .18);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5.5rem);
  /* background: radial-gradient(700px 320px at 100% 100%, rgba(62, 147, 222, .10), transparent 60%),    linear-gradient(to top, #418A71, #061a30); */
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
}

.hero__eyebrow {
  margin-bottom: 1.1rem;
  /* color: #FFFFFF; */
}

.hero h1 {
  /* font-size: clamp(2.05rem, 5vw, 3.5rem); */
  /* letter-spacing: -0.03em; */
}

.hero h1 .grad {
 background: #17293D;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: 1.15rem;
  color: #17293D;
  margin-top: 1.4rem;
  max-width: 34ch;
}

.hero__sub strong {
  color: #418A71;
  font-weight: 600;
}

.hero__note {
  margin-top: 1.4rem;
  padding: .9rem 1.1rem;
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-left: 3px solid #53A286;
  border-radius: 10px;
  font-size: .96rem;
  color: #418A71;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .05);
}

.hero__cta {
  margin-top: 1.9rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.hero__services {
  margin-top: 2.6rem;
}

.hero__services .h-tag {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7C8CA1;
  margin-bottom: .7rem;
}

/* Hero visual panel */
.hero__panel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 37, 64, .14);
  border: 1px solid #E1E8F0;
  background: #FFFFFF;
}

.hero__panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__panel-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border: 1px solid #E1E8F0;
  border-radius: 12px;
  padding: .7rem .9rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  box-shadow: 0 8px 30px rgba(10, 37, 64, .09);
}

.hero__panel-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #53A286;
  box-shadow: 0 0 0 4px rgba(62, 147, 222, .2);
}

.hero__panel-badge span {
  font-size: .85rem;
  font-weight: 600;
  color: #418A71;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
}

/* Floating stat chip */
.stat-chip {
  position: absolute;
  right: -14px;
  top: 1.4rem;
  background: #418A71;
  color: #FFFFFF;
  border-radius: 14px;
  padding: .8rem 1rem;
  box-shadow: 0 24px 60px rgba(10, 37, 64, .14);
}

.stat-chip b {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: 1.3rem;
  display: block;
  line-height: 1;
}

.stat-chip small {
  color: #9FB2CE;
  font-size: .72rem;
  letter-spacing: .04em;
}

/* ==========================================================================
   Trust / industries marquee bar
   ========================================================================== */
/* ==========================================================================
   Trust / industries bar
   ========================================================================== */
.trustbar {
  border-block: 1px solid #DFE7E3;
  background: #418A71;
}

.trustbar__inner {
  text-align: center;
}

.trustbar__label {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* color: #7C8C85; */
  color: #FFFFFF;
  margin: 0 0 1.4rem;
}

.trustbar__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: #2F6553;
  background: #F2F7F4;
  border: 1px solid #DFE7E3;
  border-radius: 999px;
  padding: .45rem 1rem;
  transition:
    transform .2s cubic-bezier(.22, .61, .36, 1),
    border-color .2s cubic-bezier(.22, .61, .36, 1),
    color .2s cubic-bezier(.22, .61, .36, 1);
}

/* Dot cue — replaces seven identical sparkle SVGs */
.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #53A286;
  flex: 0 0 auto;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: #418A71;
  color: #1F4A3E;
}

@media (max-width: 575.98px) {
  .trustbar__items { gap: .5rem; }
  .chip { font-size: .84rem; padding: .4rem .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .chip { transition: none; }
}
/* ==========================================================================
   Cards / service grid
   ========================================================================== */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.svc-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  height: 100%;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .28s cubic-bezier(.22, .61, .36, 1), border-color .28s cubic-bezier(.22, .61, .36, 1);
  overflow: hidden;
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 42px;
  height: 42px;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
  margin: 12px;
  border-radius: 4px 0 0 0;
  transition: border-color .3s cubic-bezier(.22, .61, .36, 1);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(10, 37, 64, .09);
  border-color: transparent;
}

.svc-card:hover::before {
  border-color: #061a30;
}

.svc-card__num {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: #7C8CA1;
  letter-spacing: .06em;
}

.svc-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(18, 102, 181, .12), rgba(62, 147, 222, .12));
  color: #061a30;
  margin: .4rem 0 1.1rem;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

.svc-card:hover .svc-icon {
  transform: scale(1.06) rotate(-3deg);
}

.svc-icon svg {
  width: 28px;
  height: 28px;
}

.svc-card h3 {
  font-size: 1.2rem;
  margin-bottom: .55rem;
}

.svc-card p {
  font-size: .96rem;
  margin-bottom: 1rem;
}

.svc-card .btn-ghost-arrow {
  font-size: .92rem;
}

/* Feature list with checks */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem;
}

.check-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: #17293D;
  font-size: .98rem;
}

.check-list li svg {
  flex: 0 0 20px;
  margin-top: .18rem;
  color: #53A286;
}

.section--ink .check-list li {
  color: #FFFFFF;
}

/* Split media block */
.media-card {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10, 37, 64, .09);
  border: 1px solid #E1E8F0;
}

.media-card img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Workflow infographics (signature)
   ========================================================================== */
.flow {
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .05);
}

.section--ink .flow {
  /* background: rgba(255, 255, 255, .04); */
  /* border-color: rgba(255, 255, 255, .12); */
  background: rgb(243 246 249);
  border-color: rgba(255, 255, 255, .12);
}

.section--ink .flow .check-list li{
  color: #17293D;
}

.flow svg {
  width: 100%;
  height: auto;
  display: block;
}

/* animated stroke draw */
.flow-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* ==========================================================================
   Stats band
   ========================================================================== */
.stat {
  text-align: center;
  padding: 1rem;
}

.stat b {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #FFFFFF;
  display: block;
  line-height: 1;
  letter-spacing: -.02em;
}

.stat span {
  color: #9FB2CE;
  font-size: .92rem;
  margin-top: .4rem;
  display: block;
}

/* ==========================================================================
   Roles / industry columns
   ========================================================================== */
.role-col {
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
}

.role-col h4 {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px dashed #E1E8F0;
}

.role-col h4 .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #F5F8FB;
  color: #061a30;
  flex: 0 0 auto;
}

.role-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}

.role-col li {
  font-size: .95rem;
  color: #0b2335;
  display: flex;
  gap: .55rem;
  align-items: center;
}

.role-col li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #53A286;
  flex: 0 0 auto;
}

/* ==========================================================================
   Clients marquee
   ========================================================================== */
.clients {
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  width: max-content;
  animation: scroll-x 32s linear infinite;
}

.marquee img {
  height: 46px;
  width: auto;
  opacity: .62;
  filter: grayscale(1);
  transition: opacity .3s cubic-bezier(.22, .61, .36, 1), filter .3s cubic-bezier(.22, .61, .36, 1);
}

.marquee img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.marquee-wrap {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

@keyframes scroll-x {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

      .why__sticky p {
  color: rgba(255, 255, 255, .78);
  margin-top: 1.2rem;
}

@media (min-width: 992px) {
  .why__sticky { position: sticky; top: 6rem; }
}

/* Numbered, hairline-separated argument list */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: why;
}

.why-list__item {
  counter-increment: why;
  position: relative;
  padding: 1.5rem 0 1.5rem 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.why-list__item:first-child { padding-top: 0; }
.why-list__item:last-child  { border-bottom: none; }

.why-list__item::before {
  content: counter(why, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: #7FC2A5;
  letter-spacing: .04em;
}

.why-list__item:first-child::before { top: 0; }

.why-list__item h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .45rem;
}

.why-list__item p {
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
  margin: 0;
}

/* Proof strip */
.why__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  margin: 2.5rem 0 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .92rem;
  color: rgba(255, 255, 255, .72);
}

.why__trust span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.why__trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7FC2A5;
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .why-list__item { padding-left: 3.2rem; }
}

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.4rem, 4vw, 3.5rem);
  background:
    radial-gradient(800px 380px at 90% -30%, rgba(62, 147, 222, .10), transparent 60%),
    linear-gradient(180deg, #fff, #F5F8FB);
  border-bottom: 1px solid #E1E8F0;
}

.breadcrumbs {
  font-size: .86rem;
  color: #7C8CA1;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  letter-spacing: .02em;
  margin-bottom: .9rem;
}

.breadcrumbs a {
  color: #0b2335;
}

.breadcrumbs a:hover {
  color: #061a30;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 60ch;
  margin-top: 1rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  border-radius: 22px;
  padding: clamp(2rem, 5vw, 3.4rem);
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

/* ==========================================================================
   Contact / forms
   ========================================================================== */
.form-control,
.form-select {
  border: 1.5px solid #E1E8F0;
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .98rem;
  color: #17293D;
  transition: border-color .2s cubic-bezier(.22, .61, .36, 1), box-shadow .2s cubic-bezier(.22, .61, .36, 1);
  background: #FFFFFF;
}

.form-control:focus,
.form-select:focus {
  border-color: #061a30;
  box-shadow: 0 0 0 4px rgba(18, 102, 181, .18);
}

.form-label {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-size: .88rem;
  color: #418A71;
  margin-bottom: .4rem;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-hint {
  font-size: .82rem;
  color: #7C8CA1;
}

.form-note {
  display: none;
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  font-size: .92rem;
}

.form-note.ok {
  display: block;
  background: rgba(62, 147, 222, .10);
  color: #1f4a52;
  border: 1px solid rgba(62, 147, 222, .3);
}

.contact-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  transition: transform .2s cubic-bezier(.22, .61, .36, 1), box-shadow .2s cubic-bezier(.22, .61, .36, 1);
}

.contact-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .05);
}

.contact-tile .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  background: linear-gradient(140deg, #418A71, #53A286);
}

.contact-tile h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #7C8CA1;
  margin-bottom: .25rem;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
}

.contact-tile a,
.contact-tile p {
  color: #418A71;
  font-weight: 500;
  margin: 0;
  font-size: 1rem;
}

.contact-tile a:hover {
  color: #061a30;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(62, 147, 222, .10), transparent 60%),
    linear-gradient(180deg, #418A71, #061a30);
  color: #AFC0D9;
  padding: clamp(3rem, 5vw, 4.5rem) 0 0;
}

.site-footer h5 {
    color: #FFFFFF;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 1.1rem;
    text-decoration: underline;
    text-underline-offset: 6px;      /* Space between text and underline */
    text-decoration-thickness: 2px;  /* Makes the underline bolder */
}

.site-footer a {
  color: #AFC0D9;
}

.site-footer a.btn-brand {
  color: #ffffff;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
  /* filter: brightness(0) invert(1); */
  /* opacity: .95; */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}

.footer-links a {
  font-size: .95rem;
}

.footer-quote {
  border-left: 3px solid #53A286;
  padding-left: 1rem;
  font-style: italic;
  color: #C7D6EC;
  font-size: .96rem;
}

.footer-quote cite {
  display: block;
  margin-top: .5rem;
  font-style: normal;
  color: #7E93B4;
  font-size: .82rem;
  letter-spacing: .06em;
}

.social-row {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #C7D6EC;
  transition: background-color .2s cubic-bezier(.22, .61, .36, 1), border-color .2s cubic-bezier(.22, .61, .36, 1), transform .2s cubic-bezier(.22, .61, .36, 1);
}

.social-row a:hover {
  background: #418A71;
  border-color: #061a30;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 2.6rem;
  padding: 1.3rem 0;
  font-size: .86rem;
  color: #7E93B4;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: .08s;
}

.reveal[data-delay="2"] {
  transition-delay: .16s;
}

.reveal[data-delay="3"] {
  transition-delay: .24s;
}

.reveal[data-delay="4"] {
  transition-delay: .32s;
}


@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .svc-card,
  .btn,
  .chip,
  .contact-tile {
    transition: none !important;
  }
}

/* Back to top */
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #418A71;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 8px 30px rgba(10, 37, 64, .09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s cubic-bezier(.22, .61, .36, 1), transform .3s cubic-bezier(.22, .61, .36, 1), visibility .3s;
  cursor: pointer;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: #418A71;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-accent {
  color: #418A71 !important;
}

.text-teal {
  color: #53A286 !important;
}

.bg-surface {
  background: #F5F8FB !important;
}

.divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #53A286;
  display: inline-block;
}

.lead-ink {
  color: #418A71 !important;
}

/* Responsive tweaks */
/* Resilient show-states (work even if Bootstrap JS is delayed) */
.navbar-collapse.show,
.navbar-collapse.collapsing {
  display: block;
}

.dropdown-menu.show {
  display: block;
}

@media (min-width: 992px) {

  /* Keep the menu in the layout so it can animate.
     visibility + pointer-events keep it inert while closed. */
  .navbar .nav-item.dropdown > .dropdown-menu {
    display: block;               /* overrides Bootstrap's display:none */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transform-origin: top center;
    transition:
      opacity   .22s cubic-bezier(.22, .61, .36, 1),
      transform .22s cubic-bezier(.22, .61, .36, 1),
      visibility 0s linear .22s;  /* delay hiding until the fade finishes */
  }

  .navbar .nav-item.dropdown:hover    > .dropdown-menu,
  .navbar .nav-item.dropdown:focus-within > .dropdown-menu,
  .navbar .nav-item.dropdown > .dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity   .22s cubic-bezier(.22, .61, .36, 1),
      transform .22s cubic-bezier(.22, .61, .36, 1),
      visibility 0s;              /* show immediately on open */
  }

  /* Invisible bridge across the gap so it doesn't close mid-travel */
  .navbar .nav-item.dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px; left: 0; right: 0;
    height: 10px;
  }
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  .navbar .nav-item.dropdown > .dropdown-menu { transition: none; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #FFFFFF;
    border: 1px solid #E1E8F0;
    border-radius: 14px;
    padding: 1rem;
    margin-top: .8rem;
    box-shadow: 0 8px 30px rgba(10, 37, 64, .09);
  }

  .navbar .nav-link::after {
    display: none;
  }

  .stat-chip {
    position: static;
    margin-top: 1rem;
    display: inline-block;
  }

  .hero__panel {
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero__cta .btn {
    width: 100%;
  }

  .eyebrow {
    font-size: .72rem;
  }
}

/* =========================================================================
   INNER-PAGE COMPONENTS  (process timeline, use-cases, FAQ, related)
   ========================================================================= */

/* FAQ — native details/summary accordion */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  margin-bottom: .85rem;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq__item[open] {
  border-color: rgba(18, 102, 181, .35);
  box-shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .05);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  color: #418A71;
  font-size: 1.02rem;
  position: relative;
  user-select: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -6px;
  border-right: 2px solid #418A71;
  border-bottom: 2px solid #418A71;
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
}

.faq__q:focus-visible {
  outline: 3px solid rgba(18, 102, 181, .35);
  outline-offset: -3px;
  border-radius: 14px;
}

.faq__a {
  padding: 0 1.4rem 1.25rem;
  color: #0b2335;
  line-height: 1.65;
  font-size: .97rem;
}

.faq__a p {
  margin: 0;
}

/* Related services */
.rel-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  padding: 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease;
}

.rel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(10, 37, 64, .09);
  border-color: rgba(18, 102, 181, .3);
  color: inherit;
}

.rel-card__name {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  color: #418A71;
  font-size: 1.02rem;
  margin: .8rem 0 .35rem;
}

.rel-card__text {
  color: #0b2335;
  font-size: .9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.rel-card__go {
  margin-top: auto;
  color: #061a30;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.rel-card:hover .rel-card__go svg {
  transform: translateX(4px);
}

.rel-card__go svg {
  transition: transform .2s ease;
}