html {
  scroll-behavior: smooth;
}

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

ul,
ol {
  list-style: none;
}

body {
  font-family: "Lexend", sans-serif;
}

.section {
  background-color: rgb(248, 248, 248);
}
.section__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0.5rem;
}
@media only screen and (min-width: 768px) {
  .section__wrapper {
    padding: 3rem 1rem;
  }
}
.section__header {
  font-size: 2rem;
  color: rgb(37, 92, 133);
  margin-bottom: 3rem;
  position: relative;
  line-height: 2em;
  letter-spacing: 1px;
}
.section__header::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: rgb(87, 123, 127);
}
.section__header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: rgb(87, 123, 127);
}
@media only screen and (min-width: 768px) {
  .section__header {
    font-size: 2.5rem;
  }
}

.header {
  min-height: 100dvh;
  background: url("../images/header-background.jpg") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
}
.header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(11, 51, 98, 0.91);
}
.header__wrapper {
  position: fixed;
  z-index: 5;
  top: 0;
  width: 100%;
  background-color: rgba(248, 248, 248, 0.75);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
  transition: background-color 0.3s ease-in-out;
}
.header__wrapper--higlighted {
  background-color: rgb(248, 248, 248);
}
.header__wrapper-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
}
@media only screen and (min-width: 768px) {
  .header__wrapper-inner {
    padding: 1rem;
  }
}
.header__logo {
  max-width: 70px;
}
@media only screen and (min-width: 768px) {
  .header__logo {
    max-width: 130px;
  }
}
.header__nav-list {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}
@media only screen and (min-width: 768px) {
  .header__nav-list {
    gap: 1rem;
  }
}
.header__nav-link {
  padding: 0.5rem;
  text-decoration: none;
  color: rgb(37, 92, 133);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.2s ease-in-out;
}
.header__nav-link:hover {
  color: rgb(18, 44, 64);
}
@media only screen and (min-width: 768px) {
  .header__nav-link {
    font-size: 1.2rem;
  }
}
.header__logo {
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.header__info {
  padding: 0.5rem;
  max-width: 1200px;
  position: relative;
  z-index: 1;
  color: rgb(248, 248, 248);
  margin: 0 auto;
  width: 100%;
}
@media only screen and (min-width: 768px) {
  .header__info {
    padding: 1rem;
  }
}
.header__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
@media only screen and (min-width: 420px) {
  .header__title {
    font-size: 3.5rem;
  }
}
@media only screen and (min-width: 768px) {
  .header__title {
    font-size: 6.5rem;
  }
}
.header__subtitle {
  font-size: 1.75rem;
  font-weight: 100;
}
@media only screen and (min-width: 768px) {
  .header__subtitle {
    font-size: 2.75rem;
  }
}
.header__highlight {
  color: rgb(87, 123, 127);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.about__content {
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 768px) {
  .about__content {
    gap: 3rem;
    margin-bottom: 3rem;
  }
}
.about__item {
  margin-bottom: 1.5rem;
}
@media only screen and (min-width: 768px) {
  .about__item {
    width: 50%;
    margin-bottom: 0;
  }
}
.about__item--founder {
  margin-bottom: 0;
  position: absolute;
  background-color: rgba(248, 248, 248, 0.75);
  padding: 15px;
  left: 0;
  bottom: 0;
  right: 0;
}
@media only screen and (min-width: 640px) {
  .about__item--founder {
    width: 100%;
    position: static;
    padding: 0;
    background-color: transparent;
  }
}
.about__img-container {
  overflow: hidden;
  width: 100%;
  border-radius: 4px;
  display: flex;
  position: relative;
  margin-bottom: 2.5rem;
}
.about__img-container:hover:not(.about__img-container--founder) img {
  transform: scale(1.05);
}
.about__img-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(37, 92, 133, 0.25);
}
@media only screen and (min-width: 768px) {
  .about__img-container {
    width: 50%;
    margin-bottom: 0;
  }
}
.about__img-container--founder {
  margin-bottom: 0;
}
@media only screen and (min-width: 640px) {
  .about__img-container--founder {
    max-width: 350px;
    min-width: 300px;
    margin-bottom: 0;
  }
}
.about__img {
  max-width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
  object-fit: cover;
  width: 100%;
}
.about__subtitle {
  color: rgb(87, 123, 127);
  font-size: 1.6rem;
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}
@media only screen and (min-width: 768px) {
  .about__subtitle {
    font-size: 2rem;
  }
}
.about__row {
  display: flex;
  flex-direction: column-reverse;
  color: rgb(18, 44, 64);
}
@media only screen and (min-width: 768px) {
  .about__row--first {
    flex-direction: row;
  }
}
@media only screen and (min-width: 768px) {
  .about__row--second {
    flex-direction: row-reverse;
  }
}
.about__row--founder {
  position: relative;
}
@media only screen and (min-width: 640px) {
  .about__row--founder {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }
}
@media only screen and (min-width: 768px) {
  .about__row {
    gap: 3rem;
    align-items: center;
  }
}
.about__summary {
  color: rgb(18, 44, 64);
  font-size: 1.6rem;
  font-weight: 100;
  margin-bottom: 3rem;
}
@media only screen and (min-width: 768px) {
  .about__summary {
    font-size: 2rem;
  }
}
.about__higlight {
  font-weight: 700;
  color: rgb(87, 123, 127);
  letter-spacing: 0.5px;
}
@media only screen and (min-width: 768px) {
  .about__info {
    font-size: 1.2rem;
  }
}
.about__info--founder:first-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 640px) {
  .about__info--founder:first-child {
    margin-bottom: 1rem;
  }
}
.about__info--founder:last-child {
  display: none;
}
@media only screen and (min-width: 640px) {
  .about__info--founder:last-child {
    display: block;
  }
}
.about__info--higlight {
  font-weight: 700;
}
.about__cooperate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
  font-size: 1.6rem;
  color: rgb(18, 44, 64);
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .about__cooperate {
    font-size: 2.2rem;
  }
}
.about__logo {
  max-width: 200px;
  width: 100%;
}

