:root {
  --primary-color: #053e88; /* Azul */
  --secondary-color: #333; /* Cor escura para o texto */
  --background-light: #f9f9f9;
  --white: #fff;
  --accent-green: #34A853; /* Verde para botões */
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}


#p_txt{
    text-align: justify;
}


 body {
  font-family: "Poppins", "Helvetica Neue", "Helvetica", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #000;
}
body strong {
  font-weight: 600;
}

small {
  font-size: 0.87rem;
}
.extra-small {
  font-size: 0.75rem;
}

.bold {
  font-weight: bold;
}
/*
 [1.1] Headings
 ---------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #152860;
}
h1, .h1, .has-h-1-size-font-size {
  font-size: 2.125rem;
}
h2, .h2, .has-h-2-size-font-size {
  font-size: 1.875rem;
}
h3, .h3, .has-h-3-size-font-size {
  font-size: 1.625rem;
}
h4, .h4, .has-h-4-size-font-size {
  font-size: 1.375rem;
}
h5, .h5, .has-h-5-size-font-size {
  font-size: 1.125rem;
}
h6, .h6, .has-h-6-size-font-size {
  font-size: 1rem;
}
/*
 [1.2] Links
 ---------------------------- */
a {
  color: #293a76;
  text-decoration: none;
  transition: all 0.35s;
}
a:hover, a:focus {
  color: #152860;
  text-decoration: none;
}
.a-silent {
  position: relative;
  display: inline-flex;
  border-bottom: 1px solid rgba(41, 58, 118, 0);
  color: inherit;
  text-decoration: none;
}


* {
  margin: auto;
  padding: auto;
  box-sizing: border-box;
  max-width: 100%;
  }

body {
  background-color: var(--background-light);
  color: var(--secondary-color);
  line-height: 1.6;
}

.hero {
  position: relative;
  width: 100%;
  height: 400px; /* Aumentei um pouco a altura */
  background-image: url('/img/2.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--background-light);
  overflow: hidden;
}

/* Efeito escurecido */


/* Estiliza o texto */
.texto {
    padding: 10px;
  z-index: 2;
  max-width: 98%;
  animation: fadeIn 1.5s ease-in-out;
}

/* Animação de fade-in */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 10;
      transform: translateY(0);
  }
}

.hero h1 {
  font-size: 2rem; /* um pouco maior */
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #f1f1f1;
}

