* {
  box-sizing: border-box;
}

/* variables */
:root {
  --font-primary: "Sora", sans-serif;
  --light-gray: #dcdcdc;
  --body-background: #f5f5f5;
  --gray: #9a9a9a;
  --dark-gray: #191919;
  --primary-color: #000;
  --padding-from-sides: 3vw;
  --purple: #5b2b99;
}

html {
  background: #000;
}

.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #b1121275;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1000;
  transition: width 0.3s, height 0.3s, border 0.3s;
}

body {
  font-family: var(--font-primary);
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 1.2rem;
  color: var(--primary-color);
  background: var(--body-background);
  max-width: 2400px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 4rem;
}

.path_logo {
  fill: #43276c;
}

.cls-rouded-top {
  fill: var(--body-background);
}

.cls-rouded-top-black {
  fill: #000;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  line-height: 1;
}

h1, .h1 {
  font-size: 8rem;
  max-width: 80%;
}

h2, .h2 {
  margin-top: 1rem;
  font-size: 6rem;
  margin-bottom: 1rem;
}

h3, .h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

section {
  margin: 0 var(--padding-from-sides);
}

.section_heading, .footer {
  padding-left: var(--padding-from-sides);
  padding-right: var(--padding-from-sides);
}

.overflow-hidden {
  overflow: hidden;
}

.arrow {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 23px;
    background: var(--primary-color);
  }

  &::after {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-top: none;
    border-right: none;
    margin-top: 3px;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}



/* buttons */
.btn {
  display: inline-block;
  border: 1px solid #fff;
  background: #fff;
  padding: 15px 40px;
  line-height: 1;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 2rem;
  position: relative;
  font-size: inherit;
  position: relative;
  transition: .3s;
  cursor: pointer;

  .arrow {
    display: inline-block;
    position: absolute;
  }

  &.btn_big {
    padding: 20px 60px;
  }

  
  &.btn_with_arrow {
      padding-right: 80px;

      .arrow_right {
        right: 20px;
        top: 5px;
      }
  }

  &.btn_dark {
    background: var(--dark-gray);
    color: #fff;
    border: 1px solid var(--dark-gray);

    .arrow {
      &::before {
        background: #fff;
      }
      &::after {
        border-color: #fff;
      }
    }
  }

  &.btn_bordered {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;

    .arrow {
      &::before {
        background: #fff;
      }
      &::after {
        border-color: #fff;
      }
    }

    &:hover {
      background: #fff;
      color: var(--dark-gray);

      .arrow {
        &::before {
          background: var(--dark-gray);
        }
        &::after {
          border-color: var(--dark-gray);
        }
      }
    }
  }

  &.btn_bordered_dark {
    color: var(--dark-gray);
    border: 1px solid var(--dark-gray);

    .arrow {
      &::before {
        background: var(--dark-gray);
      }
      &::after {
        border-color: var(--dark-gray);
      }
    }

    &:hover {
      background: var(--dark-gray);
      color: #fff;

      .arrow {
        &::before {
          background: #fff;
        }
        &::after {
          border-color: #fff;
        }
      }
    }
  }
}


/* menu */

.menu_hamburger {
  display: none;
}

.menu {
  position: relative;
  background: var(--light-blue);
}

.menu_logo {
  display: flex;
  justify-content: center;
  line-height: 1;

  a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 3.4rem;
    font-weight: 700;
  }

  svg {
    width: 250px;
    height: 56px;
  }
}

.menu_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--padding-from-sides);
}

.menu_links > ul li {
  display: inline-block;

  a {
    text-decoration: none;
    color: var(--primary-color);
    padding: 0 3rem;
    font-weight: 700;

    &:hover {
      color: #000;
    }
  }
}

.mobile_menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 80vh;
  background: var(--dark-gray); 
  padding: 10vh 50px; 
  overflow-y: auto; 
  z-index: 20;
  text-align: right;
  transform: translateX(100%);
  transition: 0.3s ease-in-out;

  .mobile_menu__close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transform: rotate(45deg);
  }

  ul {
    li {
      display: block;

      a {
        display: block;
        padding: 15px;
        color: #fff;
        text-decoration: none;
        font-size: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
      }
    }

    li:last-child {
      a { 
        border-bottom: none;
      }
    }
  }

  &.active { 
    transform: translateX(0);
  }    
}

