:root {
  --bg-color: rgb(10, 12, 13);
  --brand-color: #faaf3a;
  --destak-color: #23fff8;
  --black-color: #1a1a1a;
  --dark-color: #272727;
  --soft-color: #b2b2b2;
  --text-color: #ffffff;
  --success-color: #07b481;
  --error-color: #f66;
  --main-font: "Open Sans", sans-serif;
  --title-font: Nunito, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--main-font);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
}

.container {
  max-width: 1110px;
  margin: 0 auto;
  width: 100%;
}

.main-fold {
  background-color: var(--black-color);
  background-image: url(/hero1.webp);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  position: relative;
  z-index: 1;
}

header {
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 2.5rem;
}

.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 1rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero::after {
  background-image: radial-gradient(var(--destak-color), transparent 70%);
  bottom: 0;
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  width: 100%;
}

.hero h1 {
  color: var(--destak-color);
  font-family: var(--title-font);
  font-size: 2.25rem;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.2;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
  max-width: 40rem;
  margin: 0 auto;
}

.hero .cta {
  margin-bottom: 4rem;
  margin-top: 2rem;
}

.cta {
  background-color: var(--brand-color);
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 2rem 4rem #faaf3a33;
  color: var(--black-color);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
  text-align: center;
  transition: all ease 0.3s;
}

.cta:hover {
  filter: brightness(1.25);
  box-shadow: 0 3rem 5.5rem #faaf3a44;
}

.section {
  padding: 5rem 0;
}

.section .container {
  padding: 0 1rem;
}

.section .h3 {
  color: var(--destak-color);
  font-family: var(--title-font);
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.section .h4 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 3rem;
}

.services-fold {
  background-image: url(/mesh-01-v-i.svg);
  background-repeat: no-repeat;
  background-size: 1920px;
  background-position: calc(50% + 600px) -30rem;
  padding: 7rem 0;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  border-radius: 12px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  min-width: 100%;
  overflow: hidden;
  padding: 2rem;
  position: relative;
  transition: all ease 0.3s;
  z-index: 0;
}

.service-card::before {
  animation: 2s linear rotate infinite;
  background-color: var(--black-color);
  background-repeat: repeat;
  border-radius: 12px;
  bottom: -50%;
  content: '';
  left: -50%;
  opacity: 0;
  position: absolute;
  right: -50%;
  top: -50%;
  transition: all ease 0.33s;
  z-index: -2;
}

.service-card:hover::before {
  background-image: linear-gradient(
    0,
    var(--destak-color),
    var(--destak-color) 20%,
    var(--brand-color) 80%,
    var(--brand-color)
  );
  opacity: 1;
}

.service-card::after {
  background-color: var(--black-color);
  border-radius: 12px;
  bottom: 2px;
  content: '';
  left: 2px;
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: -1;
}

.service-card img {
  align-self: start;
  height: 96px;
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  position: relative;
}

.service-card h4::after {
  background-color: var(--destak-color);
  bottom: -6px;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  width: 3rem;
}

.service-card p {
  color: var(--soft-color);
}

.service-card-subtitle {
  color: var(--text-color) !important;
  font-style: italic;
}

.service-card a {
  color: var(--brand-color);
  margin-top: auto;
  text-decoration: none;
}

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.about-text p {
  color: #ccc;
}

.portfolio {
  text-align: center;
}

.portfolio-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.portfolio-item {
  background-color: #1e1e1e;
  border-radius: 8px;
  padding: 1rem;
  width: 200px;
}

.request-contact {
  background-image: url(/mesh-01-v-i.svg);
  background-repeat: no-repeat;
  background-size: 1920px;
  background-position: 50% 0;
  padding: 1rem 0 6rem 0;
}

.request-contact .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.request-contact .container > section {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.request-contact form {
  background-color: var(--black-color);
  border-radius: 12px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1rem;
}

.request-contact .input {
  position: relative;
}

.request-contact .input span {
  font-size: 0.8rem;
  font-weight: bold;
  opacity: 0.7;
  padding: 0.25rem 1rem 0;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
}

.request-contact .input input {
  background-color: var(--dark-color);
  border: 1px solid #fff3;
  border-radius: 12px;
  color: var(--text-color);
  display: flex;
  font: inherit;
  outline: 0;
  padding: 1.75rem 1rem 0.5rem;
  transition: all ease 0.3s;
  width: 100%;
}

.request-contact .input input:focus {
  border: 1px solid var(--brand-color);
}

.request-contact .cta {
  padding: 0.75rem 1.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #777;
}

footer .copy {
  font-size: 0.75rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.field .error {
  color: var(--error-color);
  display: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0 0 1rem;
}

.grecaptcha-badge {
  visibility: hidden;
}

#requestContactResult {
  align-items: center;
  background-color: var(--black-color);
  border-radius: 12px;
  display: none;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  min-height: 580px;
  padding: 3rem;
}

.success, .failed {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.success svg {
  margin: 0 auto;
}

.failed .h4 {
  color: var(--error-color);
}

#check-group {
  transform-origin: center;
}

#check-group.play {
  animation: 0.32s ease-in-out 1.03s check-group;
}

#check-group #check {
  stroke-dasharray: 0, 75px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#check-group.play #check {
  animation: 0.34s cubic-bezier(0.65, 0, 1, 1) 0.8s forwards check;
}

#check-group #outline {
  transform: rotate(0deg);
  transform-origin: center;
}

#check-group.play #outline {
  animation: 0.38s ease-in outline;
}

#check-group #white-circle {
  transform: none;
  transform-origin: center;
}

#check-group.play #white-circle {
  animation: 0.35s ease-in 0.35s forwards circle;
}

.pulse {
  animation: 0.7s ease infinite pulse;
}

@keyframes rotate {
  100% { transform: rotate(1turn); }
}

@keyframes pulse {
  from { opacity: 0.7; }
  50% { opacity: 1; }
  to { opacity: 0.7; }
}

@keyframes outline {
  from { stroke-dasharray: 0, 345.576px; }
  to { stroke-dasharray: 345.576px, 345.576px; }
}
@keyframes circle {
  from { transform: scale(1); }
  to { transform: scale(0); }
}
@keyframes check {
  from { stroke-dasharray: 0, 75px; }
  to { stroke-dasharray: 75px, 75px; }
}
@keyframes check-group {
  from { transform: scale(1); }
  50% { transform: scale(1.09); }
  to { transform: scale(1); }
}

@media screen and (min-width: 1024px) {
  .logo {
    height: 3rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .section .container {
    padding: 0 5rem;
  }

  .half {
    width: 60%;
  }

  .third {
    width: 38%;
  }

  .service-card {
    min-width: auto;
  }

  .request-contact {
    background-position: calc(50% - 1200px) 50%;
    padding: 6rem 0;
  }

  .request-contact .container {
    flex-direction: row;
    gap: 5rem;
  }

  .request-contact form {
    min-height: 580px;
    padding: 3rem;
  }

  .request-contact .input span {
    font-size: 0.85rem;
  }
}