/* NovaBinaries landing page */

:root {
  --navy: #12336b;
  --blue: #1668d4;
  --blue-dark: #0f4fa8;
  --text: #33404f;
  --muted: #5b6b7d;
  --line: #d6e3f5;
  --bg: #ffffff;
  --band: #eaf2fd;
  --hero-from: #eaf3fe;
  --hero-to: #f6fafe;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: "Facto";
  src: url("./assets/fonts/Facto.otf");
}

@font-face {
  font-family: "Facto-bold";
  src: url("./assets/fonts/Facto_Bold.otf");
}

body {
  margin: 0;
  background: #f0f3f7;
  color: var(--text);
  font-family: "Facto";
  font-size: 15px;
  line-height: 1.55;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Facto-bold";
}
.page {
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(18, 51, 107, 0.08);
}

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 40px 10px;
}

.logo {
  height: 75px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.classification {
  font-size: 12.5px;
  color: var(--blue-dark);
  letter-spacing: 0.01em;
  text-align: right;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(
    115deg,
    var(--hero-from) 0%,
    #f2f8fe 55%,
    var(--hero-to) 100%
  );
  padding: 46px 40px 52px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -80px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(22, 104, 212, 0.1),
    rgba(22, 104, 212, 0) 70%
  );
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero-main {
  flex: 1 1 1000px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero-text {
  margin: 0;
  max-width: 950px;
  color: var(--muted);
  font-size: 15px;
}

.hero-side {
  flex: 1 1 220px;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.hero-slogan {
  margin: 8px 0 18px;
  font-size: 23px;
  line-height: 1.42;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8fb4e0;
  font-weight: 400;
}

.rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue);
}

/* ---------- sections ---------- */
.section {
  padding: 34px 40px 0;
}

.heading {
  margin: 0 0 22px;
  font-size: 27px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-bottom: 12px;
}

.heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  background: var(--blue);
}

/* ---------- portfolio cards ---------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.card {
  flex: 1 1 200px;
  min-width: 0;
  border-radius: 10px;
  padding: 22px 20px 26px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}

.card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #fff;
}

.icon-circle svg {
  width: 27px;
  height: 27px;
}

.card-blue {
  background: #edf5fe;
}
.card-green {
  background: #eef7f2;
}
.card-amber {
  background: #fef5ea;
}
.card-violet {
  background: #f3f1fc;
}

.card-blue .icon-circle {
  background: #d9e9fc;
  color: #1668d4;
}
.card-green .icon-circle {
  background: #d8eee3;
  color: #17876a;
}
.card-amber .icon-circle {
  background: #fde5c5;
  color: #d98324;
}
.card-violet .icon-circle {
  background: #e3defa;
  color: #6b5cd1;
}

/* ---------- impact band ---------- */
.impact {
  margin-top: 22px;
  background: var(--band);
  border-radius: 10px;
  padding: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.impact-title {
  flex: 1 1 240px;
  min-width: 0;
}

.impact-head {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
}

.impact-list {
  flex: 2.1 1 420px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.impact-list li {
  flex: 1 1 120px;
  min-width: 0;
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid #c9dcf4;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.35;
}

.impact-list svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
  display: block;
  margin: 0 auto 10px;
}

/* ---------- two columns ---------- */
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 34px;
}

.col {
  flex: 1 1 340px;
  min-width: 0;
}

.col p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.col-divider {
  border-left: 1px solid var(--line);
  padding-left: 38px;
}

.strategy {
  list-style: none;
  margin: 0;
  padding: 0;
}

.strategy li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.strategy strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 3px;
}

.strategy p {
  margin: 0;
  font-size: 13.5px;
}

.badge {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e4effc;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge svg {
  width: 22px;
  height: 22px;
}

/* ---------- closing band ---------- */
.closing {
  margin: 34px 40px 0;
  /* background: var(--band); */
  background: #b4d3ff;
  border-radius: 10px;
  padding: 28px 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.closing-main {
  flex: 1.9 1 380px;
  min-width: 0;
  border-left: 4px solid var(--blue);
  padding-left: 22px;
}

.closing-head {
  margin: 2px 0 8px;
  font-size: 27px;
  font-weight: 700;
  color: var(--navy);
}

.closing-main p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.closing-side {
  flex: 1 1 200px;
  min-width: 0;
  border-left: 1px solid #c9dcf4;
  padding-left: 30px;
}

.closing-side p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 17px;
  line-height: 1.6;
  color: #9dbbe2;
}

/* ---------- footer ---------- */
.footer {
  margin: 26px 40px 0;
  padding: 16px 0 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: var(--blue-dark);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .impact-list li:first-child {
    border-left: 0;
  }
  .col-divider {
    border-left: 0;
    padding-left: 0;
  }
  .hero-side {
    border-left: 0;
    padding-left: 0;
  }
  .closing-side {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .card {
    flex-basis: 100%;
  }
  .impact-list li {
    border-left: 0;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .topbar,
  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .closing,
  .footer {
    margin-left: 20px;
    margin-right: 20px;
  }
  .footer {
    flex-direction: column;
    gap: 6px;
  }
}
.more-info-image {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  h2 {
    font-size: 25px;
  }
  img {
    /* max-width: 50%; */
    width: 200px;
  }
}
.floating-letter {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}
#dots {
  display: inline-block;
  width: 24px; /* fixed space for ... */
  text-align: left;
  color: #035cdc;
}
.follow-color {
  color: #035cdc;
}
