.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.portfolio-page-container {
  margin-top: 70px;
}

.portfolio-img {
  transition: transform 0.3s ease;
  display: block;
  width: 100%;
  height: auto;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 16px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-caption {
  transform: translateY(0);
}

.portfolio-caption h4 {
  margin: 0;
  font-size: 18px;
  color: #000;
}

.portfolio-caption i {
  font-size: 20px;
  color: #000;
  cursor: pointer;
}

.fullscreen-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
}

.fullscreen-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-fullscreen {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 4rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
}
