* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: 'Segoe UI', sans-serif;
  text-align: justify;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2d3d47;
  padding: 10px 20px;
  color: white;
  flex-wrap: wrap;

}

.contact{
  margin-left: 6%;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.main-nav a.active,
.main-nav a:hover {
  text-decoration: underline;
}

.carousel {
  position: relative;
  overflow: hidden;
  height: 90vh;
}

.slides {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 5%;
  transition: all 0.5s ease-in-out;
  text-align: justify;
}

.slides.active {
  left: 0;
  opacity: 1;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 60px 30px;
  width: 100%;
  height: 100%;
  background: rgba(0, 26, 51, 0.4);
  color: white;
}

.overlay .logo {
  width: 14vw;
  height: auto; /* Mantém a proporção da imagem */
  margin-top: -2vw;
  margin-left: 4vw;
  margin-bottom: 30px;
  max-width: 100%;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
  .overlay .logo {
    width: 25vw;
    margin-top: -3vw;
    margin-left: 3vw;
  }
}

@media (max-width: 480px) {
  .overlay .logo {
    width: 35vw;
    margin-top: -4vw;
    margin-left: 2vw;
  }
}



.overlay h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin-left: 5%;
  margin-top: 1%;
   text-align: justify;
  
}

.overlay h2 {
  font-size: 2em;
  margin: 10px 0;
   margin-left: 5%;
    text-align: justify;
   
}

.overlay p {
  font-size: 1.2em;
  margin-top: 20px;
  max-width: 500px;
   margin-left: 5%;
   text-align: justify;
}

.overlay button {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1em;
  background: white;
  color: #d72638;
  border: none;
  border-radius: 30px;
  cursor: pointer;
   margin-left: 5%;
}

.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  margin: 0 5px;
  opacity: 0.5;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
}

/* Responsivo */
@media (max-width: 768px) {
  .overlay h1 {
    font-size: 1.8em;
  }

  .overlay h2 {
    font-size: 1.5em;
  }

  .overlay p {
    font-size: 1em;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }
}


.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  background-color: #4765a0; /* azul de fundo semelhante ao da imagem */
  padding: 3rem 1rem;
  text-align: center;
  color: white;
}

.service-card {
  padding: 2rem;
  background: transparent;
  transition: transform 0.3s;
}

.service-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}


.mission-section {
  background-color: #fff;
  padding: 4rem 1.5rem;
  color: #2c3e50;
}

.mission-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.mission-text {
  flex: 1 1 400px;
}

.mission-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mission-text h2 i {
  color: #4765a0;
  margin-right: 0.5rem;
}

.mission-text span {
  font-weight: 700;
}

.mission-text p {
  color: #7f8c8d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.mission-list li {
  margin-bottom: 1rem;
  font-weight: 600;
}

.mission-list li i {
  color: #e74c3c;
  margin-right: 0.5rem;
}

.read-more {
  display: inline-block;
  background-color: #4765a0;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.read-more:hover {
  background-color: #2c3e78;
}

.mission-stats {
  flex: 1 1 400px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.stat-box {
  text-align: center;
}

.stat-box h3 {
  font-size: 2.5rem;
  color: #bdc3c7;
  margin-bottom: 0.3rem;
}

.stat-box p {
  font-weight: 600;
  color: #2c3e50;
}


.imagem-responsiva {
  width: 100%;       /* Ocupa toda a largura disponível */
  height: 70%;      /* Mantém proporção original */
  display: block;    /* Remove espaços em branco abaixo da imagem */
  margin: 0;         /* Remove margens padrão */
  padding: 0;
}

.footer {
  background: #2d3d47;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-column h3 {
  margin-bottom: 10px;
  font-size: 18px;
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid #333;
  padding-top: 15px;
}



top-bar {
  background-color: #004466;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.top-bar nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  font-weight: bold;
}

.header-img {
  width: 100%;
  height: auto;
}

/* Container principal */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background-color: white;
}

/* Informações iniciais */
.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.logo {
  width: 150px;
}

/* Conteúdo principal */
.content h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.missao-visao {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.missao, .visao {
  flex: 1;
  min-width: 280px;
}

.imagens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.imagens img {
  width: 100%;
  max-width: 48%;
  height: auto;
  border-radius: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .info {
    flex-direction: column;
    align-items: flex-start;
  }

  .imagens img {
    max-width: 100%;
  }
}

