:root {
  --light-blue: #2d90c1;
  --bg-dark-blue: #183862;
  --gray: #eaf6fc;
  --bgcolor: #121a31;
  --bgcolor-ligher: #141d3a;
  --white: #fff;
  --blue: #3f20fb;
  --bg-light-blue: #eaf6fc;
}

.color {
  color: var(--color);
}

a,
a:visited,
a:hover {
  text-decoration: none;
  color: var(--color);
}

h1 {
  font-family: "Tomorrow", sans-serif;
  font-weight: 700;
  font-size: 60pt;
  font-style: normal;
  text-align: center;
  margin: 0;
  padding: 0;
  color: var(--color);
}

h2 {
  font-family: "Tomorrow", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 40pt;
  text-align: center;
  margin: 0;
  padding: 0;
  color: var(--color);
}

h3 {
  font-family: "Tomorrow", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20pt;
  text-align: center;
  margin: 0;
  padding: 0;
  color: var(--color);
}

h4 {
  font-family: "Tomorrow", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 14pt;
  text-align: center;
  margin: 0;
  padding: 0;
  color: var(--color);
}

h5 {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 18pt;
  margin: 0;
  padding: 0;
  color: var(--color);
}

p,
li,
a {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 13pt;
  margin: 0;
  padding: 0;
  color: var(--color);
}

.bold {
  font-weight: 700;
}

body {
  background-color: var(--bgcolor);
  display: flex;
  flex-direction: column;
  margin: 0;
}

header {
  background-color: var(--bgcolor);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* miheight: 5rem; */
  background-image: url("../assets/img/fundo-dev.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 2000px #020529b6;
  position: relative;
}

nav {
  margin: 0;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bgcolor);
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 1rem;
}

.logo {
  height: 3rem;
}

.nav-links {
  display: flex;
  flex-direction: row;
  column-gap: 3rem;
}
.nav-links > a,
.nav-links > a:hover,
.nav-links > a:visited {
  text-decoration: none;
  font-size: 16pt;
}

.top {
  display: flex;
  flex-direction: column;
  padding: 3rem;
  align-items: center;
}

.experts {
  margin: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  background-color: var(--bg-dark-blue);
  text-align: center;
}

.top-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 60vw;
  text-align: center;
  row-gap: 5rem;
}

.top-btns {
  display: flex;
  flex-direction: row;
  column-gap: 1rem;
}

/* .top-btns > button {
  border: 1px solid var(--light-blue);
  background-color: #ffffff00;
  padding: 1.5rem 2rem;
  font-size: 16pt;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.1s ease-in-out 0.2s,
    color 0.1s ease-in-out 0.2s;
} */

#get-quote,
#get-quote :visited {
  color: var(--white);
  text-decoration: none;
  background-color: var(--light-blue);
  font-size: 16pt;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  transition: background-color 0.1s ease-in-out 0.2s,
    color 0.1s ease-in-out 0.2s;
}
#get-quote:hover {
  background-color: var(--blue);
}

#view-services,
#view-services:visited {
  background-color: #00000000;
  color: var(--light-blue);
  border: 3px solid var(--light-blue);
  text-decoration: none;
  font-size: 16pt;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  transition: background-color 0.1s ease-in-out 0.2s,
    color 0.1s ease-in-out 0.2s;
}
#view-services:hover {
  background-color: var(--light-blue);
  color: var(--white);
}

/* .top-btns > #quote {
  background-color: var(--light-blue);
  color: var(--white);
  transition: background-color 0.1s ease-in-out 0.2s,
    color 0.1s ease-in-out 0.2s;
}

#quote:hover {
  background-color: #3f20fb;
}

#view-services {
  color: var(--light-blue);
}

#view-services:hover {
  background-color: var(--light-blue);
  color: var(--white);
} */

content {
  display: flex;
  flex-direction: column;
  /* row-gap: 5rem; */
  justify-content: center;
  /* background-color: #fff; */
  margin: 0;
  padding: 0;
}

.services {
  margin: 0 2px;
  padding: 10rem 0;
  background-color: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 3rem;
}

