/* section dari sini */

.logo-img {
  max-height: 150px;
  width: auto;
  display: block;

  /* Efek garis tepi putih tipis */
  filter: drop-shadow(0 0 0 white) drop-shadow(0 0 5px white);
}
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 4s steps(60, end) infinite;
}

@keyframes typing {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

.text-shadow {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}
.navigation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@media (max-width: 576px) {
  .navigation-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .navigation-buttons a {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

/* section top sampai sini */
/* section about us dimulai */
.float-img {
  float: right;
  width: 100%;
  max-width: 350px;
  margin: 0 0 15px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .float-img {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
  }
}

.video-80 {
  width: 100vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* section about us sampai sini */
/* section contacat us dimulai */
.img-alamat {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.office-wrap {
  max-width: 100%;
  margin-top: 10px;
}

.map-inline {
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: 8px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .d-flex {
    flex-direction: column !important;
  }

  .img-alamat {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
}

/* section contact us sampai sini */
.section-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover effect opsional (biar kerasa interaktif) */
.section-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* section contact us sampai sini */

.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8px;
  width: 15px;
  height: 15px;
  background-color: #dc3545;
  border-radius: 50%;
  border: 3px solid white;
  z-index: 1;
}
.card-product {
  transition: all 0.3s ease;
}

.card-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-product .section-header {
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

body {
  font-family: "Inter", sans-serif;
  color: #495057; /* warna teks utama */
  font-size: 1rem;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.section-card {
  padding: 1rem;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-left: none;
  border-right: none;
  border-bottom: 2px solid #0d6efd;
  color: #495057;
  line-height: 1.6;
  font-size: 1rem;
}
.section-header h2 {
  color: #343a40; /* atau #0a58ca atau #343a40 */
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Gaya border khusus berdasarkan warna */
.section-card.border-right {
  border-bottom: 2px solid #198754;
}

.section-card.border-warning {
  border-bottom: 2px solid #ffc107;
}

.section-card.border-danger {
  border-bottom: 2px solid #dc3545;
}

.section-card.border-success-right {
  border-bottom: 2px solid #198754;
}

/* Section Header tetap seperti semula, hanya sedikit dirapikan */
.section-header {
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 1.5rem;
  color: #343a40;
}

/* section struktur dimulai */
.struktur-box {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.struktur-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffc107;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.struktur-box:hover .struktur-photo {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.struktur-line-down {
  position: relative;
}
.struktur-line-down::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #ffc107;
}
.struktur-connector {
  height: 2px;
  background: linear-gradient(to right, #ffc107, #f0ad4e);
  margin: 0 auto 20px auto;
  border-radius: 99px;
  width: 60%;
}
.struktur-text {
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.struktur-title {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.struktur-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #a4a4a4;
  margin-bottom: 0.6rem;
  border-bottom: 2px solid #000000;
  display: inline-block;
  padding-bottom: 0.2rem;
}
.struktur-name li {
  list-style-type: disc;
  margin-bottom: 0.25rem;
  padding-left: 0.3rem;
  text-align: left;
}
@media (max-width: 768px) {
  .struktur-box {
    margin-bottom: 20px;
  }
}
/* section struktur sampai sini */
/* section product dimulai */
.product-content {
  display: none;
}

.product-content.show {
  display: block;
}

#product-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  gap: 1rem;
}

#product-tabs::-webkit-scrollbar {
  height: 6px;
}

#product-tabs::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.product-tab-box {
  min-width: 180px; /* atur lebar minimum agar muat 9 */
  flex: 0 0 auto;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 1rem 0.5rem;
  text-align: center;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-tab-box:hover {
  background: #e0f5f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-tab-box.active {
  background: #00745e;
  color: #fff;
}

.product-tab-box.active i,
.product-tab-box.active h6,
.product-tab-box.active p {
  color: #fff;
}

/* Gallery Thumbnail */
.gallery-thumbnail {
  width: 105px;
  height: 180px; /* Menetapkan tinggi yang konsisten untuk gambar */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 768px) {
  .gallery-thumbnail {
    width: 70px;
    height: 120px; /* Atau kamu bisa coba 100px jika terlalu tinggi */
  }
}

/* Hover effect for thumbnails */
.gallery-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Modal Image */
.modal-body img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
}

/* For responsive design: Adjust for smaller screens */
@media (max-width: 768px) {
  .gallery-thumbnail {
    height: 160px; /* Sesuaikan dengan layar lebih kecil */
  }
}
.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Ruang antar kolom */
}

.contact-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%; /* Membuat kartu menyesuaikan ukuran */
}

.contact-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-card .card-body {
  padding: 15px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px; /* Menambahkan jarak antar elemen */
  flex: 1; /* Membuat kolom menyesuaikan lebar */
}

.col-md-6 {
  flex: 1; /* Pastikan kolom memiliki lebar yang sama */
}
/* Pastikan iframe map responsive */
iframe {
  border-radius: 10px; /* Agar peta lebih estetik dengan sudut melengkung */
}

/* button up dimulai */
#btnScrollTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.3); /* hitam dengan 60% opacity */
  color: #fff; /* Tulisan & ikon putih */
  border: none;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 14px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  font-weight: 500;
}

#btnScrollTop:hover {
  background-color: #333; /* Abu-abu gelap saat hover */
}
.testimonial-card img {
  width: 100px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%; /* agar tetap lingkaran */
  background-color: #fff; /* opsional biar tidak transparan */
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .testimonial-card img {
    width: 80px;
    height: 60px;
  }
}

.hero a i {
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.hero a i:hover {
  opacity: 1;
}
