h2{
  font-size: 2em;
}

.projects_section {
  padding: 80px 2.5rem;
  background-color: #f9f9f9;
}

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

.project_card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden; /* Clips the image to the corners */
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.project_img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #00bbf0;
}

.project_info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project_info h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00204a;
  margin-bottom: 10px;
}

.project_info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

/* Tech Badges */
.tech_stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech_badge {
  background: #eefbff;
  color: #00bbf0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #00bbf0;
}

.project_link {
  margin-top: auto; /* Pushes button to the bottom */
  color: #00bbf0;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project_link:hover {
  color: #00204a;
}