/* main */

#main {
  display: flex;
  flex-direction: column;
  background: var(--light-blue);
  position: relative;

  canvas {
    width: 100%;
    height: 80dvh;
    border-radius: 1.5rem;
    background: var(--dark-gray);
  }  

  video {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    object-fit: cover;
    background: var(--dark-gray);
    position: relative;
    z-index: 0;
  }  
}

.main_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  border-radius: 1.5rem;
  z-index: 1;
}

.button_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 50px;
  height: 80%;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 18px;
    background: #000;
  }

  &::after {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid #000;
    border-top: none;
    border-right: none;
    margin-top: 3px;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

.arrow_right {
  transform: rotate(-90deg);
}

.main_arrow {
  position: absolute;
  width: 120px;
  height: 120px;
  bottom: 0;
  right: 0;
  background: var(--body-background);
  border-top-left-radius: 1.5rem;
  z-index: 10;
  cursor: pointer;
}

.main_arrow__content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  height: 80%;
  background: var(--dark-gray);
  border-radius: 1rem;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 20px;
    background: #fff;
  }

  &::after {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid #fff;
    border-top: none;
    border-right: none;
    margin-top: 5px;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

.main_title {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  margin: 0;
  max-width: 68%;
  z-index: 2;

  h1 {
    margin-bottom: 3rem;
    margin-top: 0;
  }

  p {
    margin-bottom: 3rem;
    max-width: 60%;
  }
}

.main_subtitle__block {
  display: flex;
  justify-content: space-between;
}

.main_subtitle {
  text-transform: uppercase;
  font-family: var(--font-secondary);
  font-size: 1.9rem;
}

.roundedCornerTop {
  position: absolute;
  top: -25px;
  right: 0px;
  width: 25px;
  height: 25px;
}

.roundedCornerBottom {
  position: absolute;
  bottom: 0;
  left: -25px;
  width: 25px;
  height: 25px;
}

/* about */

.mezzo_section {
  padding: 10rem 8rem 5rem;
  display: flex;
  justify-content: space-between;
}

.section_heading {
  h2 {
    font-size: 1.5rem;
    margin: 0;
  }
}

.section_text {
  width: 55%;
  font-size: 2rem;
  font-weight: 300;
  position: relative;
  top: -9px;

  p {
    margin: 0;
  }
}

/* solutions */

.solutions_content {
  display: flex;
  flex-direction: column;
  background: var(--dark-gray);
  color: #fff;
  padding: 10rem 8rem 2rem;
  border-radius: 1.5rem;
}

.solutions_content__inner {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.solutions_content__button {
  margin-top: 2rem;
  width: 25%;
}

.solutions_content__items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: space-between;
  gap: 2rem;
  width: 85%;

  h3 {
    margin-top: 0;
    line-height: 1.3;
  }
}

.solutions_content__footer {
  margin-top: 7rem;
  font-size: 1.1rem;
  color: var(--gray);
}

.solutions_content__item {
  border-top: 1px solid var(--gray);
  padding-top: 3rem;
  padding-bottom: 1rem;

  &:nth-child(1),
  &:nth-child(2),
  &:nth-child(3) {
    border-top: none;
  }

  p {
    color: var(--gray);
    margin-bottom: 0;
  }
}

/* home_services */

.home_services_content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home_services_content__inner {
  display: flex;
  justify-content: space-between;
  gap: 2%;
}

.home_services_content__item {
  position: relative; 
  width: 100%;
  overflow: hidden;
  padding: 7rem 9rem;
  background: #fff;
  background-size: cover;
  background-position: center center;
  flex-direction: column;
  border-radius: 2rem;
  overflow: hidden;
  h3 {
    font-size: 3rem;
  }

  p {
    padding-left: 10%;
  }

  button {
    margin-top: 3rem;
    opacity: 0;
    transition: 0.3s;
  }

  &:hover {
    button {
      opacity: 1;
    }
  }
}

.home_services_content__items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2rem;
  width: 49%;
  
  .home_services_content__item:nth-child(1) {
    background: var(--dark-gray);
    color: #fff;
  }

  .home_services_content__item:nth-child(2) {
    color: #fff;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #000;
      opacity: 0.6;
      z-index: 0;
    }
  }
}

