.hero {
    position: relative;
    height: 115vh; /* Ocupa 90% da tela */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    margin-top: -96px;
    flex-direction: column;
}

/* Overlay escuro para melhorar contraste */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Conteúdo sobreposto */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80%;
}

/* Imagem pequena sobreposta */
.hero-logo {
    max-width: 260px; /* Ajuste conforme necessário */
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
}

/* Estilizando o botão */
.hero-content .btn-primary {
    background-color: #00355D;
    border-radius: 25px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
}

.hero-content .btn-primary:hover {
    background-color: #002746;
}

.hero-text {
    margin-top: 20px;
    align-items: center;
    color: #1D4D5A !important;
    transform: translateY(80px);
}
.hero-text h1 {
    font-size: 3rem; /* Ajuste o tamanho do título conforme necessário */
    margin: 0;
}

.hero-text p {
    font-size: 1.2rem; /* Ajuste o tamanho da frase conforme necessário */
    margin-top: 10px;
}

.imagem_equipa img {
    width: 100%;
    height: auto; /* Mantém a proporção da imagem */
    display: block; /* Remove espaços extras abaixo da imagem */
}

.team-section {
    text-align: center;
    color: #1D4D5A;
    padding: 40px 20px;
}

.team-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.team-section p {
    font-size: 1.2rem;
    margin-bottom: 0rem;
}

.team-section .highlight {
    color: #3DAEE4;
    font-weight: bold;
}

.imagem-consulta {
    display: flex;
    justify-content: center;
    margin-top: -22px;
}
  
.imagem-consulta img {
    max-width: 706px;
    height: auto;
}

@media (max-width: 768px) {
    .imagem-consulta img {
        max-width: 400px;  /* Define um tamanho fixo em px para telas menores */
    }
}

.servicos {
    text-align: center;
    margin-top: 50px;
  }
  
  .servicos h1 {
    color: #1D4D5A;
    font-size: 28px;
    font-weight: bold;
    margin-top: 80px;
    margin-bottom: 55px;
  }
  
  .servicos-container {
    display: flex;
    justify-content: center;
    gap: 155px;
    margin-top: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
  }

  @media (max-width: 768px) {
    .servicos-container {
      gap: 120px;
    }
  }
  
  .servico {
    text-align: center;
    width: 150px;
  }
  
  .servico img {
    height: 70px;
  }
  
  .servico p {
    color: #1D4D5A;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
  }
  
