.portfolio-section {
  background: rgba(255, 255, 255, 0);
  padding: 60px 20px;
}

.portfolio-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.portfolio-card {
  background: #ffffffb5;
  border-radius: 20px;
  box-shadow: 0 0 0 1px #e4e4e4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  animation: none;
}

.portfolio-card:hover {
  background: #f7f7f7;
  transform: translateY(-5px);
}

.portfolio-image {
  background: #d9d9d9;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  margin-bottom: 16px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.portfolio-content h3 {
  font-size: 28px;
  font-weight: 500;
  color: #363636;
  margin-bottom: 8px;
  text-align: left;
  margin-top: 8px;

}

.portfolio-content p {
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  color: #7C7C7C;
}

.portfolio-btn {
  margin-top: auto;
  background-color: #FF5886;
  color: white;
  font-size: 20px;
  font-weight: 400;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-btn:hover {
  background-color: #e94a75;
  box-shadow: 0 4px 10px rgba(255, 88, 134, 0.3);
}

@media (max-width: 600px) {

    .portfolio-wrapper{
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
  .portfolio-content h3 {
    font-size: 24px;
  }

  .portfolio-content p {
    font-size: 20px;
  }

  .portfolio-btn {
    font-size: 16px;
  }

  .portfolio-image {
    height: auto;
  }
}

/* Slide-up animation */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-card.show {
  animation: slideUp 0.6s ease forwards;
}