/* Botão CTA */
.banner .cta {
  display: inline-block;
  background: #f1a208; /* Cor chamativa */
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.banner .cta:hover {
  background: #d88b06;
  transform: scale(1.05);
}



.secao-sobre .btn {
  margin-top: 20px;
  padding: 10px 25px;
  background-color: var(--accent-green);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.secao-sobre .btn:hover {
  background-color: var(--primary-color);
}


.hero .btn {
  margin-top: 20px;
  padding: 10px 25px;
  background-color: var(--accent-green);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.about .btn {
  margin-top: 20px;
  padding: 10px 25px;
  background-color: var(--accent-green);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.about .btn:hover {
  background-color: var(--primary-color);
}

.hero .btn:hover {
  background-color: var(--primary-color);
}

.features {
  display: flex;
  justify-content: center;
  padding: 60px 5%;
  gap: 20px;
  flex-wrap: wrap;
  background-color: var(--white);
}

.feature-card {
  flex: 1;
  max-width: 250px;
  background-color: var(--background-light);
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card img {
  max-width: 50px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.about {
  display: flex;
  align-items: center;
  padding: 60px 5%;
  gap: 30px;
  background-color: var(--white);
}

.about-content {
  flex: 0;
}

.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  background-color: #f9f9f9;
  text-align: justify;
  width: 100%;
}




iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.about-content h2 {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.about-content p {
  max-width: 300px;
  line-height: 1.6;
}

.about-images {
  flex: 1;
  display: flex;
  gap: 10px;
}

.about-images img {
  width: 50%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}




.description {
  color: var(--secondary-color);
  }

/* Estilização da seção de notícias */
.news-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.news-section h2 {
  font-size: 2rem;
  color: #1d3557;
  margin-bottom: 20px;
}

/* Layout de Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Estilização dos blocos de notícias */
.news-item {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-item img,
.news-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #ddd;
}

.news-content {
  padding: 15px;
  text-align: left;
}

.news-content h3 {
  font-size: 1.4rem;
  color: #0d47a1;
  margin-bottom: 8px;
}

.news-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

.news-content .read-more {
  color: #1976d2;
  text-decoration: none;
  font-weight: bold;
}

.news-content .read-more:hover {
  text-decoration: underline;
}

/* Efeito Hover */
.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Botão de "Ver Mais Notícias" */
.view-more {
  margin-top: 20px;
}

.view-more button {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.view-more button:hover {
  background: #1b5e20;
}

/* Responsividade */
@media (max-width: 768px) {
  .news-grid {
      grid-template-columns: 1fr;
  }

  .news-item img,
  .news-item video {
      height: auto;
  }
}

.read-more {
    color: #007BFF;
    text-decoration: none;
}
/* Estilização geral */
.publications-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.publications-section h2 {
  text-align: left;
  font-size: 2rem;
  color: #1d3557;
  margin-bottom: 20px;
}

/* Estilização das publicações */
.publication {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.publication img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.publication-content {
  flex: 1;
}

.publication h3 {
  font-size: 1.4rem;
  color: #0d47a1;
  margin-bottom: 8px;
}

.publication p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.publication a {
  color: #1976d2;
  text-decoration: none;
  font-weight: bold;
}

.publication a:hover {
  text-decoration: underline;
}

/* Botão de download */
.download-btn {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.download-btn:hover {
  background: #1b5e20;
}

/* Efeito de hover na publicação */
.publication:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
  .publication {
      flex-direction: column;
      text-align: center;
  }

  .publication img {
      width: 100%;
      height: auto;
      max-width: 300px;
  }
}

.read-more:hover {
    text-decoration: underline;
}
.view-more {
    text-align: center;
    margin-top: 20px;
}
.view-more button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}


.view-more button:hover {
    background-color: #0056b3;
}


/* Fundo com degradê */
.section {
  background: linear-gradient(to bottom, #0056b3, #607dff);
  padding: 50px 20px;
  text-align: center;
}

.text-content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
}

.text-content p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Layout da grade responsivo */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Estilização dos itens */
.grid-item {
  background: rgba(255, 255, 255, 0.15); /* Transparente */
  padding: 20px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  transition: none; /* Remove hover */
}

.grid-item img {
  width: 50px;
  margin-bottom: 15px;
}

.grid-item h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.grid-item p {
  color: white;
  font-size: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .grid {
      grid-template-columns: 1fr;
  }
}


.equipe {
  padding: 200px;
  text-align: center;
  background-color: var(--background-light);
}

.equipe-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.equipe-item {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 5px;
  width: 250px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.equipe-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.equipe-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.equipe-item h3 {
  margin: 10px 0;
  color: var(--primary-color);
}

.equipe-item p {
  color: var(--secondary-color);
}

.saiba-mais {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.saiba-mais:hover {
  background-color: var(--accent-green);
}

.galeria-historica {
  padding: 20px;
  text-align: center;
  position: relative;
}

.galeria-historica h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.historico-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  position: relative;
  padding-left: 40px; /* Espaço para a linha vertical */
}

.historico-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
}

.historico-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 425px;
  max-width: 700px;
  position: relative;
    margin: auto;
}

.historico-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 10px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.historico-item .ano {
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 20px;
}

@media (min-width: 768px) {
    
  .historico-container {
    flex-direction: column; /* Empilhar os itens em telas maiores */
  }

  .historico-item {
    flex: 1 1 100%; /* Ajuste a largura máxima para ocupar todo o espaço disponível */
    margin-bottom: 40px; /* Espaçamento inferior entre os itens */
  }
}

.historico-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.historico-item p {
  margin-top: 10px;
  color: var(--secondary-color);
  text-align: justify;
    width: 90%;
}
/* Fundo com degradê e imagem sobreposta */
.campaigns {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(21, 115, 255, 0.6)), url('/img/Huila\ 1.JPG');
  background-size: cover;
  background-position: center;
  color: white;
}

/* Títulos */
.campaigns h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--white);
}
.campaigns h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--white);
}

.campaigns p {
  font-size: .8rem;
  margin-bottom: 30px;
  color: var(--white);
}

/* Estilização da lista */
.campaign-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
  max-width: 1200px;
  margin: auto;
}

/* Cada item da campanha */
.campaign-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Imagem circular */
.campaign-item img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

/* Botões */
.btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background: #218838;
}

/* Botão "Ver mais" */
#ver-mais {
  margin-top: 20px;
  background: var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  transition: background 0.3s;
  cursor: pointer;
}

#ver-mais a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

#ver-mais:hover {
  background: var(--accent-green)
}

.formulario {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}

.formulario input, .formulario textarea {
  flex: 1 1 calc(50% - 1rem); /* Divide os elementos em 50% da largura */
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fff; /* Fundo branco para o textarea */
}

.formulario textarea {
  flex: 1 1 100%; /* O textarea ocupa 100% da largura */
}

.formulario button {
  padding: 1rem;
  background-color: var(--primary-color);
  border: none;
  border-radius: 18px;
  font-weight: bold;
  cursor: pointer;
  flex: 1 1 50%; /* O botão ocupa 100% da largura */
}

.formulario button:hover {
  background-color: var(--accent-green);
}


/* Responsividade */
@media (max-width: 768px) {
  .campaigns h2 {
      font-size: 1.8rem;
  }

  .campaigns p {
      font-size: 1rem;
  }

  .campaign-list {
      grid-template-columns: 1fr;
  }
}

#contacto h2 {
  text-align: center;
}
