.project-section {
  padding: 40px 20px;
  text-align: center;
}

.project-section h2 {
  color: #334a1b;
  margin-bottom: 10px;
  font-weight: bold;
}
.project-section p {
  color: #000;
  font-size:18px;
 line-height: 16px;  
}

.project-section h3 {
  font-size: 22px;
  font-weight: 500;
  color: #abbe30;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top:20px;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.project-item img {
  width: 100%;
  object-fit: cover;
  transition: 0.4s;
}

/* hover zoom nhẹ */
.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* overlay */
.overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  transition: 0.4s;
}

.project-item:hover .overlay {
  bottom: 0;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

/* close */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

/* next prev */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

/* responsive */
@media (max-width: 768px) {
   .project-section {
    padding: 20px 5px;

  }
  .project-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .project-item img {
    height: auto;
  }
  .project-section h3 {
    font-size: 17px;
    font-weight: 500;
  }
  
  .project-section h2 {
    font-size: 18px !important;
    line-height: 27px !important;
    }
  .project-section p {
    font-size: 16px !important;
    line-height: 27px !important;
    margin-bottom: 5px !important;
    text-align: left !important;
  }
}
