/* Reset e Estilos Gerais */
body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #0f2936;
  line-height: 1.6;
}

/* Cabeçalho */
header {
  background: linear-gradient(to right,
    #05060a,   /* Azul muito escuro (quase preto) */
    #0d1b3d,   /* Azul profundo */
    #132d66,   /* Azul escuro intenso */
    #1e40af,   /* Azul médio forte */
    #3b82f6    /* Azul claro vibrante */
  );
  color: white;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

header h1 {
  font-size: 2.8rem;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

header p {
  font-size: 1.2rem;
  margin: 15px 0 25px;
  opacity: 0.9;
}

header .highlight {
  color: #67e8f9;
  font-weight: 600;
}

/* Links */
nav {
  position: fixed;
  width: 100%;
  top: 20;
  left: 10;
  background-color: rgba(11, 48, 113, 0); /* transparente */
  transition: background-color 0.3s ease;
  z-index: 1000;
  /* sem sombra ou bordas brancas */
  box-shadow: none;
  border-bottom: none;
}
nav.scrolling {
  background-color: rgba(11, 48, 113, 0.2); /* fundo azul muito transparente */
  box-shadow: none; /* sem sombra */
}


/* Cor da fonte que está no topo */
.logo a {
  color: white;
  text-decoration: none;
}

/* Links */
.nav-links {
  color: black;
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  font-size: 26px;
  transition: color 0.3s ease;
}

/* Estilo após rolagem */
#navbar.scrolled {
  background-color: black;
}

#navbar.scrolled .nav-links a {
  color: black;
}

.nav-links a.active,
.nav-links a:hover {
  border-bottom: 2px solid white;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 20px 0;
}



/* Ajuste para conteúdo começar abaixo do menu fixo */
main {
    padding-top: 120px; /* Aumente o padding para garantir que o conteúdo desça abaixo do menu */
}

/* Ajustes adicionais no conteúdo */
.group {
    max-width: 1200px;
    margin: 20px auto;
    padding: 100px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #004080;
}

.members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.member {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    transition: transform 0.3s;
}

.member:hover {
    transform: scale(1.05);
}

.member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}


/* Estilização do rodapé */
footer {
  background: linear-gradient(135deg, #1e3a8a, #0f2936, #0e7490);
  color: white;
  text-align: center;
  padding: 20px 0;
  position: relative;
  width: 100%;
  font-size: 18px;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  /* Espaçamento entre os ícones */
  margin-top: 20px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  /* Aumenta o tamanho do ícone */
  height: 50px;
  border-radius: 50%;
  background-color: #f0f0f0;
  /* Cor de fundo suave */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-links a img {
  width: 30px;
  /* Ajusta o tamanho da imagem do ícone */
  height: 30px;
}

.social-links a:hover {
  transform: scale(1.2);
  /* Efeito de zoom ao passar o mouse */
  background-color: #ddd;
  /* Muda a cor de fundo no hover */
}

.logo {
    width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.member img {
    width: 200px; /* Defina um tamanho fixo para garantir que seja quadrada */
    height: 200px;
    object-fit: cover; /* Garante que a imagem preencha o espaço corretamente */
    border-radius: 50%;
}

/* Navbar adicional */
.navbar {
    background: #0f4e87;
    padding: 10px;
    text-align: left;
}

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

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 25px;
    padding: 10px 20px;
    display: inline-block;
    transition: background 0.3s ease-in-out;
}

.navbar ul li a:hover {
    background: #08365a;
    border-radius: 5px;
}

/* Garante que imagens do carrossel se comportem corretamente */
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

#btnTopo {
  display: none; /* escondido inicialmente */
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  background-color: #007BFF;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

#btnTopo:hover {
  background-color: #0056b3;
}


.historico {
    background-color: #f7f9fa; /* cor de fundo suave */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 2rem auto;
    color: #203a43;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
}

.historico h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #2c5364;
}

.historico p {
    font-size: 1rem;
    text-align: justify;
}

.historico strong {
    color: #0f2936;
}

/* Responsividade extra: dispositivos pequenos */

@media (max-width: 576px) {
  nav {
    padding: 10px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-links li {
    margin: 5px 0;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  .header-container {
    padding: 10px 0;
    gap: 15px;
  }

  .logo {
    height: 100px;
    max-width: 180px;
  }

  header button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

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

  .card {
    padding: 20px;
    flex: 1 1 100%;
  }

  .card img {
    height: 300px;
  }

  .contact-form {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form form,
  .contact-info {
    flex: 1 1 100%;
  }

  .contact-info div {
    font-size: 1rem;
  }

  .modern-alert {
    padding: 1.5rem;
  }

  .modern-alert h3 {
    font-size: 1.2rem;
  }

  .modern-alert .close-alert {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}
