:root {
  --ink: #10202f;
  --muted: #637487;
  --line: #dce5ed;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --blue: #0d6efd;
  --cyan: #4fc3f7;
  --green: #20a67a;
  --navy: #081421;
  --shadow: 0 18px 45px rgba(11, 29, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-user-select: none;
  user-select: none;
}

a {
  text-decoration: none;
}

.site-navbar {
  padding: 16px 0;
  background: transparent;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-navbar.is-scrolled,
.site-navbar:has(.navbar-collapse.show) {
  padding: 10px 0;
  background: rgba(8, 20, 33, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(79, 195, 247, 0.35);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  padding-inline: 16px !important;
}

.hero-carousel,
.carousel-item {
  min-height: 92vh;
  background: var(--navy);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 28, 0.86), rgba(6, 16, 28, 0.48) 55%, rgba(6, 16, 28, 0.2)),
    linear-gradient(0deg, rgba(6, 16, 28, 0.82), rgba(6, 16, 28, 0.12) 50%);
}

.hero-caption {
  right: auto;
  bottom: 9vh;
  left: clamp(18px, 8vw, 96px);
  width: min(780px, calc(100% - 36px));
  padding: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-caption .eyebrow,
.page-hero .eyebrow,
.contact-section .eyebrow,
.cta-band .eyebrow {
  color: var(--cyan);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.hero-caption p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.summary-strip div {
  display: grid;
  gap: 4px;
  padding: 28px clamp(18px, 4vw, 42px);
  background: #fff;
}

.summary-strip i {
  color: var(--blue);
  font-size: 1.7rem;
}

.summary-strip strong {
  font-size: 1.02rem;
}

.summary-strip span,
.muted,
.section-heading p,
.feature-card p,
.detail-card p,
.price-card p {
  color: var(--muted);
}

.section,
.contact-section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.soft-section {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.feature-card,
.detail-card,
.price-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 32, 47, 0.06);
}

.feature-card i,
.detail-card i {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 2rem;
}

.detail-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.price-card .price {
  margin: 18px 0;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
}

.price-card.highlighted {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: var(--shadow);
}

.cta-band {
  padding: clamp(54px, 7vw, 82px) 0;
  color: #fff;
  background: linear-gradient(120deg, #081421, #10365d 58%, #0d6efd);
}

.cta-band h2 {
  max-width: 760px;
}

.page-main {
  padding-top: 72px;
}

.page-hero {
  padding: clamp(82px, 11vw, 150px) 0 clamp(56px, 8vw, 90px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 20, 33, 0.92), rgba(8, 20, 33, 0.68)),
    url("Foundaisolutions.png") center / cover no-repeat;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.check-list p {
  margin: 0;
}

.check-list i {
  margin-right: 8px;
  color: var(--green);
}

.contact-section {
  color: #fff;
  background: var(--navy);
}

.contact-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-list i {
  color: var(--cyan);
  font-size: 1.2rem;
}

.contact-list strong {
  display: block;
  color: #fff;
}

.contact-form {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(5, 13, 22, 0.46);
  font: inherit;
  -webkit-user-select: text;
  user-select: text;
}

.contact-form,
.contact-form *,
.selectable,
.selectable * {
  -webkit-user-select: text;
  user-select: text;
}

textarea {
  resize: vertical;
}

select option {
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #07111d;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(8, 20, 33, 0.98);
  }

  .summary-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand small {
    display: none;
  }

  .hero-carousel,
  .carousel-item {
    min-height: 88vh;
  }

  .hero-caption {
    bottom: 62px;
    left: 16px;
    width: calc(100% - 32px);
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
