@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--secondary);
}
:root {
  --primary: #3772ef;
  --secondary: #2c486f;
  --gray: #445469;
  --border: 1px solid #44546917;
}
[class*="grid"] {
  display: grid;
}
.align-center {
  align-items: center;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}
body {
  -webkit-text-size-adjust: 100%;
}
p,
a,
li,
input,
select,
textarea,
button {
  font-size: 1.6rem;
}
img,
video {
  max-width: 100%;
}
p,
a,
span,
li {
  color: var(--gray);
  font-weight: 500;
}
p span {
  color: var(--primary);
}
.container {
  max-width: 1240px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}
button {
  padding: 0 2rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--primary);
  color: white;
  font-weight: 600;
  gap: 2rem;
  border-radius: 1rem;
  line-height: 1;
  text-transform: capitalize;
}

section {
  padding: 8rem 0;
  scroll-margin-top: 8rem;
}
.container {
  max-width: 1230px;
  padding: 1.5rem;
}
/* header */
header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  background: white;
  border-bottom: var(--border);
  z-index: 9999;
}
header .container {
  max-width: 100%;
  padding: 0 5rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo img {
  width: unset;
  height: 3rem;
}
header .links {
  display: flex;
  align-items: center;
  gap: 3rem;
}
header .links a {
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}
header .links a.active,
header .links a:hover {
  color: var(--primary);
}

header .links a.active::before,
header .links a:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.5rem;
  width: 0.5rem;
  aspect-ratio: 1/1;
  background: var(--primary);
  border-radius: 5rem;
}
/* main */
main {
  margin-top: 8rem;
  padding: 10rem 0;
  position: relative;
}
main .arrow {
  position: absolute;
  width: 20vw;
  right: 0;
  top: 50%;
  transform: translateY(-20%);
  z-index: -1;
}
.typo {
  display: grid;
  gap: 2.5rem;
}
.typo h1,
.typo h1 small,
.typo h1 span {
  font-size: 8rem;
  text-transform: capitalize;
  line-height: 1.1;
  font-weight: 700;
}
.typo p {
  width: 87%;
  font-weight: 500;
  line-height: 1.4;
}
.typo p span {
  font-weight: 700;
  color: var(--secondary);
}
.typo h1 span {
  position: relative;
  color: var(--secondary);
}
.typo h1 span::before {
  content: "";
  position: absolute;
  width: 6rem;
  aspect-ratio: 1/1;
  background: url(images/title.png);
  background-position: center;
  background-size: cover;
  left: -5rem;
  top: -3rem;
}
.typo h1 small {
  color: var(--primary);
}
.image-grid {
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1540px;
  margin: auto;
}
.image-grid .frame:nth-child(odd) {
  transform: translateY(-5rem);
}
.image-grid .frame img {
  width: 100%;
  object-fit: cover;
}
/* section */
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
}
.left {
  display: grid;
  gap: 5rem;
}
.right {
  display: grid;
  grid-template-rows: 1fr auto;
}
.text small {
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.text h2 {
  font-size: 20rem;
  font-weight: 800;
  line-height: 1;
}
.text h3 {
  font-size: 2.4rem;
  font-weight: 600;
}
.text h3 span {
  color: var(--primary);
  font-weight: 600;
}
.left .frame {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: 2rem;
}
.left .frame img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}
.devider {
  border-top: var(--border);
  padding-top: 5rem;
  margin-top: 5rem;
  align-items: center;
}
.devider h3 {
  font-size: 5rem;
}
.devider > div {
  display: grid;
  gap: 3rem;
}
/* section 2 */
section.bg {
  background: linear-gradient(#2b3645de, #2b3645de), url(images/bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
section.bg .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
  text-align: center;
}
section.bg .container h3 {
  color: white;
  font-size: 5rem;
  font-weight: 600;
}
section.bg .container p {
  color: #ffffffa1;
  font-size: 2rem;
  width: 90%;
  margin: auto;
}
section.bg-gray {
  background: var(--secondary);
}

.grid-2.mission {
  gap: 0;
}
.grid-2.mission > div {
  display: grid;
  grid-template-rows: 27rem auto;
}
h2.typ {
  font-size: 8rem;
  line-height: 1;
  text-transform: capitalize;
  padding-right: 3rem;
  border-right: var(--border);
}
.txt {
  padding-top: 3rem;
  padding-right: 3rem;
  border-top: var(--border);
  border-right: var(--border);
}
.grid-2.mission .frame {
  width: 100%;
  padding: 3rem;
  height: 100%;
  overflow: hidden;
}
.grid-2.mission .frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 2rem;
}
.grid-2.mission .msv {
  padding-top: 3rem;
  border-top: var(--border);
  padding-left: 3rem;
  display: grid;
  gap: 3rem;
}
.grid-2.mission .msv h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.grid-2.mission p {
  line-height: 1.3;
}
.grid-2.mission p span {
  color: var(--secondary);
  font-weight: 600;
}
.grid-2.mission button {
  margin-top: 3rem;
}
/* form */
.form {
  position: relative;
}
form {
  background: var(--primary);
  padding: 5rem;
  width: 70%;
  margin-left: auto;
  padding-left: calc(10% + 5rem);
}
.form-card {
  width: 40%;
  position: absolute;
  background: white;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: 3rem;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.form-card small {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1.5rem;
}
.form-card img {
  height: 15rem;
}
.form-card h2 {
  font-size: 4rem;
  text-transform: capitalize;
  font-weight: 900;
  line-height: 1;
}
input {
  background: none;
  color: #fff;
  padding: 3.5rem 1.5rem 2rem;
  width: 100%;
}

.fild {
  background: none;
  position: relative;
  border-bottom: 1px solid white;
}

.fild label {
  color: #fff;
  font-size: 1.6rem;
  left: 1.5rem;
  line-height: 1;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: 0.3s;
  -webkit-user-select: none;
  user-select: none;
}

.fild input:-webkit-autofill ~ label,
.fild input:focus ~ label,
.fild input:not(:placeholder-shown) ~ label {
  color: white;
  font-size: 1.3rem;
  top: 1.5rem;
}
.form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 1.5rem;
}
.form textarea {
  height: 13rem;
  width: 100%;
  background: none;
  color: white;
  margin-top: 1.5rem;
  border-bottom: 1px solid white;
  padding: 1.5rem;
  resize: none;
}
.form textarea::placeholder {
  color: white;
}
.form button {
  background: white;
  color: var(--secondary);
  margin-top: 5rem;
}
@media (max-width: 1024px) {
  html {
    font-size: 45%;
  }
}
@media (max-width: 660px) {
  html {
    font-size: 62.5%;
  }
  [class*="grid"] {
    grid-template-columns: 1fr;
  }
  header .container {
    padding: 0 1.5rem;
  }
  header .links {
    position: fixed;
    top: 8rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 8rem);
    background: #fff5f5;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
    transform: translateX(-100%);
  }
  header .logo img {
    height: 2rem;
  }
  header button {
    padding: 0 1.5rem;
    height: 4rem;
    font-size: 1.5rem;
  }
  .menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2.5rem;
    aspect-ratio: 1/1;
    position: relative;
  }
  header .actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .menu span {
    height: 2px;
    width: 100%;
    background: var(--secondary);
    border-radius: 5rem;
    transition: 0.3s;
  }
  header.active span:nth-child(2) {
    opacity: 0;
  }
  header.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
  }
  header.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
  }
  header.active .links {
    transform: translateX(0);
  }
  main {
    padding: 3rem 0;
  }
  section {
    padding: 5rem 0;
  }
  main .arrow {
    transform: unset;
    top: unset;
    bottom: 0;
    width: 35vw;
  }
  .gr {
    padding: 3rem 0;
  }
  .typo h1 span::before {
    width: 3rem;
    left: -1.5rem;
    top: -0.8rem;
  }
  .typo h1,
  .typo h1 small,
  .typo h1 span {
    font-size: 4rem;
  }
  .typo p {
    width: 100%;
    line-height: 1.3;
  }
  .text h2 {
    font-size: 10rem;
  }
  .devider h3 {
    font-size: 3rem;
  }
  section.bg .container h3 {
    font-size: 2.5rem;
  }
  section.bg .container p {
    font-size: 1.8rem;
    width: 100%;
  }
  h2.typ {
    padding-right: 0;
    border-right: unset;
  }
  .txt {
    padding-top: 3rem;
    padding-right: unset;
    border-top: var(--border);
    border-right: unset;
  }
  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  .image-grid .frame:nth-child(odd) {
    transform: translateY(-2rem);
  }
  .right {
    gap: 3rem;
  }
  .grid-2.mission .msv {
    padding-left: 0;
  }
  .grid-2.mission .frame {
    padding: 0;
    padding-bottom: 3rem;
  }
  .grid-2.mission {
    gap: 5rem;
  }
  .form-card {
    transform: unset;
    top: unset;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    width: 100%;
    gap: 1.5rem;
  }
  form {
    padding: 3rem;
    padding-left: 3rem;
    width: 100%;
  }
  .form-card h2 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  .form-card img {
    height: 5rem;
  }
  .form .row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  input {
    padding: 2.5rem 1.5rem 2rem;
  }
}
footer {
  background: var(--secondary);
  padding: 3rem 0;
  margin-top: 8rem;
  padding-bottom: 1rem;
}
footer .flxd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
}
footer .f-logo {
  filter: grayscale(1) invert(1);
}
footer p {
  color: white;
}
footer .links {
  display: flex;
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  gap: 2rem;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 0.5rem;
  }
}
footer .links a {
  color: white;
}
footer .copy {
  text-align: center;
}

.services__title {
  text-align: center;
}

.services__header {
  font-size: 6rem;

  @media (max-width: 768px) {
    font-size: 3rem;
  }
}

.services__subheader {
  font-size: 2rem;

  @media (max-width: 768px) {
    font-size: 1.5rem;
  }
}

.services__subtitle {
  text-align: center;
  font-size: 3.6rem;
  margin: 5rem 0 2rem;
  color: var(--primary);

  @media (max-width: 768px) {
    font-size: 2.6rem;
  }
}

.services__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.services__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services__item-icon {
  height: 64px;

  @media (max-width: 768px) {
    height: 48px;
  }
}

.services__item-title {
  font-size: 2rem;
}

.terms ul {
  padding-left: 32px;
}