:root {
  --ink: #1b1b1b;
  --blue: #0b3fd1;
  --blue-dark: #00158f;
  --blue-light: #2a86ff;
  --blue-soft: #e6edff;
  --bg-soft: #f1f5ff;
  --text: #555b6a;
  --heading: #1b1b1b;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0, 21, 143, .08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white)
}

img {
  max-width: 100%;
  display: block
}

a {
  text-decoration: none;
  color: inherit
}

ul {
  list-style: none
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto
}

/* shared */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 6px
}

.label::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--blue)
}

h2 {
  color: var(--heading);
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 12px
}

.section-sub {
  font-size: .9rem;
  max-width: 420px;
  margin-bottom: 22px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font: 600 .85rem inherit;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .2s
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px)
}

.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .95rem
}

/* navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 21, 143, .1)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px
}

.logo img {
  height: 44px;
  width: auto
}

.logo-text {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .5px
}

.logo-text b {
  color: var(--blue);
  font-weight: 800
}

.nav-links {
  display: flex;
  gap: 28px;
  height: 100%
}

.nav-links a {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 600;
  height: 100%;
  border-bottom: 3px solid transparent;
  padding-top: 3px
}

.nav-links a.active,
.footer-links a.active {
  color: var(--blue)
}

.nav-links a.active {
  border-bottom-color: var(--blue)
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer
}

/* hero */
.hero {
  min-height: 282px;
  display: flex;
  align-items: center;
  padding: 30px 0;
  color: #fff;
  background: linear-gradient(90deg, rgb(0 12 70 / 10%) 0%, rgb(0 21 143 / 47%) 45%, rgb(0 21 143 / 22%) 100%), url(images/home-bg.jpg) center / cover no-repeat, #0b2a9e
}

.hero-welcome {
  color: #7fb2ff;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 10px
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 2.7rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 16px
}

.hero h1 span {
  color: #7fb2ff
}

.hero-text {
  max-width: 400px;
  font-size: .88rem;
  color: #e4e9f5;
  margin-bottom: 20px
}

/* about */
.about {
  padding: 44px 0
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.about-img {
  position: relative;
  padding: 0 0 0 40px
}

.about-img::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 80%;
  height: 85%;
  background: var(--bg-soft);
  border-radius: var(--radius);
  z-index: 0
}

.about-img img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  background: #0b2a9e;
  box-shadow: var(--shadow)
}

.about-text {
    font-size: 14px;
    max-width: 480px;
    margin-bottom: 18px;
}

.about-text strong {
  color: var(--heading)
}

.features {
  display: grid;
  gap: 14px
}

.features li {
  display: flex;
  gap: 14px;
  align-items: center
}

.features h4 {
  color: var(--heading);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3
}

.features p {
    font-size: 14px;
    margin-top: 2px;
}

/* services */
.services {
  background: var(--bg-soft);
  padding: 22px 0 26px
}

.services .section-sub {
  margin-bottom: 16px
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 14px 12px 16px;
  text-align: center;
  box-shadow: var(--shadow)
}

.card .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  font-size: 1.2rem
}

.card h3 {
  color: var(--heading);
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3
}

.card p {
  font-size: 12px;
  line-height: 1.6
}

/* contact */
.contact {
  padding: 20px 0 24px
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr .62fr;
  gap: 24px;
  align-items: start
}

.contact-info .section-sub {
  font-size: 14px;
  max-width: 310px
}

.contact-info .features {
  gap: 10px
}

.contact-form {
  background: #fbfcff;
  border-radius: var(--radius);
  padding: 18px 28px 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.field label {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 3px
}

.field label b {
  color: #e04848
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #dfe5f2;
  border-radius: 4px;
  background: #fff;
  padding: 7px 10px;
  font: .7rem inherit;
  font-family: inherit;
  color: var(--heading)
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63, 109, 246, .15)
}

.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 28px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555b6a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center
}

.field .invalid {
  border-color: #e04848
}

.contact-form .btn {
  justify-self: start;
  padding: 9px 18px;
  font-size: .75rem
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none
}

.form-status {
  font-size: .75rem;
  min-height: 1em
}

.form-status.ok {
  color: #1b8a4b
}

.form-status.err {
  color: #e04848
}

.contact-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: .88;
  background: linear-gradient(160deg, #dfe9ee, #bcd1c4)
}

.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.contact-img span {
  position: absolute;
  top: 22%;
  right: 10%;
  font: italic 600 1.35rem/1.15 "Segoe Script", "Brush Script MT", cursive;
  color: var(--ink);
  transform: rotate(-12deg);
  text-align: left
}

.contact-img span::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--blue);
  border-radius: 3px;
  margin-top: 6px
}

/* footer */
.footer {
  background: #fff;
  border-top: 3px solid var(--blue);
  color: var(--ink);
  padding: 16px 0 10px
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

.footer-logo {
  height: 84px;
  width: auto
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: .78rem;
  font-weight: 600
}

.social {
  display: flex;
  gap: 18px;
  font-size: 25px;
  color: #021e9d;
  margin-top: 10px;
  margin-left: 6px;
}

.features a:hover {
  color: #021e9e;
}

.social a:hover,
.footer-links a:hover {
  color: var(--blue-dark)
}

.copy {
  text-align: center;
  font-size: .66rem;
  margin-top: 8px;
  color: var(--text)
}

/* responsive */
@media (max-width:1000px) {
  .cards {
    grid-template-columns: repeat(3, 1fr)
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr
  }

  .contact-img {
    display: none
  }
}

@media (max-width:760px) {
  .menu-toggle {
    display: block
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 14px rgba(0, 21, 143, .08);
    flex-direction: column;
    gap: 0;
    height: auto;
    padding: 6px 20px 14px;
    display: none
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    height: 44px;
    border-bottom: 1px solid #e6ebf7
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .about-grid {
    gap: 34px
  }

  .cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .row {
    grid-template-columns: 1fr
  }

  .footer-inner {
    flex-direction: column;
    text-align: center
  }
}

@media (max-width:420px) {
  .cards {
    grid-template-columns: 1fr
  }
}

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

  .btn {
    transition: none
  }
}