@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  /* --------- Main theme colors --------- */
  --text-primary-color: #121212;
  --text-secondary-color: #888888;
  --text-tertiary-color: #fff;

  --dark-primary: #0a2d35;
  --dark-secondary: #0b4551;
  --medium-primary: #377582;
  --medium-secondary: #679aa5;
  --light-primary: #95bcc1;
  --ligth-secondary: #c8dbdf;
  --alternate-color: #1078d8;

  /* --------- Hover colors --------- */
  --hover-color: #0b4551;

  /* --------- Background colors --------- */
  --body-bg-color: #f9f9f9;
  --card-bg-color: #fff;
  --modal-bg-color: #fff;

  /* --------- Color Filter --------- */
  --color-filter: invert(0);
  --color-filter-invert: invert(1);

  /* --------- Box-shadow --------- */
  --box-shadow: 10px 10px 30px rgba(69, 129, 142, 0.25);

  /* --------- Font size --------- */
  --small-font-size: 0.9em;
  --normal-font-size: 1em;

  /* --------- Layout settings --------- */
  --page-width: 1200px;
  --logo-height: 25px;
}

/* --------- Reset settings --------- */

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

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 62.5%; /* changes a default 16px font size to 10px*/
  font-family: "Outfit", sans-serif;
}

@media (max-width: 600px) {
  html {
    font-size: 50%;
  }
}

