.promo-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Gambar QuantiCast: posisi condong ke kanan */
.promo-img {
  width: 100%;
  max-width: 291px;
  height: auto;
  display: block;
  margin-left: auto;  /* 🔧 geser gambar ke kanan */
  margin-right: 0;
  animation: imageSlideIn 1s ease-out forwards;
  opacity: 0;
  transform: translateX(60px);
}

/* Teks promo di atas gambar */
.promo-overlay {
  position: absolute;
  top: 50%;
  left: 28%; /* 🔧 sedikit geser ke kiri agar tidak menutup gambar */
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  z-index: 2;
  opacity: 0;
  animation: textSlideIn 1s ease-out forwards;
  animation-delay: 0.8s;
  
}

.promo-overlay h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.promo-overlay h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #0c7541;
}

.promo-overlay p {
  font-size: 13px;
  margin-top: 6px;
}

/* Animasi masuk */
@keyframes imageSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes textSlideIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .promo-img {
    width: 100%;
    margin: 0 auto;
  }

  .promo-overlay {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .promo-overlay h1 {
    font-size: 20px;
  }

  .promo-overlay p {
    font-size: 12px;
  }
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-top: 10px;
}

.feature-table thead {
  background-color: #0c7541;
  color: #fff;
}

.feature-table th,
.feature-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.feature-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .feature-table {
    font-size: 12px;
  }

  .feature-table th,
  .feature-table td {
    padding: 8px;
  }
}

.table-title-row .table-title-cell {
  background-color: #e1f5e0; /* 💚 hijau muda */
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  color: #0c7541;
}

.gallery-thumb {
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover {
  transform: scale(1.03);
}

.caption-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background-color: rgba(0, 214, 150, 0.85); /* PEI hijau transparan */
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
}

.caption-overlay h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.caption-overlay p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.pei-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pei-pane.show.active {
  display: block;
  opacity: 1;
}

@media (max-width: 576px) {
  .nav-tabs .nav-link {
    font-size: 14px !important;
  }
}

.features-section {
  margin-top: -50px; /* Atur agar tidak terlalu jauh dari judul */
}

.feature-table {
  margin-top: -30px; /* Atur agar tidak terlalu jauh dari judul */
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card-slider {
  width: 320px;
  height: 200px;
  position: relative;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.slider-track {
  display: flex;
  position: relative;
  height: 100%;
}

.slide {
  min-width: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.caption {
  position: absolute;
  bottom: 8px;
  left: 12px;
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.controls button {
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 1.5rem;
  padding: 0 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.controls button:hover {
  background: rgba(255,255,255,0.9);
}


.gallery-slider .swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
}

/* Perbesar gambar di mobile */
@media (max-width: 576px) {
  .gallery-slider .swiper-slide img {
    height: 250px !important;
  }
}

.gallery-section {
  width: 100%;
  overflow: hidden;
  padding: 0 10px;
}

#form-status {
  color: green; /* atau red jika error */
  font-size: 16px;
}