.services {
  background-color: rgba(11, 51, 98, 0.91);
}
.services__header {
  color: rgb(248, 248, 248);
}
.services__content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
@media only screen and (min-width: 768px) {
  .services__content {
    gap: 3rem;
  }
}
.services__item {
  width: 100%;
  background-color: rgba(248, 248, 248, 0.75);
  color: rgb(18, 44, 64);
  padding: 2rem;
  border-radius: 4px;
  position: relative;
  transition: background-color 0.3s ease-in-out;
  flex-direction: column;
}
.services__item:hover {
  background-color: rgba(248, 248, 248, 0.85);
}
@media only screen and (min-width: 768px) {
  .services__item {
    flex-direction: row;
    width: calc(50% - 1.5rem);
  }
}
.services__subtitle {
  color: rgb(87, 123, 127);
  font-size: 1.6rem;
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}
@media only screen and (min-width: 768px) {
  .services__subtitle {
    font-size: 2rem;
  }
}
.services__info {
  position: relative;
  z-index: 2;
  font-size: 1rem;
}
@media only screen and (min-width: 768px) {
  .services__info {
    font-size: 1.2rem;
  }
}
.services__higlight {
  position: absolute;
  top: 0;
  left: 0.5rem;
  font-size: 5rem;
  color: rgba(37, 92, 133, 0.25);
}

.contact__content {
  display: flex;
  flex-direction: column;
  color: rgb(18, 44, 64);
  font-size: 1.6rem;
  font-weight: 100;
}
.contact__details--question {
  margin-bottom: 1rem;
  font-weight: 400;
}
.contact__details--info {
  font-size: 1.8rem;
}
@media only screen and (min-width: 768px) {
  .contact__details--info {
    font-size: 2rem;
  }
}
.contact__highlight {
  font-weight: 700;
  color: rgb(87, 123, 127);
}
.contact__form-wrapper {
  margin-top: 2rem;
}

.footer {
  background-color: rgba(11, 51, 98, 0.91);
  color: rgb(248, 248, 248);
}
.footer__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media only screen and (min-width: 768px) {
  .footer__wrapper {
    padding: 3rem 1rem;
  }
}
.footer__title {
  font-size: 1.4rem;
  font-weight: 700;
}
@media only screen and (min-width: 768px) {
  .footer__title {
    padding-left: 2rem;
  }
}
.footer__subtitle {
  font-size: 1rem;
  font-weight: 100;
  margin-bottom: 1.5rem;
}
@media only screen and (min-width: 768px) {
  .footer__subtitle {
    padding-left: 2rem;
  }
}
.footer__container {
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 768px) {
  .footer__container {
    flex-direction: row;
    align-items: center;
  }
}
.footer__data--contact {
  border-bottom: 1px solid rgb(248, 248, 248);
  padding-bottom: 1rem;
}
@media only screen and (min-width: 768px) {
  .footer__data--contact {
    padding-bottom: 0;
    padding-right: 2rem;
    border-bottom: none;
    border-right: 1px solid rgb(248, 248, 248);
  }
}
.footer__data--location {
  padding-top: 1rem;
  font-weight: 100;
}
@media only screen and (min-width: 768px) {
  .footer__data--location {
    padding-top: 0;
    padding-left: 2rem;
  }
}
.footer__details {
  display: flex;
  align-items: center;
}
.footer__details--phone {
  margin-bottom: 0.5rem;
}
.footer__icon {
  display: inline-flex;
  margin-right: 1rem;
}
.footer__info {
  color: rgb(248, 248, 248);
  text-decoration: none;
  font-weight: 400;
}
