
.projects {
  padding: 10px 0;
    background:
    linear-gradient(135deg, rgba(95,127,99,0.8), rgba(58,90,64,0.8)),
    url('../../../img/bg/verde.png');
  background-size: cover; /* cobre todo o container  */
  background-position: center; /* centraliza a imagem  */
  border-radius: 16px; /* cantos arredondados  */
  overflow: hidden; /* pra garantir que nada vaze do container  */
}
/* CONTAINER */
.projects-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  
}
.projects h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 30px;
}

/* GRID DOS CARDS*/

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* IMAGEM DO CARD*/
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-content {
  padding: 20px;
}

.card h3 {
  margin-bottom: 10px;
}
.card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.card a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.btn-projects {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 24px;
  background-color: #fff;
  color: var(--primary-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-projects:hover {
  transform: translateY(-3px);
}