.services > h1,
.services > h5 {
  max-width: 70vw;
}

.cards {
  display: flex;
  flex-direction: row;
  /* column-gap: 1rem; */

  margin: 0 auto;
  padding: 20px 0;
  max-width: 97vw;
  overflow: hidden;

  &:hover .cards-group {
    animation-play-state: paused;
  }
}

.cards-group {
  display: flex;
  gap: 20px;
  /* Adicione padding à direita para criar um espaço entre o último e o primeiro cartão. */
  padding-right: 20px;

  will-change: transform; /* Devemos ser gentis com o navegador - informar o que vamos animar. */
  animation: scrolling 50s linear infinite;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 300px;
  row-gap: 1rem;
  line-height: 1.5;
  text-align: justify;
  padding: 2rem 2rem;
  /* border: 1px solid black; */
  border-radius: 10px;
  /* max-width: 20rem; */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card-ico {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  width: 100%;
}

.card-ico-title {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}

.card-ico > img {
  width: 5rem;
  height: 5rem;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none; /* Removes the default bullet points */
  padding-left: 0; /* Adjust as needed for desired spacing */
}

ul li {
  position: relative; /* Allows positioning of the pseudo-element */
  padding-left: 1.5em; /* Creates space for the checkmark icon */
}

ul li:before {
  content: "✓"; /* The checkmark character */
  position: absolute;
  left: 0; /* Positions the checkmark at the beginning of the list item */
  color: var(--light-blue); /* Optional: Sets the color of the checkmark */
  font-weight: bold; /* Optional: Makes the checkmark bolder */
}

.about {
  background-color: #fff;
  margin: 0 2px;
  padding: 10rem 5rem;
  display: grid;
  grid-template-columns: 40vw 40vw;
  column-gap: 3rem;
  align-items: center;
  justify-content: center;
}

/* .about-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

} */

.about > img {
  align-self: center;
  max-width: 40vw;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.about-uainext {
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.about-info {
  background-color: var(--bg-light-blue);
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  align-self: flex-start;
  font-size: 13pt;
}

.about-text {
  text-align: justify;
  font-size: 18pt;
  line-height: 40px;
}

.contact {
  background-color: var(--bgcolor);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem;
  row-gap: 2rem;
}

.contact > p {
  font-size: 18pt;
}

.contact-frames {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 5rem;
  margin: 0;
  padding: 0;
  width: 85%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  flex: 2 0;
  background-color: #1f273d;
  padding: 2rem;
  border-radius: 20px;
  row-gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.captcha {
  align-self: center;
}

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

.status-msg {
  text-align: center;
}

.error {
  color: red;
}

.form-same-line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 1rem;
}
.medhidn {
  display: none;
}
.form-same-line > input {
  width: 100%;
}

input,
textarea {
  background-color: #353c4f;
  border: 1px solid #757a85;
  border-radius: 10px;
  font-size: 12pt;
  padding: 1rem;
  color: #fff;
}

/* input:focus {
  outline: none;
  color: blue;
  border: 1px solid black;
  text-decoration: underline;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
} */

.error-field {
  background-color: #ffb4b4;
  color: #000;
}

.error-field::placeholder {
  color: #000;
}

input::placeholder,
textarea::placeholder {
  color: var(--gray);
}

.submit-btn {
  background-color: var(--light-blue);
  font-weight: 700;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #3f20fb;
}

.contact-touch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 20rem;
  text-align: justify;
}

.contact-touch-title > p {
  font-size: 18pt;
}

.contact-touch-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 2rem;
}

.contact-ways > a,
.contact-ways > a:hover,
.contact-ways > a:visited {
  color: #fff;
  text-decoration: none;
}

.contact-ways {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.contact-line {
  display: flex;
  flex-direction: row;
  column-gap: 1rem;
  align-items: center;
}

.contact-line-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 0.5rem;
}
.contact-ico-img {
  background-color: var(--light-blue);
  padding: 0.5rem;
  border-radius: 10px;
  width: 2rem;
}

.follow-us {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.follow-imgs {
  background-color: var(--bg-dark-blue);
  padding: 0.5rem;
  border-radius: 10px;
  width: 1.5rem;
}

footer {
  display: flex;
  flex-direction: column;
}

.footer-top {
  background-color: var(--bgcolor-ligher);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5rem;
  column-gap: 1rem;
}

.footer-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  column-gap: 1rem;
}

.logo-footer {
  width: 10rem;
}

.footer-text {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  align-items: flex-start;
  text-align: justify;
  max-width: 25rem;
}

.footer-text > p {
  font-size: 16pt;
}

.footer-services {
  margin: 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  row-gap: 1rem;
}
.footer-services > p {
  font-weight: 600;
  font-size: 14pt;
}

.footer-services-cols {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 2rem;
}

.serv-left,
.serv-right {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  text-align: justify;
}

.serv-left > p,
.serv-right > p {
  font-weight: 400;
}

.serv-left {
  text-align: right;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  row-gap: 1rem;
  align-items: center;
  padding: 0;
}

.footer-links > p {
  font-weight: 600;
  font-size: 14pt;
}

.footer-links > a,
.footer-links > a:hover,
.footer-links > a:visited {
  text-decoration: none;
}

.footer-bottom {
  background-color: var(--bgcolor-ligher);
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  align-items: center;
  padding: 0 5rem 1rem 5rem;
}

.footer-bottom > hr {
  border: 1px solid var(--gray);
  width: 100%;
}

/*---------------------*/
@media (max-width: 950px) {
  .contact-frames {
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
  }

  .contact-touch {
    row-gap: 3rem;
    align-items: center;
  }

  .follow-us {
    align-items: center;
  }

  .footer-services {
    display: none;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 50pt;
  }
  h2 {
    font-size: 30pt;
  }
  h3 {
    font-size: 16pt;
  }
  h4 {
    font-size: 12pt;
  }
  h5 {
    font-size: 16pt;
  }
  p,
  li,
  a {
    font-size: 12pt;
  }

  .about {
    display: flex;
    flex-direction: column-reverse;
  }
  .top-btns {
    flex-direction: column;
    row-gap: 2rem;
  }
}

@media (max-width: 668px) {
  h1 {
    font-size: 27pt;
    padding: 0;
    margin: 0;
  }
  h2 {
    font-size: 20pt;
    padding: 0;
    margin: 0;
  }
  h3 {
    font-size: 16pt;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  h4 {
    font-size: 12pt;
    padding: 0;
  }
  h5 {
    font-size: 14pt;
    text-align: center;
  }
  p,
  li,
  a {
    font-size: 10pt;
    text-align: center;
  }
  .footer-top,
  .footer-left {
    flex-direction: column;
    row-gap: 1rem;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .footer-text {
    align-items: center;
  }

  .footer-links {
    display: none;
  }
  .nav-links {
    display: none;
  }

  .about {
    padding: 3rem 1rem;
  }
  .top {
    display: flex;
    flex-direction: column;
    /* align-items: center;
    justify-content: center; */
    width: 100%;
    padding: 1rem 0;
    overflow: auto;
  }
  .top-info {
    min-width: 95%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    row-gap: 3rem;
  }

  .services {
    padding: 3rem 0;
    align-items: center;
    min-width: 95%;
  }

  .services > h5 {
    min-width: 95%;
  }

  .form-same-line {
    display: none;
  }
  .medhidn {
    display: block;
  }
  .contact {
    min-width: 95%;
    padding: 3rem 0;
    margin: 0;
    row-gap: 1rem;
  }
  .contact > h2,
  .contact > p {
    margin: 1rem;
  }

  .contact-frames {
    width: 85%;
  }
  .contact-form {
    width: 90%;
  }

  .contact-touch {
    width: 95%;
  }
  .contact-touch-title {
    align-items: center;
    padding: 1rem;
    width: 100%;
  }

  nav {
    align-items: center;
    justify-content: center;
  }

  /* .footer-left,
  .footer-text, */
  .footer-top {
    /* width: %; */
    padding: 1rem 0;
    margin: 0;
  }
}
