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

@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter/Inter_18pt-Regular.ttf');
}

@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter/Inter_18pt-ExtraLight.ttf');
  font-weight: 200;
}

@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter/Inter_18pt-Light.ttf');
  font-weight: 300;
}

@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter/Inter_18pt-Medium.ttf');
  font-weight: 500;
}

@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter/Inter_18pt-Bold.ttf');
  font-weight: 700;
}

@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter/Inter_18pt-ExtraBold.ttf');
  font-weight: 800;
}

@font-face {
  font-family: 'Baskervville';
  src: url(./assets/fonts/Baskervville/Baskervville-Regular.ttf);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero {
  background: linear-gradient(83.08deg, #191919 13.12%, #242424 126.87%);
}

header {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 80px;
}

header span {
  font-family: 'Baskervville';
  font-size: 28px;
  color: #fff;
}

.hero__bottomLine {
  max-width: 100%;
  height: 1px;
  background-color: #7E7E7E;
}


.hero__main {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px 0 80px;

  display: flex;
}

.hero__content {
  max-width: 560px;
  align-content: center;
}

.hero__title {
  font-family: 'Inter';
  font-weight: 500;
  font-size: 42px;
  background-image: linear-gradient(245.77deg, #BAC6D1 8.76%, #D9E0E7 51.81%, #FFFFFF 100.35%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  color: #fff;
}

.hero__title--highlight {
  background-image: linear-gradient(180deg, #D4B88F 0%, #FBF0E0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.hero p {
  font-family: 'Inter';
  font-weight: 200;
  font-size: 22px;
  line-height: 37px;
  background-image: linear-gradient(245.77deg, #BAC6D1 8.76%, #D9E0E7 51.81%, #FFFFFF 100.35%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 20px 0;
}

.hero__button {
  max-width: 380px;
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(90.11deg, #FBF0E0 3.13%, #D4B88F 127.9%);
  text-align: center;
  cursor: pointer;
}

.hero a {
  text-decoration: none;
  font-family: 'Inter';
  font-weight: 800;
  font-size: 22px;
  color: #000408;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 80%;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.hero__rectangle {
  position: absolute;
  top: 30%;
  left: 25%;
  width: 50%;
  aspect-ratio: 1 / 1;
  transform: rotate(45deg);
  z-index: 0;
  border-radius: 40px;
  background-image: linear-gradient(147.52deg, #D4B88F 19.95%, #1C1C1B 62.59%);
}

.outsourcing {
  background: linear-gradient(180deg, #FBF0E0 17.51%, #D4B88F 67.7%);
}

.outsourcing__main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 150px 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.outsourcing__content {
  align-content: center;
  max-width: 500px;
}

.outsourcing__icon {
  max-width: 37px;
}

.outsourcing__title {
  font-family: 'Inter';
  font-size: 48px;
  font-weight: 700;
  color: #040B11;
}

.outsourcing__description {
  font-family: 'Inter';
  font-size: 25px;
  font-weight: 300;
  line-height: 37px;
  background: linear-gradient(95.35deg, #040B11 1.67%, #626C73 224.43%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin: 20px 0;
}

.outsourcing__cta {
  max-width: 380px;
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(90.13deg, #1E1E1E 0.05%, #494949 102.75%);
  text-align: center;
  cursor: pointer;
}


.outsourcing__cta a {
  text-decoration: none;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF0E0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: 'Inter';
  font-size: 22px;
  font-weight: 800;
  display: block;
  width: 100%;
  height: 100%;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.outsourcing__steps {
  display: flex;
  gap: 20px;
}

.outsourcing__steps-firstColumn,
.outsourcing__steps-secondColumn {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 300px;
}

.outsourcing__steps-secondColumn {
  margin-top: 25px;
}

.outsourcing__card {
  background: linear-gradient(352.84deg, rgba(0, 0, 0, 0.9) 2.78%, rgba(64, 64, 64, 0.9) 111.3%);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  max-width: 350px;
  height: 336px;
}

.outsourcing__card-title {
  font-family: 'Inter';
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(180deg, #D4B88F 0%, #FBF0E0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.outsourcing__card-text {
  font-family: 'Inter';
  font-size: 20px;
  font-weight: 300;
  background: linear-gradient(180deg, #FDFDFD 0%, #C5C9CB 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 35px;
}

.sales {
  background-color: #050505;
  overflow: hidden;
}

.sales__main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 50px 20px 0 20px;

  display: flex;
  overflow: hidden;
  position: relative;
}

.sales__content {
  max-width: 800px;
  align-content: center;
  z-index: 1;
  flex: 1;
  padding-left: 50px;
}

.sales__image {
  z-index: 0;
  overflow: hidden;
  flex: 1;
}

.sales__content h1 {
  font-family: 'Inter';
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(180deg, #D4B88F 0%, #FBF0E0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.sales__content p {
  font-family: 'Inter';
  font-size: 25px;
  font-weight: 300;
  line-height: 37px;
  background: linear-gradient(180deg, #FDFDFD 0%, #C5C9CB 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin: 20px 0;
}

.sales__cta {
  max-width: 380px;
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(180deg, #D4B88F 0%, #FBF0E0 100%);
  text-align: center;
  cursor: pointer;
}

.sales__cta a {
  text-decoration: none;
  font-family: 'Inter';
  font-size: 22px;
  font-weight: 800;
  color: #000;
  display: block;
  width: 100%;
  height: 100%;
}

.services {
  background: linear-gradient(180deg, #D4B88F -14.79%, #FBF0E0 45.83%);
}

.services__main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 100px 20px;
}

.services__content h1 {
  font-family: 'Inter';
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(180deg, #040B11 0%, #626C73 146.09%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
}

.services__info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 60px 0 40px;
  gap: 30px;

}

.services__card {
  max-width: 250px;
}

.services__card img {
  max-width: 50px;
}

.services__card:last-child img {
  height: 50px;
}

.services__card h2 {
  font-family: 'Inter';
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(348.96deg, rgba(19, 27, 33, 0.9) 40.71%, rgba(33, 41, 47, 0.9) 109.17%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin: 10px 0;
}

.services__card p {
  font-family: 'Inter';
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  background: linear-gradient(348.96deg, rgba(19, 27, 33, 0.9) 40.71%, rgba(33, 41, 47, 0.9) 109.17%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.services__bottomLine {
  max-width: 1120px;
  height: 2px;
  background-color: rgba(19, 27, 33, 0.9);
  margin: 0 auto;
}

.companies {
  padding-top: 50px;
}

.companies h2 {
  font-family: 'Inter';
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(180deg, #040B11 0%, #626C73 146.09%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
}

.companies__content {
  margin-top: 80px;
  width: 100%;
  height: var(--height);
  overflow: hidden;
}

.companies__content:hover .companies__card {
  animation-play-state: paused;
}

.companies__list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.companies__card {
  width: var(--width);
  height: var(--height);
  background-color: #000;
  border-radius: 13px;
  position: absolute;
  left: 100%;
  animation: autoRun 25s linear infinite;
  animation-delay: calc((-25s / var(--quantity)) * (var(--position) - 1));
}

@keyframes autoRun {
  from {
    left: 100%;
  }

  to {
    left: calc(var(--width) * -1)
  }
}


.companies__card img {
  border-radius: 13px;
}

.companies__list .companies__card:nth-last-child(-n+3) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.companies__list .companies__card:nth-last-child(-n+3) img {
  width: 80%;
}

.companies__card>span {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Inter';
  font-size: 38px;
  font-weight: 400;
  text-align: center;
}

.companies__card span span {
  font-weight: 700;
}

.form {
  background: linear-gradient(187.94deg, #101010 11.08%, #242424 101.87%);
}

.form__main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 100px 20px;
}

.form__title {
  background: #4B4B4B;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  text-align: center;
  padding: 15px;
}

.form__title h1 {
  font-family: 'Inter';
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.form__content {
  margin: 0 auto;
  max-width: 700px;
  background-color: #fff;
  border-radius: 8px;

}

.form__info {
  padding: 15px;
}

.form__info form input {
  display: block;
  max-width: 700px;
  width: 100%;
  border: 1.18px solid #C2C2C2;
}

.form-group {
  margin-bottom: 12px;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Inter';
  font-size: 18px;
  cursor: pointer;
}

input::placeholder {
  font-family: 'Inter';
  font-weight: 500;
  font-size: 18px;
  color: #939393;
}

input:hover {
  background-color: #f7f7f7;
}

select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Inter";
  font-weight: 500;
  font-size: 18px;
  color: #939393;
  background-color: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.submit-btn {
  width: 100%;
  background-color: #4C4C4C;
  font-family: 'Inter';
  font-weight: 500;
  font-size: 26px;
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}

.submit-btn:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.success-message {
  margin: 0px auto;
  display: none;
  padding: 80px;
}

.success-message span {
  font-family: 'Inter';
  font-weight: 500;
  font-size: 38px;
  color: #fff;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
  display: block;


}

.form__bottomLine {
  max-width: 1288px;
  width: 100%;
  height: 1px;
  background-color: #9FA1A2;
  margin: 100px auto;
}

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

.footer__social {
  display: flex;
  align-items: center;
  gap: 50px;
}

.footer__social img {
  max-width: 40px;
  cursor: pointer;
}

footer span {
  font-family: 'Baskervville';
  font-size: 28px;
  color: #fff;
  text-align: center;
  display: block;
}


@media screen and (max-width: 1440px) {
  .hero__title {
    font-size: 32px;
  }
  .hero p {
    font-size: 18px;
    margin: 10px 0;
  }
  .outsourcing__title {
    font-size: 42px;
  }

  .outsourcing__description {
    font-size: 18px;
  }

  .outsourcing__card-title {
    font-size: 18px;
  }

  .outsourcing__card-text {
    font-size: 16px;
  }

  .sales__image {
    align-content: center;
  }

  .sales__content h1 {
    font-size: 32px;
  }

  .sales__content p {
    font-size: 18px;
  }

  .services__content h1 {
    font-size: 42px;
  }

  .services__card h2 {
    font-size: 18px;
  }

  .services__card p {
    font-size: 16px;
  }

  .companies h2 {
    font-size: 42px;
  }

  .companies__card {
    width: 300px;
    height: 350px;
  }
}

@media screen and (max-width: 1200px) {
  .sales__main {
    padding-bottom: 50px;
  }

  .sales__content {
    margin: 0 auto;
    padding-left: 0;
  }

  .sales__image {
    display: none;
  }
}

@media screen and (max-width: 1090px) {
  .hero__main {
    padding: 0px 20px 0 20px;
  }

  .hero p {
    font-size: 18px;
  }

  .outsourcing__main {
    column-gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
  }

  .outsourcing__content {
    padding-bottom: 30px;
  }

  .outsourcing__title {
    font-size: 36px;
  }

  .outsourcing__description {
    font-size: 18px;
  }

  .outsourcing__cta {
    margin: 0 auto;
  }

  .outsourcing__steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .outsourcing__steps-secondColumn {
    transform: translateY(0);
    margin-top: 20px;
  }
}

@media screen and (max-width: 960px) {
  .hero__main {
    flex-direction: column-reverse;
    align-items: center;
  }

  .hero__content {
    padding: 20px 0px;
  }

  .hero__image::after {
    content: "";
    position: absolute;
    display: block;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 12px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 2;
  }

  .sales__content h1 {
    font-size: 36px;
    margin-top: 10px;
  }

  .sales__content p {
    font-size: 16px;
  }

  .services__content h1 {
    font-size: 36px;
  }

  .companies h2 {
    font-size: 36px;
  }
}

@media screen and (max-width: 768px) {

  .sales__image,
  .sales__image img {
    display: none;
  }
}

@media screen and (max-width: 820px) {
  .outsourcing__content {
    padding-bottom: 0;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    border: 1px solid #666666;
    background: linear-gradient(180.78deg, #FBF0E0 -21.42%, #D4B88F 101.5%);
    display: block;
    width: 100%;
  }

  .mobile-only a {
    color: #000;

  }
}

@media screen and (max-width: 425px) {
  header {
    text-align: center;
  }
  .hero a {
    font-size: 18px;
  }

  .outsourcing__title {
    font-size: 32px;
  }

  .outsourcing__description {
    font-size: 16px;
  }

  .mobile-only a {
    font-size: 18px;
  }

  .sales__title--highlight {
    color: #fff;
    font-weight: 500;
  }

  .sales__content h1 {
    font-size: 32px;
  }

  .sales__cta a {
    font-size: 16px;
  }

  .services__info {
    margin-top: 20px;
  }

  .services__content h1 {
    font-size: 32px;
  }

  .companies h2 {
    font-size: 32px;
  }

  .form__title h1 {
    font-size: 22px;
  }

  .form__info {
    padding: 10px;
  }

  select {
    padding: 15px;
    font-size: 16px;
  }

  .submit-btn {
    font-size: 18px;
  }

  .success-message span {
    font-size: 28px;
  }

  .form__bottomLine {
    margin: 30px auto;
  }

  footer span {
    font-size: 18px;
  }
}