 .section {
      padding: 60px 20px;
      text-align: center;
    }

.section h2 {
      margin-top: 70px;
      font-size: 3rem;
      color: #2c3e50;
      font-family: 'Poppins', sans-serif;
      margin-bottom: 4px; /* reduce this */
      font-style: italic;
      
    }

.section h3 {
      margin-top: 0px;
      font-size: 1rem;
      color: #2c3e50;
      font-family: 'Poppins', sans-serif;
      font-style: italic;
      margin-bottom: 40px;
    }



.categories-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-bottom: 30px;
    }

.categories-bar button {
      background-color: #cce9cc;
      border: none;
      padding: 10px 16px;
      border-radius: 20px;
      cursor: pointer;
      transition: background-color 0.3s;
      
    }

.categories-bar button:hover {
      background-color: #aad8aa;
    }


    


.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: auto;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.project-container {
  background-color: #b9e7b9;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  height: 500px;
}

.project-image {
  width: 380px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px solid black;
  
}

.project-description {
  flex: 1;
  margin: 0 2rem;
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  height: 300px;
  width: 200px;
}

.project-description h2 {
  margin-top: 0px;
      font-size: 1.5rem;
      color: #2c3e50;
      font-family: 'Poppins', sans-serif;
      margin-bottom: 10px; /* reduce this */
      font-style: italic;
      
}


.project-description p {
  margin-top: 0px;
      font-size: 1rem;
      color: #2c3e50;
      font-family: 'Poppins', sans-serif;
      margin-bottom: 20px; /* reduce this */
      font-style: italic;
  
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #4CAF50;
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.carousel-btn.left {
  left: 1rem;
}

.carousel-btn.right {
  right: 1rem;
}

.carousel-btn.hidden {
  display: none;
}




.image-label {
  margin-top: 8px;
  font-weight: bold;
  font-size: 17px;
  color: #333;
  font-style: italic;
}

.carousel {
  margin: 4rem 0; /* space top and bottom */

}




@media (max-width: 768px) {
  .project-container {
    flex-direction: column;
    height: auto;
    align-items: center;
    padding: 1.5rem 1rem;
  }

  .project-image {
    width: 90%;
    height: auto;
    margin-bottom: 1rem;
  }

  .project-description {
    width: 90%;
    height: auto;
    margin: 0;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 8px;
  }

  .carousel-btn.left {
    left: 0.5rem;
  }

  .carousel-btn.right {
    right: 0.5rem;
  }
}