button {
  background-color: inherit;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

a,
a:visited {
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  color: inherit;
}

a:active {
  color: inherit;
}

/*
a:hover {
  color: var(--hover-color);
}
*/

li {
  list-style: none;
}

/* --------- Typography settings --------- */

h1 {
  font-size: 3.2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

h2 {
  font-size: 2.8rem;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

h3 {
  font-size: 2.4rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 2rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

h5 {
  font-size: 1.8rem;
  margin-top: 1.125rem;
  margin-bottom: 1.125rem;
}

p {
  font-size: 1.6rem;
  font-weight: 300;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.small {
  font-size: 1.2rem;
}

.input {
  font-size: 1.2rem; /* font size = 12 */
  font-family: inherit;
}

.description {
  color: var(--text-secondary-color);
}

@media (max-width: 749px) {
  .description {
    text-align: center;
  }
}

.description--hero {
  padding-bottom: 20px;
}

/* --------- General settings --------- */

body {
  color: var(--text-primary-color);
  background: var(--body-bg-color);
  transition: 0.2s ease;
  line-height: 1.5;
  box-sizing: border-box;
}

.page-width {
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
}

.box-shadow {
  box-shadow: var(--box-shadow);
}

.section {
  position: relative;
  box-sizing: border-box;
  margin-top: 60px;
  margin-bottom: 60px;
}

.section__title {
  letter-spacing: 0.15rem;
  font-weight: 500;
  text-align: center;
}

/* --------- Header Layout settings --------- */

.header {
  z-index: 99999;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  /*backdrop-filter: blur(20px);*/
  transition: 0.2s ease;
}

/*
.header--white {
  background-color: rgba(0, 0, 0, 0.5);
}*/

.navbar {
  position: relative;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.navbar__logo {
  height: max(var(--logo-height), 4.8rem);
  display: flex;
  flex-direction: row;
  align-items: center;
  color: var(--first-color);
  gap: 15px;
  z-index: 21;
}

.navbar__logo img {
  height: var(--logo-height);
  max-width: 100%;
  filter: var(--color-filter-invert);
}

.navbar__title {
  font-weight: 600;
  font-size: 2rem;
  color: white;
}

/*
.navbar__logo--white {
  filter: invert(1);
}
*/

.menu--hamburger {
  display: flex;
  justify-content: flex-end;
  padding-right: 15px;
  z-index: 21;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  visibility: hidden;
  display: none;
  /*height: 20px;
  width: 20px;*/
}

.bar {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  /*align-items: center;*/
}

.bar .middle {
  height: 3px;
  width: 25px;
  background: var(--body-bg-color);
  border-radius: 50px;
  position: absolute;
  transition: 0.3s ease;
}

.bar .top {
  bottom: 6px;
  height: 3px;
  width: 25px;
  background: var(--body-bg-color);
  border-radius: 50px;
  position: absolute;
  transition: 0.3s ease;
}

.bar .bottom {
  top: 9px;
  height: 3px;
  width: 25px;
  background: var(--body-bg-color);
  border-radius: 50px;
  position: absolute;
  transition: 0.3s ease;
}

input[type="checkbox"]:checked ~ .bar .top {
  transform: rotate(-45deg);
  width: 25px;
  transform-origin: right;
  top: -10px;
  margin-right: 5px;
}

input[type="checkbox"]:checked ~ .bar .bottom {
  transform: rotate(45deg);
  width: 25px;
  transform-origin: right;
  top: 8px;
  margin-right: 5px;
}

input[type="checkbox"]:checked ~ .bar .middle {
  transform: translateX(20px);
  opacity: 0;
}

.navbar__menu {
  display: none;
  color: white;
  gap: 35px;
  transition: opacity 2s ease;
}

.navbar__menu.active {
  display: flex;
  opacity: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    var(--dark-primary),
    var(--dark-secondary),
    var(--medium-primary),
    var(--medium-secondary),
    var(--light-primary),
    var(--ligth-secondary)
  );
}

.menu__item {
  color: var(--body-bg-color);
  font-weight: 500;
  font-size: 1.6rem;
  text-decoration: none;
  position: relative;
}

/*
.menu__item--white {
  color: white !important;
}*/

.menu__item::before {
  content: "";
  background-color: rgba(69, 129, 142, 0.25);
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 8px;
  z-index: -1;
  transition: 0.2s ease;
}

.menu__item:hover::before {
  bottom: 0;
  height: 100%;
}

#home {
  display: none;
}

@media (min-width: 750px) {
  .menu--hamburger,
  #navbar__pp {
    display: none;
  }

  #home {
    display: block;
  }

  .navbar {
    max-width: calc(var(--page-width) + 200px);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    transition: 0.2s ease;
  }

  .navbar__menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    z-index: 21;
  }
}

.description--hero__subtitle {
  position: relative;
}

.description--hero__subtitle::before {
  content: "";
  position: absolute;
  bottom: 0px;
  border-radius: 1px;
  width: 100%;
  height: 5px;
  z-index: -1;
  background: linear-gradient(to top, #76a5af, #d0e0e3);
}

.btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 15px;
  margin-left: auto;
  margin-right: auto;
}

.btn--cta {
  font-size: 1.8rem;
  font-weight: 400;
  padding: 8px 15px 10px 15px;
  color: var(--body-bg-color);
  background-color: var(--dark-secondary);
}

.icon-tab {
  margin-top: 0.2rem;
  height: 2.2rem !important;
}

/* - Hamburger menu - */

/* --------- Main Layout settings --------- */

.hero {
  position: relative;
  box-sizing: border-box;
  margin-top: 0px;
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero--index {
  padding-top: 100px;
  margin-bottom: 120px;
  background: linear-gradient(
    to bottom,
    #0c343d,
    #76a5af,
    var(--body-bg-color),
    var(--body-bg-color),
    transparent
  );
}

.hero--demo {
  padding-top: 150px;
  margin-bottom: 20px;
  background: linear-gradient(
    to bottom,
    var(--dark-primary),
    var(--medium-primary),
    transparent
  );
}

.hero__title {
  color: var(--dark-primary);
  font-weight: 700;
}

.hero__title--demo {
  color: white;
  font-weight: 700;
}

@media (max-width: 540px) {
  .cloud {
    width: 100%;
    height: 33vw;
    background: var(--card-bg-color);
    -webkit-filter: drop-shadow(var(--box-shadow));
    filter: drop-shadow(var(--box-shadow));
    border-radius: 100px;
    margin-bottom: -100px;
  }
  .cloud::after,
  .cloud::before {
    content: "";
    position: relative;
    display: inline-block;
    background: inherit;
    border-radius: inherit;
  }
  .cloud::after {
    width: 45vw;
    height: 45vw;
    top: -18vw;
    left: 2vw;
  }
  .cloud::before {
    width: 40vw;
    height: 40vw;
    top: -18vw;
    left: 10vw;
  }
}

.container {
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 55px;
  padding-right: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container--block {
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 55px;
  padding-right: 55px;
}

.hero__img {
  max-width: 350px;
  width: 90%;
}

.card--wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.card {
  position: relative;
  background-color: var(--card-bg-color);
  padding: 20px;
  border-radius: 25px;
}

@media (max-width: 749px) {
  .container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .card {
    width: 100%;
  }
}

.card--main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 80%;
  max-width: 1200px;
  padding-left: 100px;
  padding-right: 100px;
}

.expertise {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 25px;
}

.about__image--wrapper {
  position: absolute;
  left: -75px;
  top: 50%;
  transform: translate(0, -50%);
}

.about__image {
  width: 150px;
  height: 150px;
  border: solid 5px #fff;
  border-radius: 50%;
}

.about__title {
  padding-top: 0px;
}

.about__description {
  font-style: italic;
  font-weight: 200;
}

@media (max-width: 749px) {
  .about__title {
    padding-top: 70px;
  }
}

.propero-earth {
  width: 40vw;
  max-width: 500px;
}

@media (max-width: 749px) {
  .about__image--wrapper {
    top: -75px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .card--main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .expertise {
    flex-direction: column-reverse;
  }
}

#expertise {
  background-color: var(--dark-secondary);
  border-radius: 0 0 25px 25px;
  text-align: center;
}

#expertise:before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  height: 50px;
  width: 100%;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  background: transparent;
  box-shadow: 0 25px 0 0 var(--dark-secondary);
}

.expertise__text {
  padding-top: 15px;
  padding-bottom: 25px;
  color: white;
}

.icon--process {
  height: 40px;
}

.process__item {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1.6rem 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.process__item--left {
  text-align: right;
  justify-content: end;
}

.process__item--left img {
  transform: rotate(-10deg);
}

.process__item--right {
  text-align: start;
  justify-content: start;
}

.process__item--right img {
  transform: rotate(10deg);
}

.process__item--description {
  font-weight: 500;
  color: var(--dark-secondary);
}

.process__item--dot {
  content: "";
  height: 1.6rem;
  width: 1.6rem;
  background-color: var(--dark-secondary);
  border-radius: 50%;
}

.line {
  position: absolute;
  top: calc(11rem);
  left: 50%;
  transform: translate(-50%, 0);
  height: 56%;
  width: 3px;
  background: var(--dark-secondary);
}

@media (min-width: 600px) {
  .line {
    top: calc(10rem);
  }
}

/* ------ slider component ------*/

.slider {
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.alt-cards {
  width: 100%;
  height: 165px;
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.alt-cards::-webkit-scrollbar {
  height: 7px;
  border: solid 0.5px var(--dark-secondary);
  border-radius: 3.5px;
}

.alt-cards::-webkit-scrollbar-thumb {
  background: var(--dark-secondary);
  border-radius: 3.5px;
}

.slider__slide {
  display: flex;
  flex-direction: row;
}

/* ------ featured articles ------*/

.featured-articles {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.article {
  position: relative;
  width: 100%;
  background-color: var(--card-bg-color);
  border-radius: 25px;
}

.article--primary {
  height: 250px;
  width: 100%;
  color: white !important;
}

.article--secondary {
  height: 150px;
  width: 60%;
  flex: 0 0 auto;
  color: white !important;
}

.article__description {
  position: absolute;
  z-index: 21;
}

.article__description--primary {
  left: 25px;
  bottom: 10px;
}

.article__description--secondary {
  left: 15px;
  bottom: 5px;
}

.article__image {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.article__image--main {
  object-fit: cover;
  border-radius: 25px;
}

.article__image--secondary {
  border-radius: 25px 25px 0 0;
}

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

.article__overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #0c343d, transparent);
  z-index: 11;
}

.article--primary__image img,
.article--primary .article__overlay {
  border-radius: 25px;
}

.article--secondary__image img,
.article--secondary .article__overlay {
  border-radius: 15px;
}

@media (min-width: 750px) {
  .featured-articles {
    flex-direction: row;
  }

  .alt-cards {
    width: 100%;
    height: 320px;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 1fr 1fr;
    gap: 10px;
  }

  .alt-cards::-webkit-scrollbar {
    display: none;
  }

  .alt-cards::-webkit-scrollbar-thumb {
    display: none;
  }

  .article--primary {
    height: 315px;
  }

  .article--secondary {
    width: 100%;
  }
}

footer {
  background-color: var(--dark-primary);
  color: white;
}

.footer__menu {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.accordion--wrapper {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.accordion {
  cursor: pointer;
  width: 100%;
  transition: 0.4s;
  border-radius: 5px;
}

footer .active,
.accordion:hover {
  background-color: var(--dark-secondary);
  border-radius: 15px 0 0 0;
}

footer .accordion:after {
  content: "\002B";
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

footer .accordion:after:hover {
  color: rgb(var(--color-background)) !important;
}

footer .active:after {
  content: "\2212";
  color: rgb(var(--color-background));
}

.panel {
  background: var(--dark-secondary);
  border-radius: 0 0 15px 0;
  max-height: 0;
  width: 100%;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.list-menu {
  font-weight: 300;
  padding-left: 10px;
}

form {
  padding-top: 10px;
  padding-bottom: 30px;
}

.field {
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
}

.newsletter__form input {
  font-family: inherit;
  padding: 10px;
  border: solid 0.02rem white;
  background-color: var(--dark-primary);
  border-radius: 20px;
  width: 100%;
}

.newsletter__form input::placeholder {
  color: white;
  padding: 10px;
}

.newsletter__form button {
  width: 100%;
  border-radius: 20px;
  padding: 10px;
  background-color: white;
  color: var(--dark-primary);
}

.footer__pill--wrapper {
  display: flex;
  flex-direction: column;
}

.pill {
  min-width: 160px;
  width: 26vw;
  max-width: 405px;
  min-height: 84px;
  height: 15vw;
  max-height: 235px;
  border: solid 1px white;
  border-radius: 10px;
}

.pill img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.footer__featured {
  height: calc(15vw + 5.5rem + 10px);
  min-height: 150px;
  justify-content: space-between;
}

@media (max-width: 529px) {
  .footer__featured::-webkit-scrollbar {
    height: 7px;
    border: solid 0.5px white;
    border-radius: 3.5px;
  }

  .footer__featured::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 3.5px;
  }
}

.socials {
  margin-top: 15px;
  padding-top: 15px;
  padding-bottom: 20px;
  gap: 15px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.footer__socials {
  color: white;
}

.header__socials {
  color: black;
}

@media (min-width: 750px) {
  .header__socials {
    display: none;
  }
}

.icon-linkedin {
  margin-bottom: 2px;
}

.demo__video {
  max-width: 1080px;
  width: calc(100% - 110px);
  margin-left: auto;
  margin-right: auto;
}

.mySwiper {
  width: 265px;
  height: 400px;
  margin-top: 20px;
  margin-bottom: 40px;
  overflow: hidden;
}

@media (min-width: 599px) {
  .mySwiper {
    width: 350px;
  }
}

.mySlide {
  position: relative;
  padding: 20px;
  border-radius: 25px;
}

.mySlide--primary {
  background-color: var(--dark-secondary);
  color: white;
}

.mySlide--secondary {
  background-color: var(--medium-primary);
  color: white;
}

.mySlide--tertiary {
  background-color: var(--medium-secondary);
  color: white;
}
