@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');

:root {
  --padding-large: 4rem;
  --padding-medium: 2rem;
  --padding-small: 1rem;
}

.dm-sans-regular {
  font-family: 'DM Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.dm-sans-medium {
  font-family: 'DM Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.dm-sans-bold {
  font-family: 'DM Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #232523;
  line-height: 1.5;
  position: relative;
}

body::before {
  content: url('/assets/images/left-vector.png');
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.section {
  padding: var(--padding-large);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.section-title {
  color: #dcfc27;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid #dcfc27;
  border-radius: 2.3rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-description {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  padding: 0 25rem;
  line-height: 2;
}

.decorative-image {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.navbar {
  padding: 1.5rem var(--padding-large);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-logo img {
  filter: brightness(0) invert(1);
  width: 2rem;
  height: 2rem;
}

.navbar-logo span {
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.navbar-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: all ease-in-out 300ms;
}

.navbar-links a:hover {
  color: #dcfc27;
}

.navbar-cta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.navbar-cta .linkedin {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: all ease-in-out 300ms;
}

.navbar-cta .linkedin:hover {
  color: #dcfc27;
}

.cta-button {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  padding: 0.8rem 2rem;
  border: 2px solid #fff;
  border-radius: 2.3rem;
  text-decoration: none;
  transition: all ease-in-out 300ms;
}

.cta-button:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.hero {
  display: flex;
  flex-direction: column;
  padding: var(--padding-large);
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.hero-media {
  border-radius: 2.3rem;
  width: 100%;
  height: 452px;
}

.hero-media img {
  border-radius: 2.3rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.divider {
  height: 1px;
  width: 85%;
  margin: 0 auto;
  display: flex;
}

.divider .left-border,
.divider .right-border {
  width: 50%;
  border-bottom: 2px dashed #dcfc27;
}

.divider .left-border {
  border-image: linear-gradient(270deg, #dcfc27, transparent) 1;
}

.divider .right-border {
  border-image: linear-gradient(90deg, #dcfc27, transparent) 1;
}

.about-numbers {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.numbers {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10rem;
  flex-wrap: wrap;
}

.number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.number span {
  font-family: 'Syne', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #dcfc27;
}

.number p {
  color: #fff;
  font-size: 1.1rem;
}

.services-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.service {
  width: 19.5rem;
  height: 17.563rem;
  position: relative;
  transition: all 300ms ease-in-out;
  cursor: pointer;
}

.service:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 7px rgba(220, 252, 39, 0.4));
}

.service img {
  border-radius: 24px;
}

.service span {
  color: #dcfc27;
  position: absolute;
  z-index: 1;
  left: 1.3rem;
  bottom: 1.5rem;
  font-size: 1.5rem;
}

.technologies-image {
  width: 100%;
}

.contact {
  padding: var(--padding-large);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
}

.contact-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid #fff;
  border-radius: 2.3rem;
  padding: 0.5rem 1rem;
}

.contact-description {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 2rem 0;
  line-height: 2;
}

.contact-form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: #fff;
  width: 100%;
}

.form-control label {
  font-size: 1rem;
  font-weight: 600;
}

.form-control input,
.form-control textarea {
  font-family: 'DM Sans', sans-serif;
  background: transparent;
  border: 1px solid #bbbbbb;
  padding: 1rem;
  border-radius: 0.3rem;
  font-size: 1rem;
  color: #fff;
}

.form-control textarea {
  resize: none;
}

.form-control input:focus,
.form-control textarea:focus {
  background-color: transparent;
  outline: none;
  border-color: #dcfc27;
}

/* .form-control input:required,
.form-control textarea:required {
  background-color: transparent;
  outline: none;
  border: 2px solid #bbbbbb;
  transition: border-color 0.3s ease-in-out;
} */

/* .form-control input:required:invalid,
.form-control textarea:required:invalid {
  border-color: #da3f3f;
} */

.form-control input::placeholder,
.form-control textarea::placeholder {
  color: #b6b6b6;
}

form input[type='submit'] {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #232523;
  background-color: #dcfc27;
  padding: 0.8rem 2rem;
  border: 2px solid #dcfc27;
  border-radius: 2.3rem;
  text-decoration: none;
  transition: all ease-in-out 300ms;
}

form input[type='submit']:hover {
  box-shadow: 0 0 15px rgba(220, 252, 39, 0.4);
}

.contact-image {
  border-radius: 2.3rem;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.clients {
  padding: var(--padding-large);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  color: #e2e2e2;
}

.clients-logo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 2rem;
}

footer {
  padding: 2rem var(--padding-large);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer .footer-logo {
  flex: 1;
}

footer .footer-logo img {
  width: 1.774rem;
  height: 1.75rem;
  filter: brightness(0) invert(1);
}

footer .copy {
  flex: 2;
  text-align: center;
}

footer .copy span {
  color: #fff;
}

footer .social {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

footer .social a {
  margin: 0 0.8rem;
  align-self: center;
  justify-self: center;
}

footer .social a:last-child {
  margin: 0 0 0 0.8rem;
}

footer .social a img {
  transition: all ease-in-out 300ms;
}

footer .social a img:hover {
  transform: translateY(-0.2rem);
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #dcfc27;
  color: #232523;
  padding: 12px 16px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.hidden {
  display: none;
}

@media screen and (max-width: 1200px) {
  .navbar-links {
    display: none;
  }

  .linkedin {
    display: none;
  }

  .section {
    padding: var(--padding-medium);
  }

  .section-description {
    padding: unset;
  }

  .navbar {
    padding: 1.5rem var(--padding-medium);
  }

  .hero {
    padding: var(--padding-medium);
  }

  .clients {
    padding: var(--padding-medium);
  }

  .clients-logo {
    justify-content: center;
  }

  .contact {
    padding: var(--padding-medium);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .contact-description {
    text-align: center;
  }

  .contact-form {
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .contact-image {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  body::before {
    content: url('/assets/images/left-vector-mobile.png');
  }

  .section-title {
    font-size: 0.8rem;
  }

  .section-description {
    font-size: 1.2rem;
  }

  .contact-title {
    font-size: 0.8rem;
  }

  .contact-description {
    font-size: 1.2rem;
  }

  .form-group {
    flex-direction: column;
  }

  .numbers {
    gap: 5rem;
  }

  footer {
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
  }
}
