/* CSS untuk Layout Produk dengan Detail Expandable */

/* Service Detail Area - Bagian yang akan di-expand */
.service-detail-area {
  padding: 20px 0;
  transition: all 0.5s ease;
}

/* Detail Title */
.detail-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.detail-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: #4cd3a5;
  border-radius: 3px;
}

/* Tab styling */
.detail-tabs {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.detail-tabs .nav-link {
  border: none;
  color: #555;
  border-radius: 0;
  padding: 10px 15px;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.detail-tabs .nav-link i {
  margin-right: 5px;
}

.detail-tabs .nav-link.active {
  color: #4cd3a5;
  border-bottom: 3px solid #4cd3a5;
  font-weight: 500;
}

.detail-tabs .nav-link:hover:not(.active) {
  background-color: #f8f9fa;
  color: #333;
}

/* Tab content */
.detail-content {
  padding: 20px 0;
}

.content-list {
  padding-left: 20px;
}

.content-list li {
  margin-bottom: 8px;
  position: relative;
}

.content-list li:before {
  content: '•';
  color: #4cd3a5;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Detail Feature Cards */
.detail-feature-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}

.detail-highlight {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.detail-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
  font-size: 28px;
  margin-bottom: 10px;
  color: #4cd3a5;
}

.detail-highlight h5 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
}

.detail-highlight p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Certification Categories */
.certification-category {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.certification-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.category-icon {
  font-size: 32px;
  margin-bottom: 15px;
  color: #4cd3a5;
}

.certification-category h5 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.certification-category ul {
  padding-left: 15px;
  margin-bottom: 0;
}

.certification-category ul li {
  margin-bottom: 5px;
}

/* Testimonial Section */
.testimonial-section {
  margin-top: 20px;
}

.testimonial-item {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  margin-top: 20px;
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #4cd3a5;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-text {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-author {
  font-weight: 600;
  text-align: right;
  color: #4cd3a5;
}

/* Contact Section */
.contact-info {
  margin: 20px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  background-color: rgba(76, 211, 165, 0.1);
  color: #4cd3a5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.quick-contact-form {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

/* Smooth animation for expanding/collapsing */
.collapse {
  transition: all 0.35s ease;
}

/* Toggle button animation */
.toggle-features[aria-expanded="true"] .bi-plus-circle:before {
  content: "\f2ea"; /* Bootstrap icon for minus circle */
}

.toggle-features[aria-expanded="true"] span:after {
  content: " Lebih Sedikit";
}

.toggle-features[aria-expanded="false"] span:after {
  content: "";
}

/* Card produk */
.product-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Separator antar produk */
.separator {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* Underline untuk judul */
.underline-green {
  width: 60px;
  height: 3px;
  background-color: #4cd3a5;
  margin: 10px 0 20px;
}

/* Styling gambar utama */
.main-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.main-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.main-image:hover img {
  transform: scale(1.03);
}

/* Indikator galeri pada gambar utama */
.gallery-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-indicator:hover {
  background-color: rgba(76, 211, 165, 0.9);
}

.gallery-indicator i {
  margin-right: 5px;
}

/* Thumbnail preview */
.thumbnail-preview {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.thumb {
  width: 80px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumb:hover {
  border-color: #4cd3a5;
  transform: translateY(-3px);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.more-photos {
  background-color: rgba(76, 211, 165, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: bold;
}

/* Styling deskripsi produk */
.product-info {
  padding: 0 15px;
}

.product-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

/* Feature list styling */
.feature-list {
  margin: 20px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.feature-item i {
  color: #4cd3a5;
  margin-right: 10px;
  font-size: 18px;
  margin-top: 2px;
}

/* Product actions */
.product-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #4cd3a5;
  border-color: #4cd3a5;
}

.btn-primary:hover {
  background-color: #3baf88;
  border-color: #3baf88;
}

.btn-outline-primary {
  color: #4cd3a5;
  border-color: #4cd3a5;
}

.btn-outline-primary:hover {
  background-color: #4cd3a5;
  color: white;
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: white;
}

.btn-link {
  color: #4cd3a5;
  padding-left: 0;
  text-decoration: none;
}

.btn-link:hover {
  color: #3baf88;
  text-decoration: underline;
}


  