@import url("./root.css");

.hero_sect {
  background: url("../imgs/index/hero_bg.svg") no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* width: 98vw; */
  height: 100vh;
  position: relative;
  top: -10vh;
}

.hero_sect > *,
.about_us_info > h2,
.about_us_info > p,
.contact_sect_container > div {
  margin-left: 10px;
}

.about_us_info .txt-l {
  opacity: 75%;
}

.carousel_wrapper {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.technologies_logos {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: scrollLogos 15s linear infinite;
}

.tech_logo {
  height: 50px;
  width: 150px;
  object-fit: contain;
}

@keyframes scrollLogos {
  to {
    transform: translateX(calc(-50% - 30px));
  }
}

.technologies_logos:hover {
  animation-play-state: paused;
}

.about_us_stat_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--color-white);
  margin: 2.5% 0;
  padding: 0 5px;
  border-radius: 16px;
  height: 100px;
}

.about_us_stat_container h3 {
  flex: 1;
  text-align: center;
}

.about_us_stat_container p {
  flex: 1;
  text-align: center;
}

.solutions_perks_section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-blue-200);
  text-align: center;
  padding: 40px 30px;
  border-radius: 24px;
}

.solutions_perks_section:before {
  content: "";
  position: absolute;
  top: 30%;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-image: url("../imgs/circle_bck.svg");
  opacity: 0.5;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;
}

.solutions_perks_section > * {
  position: relative;
  z-index: 2;
}

.solutions_perks_section > h2 {
  background: var(--gradient-blue-500-300);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.solutions_perks_section > p {
  opacity: 60%;
}

.solutions_perks_container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.solutions_perks_container_column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.left_column {
  margin: auto;
}

.solutions_perks_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: color-mix(in srgb, var(--color-blue-100) 50%, transparent);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
  border-radius: 16px;
  gap: 5px;
}

.solutions_perks_container_column > :nth-child(even) {
  width: 100%;
  padding: 10px 20px;
}

.solutions_perks_container_column > :nth-child(odd) {
  width: 90%;
  height: 100%;
  padding: 20px 20px;
}

.solutions_perks_item > img {
  width: 60px;
  height: 60px;
}

.solutions_perks_item > p {
  text-align: center;
  opacity: 60%;
  margin: 0;
}

.contact_sect_container,
.about_us_stats {
  padding: 0 10px;
}

@media screen and (min-width: 1024px) {
  .hero_sect {
    background: url("../imgs/index/hero_bg_desktop.svg") no-repeat 75% center;
    background-size: cover;
  }

  .hero_sect > * {
    margin-right: 10%;
  }

  .hero_sect,
  .about_us_sect,
  .contact_sect_container {
    padding: 0 25px;
  }

  .about_us_sect {
    display: flex;
    flex-direction: row;
    gap: 50px;
  }

  .about_us_info {
    max-width: 30%;
  }

  .about_us_stats {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex: 2;
  }

  .about_us_stat_container {
    display: flex;
    flex-direction: column;
    height: 60%;
    width: 30%;
    background-color: color-mix(in srgb, var(--color-white) 60%, transparent);
  }

  .tech_logo {
    width: 100px;
  }

  .solutions_perks_container {
    flex-wrap: wrap;
    max-width: 600px;
    flex-direction: column-reverse;
  }

  .solutions_perks_container_column {
    flex-direction: row;
    justify-content: center;
  }

  .solutions_perks_container_column > :nth-child(even) {
    width: 175px;
    height: 200px;
  }

  .solutions_perks_container_column > :nth-child(odd) {
    width: 150px;
    height: 175px;
  }

  .right_column {
    align-items: end;
  }

  .right_column > :first-child {
    width: 200px;
  }

  .solutions_perks_item {
    justify-content: space-around;
  }
}

@media screen and (min-width: 2000px) {
  .hero_sect > * {
    margin-right: 0;
  }

  .solutions_perks_container {
    max-width: max-content;
  }

  .solutions_perks_item > img {
    width: 100px;
    height: 100px;
  }

  .solutions_perks_container_column > :nth-child(even) {
    width: 300px;
    height: 275px;
  }

  .solutions_perks_container_column > :nth-child(odd) {
    width: 275px;
    height: 250px;
  }

  .right_column > :first-child {
    width: 350px;
  }
}
