.projects-section {
  padding: 80px 40px;
  background: #0f0f0f;
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.project-card:hover {
  transform: translateY(-8px);
  border: 1px solid #00ffff4e;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #333;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
}

.project-info a {
  display: inline-block;
  color: #ff5e57;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #00ffff40;
  padding: 8px 16px;
  border-radius: 8px;
  transition: 0.3s;
}

.project-info a:hover {
  background-color: #ff5e57;
  color: #fff;
}


/* hovering effect */
.project-card {
  background: linear-gradient(145deg, #1e1e1e, #141414);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 16px rgba(0, 255, 255, 0.264); /* subtle hover shadow */
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #333;
  transition: filter 0.3s ease;
}

.project-card:hover img {
  filter: brightness(1.08);
}

.project-info {
  padding: 20px;
  transition: transform 0.3s ease;
}

.project-card:hover .project-info {
  transform: translateY(-3px);
}
