/* CSS untuk card dan gambar */
.portfolio-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 200px; /* Lebar card */
  margin: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s;
}

.portfolio-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-caption {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #808080; /* Warna teks abu-abu */
  background: #fff; /* Latar belakang putih */
  padding: 10px 0;
}

.portfolio-caption a {
  text-decoration: none;
  color: #808080; /* Warna teks abu-abu */
}

.portfolio-caption a:hover {
  text-decoration: underline;
}

/* CSS untuk testimonial */
.testimonial-item {
  text-align: center;
  padding: 30px;
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 10px;
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
}

.testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 15px 0;
}

.testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0;
  padding: 0 0 10px 0;
  position: relative;
}

.testimonial-item .quote-sign-left,
.testimonial-item .quote-sign-right {
  color: #c1c1c1;
  font-size: 26px;
  position: absolute;
}

.testimonial-item .quote-sign-left {
  left: -5px;
}

.testimonial-item .quote-sign-right {
  right: -5px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366; /* WhatsApp green */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.19);
}

.whatsapp-float img {
  width: 50%;
  height: 50%;
}

/* CSS untuk Mitra Section */
.section-bg {
  background-color: #f8f9fa; /* Warna latar belakang sesuai kebutuhan */
  padding: 60px 0; /* Padding atas dan bawah */
}

.alert-primary {
  background-color: #e3f2fd;
  border-color: #bee5eb;
  color: #31708f;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alert-heading {
  font-size: 24px;
  font-weight: bold;
}

.btn-primary {
  background-color: #50b3a2;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #3e8e7e;
  color: #fff;
}

.mitra-section {
  background-color: #626262;
  color: white;
  padding: 50px 0;
}

.mitra-card {
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  margin-bottom: 20px;
}

.mitra-card h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.mitra-card p {
  font-size: 18px;
  margin-bottom: 20px;
}

.mitra-card .btn {
  margin: 5px;
  padding: 10px 20px;
  font-size: 16px;
}

.mitra-image {
  text-align: center;
}

.mitra-image img {
  max-width: 100%;
  border-radius: 10px;
}

.informasi-section {
  background-color: #f8f9fa;
  padding: 50px 0;
  text-align: center;
}

.informasi-section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
}

.informasi-item {
  padding: 20px;
}

.informasi-item i {
  font-size: 50px;
  color: #a4db00;
  margin-bottom: 20px;
}

.informasi-item p {
  font-size: 18px;
  color: #333;
}

.register-section {
  background-color: #f8f9fa;
  padding: 50px 0;
}

.register-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: white;
}

.register-card h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.register-card .form-group {
  margin-bottom: 20px;
}

/* General styling for portfolio cards */
.portfolio-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  margin: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.portfolio-card img {
  width: 100%;
  height: auto; /* Ensure images resize proportionally */
  object-fit: cover;
  transition: transform 0.3s;
}

.portfolio-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-caption {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 0;
  color: #007bff;
  background: #fff;
}

.portfolio-caption a:hover {
  text-decoration: underline;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
  .portfolio-container .portfolio-item {
    margin-bottom: 30px; /* Adjust spacing between cards on mobile */
    display: flex;
    justify-content: center;
  }

  .portfolio-wrap {
    width: 80%; /* Ensure each card takes 80% width on mobile and is centered */
    margin: 0 auto;
  }

  .portfolio-img {
    width: 100%;
    height: auto;
  }
}

/* Tambahan Styling untuk Memastikan Carousel Tidak Tertutup */
#heroCarousel .carousel-item {
  position: relative;
  padding-bottom: 150px; /* Atur padding bawah agar form tidak menutupi konten */
}

/* Penyesuaian Z-Index untuk Menghindari Overlapping */
.carousel-container .container,
.carousel-container .carousel-item .carousel-container {
  position: relative;
  z-index: 1;
}
