body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  padding-top: 96px;
}

.scrolled > nav {
  padding: 12px 4px;
}

.scrolled > nav img {
  height: 72px;
}

nav .mobile-nav {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  padding: 16px 8px;
  background-color: white;
  border-bottom: 2px solid #044fd2;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 999;
  transition: padding 0.3s ease;
}

nav > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

nav > div > img {
  margin-right: 128px;
  margin-left: 64px;
}

nav a {
  text-decoration: none;
  height: fit-content;
  position: relative;
  margin-right: 32px;
  color: #044fd2;
}

nav a:hover {
  color: #033ec1;
}

nav a::after {
  content: "-";
  position: absolute;
  bottom: -4px;
  left: 0;
  color: transparent;
  width: 0;
  height: 2px;
  background-color: #044fd2;
  transition: all 0.3s ease;
}

nav a:hover::after {
  width: 36px;
}

nav img {
  height: 96px;
  margin-right: 32px;
  transition: height 0.3s ease;
}

#hero {
  position: relative;
}

#hero > img {
  width: 100%;
  object-fit: cover;
  filter: brightness(70%);
  height: 100vh;
}

#hero .hero-content {
  position: absolute;
  top: calc(50% - 140px);
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 590;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
}

#hero .hero-content-agreements {
  position: absolute;
  top: calc(50% - 140px);
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 590;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
}

#hero .agreements-holder {
  top: 96px;
  background-color: white;
  padding: 16px;
  border-radius: 8px;
  align-items: unset;
}

#hero .agreements-holder h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 12px;
  color: #383838;
  line-height: 140%;
}

#hero .hero-content h1 {
  font-size: 48px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 12px;
  text-align: center;
  color: #fff;
  line-height: 140%;
}

#hero .hero-content p {
  font-size: 18px;
  margin: 0;
  text-align: center;
  color: #fff;
  line-height: 140%;
  margin-bottom: 32px;
}

#hero .hero-content a {
  font-size: 18px;
  margin: 0;
  text-align: center;
  color: #fff;
  line-height: 140%;
  text-decoration: none;
  padding: 16px 32px;
  border: 2px solid #fff;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

#hero .hero-content a:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

#hero .hero-content-agreements {
  align-items: unset;
  top: 128px;
}

#hero .agreements-holder a {
  font-size: 18px;
  margin: 0;
  color: #044fd2;
  line-height: 150%;
  text-decoration: none;
  padding: 0;
  border: 2px solid #fff;
  background-color: unset;
  border-radius: 8px;
}

#hero .agreements-holder a:hover {
  background-color: transparent;
}

#about {
  padding: 64px 0;
}

#about > div {
  max-width: 1200px;
  margin: 0 auto;
}

#about .section-label {
  font-size: 12px;
  font-weight: 600;
  color: #044fd2;
  margin-bottom: 8px;
}

#about .section-title {
  font-size: 32px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 24px;
  color: #0e3577;
}

#about .side-to-side {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 32px;
}

.image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.image-wrapper > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

p {
  color: #383838;
  font-size: 16px;
  margin: 0;
  line-height: 135%;
}

#services {
  padding: 64px 0;
  background-color: #e2eaef;
}

#services > div {
  max-width: 1200px;
  margin: 0 auto;
}

#services .section-title {
  font-size: 32px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 48px;
  text-align: center;
  color: #0e3577;
}

#services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

#services .service-item {
  position: relative;
  height: 240px;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

#services .service-item:nth-child(1) {
  grid-column: span 2;
}

#services .service-item::after {
  content: "-";
  color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#services .service-item:hover::after {
  background-color: rgba(0, 0, 0, 0.5);
}

#services .service-item > .description {
  position: absolute;
  top: 204px;
  left: 16px;
  color: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 555;
}

#services .service-item:hover > .description {
  top: 16px;
}

#services .service-item > .description > h3 {
  margin: 0;
}

#services .service-item > .description > p {
  margin-top: 12px;
  color: #fff;
}

#spaces {
  padding: 64px 0;
  background-color: #e2eaef;
}

#spaces > div {
  max-width: 1200px;
  margin: 0 auto;
}

#spaces .section-title {
  font-size: 32px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 48px;
  text-align: center;
  color: #0e3577;
}

#spaces .spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

#spaces .spaces-grid .image-wrapper {
  height: 240px;
  border-radius: 0;
  z-index: 100;
}

#spaces .description {
  background-color: #fff;
  margin-top: -32px;
  padding: 32px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#spaces .description h3 {
  color: #0e3577;
  margin-bottom: 8px;
}

#spaces .description p {
  color: #0e3577;
}

#spaces .spaces-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

#why {
  padding: 64px 0;
}

#why > div {
  max-width: 1200px;
  margin: 0 auto;
}

#why .section-title {
  font-size: 32px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 48px;
  text-align: center;
  color: #0e3577;
}

#why .side-to-side {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
}

#why .reason-title > .header > h3 {
  color: #044fd2;
  margin: 0;
}

#why .reason-title > .header > img {
  height: 24px;
  margin-right: 8px;
}

#why .reason-title > .header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

#why .reason-title {
  margin-bottom: 24px;
}

#contact {
  width: 100%;
  padding: 64px 0;
}

#contact > div {
  margin: 0 auto;
  width: fit-content;
}