.home_services_content__item_text {
  position: relative;
  z-index: 1;
}

.home_services_content__item_big {
  width: 49%;
  padding-top: 20rem;    

  h3 {
    font-size: 6rem;
  }
}

.home_services_content__item_text__label {
  &::before,
  &::after {
    content: '|';
    display: inline-block;
    font-weight: 700;
    transform: rotate(10deg);
    padding: 0 0.3rem;
    font-size: 75%;
    position: relative;
    top: -3px;
  }
}

/* services */ 
.services_items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.services_item {
  padding: 4rem 6rem;
  border-bottom: 1px solid var(--light-gray);

  &:first-child {
    border-top: 1px solid var(--light-gray);
  }
}

.services_item_text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;

  h3 {
    width: 30%;
  }

  .services_item_text-frame {
    width: 60%;

    p {

    }
  }
}

.services_item_number {
  width: 10%;
  font-size: 2rem;
}

/* logos */

#logos {
  padding: 8rem var(--padding-from-sides);
  overflow: hidden;
  position: relative;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    opacity: 0.1;
    z-index: 0;
  }
}

.logos_items {
  width: 5000px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 6.9vw;
}

.logos_item {
  width: 12vw;
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    width: 90%;
  }
}

.logos_arrow {
  position: absolute;
  width: 50px;
  height: 80px;
  bottom: 0;
  right: 0;
  border-top-left-radius: 1.5rem;
  z-index: 10;
  cursor: pointer;
  overflow: hidden;
}

.logos_arrow_prev {
  position: absolute;
  top: 50%;
  left: -1vw;
  transform: translateY(-50%) rotate(180deg);
}

.logos_arrow_next {
  position: absolute;
  top: 50%;
  right: -1vw;
  transform: translateY(-50%);
}

/* references */

#references {
  margin: 0 var(--padding-from-sides);
  position: relative;
}

.references_items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.references_item {
  position: relative;
  border-radius: 1.5rem;
  background-size: cover;
  background-position: center center;
  color: #fff;

  &::before {
    border-radius: inherit;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.2;
    z-index: 0;
  }
}

.references_item__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 750px;
  padding: 1rem 4rem;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}

.references_item__logo {
  width: 200px;

  img, svg {
    max-width: 100%;
  }
}

.references_item__text {
  width: 90%;

  h3 {
    font-weight: 300;
    position: relative;
    left: -0.5rem;
  }

  p {
    width: 50%;
  }
}

.references_item__icons {
  display: flex;
  gap: 4rem;

  img {
    height: 30px;
  }
}

.references_arrow {
  position: absolute;
  width: 65px;
  height: 65px;
  bottom: 0;
  right: 0;
  background: var(--body-background);
  border-top-left-radius: 1.5rem;
  z-index: 10;
  /* cursor: pointer; */
}

.references_arrow__content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 85%;
  height: 85%;
  background: #888;
  border-radius: 1rem;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 20px;
    background: #fff;
  }

  &::after {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid #fff;
    border-top: none;
    border-right: none;
    margin-top: 5px;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

/* footer */ 

footer {
  margin: 0 var(--padding-from-sides);
}

.footer {
  border-radius: 1.5rem;
  margin-top: 6rem;
  padding: 8rem 12rem 0;
  background: var(--dark-gray);
  display: flex;
  flex-direction: column;
  color: #fff;

  ul {
    list-style: none;
    padding: 0;

    li {
      margin-bottom: 0.5rem;
    }
  }

  h2 {
    font-size: 3.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
  }

  h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
}

.footer_content {
  display: flex;
  flex-direction: column;
}

.footer_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid #fff;

  & > * {
    width: 43%;
  }
}

