/* Style untuk Bagian Portofolio */
#portofolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.portofolio-item {
  width: 300px;
  margin: 20px;
  padding: 15px;
  border: none;
  background-color: #e0f7fa;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.portofolio-item img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.portofolio-item:hover img {
  transform: scale(1.1) translateZ(20px);
}

.portofolio-item h3 {
  text-align: center;
  color: #26a69a;
  margin-bottom: 0.5rem;
  transform-style: preserve-3d;
}

.portofolio-item p {
  text-align: center;
  color: #333;
  transform-style: preserve-3d;
}

.portofolio-item .project-link {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background-color: #26a69a;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.portofolio-item .project-link:hover {
  background-color: #00897b;
}

/* Media Queries untuk Responsif */
@media (max-width: 768px) {
  .portofolio-item {
    width: calc(50% - 40px);
    margin: 20px;
  }
}

@media (max-width: 576px) {
  .portofolio-item {
    width: calc(100% - 40px);
    margin: 20px;
  }
}

/* Style untuk Banner Sertifikat */
#certificate-banner {
  position: relative;
  width: 0px auto;
  height: 100vh; /* Sesuaikan tinggi sesuai kebutuhan */
  overflow: hidden;
}

.certificate-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.certificate-item img {
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.certificate-item a {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background-color: #26a69a;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.certificate-item a:hover {
  background-color: #00897b;
}

/* Style untuk Slide yang Aktif */
.certificate-item.active {
  opacity: 1;
}