:root {
  --bg-dark: #0f2459;
  --bg-deeper: #071742;
  --blue: #2d8cff;
  --blue-soft: #57b4ff;
  --text: #112044;
  --white: #ffffff;
  --muted: #6d7b99;
  --section: #f4f7fc;
  --max-width: 1180px;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(9, 25, 72, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

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

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--bg-deeper), var(--bg-dark));
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
}

.brand__logo {
  font-size: 1.8rem;
}

.brand__name {
  font-size: 2rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav a {
  color: #dbe6ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--white);
}

.btn {
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--small {
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #44bcff, #2d8cff);
  color: #fff !important;
}

.btn--primary {
  background: linear-gradient(135deg, #44bcff, #2d8cff);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 140, 255, 0.33);
}

.btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(50, 59, 125, 0.6);
  color: #fff;
}

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 16%, rgba(130, 190, 255, 0.45), transparent 35%),
    radial-gradient(circle at 20% 72%, rgba(73, 156, 255, 0.35), transparent 40%),
    linear-gradient(120deg, #08194b 8%, #10317a 45%, #1f448f 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.27) 0.9px, transparent 0.9px),
    radial-gradient(rgba(255, 255, 255, 0.13) 0.7px, transparent 0.7px);
  background-size: 65px 65px, 38px 38px;
  opacity: 0.5;
}

.hero__content {
  position: relative;
  min-height: 530px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 4.2rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1.1;
}

.hero p {
  max-width: 35ch;
  font-size: 1.3rem;
  color: #a6ccff;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  height: 370px;
  position: relative;
  display: grid;
  place-items: end center;
}

.bars {
  width: 100%;
  height: 82%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.8rem;
}

.bars span {
  width: 46px;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #cce4ff, #6f9de8 45%, #3763bc);
  box-shadow: 0 8px 20px rgba(2, 18, 58, 0.35);
}

.pie {
  width: 120px;
  aspect-ratio: 1;
  position: absolute;
  top: 8%;
  right: 8%;
  border-radius: 50%;
  background: conic-gradient(#6cf 0 28%, #91f0c8 28% 62%, #f5c2ff 62% 86%, #4d7bff 86%);
  border: 8px solid rgba(255, 255, 255, 0.2);
}

.section {
  padding-block: 4.8rem;
}

.section__title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-block: 0 2rem;
  color: #1a3877;
}

.section__title--left {
  text-align: left;
}

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

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

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.card__icon {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.card h3 {
  margin: 0.4rem 0;
  color: #15397f;
  font-size: 1.6rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.about {
  background: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about h3 {
  font-size: 2.2rem;
  margin: 0;
  color: #0f3477;
}

.about p {
  color: #4f5f83;
  font-size: 1.2rem;
}

.stats {
  margin-top: 2rem;
  display: flex;
  border: 1px solid #dbe5f7;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 500px;
}

.stats div {
  flex: 1;
  padding: 1.2rem 1.4rem;
  background: #fff;
}

.stats div + div {
  border-left: 1px solid #dbe5f7;
}

.stats strong {
  display: block;
  font-size: 2.5rem;
  color: #0f367d;
}

.stats span {
  color: #51658f;
  font-weight: 600;
}

.about__image {
  min-height: 360px;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(20, 53, 116, 0.45), rgba(34, 136, 255, 0.25)),
    radial-gradient(circle at 70% 24%, #ffffff 0 18%, transparent 20%),
    radial-gradient(circle at 78% 42%, #ffffff 0 12%, transparent 14%),
    linear-gradient(130deg, #dbedff, #b6d8ff 45%, #94b5df);
  box-shadow: var(--shadow);
}

.testimonials {
  padding-block: 4.8rem;
  color: #fff;
  background:
    radial-gradient(circle at 80% 24%, rgba(138, 185, 255, 0.35), transparent 32%),
    linear-gradient(135deg, #10285f, #1a3879 65%, #0f1f4a);
}

.testimonials .section__title {
  color: #fff;
}

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

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 1.2rem;
}

.testimonial p {
  margin-top: 0;
}

.testimonial span {
  color: #bad7ff;
  font-weight: 600;
}

.cta {
  background: #f4f7fc;
}

.cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0;
  color: #12397f;
}

.cta p {
  margin-bottom: 0;
  color: #52607e;
}

.footer {
  padding-top: 3rem;
  background: linear-gradient(125deg, #0e2254, #091739);
  color: #dbe3ff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr 0.8fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand--footer .brand__name {
  font-size: 1.7rem;
}

.footer h4 {
  color: #fff;
  margin-top: 0;
}

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

.footer li,
.footer a {
  color: #dbe3ff;
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(124, 174, 255, 0.25);
}

.footer__legal {
  margin: 0;
  text-align: center;
  padding: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header__toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  padding: 0;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  border-radius: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero__content,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    height: 280px;
  }

  .service-grid,
  .testimonial-grid,
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header__toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #0a1d4d;
    padding: 1rem 1.25rem;
    display: grid;
    gap: 0.6rem;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .brand__name {
    font-size: 1.6rem;
  }

  .hero__content {
    min-height: auto;
    padding-block: 3rem;
  }

  .section {
    padding-block: 3.5rem;
  }

  .service-grid,
  .testimonial-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-direction: column;
  }

  .stats div + div {
    border-left: 0;
    border-top: 1px solid #dbe5f7;
  }

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