.footer_form {
  background: #fff;
  border-radius: 1.5rem;
  padding: 5rem 4rem;

  form {
    position: relative;
  }

  button {
    position: absolute;
    right: 0;
    bottom: 9px;
    cursor: pointer;
  }

  input {
    width: 100%;
    height: 70px;
    padding: 1rem 0 0;
    border: 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
    line-height: 1;
    color: var(--gray);
  }
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
}

.footer_social {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;

  img {
    height: 40px;
  }
}

.footer_logo {
  font-size: 4.5rem;
  font-weight: 700;
}

.footer_phone {
  margin-bottom: 1rem;

  a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 2.5rem;
  }
}

.footer_email {
  a {
    color: #fff;
    text-decoration: none;
    position: relative;

    &::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 1px;
      background: #fff;
    }
  }
}

.footer_copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
  background: var(--body-background);
  color: var(--gray);
  font-size: 1.1rem;
  position: relative;
  top: 1px;
  padding: 2.5rem 4rem 0.5rem;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.footer_rounded_corner {
  position: absolute;
  bottom: 0;
  width: 25px;
  height: 25px;
}

.footer_rounded_corner__left {
  left: -1.5rem;
}

.footer_rounded_corner__right {
  right: -1.5rem;
  transform: rotate(90deg);
}

.cta {
  position: fixed;
  top: 0;
  right: 0;
  width: 70vw;
  height: 100dvh;
  background: #fff;
  z-index: 100;
  overflow: auto;
  transform: translateX(100%);
  transition: 0.3s ease-in-out;

  &.active {
    transform: translateX(0);
  }
}

.cta_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.3s ease-in-out;

  &.active {
    opacity: 1;
    transform: translateX(0);
  }
}

.cta_close {
  position: absolute;
  top: 30px;
  left: 40px;
  width: 60px;
  height: 60px;
  color: #000;
  cursor: pointer;
  transform: rotate(45deg);

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 25px;
    background: #000;
  }

  &::after {
    transform: translate(-50%, -50%) rotate(-90deg);
  }
}

.cta_form_container {
  width: 80%;
  padding-top: 8rem;
  padding-bottom: 3rem;
  margin: 0 auto;
}

.cta_form_title {
  text-align: center;
  color: var(--dark-gray);
}

.cta_form_subtitle {
  text-align: center;
  font-weight: 300;
}

.cta_form {
  width: 60%;
  margin: 0 auto;
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.form_row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form_label {
  margin-bottom: 0;
  font-weight: 500;
  line-height: 150%;

  &.required {
    &::after {
      content: '*';
      font-family: sans-serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--purple);
    }
  }
}

.form_legend {
  font-size: 1rem;
}

.form_legend_required {
  color: var(--purple);
  display: inline;
  font-family: sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.form_input {
  height: auto;
  border-style: none none solid;
  border-width: 1px;
  border-color: var(--dark-gray) var(--dark-gray) var(--dark-gray);
  margin-bottom: 0;
  padding: 10px 16px;
  line-height: 150%;
  font-size: 1.2rem;
}

.select_checkbox_buttons_container {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  flex-wrap: wrap;
  display: flex;
}

.select_checkbox {
  margin-bottom: 0;
  padding: 12px 32px;
  font-weight: 500;
  line-height: 150%;
  display: inline-block;
  position: relative;
  cursor: pointer;

  input {
    display: none;
  }

  &.checked {
    .select_checkbox_button {
      background-color: #d1d5db;
      border: 1px solid black;
    }
  }
}

.select_checkbox_button {
  width: 100%;
  height: 100%;
  background-color: #f9fafb;
  border-radius: 100px;
  margin-top: 0;
  margin-left: 0;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  border: 1px solid #ccc;
  float: left;
  line-height: normal;
  box-sizing: border-box;
  font-weight: 500;
  
}



.select_checkbox_button_label {
  z-index: 10;
  margin-bottom: 0;
  font-weight: 500;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 150%;
}