* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.top-bar {
    background: #000000;
    color: rgb(255, 255, 255);
    padding: 8px 0;
    font-size: 12px;
}


.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.top-links a {
  margin-right: 1.25rem;
  font-size: 0.875rem;
  color: #1e293b;
  text-decoration: none;
}

.top-links a i {
  margin-right: 0.4rem;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.social-icons a {
  color: #1e293b;
  margin-left: 0.5rem;
  font-size: 1rem;
}
.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons  {
    color: #ffffff;
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
}

.social-icons1  {
    color: #000000;
    text-decoration: none;
    margin-right: 10px;
}
.social-icons1 a {
    color: #000000;
    text-decoration: none;
}
.header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  height: 40px; /* mantém a altura da área do menu */
  overflow: visible; /* permite que a logo ultrapasse visualmente */
}

.logo img {
  height: 100px; /* aumenta o tamanho da logo */
  width: auto;
  margin-top: -10px; /* ajusta o posicionamento para centralizar melhor */
  transition: all 0.3s ease;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000000;
  color: #ffffff;
  padding: 8px 0;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* empurra o conteúdo abaixo da barra fixa */
.header {
  margin-top: 40px; /* ajusta conforme altura da .top-bar */
}
.header {
  position: fixed;
  top: 0px; /* altura da .top-bar */
  left: 0;
  width: 100%;
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    padding: 60px 0;
}

.newsletter-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.newsletter-form {
    display: flex;
    gap: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.newsletter-btn {
    background: #333;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Main Footer */
.main-footer {
    background: #ffffff;
    color: white;
    padding: 60px 0 20px;
}

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

.main-footer .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-contact {
    margin-top: 20px;
    color: #000000;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: rgb(0, 0, 0);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #000000;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: rgb(52, 52, 52);
}

/* projecto*/
.secao-impacto {
    background-color: #f5f5f5;
    padding: 60px 0;
    font-family: Arial, sans-serif;
}

.container-impacto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.titulo-impacto {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}
.bloco-projectos {
    background-color: #e6e6e6;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.conteudo-projectos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.texto-projectos {
    flex: 1;
    min-width: 300px;
}

.imagem-projectos {
    flex: 1;
    min-width: 30px;
    text-align: right;
}

.imagem-projectos img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.texto-projectos h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.texto-projectos p {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
}

.btn-submeter {
    color: #d10000;
    font-weight: bold;
    text-decoration: none;
}

.form-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.campo {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    flex: 1;
    margin-top: 20px;
}

.campo label {
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.campo select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.campo-botao {
    align-self: flex-end;
}

.btn-pesquisar {
    background-color: #00bfa5;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-pesquisar:hover {
    background-color: #009688;
}


/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: white;
}

.projects-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.projects-header h2 {
    font-size: 2rem;
    color: #333;
}

.filters {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.search-projects-btn {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 400px;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.project-card-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.project-progress-wrapper {
    margin-bottom: 1rem;
}

.progress-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
     display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.progress-text {
  font-size: 0.875rem;
  color: #333;
}

.project-progress-bar {
    background-color: #e6e6e6;
    border-radius: 999px;
    overflow: hidden;
    height: 0.5rem;
}

.project-progress-bar .progress {
    height: 100%;
    background-color: #28a745;
    transition: width 0.5s ease;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-avatars {
    display: flex;
    gap: -10px;
}

.project-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-left: -8px;
}

.comment-count {
    font-size: 0.9rem;
    color: #888;
}

.view-more-btn {
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

/* modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

/*testee*/

.contact-form {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    margin-left: auto;
}

.contact-form h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.file-upload {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.file-upload:hover {
    border-color: #22c55e;
    background: #f0fdf4;
}

.file-upload i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.file-upload small {
    color: #6b7280;
    font-size: 0.75rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #22c55e;
}

.checkbox-group label {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
}

.submit-btn {
    width: 100%;
    background-color: #14b8a6;
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0d9488;
}

/*menu efeito*/
.nav-link {
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.nav-link.active {
  background-color: #e0ffe0;
  border: 2px solid #00bfa5;
}

.ver-mais-link {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 150px;
  font-size: 0.775rem;
  background-color: #00b542;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;

}

.ver-mais-link:hover {
  background-color: #00b542;
}
a {
    color: inherit;     
    text-decoration: none; 
}

a:hover {
    text-decoration: none;
    opacity: 0.8;       
}