#contact {
  border-top: 2px solid #fff;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "-";
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  background-image: url("./images/contact.webp");
  background-size: cover;
  background-position: center;
  filter: brightness(50%);
  z-index: -1;
}

#contact .section-title {
  font-size: 32px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 48px;
  text-align: center;
  color: #fff;
}

#contact .form-wrapper {
  width: 480px;
  display: flex;
  background-color: #e2eaef;
  border-radius: 8px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

#contact .form-wrapper form {
  width: 100%;
}

#contact .form-wrapper .field-wrapper {
  width: 100%;
}

#contact .form-wrapper input,
#contact .form-wrapper select,
#contact .form-wrapper textarea {
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  margin-bottom: 12px;
}

#contact .form-wrapper select {
  padding: 16px 24px 16px 8px;
  border-right: 16px solid transparent
}

#contact .form-wrapper input {
  padding: 16px 12px;
}

#contact .form-wrapper button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 4px;
  background-color: #044fd2;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#contact .form-wrapper .disabled {
  background-color: #ccc;
  pointer-events: none;
  padding: 12px;
}

#contact .form-wrapper button:hover {
  background-color: #0e3577;
}

footer {
  background-color: #fff;
  border-top: 2px solid #044fd2;
}

footer > div {
  max-width: 1200px;
  padding: 32px;
  margin: 0 auto;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .logo-wrapper {
  height: 96px;
}

footer .logo-wrapper > img {
  height: 100%;
}

footer .logo-subcontent {
  max-width: 292px;
  margin-top: 16px;
  margin-left: 8px;
}

footer .footer-logo-content {
  flex: 2;
  margin-bottom: auto;
}

footer .divider {
  margin: 32px 0 16px 0;
  border-top: 2px solid #044fd2;
  height: 5px;
}

footer .footer-copyright {
  font-size: 12px;
  text-align: center;
  margin: 0;
}

footer .footer-inner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 32px;
  flex: 1;
}

footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}

footer .footer-links h4 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #0e3577;
}

footer .footer-links a {
  text-decoration: none;
  height: fit-content;
  position: relative;
  margin-right: 32px;
  color: #044fd2;
}

footer .footer-links a:hover {
  color: #033ec1;
}

footer .footer-links a::after {
  content: "-";
  position: absolute;
  bottom: -4px;
  left: 0;
  color: transparent;
  width: 0;
  height: 2px;
  background-color: #044fd2;
  transition: all 0.3s ease;
}

footer .footer-links a:hover::after {
  width: 36px;
}

.top-target {
  position: relative;
}

.top-target > span {
  position: absolute;
  top: -96px;
}

@media only screen and (max-width: 1200px) {
  nav img {
    height: unset;
    width: unset;
    margin-right: unset;
    margin-left: unset;
    max-height: 70px;
  }

  nav > div > img {
    margin-left: 16px;
  }

  nav .desktop-nav {
    display: none;
  }

  nav .mobile-nav {
    display: flex;
    position: relative;
  }

  nav .menu-icon .line {
    display: block;
    height: 3px;
    width: 24px;
    border-radius: 1px;
    background: #0e2431;
    margin: 4px 0;
    transition: all 0.3s ease;
  }

  nav input[type='checkbox']:checked ~ .menu-options {
    display: flex;
    position: absolute;
  }

  nav input[type='checkbox']:checked ~ label > .menu-icon > .line1,
  nav input[type='checkbox']:checked ~ label > .menu-icon > .line2 {
    transform: rotate(45deg) translate(5px, 5px);
  }

  nav input[type='checkbox']:checked ~ label > .menu-icon > .line2 {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0;
  }

  nav input[type='checkbox']:checked ~ label > .menu-icon > .line3 {
    transform: rotate(-45deg) translate(4px, -5px);
  }

  nav .menu-options {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: -8px;
    width: 100%;
    background-color: #fff;
    width: 100vw;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid #044fd2;
  }

  nav .menu-options a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
  }

  nav .mobile-nav .menu-icon {
    display: block;
    cursor: pointer;
    margin-right: 32px;
  }

  nav .mobile-nav input {
    height: 0;
    width: 0;
    overflow: hidden;
  }

  footer > div {
    width: 90%;
    padding: 32px 0;
  }

  footer .logo-wrapper {
    height: unset;
  }

  footer .logo-wrapper > img {
    width: 100%;
  }

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

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

  footer .footer-logo-content > p {
    margin: 24px 0;
    max-width: unset;
  }

  footer .footer-links > a {
    margin-right: 0;
  }

  #hero .hero-content h1 {
    font-size: 24px;
  }

  #hero .hero-content{
    width: 80%;
    transform: translate(-54%, 0);
  }

  #about > div > h2 {
    font-size: 24px !important;
  }

  #about > div {
    width: 90%;
  }

  #about .side-to-side {
    grid-template-columns: 1fr;
  }

  #services > div {
    width: 90%;
  }

  #services .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #services .service-item {
    grid-column: span 1 !important;
  }

  #why > div {
    width: 90%;
  }

  #why .side-to-side {
    grid-template-columns: 1fr;
  }

  #spaces > div {
    width: 90%;
  }

  #spaces .spaces-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title {
    font-size: 24px !important;
  }

  #contact > div {
    width: 90%;
  }

  #contact .form-wrapper {
    width: unset;

  }
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0px;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.privacy-link {
  margin-top: 8px;
  font-size: 14px;
}

.privacy-link a {
  color: #007bff;
  text-decoration: none;
}