/* reset da pagina */

* {
  padding: 0;
  margin: 0;
}

/* menu de navegação */

.nav-link {
  position: relative;
  padding-top: 2vh;
  margin-right: 9.5vh;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  font-style: normal;
  font-family: 'Open Sans', sans-serif;
}

.nav-link:hover {
  color: #0047AB;
}

.nav-link:hover {
  color: #0047AB;
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 6px;
  background-color: #0047AB; /* Substitua #0047AB pela cor de sua escolha */
  animation: loading 1.5s ease-in-out forwards;
  margin-bottom: -5px;
}

@keyframes loading {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.navbar-nav .nav-item.active .nav-link {
  color: #0047AB; /* cor do texto */
  border-bottom: 3px solid #0047AB; /* borda inferior */
}

.nav-link.active::after {
  display: none;
}

.nav-link.active:hover::after {
  display: none;
}

/* carrosel de imagens */

.carousel-inner {
  height: 82vh; /* altere o valor de acordo com sua necessidade */
}

.carousel-item img {
  height: 82vh; /* altere o valor de acordo com sua necessidade */
  object-fit: cover; /* para manter a proporção da imagem */
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.4);
  width: 30%;
  margin-left: 20%;
}

/* botoes link */

.shadow-blue {
  box-shadow: 10px 10px 0 rgba(0, 0, 255, 0.6);
}

.img-fluid {
  width: 100%;
  height: auto;
  margin: 20px;
}

/* rodape */

footer {
  background-color: #f9f9f9;
  padding: 20px;
  color: #333;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

footer .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .col-md-4 {
  display: inline-block;
  vertical-align: top;
  width: 35%;
  margin: 20px;
  border-right: 1px solid #ccc; /* Adicione essa propriedade */
}

footer .col-md-4:last-child {
  border-right: none; /* Remova a borda da última coluna */
}

footer h5 {
  margin-top: 0;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 10px;
}

footer a {
  color: #0047AB;
  text-decoration: none;
}

footer a:hover {
  color: #0047AB;
}

.midia-social {
  display: inline-block;
  padding-right: 25px;
}

.espacamento {
  padding-bottom: 40px;
}

.midia {
  text-decoration: none;
  color: #000;
}

.email {
  color: #0047AB;
}

footer .col-md-4:first-child {
  display: inline-block;
  margin-left: -170px;
  margin-right: -20px;
  border-right: none;
  position: relative;
  top: -40px;
}

.copy {
  text-align: center;
  margin-top: 20px;
}

.logo {
  padding-left: 30px;
  margin-top: 30px;
}

/* chamada home page */

h1 {
  border-bottom: 1px solid #ccc;
}

.titulo-chamada {
  padding-top: 40px;
  padding-bottom: 10px;
}

.texto-chamada {
  padding-top: 30px;
}

/* card servicos */

.saiba-mais {
  display: inline-block;
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  background-color: #0047AB;
  border: none;
  border-radius: 60px;
  padding: 5px 25px;
  cursor: pointer;
  margin-left: 110px;
}

.saiba-mais:hover {
  color: #0047AB;
  background-color: #ccc;
}

.service-card {
  transition: all 0.3s ease-in-out;
  margin: 20px auto; /* adiciona um espaçamento de 20px entre os cards e centraliza eles */
  width: 80%; /* define a largura do card para 80% do container */
  text-align: center; /* centraliza o conteúdo do card */
  background-image: linear-gradient(to bottom, #0047AB 0%, #002855 100%);
  background-size: 100% 300px;
  background-position: 0% 100%;
  color: #fff;
}

.service-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.service-details {
  display: none;
}

.service-card:hover .service-details {
  display: block;
}

.titulo-servicos {
  font-size: 36px;
  font-weight: bold;
  color: #000; /* cor do site */
  border-bottom: none; /* remove a linha embaixo do título */
  padding-top: 30px;
  text-align: center;
}

.linha-servicos {
  border-top: 2px solid #ccc; /* cor do site */
  width: 80%;
  margin-bottom: 20px;
  margin-left: 10%;
}

.saiba-mais-servicos {
  font-size: 10px;
  color: #fff; /* cor do link */
  text-decoration: none;
  position: absolute;
  bottom: 02px;
  right: 05px;
}

.saiba-mais-servicos::after {
  content: "\25BC"; /* código Unicode para a seta para baixo */
  font-size: 8px;
}

.saiba-mais-servicos:hover::after {
  content: "\25B2"; /* código Unicode para a seta para cima */
}

.card-expanded .saiba-mais-servicos::after {
  display: none;
}

/* midia instagram rodape */

.midia-social a {
  display: inline-block;
}

.midia-social img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}


/* pagina de clientes */

.cliente {
  margin: 10px; /* adicione um pouco de espaço entre as imagens */
  margin-left: 115px;
  margin-top: 30px;
}

.espaco {
  padding-bottom: 20px;
}

/* responsividade */

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

  .img-fluid {
    width: 80%;
    height: auto;
    margin-left: 10%;
  }

  .shadow-blue {
    box-shadow: 10px 10px 0 rgba(0, 0, 255, 0.6);
  }

  .nav-link {
    position: relative;
    padding-top: 1vh;
    margin-right: 9.5vh;
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    font-style: normal;
    font-family: 'Open Sans', sans-serif;
  }
  
  .nav-link:hover {
    color: #0047AB;
  }

  .nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 6px;
    background-color: #0047AB; /* Substitua #0047AB pela cor de sua escolha */
    animation: loading 1.5s ease-in-out forwards;
    margin-bottom: -5px;
  }
  

  footer .col-md-4 {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin-left: 0;
    margin-top: 1%;
    border-right: 0px solid #ccc; /* Adicione essa propriedade */
    text-align: center;
  }
  
  .midia-social {
    display: inline-block;
    padding-left: 10%;
  }
  
  .saiba-mais {
    margin-left: 9%;
  }

  .navbar {
    z-index: 1; /* add this line */
  }

  .carousel-inner {
    z-index: -1; /* add this line */

  }

  .logo {
    display: none;
  }

  .navbar-toggler {
    margin-left: -3%; /* ajuste o valor de acordo com sua necessidade */
  }

  .linha-servicos {
    margin-left: 10%;
  }
}