/* ---------------- Projects Hero ---------------- */
.projects-hero {
  text-align: center;
  padding: 100px 20px 50px;
  background: #f0a5001f;
  animation: fadeIn 1s ease-in;
}

.projects-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.projects-hero p {
  font-size: 1.2rem;
  color: #555;
}

/* ---------------- Project Cards ---------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
}

.card {
  background: #fff8f0;
  padding: 20px;
  border-radius: 20px;
  width: 250px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px) scale(1.03);
}

.card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #f0a500;
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  margin-bottom: 10px;
  color: #2c2b28;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* ---------------- Animations ---------------- */
@keyframes fadeIn {
  0% {opacity:0; transform: translateY(-20px);}
  100% {opacity:1; transform: translateY(0);}
}

/* ---------------- Responsive ---------------- */
@media(max-width:768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
}
