body {
  padding: 0;
  margin: 0;
  background: #002d2c; /* Warna latar belakang */
  font-family: "Poppins", sans-serif;
  height: 100vh; /* Mengatur tinggi body agar memenuhi viewport */
}

html {
  scroll-behavior: smooth; /* Menambahkan efek gulir halus */
}

.container {
  max-width: 1900px;
  width: 90%;
  margin: auto;
  padding: 5px; /* Tambahkan padding untuk konten */
  box-sizing: border-box; /* Pastikan padding tidak menambah ukuran total */
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0; /* Padding untuk header */
}

.logo a {
  color: beige;
  text-decoration: none;
  font-size: 24px; /* Ukuran font logo */
}

.menu {
  display: flex;
  gap: 20px; /* Jarak antar item menu */
}

.menu a {
  color: beige;
  text-decoration: none;
  padding: 10px 15px; /* Padding untuk item menu */
  transition: background-color 0.3s ease; /* Transisi untuk efek hover */
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Efek hover */
  border-radius: 5px; /* Sudut melengkung saat hover */
}

/* Hamburger Menu Styles */
.menu-toggle {
  display: none; /* Sembunyikan hamburger button secara default */
  flex-direction: column;
  cursor: pointer;
  z-index: 1001; /* Pastikan hamburger di atas elemen lain */
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: beige; /* Warna bar hamburger */
  margin: 3px 0;
  transition: all 0.3s ease; /* Transisi untuk animasi */
}

/* Media Query untuk perangkat mobile */
@media (max-width: 1200px) {
  .menu {
    display: none; /* Sembunyikan menu secara default pada mobile */
    flex-direction: column; /* Mengubah menu menjadi kolom */
    width: 100%;
    background-color: #002d2c72; /* Warna latar belakang menu */
    position: absolute;
    left: 0;
    z-index: 1000; /* Pastikan menu muncul di atas elemen lain */
    opacity: 0; /* Sembunyikan menu dengan opacity */
    transform: translateY(-20px); /* Menggeser menu ke atas */
    margin-top: 20px;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease; /* Transisi untuk animasi */
    top: 60px /* Sesuaikan dengan tinggi header */
  }
  .menu.active {
    display: flex; /* Tampilkan menu ketika aktif */
    opacity: 1; /* Tampilkan menu dengan opacity */
    transform: translateY(0); /* Kembalikan posisi menu */
  }

  .menu a {
    color: beige;
    text-decoration: none;
    padding: 10px 15px; /* Padding untuk item menu */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Transisi untuk efek hover dan transformasi */
    transform: translateY(-10px); /* Geser item menu ke atas */
    opacity: 0; /* Sembunyikan item menu */
    animation: fadeIn 0.5s forwards; /* Animasi untuk item menu */
  }

  .menu.active a {
    opacity: 0; /* Tampilkan item menu */
  }
  .menu-toggle {
    display: flex; /* Tampilkan hamburger button pada mobile */
  }
}

  .menu.active a:nth-child(1) { animation-delay: 0.1s; }
    .menu.active a:nth-child(2) { animation-delay: 0.2s; }
    .menu.active a:nth-child(3) { animation-delay: 0.3s; }
    .menu.active a:nth-child(4) { animation-delay: 0.4s; }
    .menu.active a:nth-child(5) { animation-delay: 0.5s; }

    @keyframes fadeIn {
      from {
        transform: translateY(-20px); /* Mulai dari posisi atas */
        opacity: 0; /* Mulai dari transparan */
      }
      to {
        transform: translateY(0); /* Kembali ke posisi normal */
        opacity: 1; /* Menjadi terlihat */
      }
  
}

/* Animasi untuk hamburger saat menu terbuka */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 8px); /* Rotasi garis pertama dan geser sedikit ke bawah */
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0; /* Menghilangkan garis kedua */
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -8px); /* Rotasi garis ketiga dan geser sedikit ke atas */
}

h1, h2, h3, h4, h5 {
  margin: 0;
}

/* Media Query untuk perangkat mobile */
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column; /* Mengubah arah menjadi kolom */
    align-items: flex-start; /* Menyelaraskan item ke kiri */
  }

  .services-item {
    width: 100%; /* Membuat item layanan mengambil lebar penuh */
    margin-bottom: 20px; /* Memberikan jarak antar item */
  }

  .hero-center {
    width: 90%; /* Mengatur lebar hero center */
  }
  
  .visimisi-item {
    width: 100%; /* Membuat visi misi item mengambil lebar penuh */
  }

  .services-item{
    width: auto;
  }
}

.wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  display: flex;
  align-items: center;
 justify-content: space-between;
}

.logo a {
  color: beige;
  text-decoration: none;
}

.menu a {
  color: beige;
  text-decoration: none;
  padding: 10px;
}

.hero {
  background-image: url(img/BG\ Kinarya.jpeg); /* Ganti dengan path gambar Anda */
  background-size: cover; /* Gambar menutupi seluruh area */
  background-position: center; /* Pusatkan gambar */ ;
}

.hero-center {
  background-image: url('path/to/your/image.jpg'); /* Ganti dengan path gambar Anda */
  background-size: cover; /* Mengatur gambar agar menutupi seluruh area */
  background-position: center; /* Memusatkan gambar */
  height: 40vh; /* Mengatur tinggi hero section menjadi 80% dari tinggi layar */
  display: flex; /* Menggunakan flexbox untuk menata konten */
  justify-content: center; /* Rata tengah secara horizontal */
  align-items: center; /* Rata tengah secara vertikal */
  text-align: center; /* Rata tengah teks */
  color: white; /* Warna teks */
  padding: 20px; /* Padding */
  margin: 0; /* Menghilangkan margin default */
}

.hero-center h1 {
  font-size: 48px; /* Ukuran font untuk desktop */
  margin-bottom: 20px; /* Jarak bawah judul */
}

.hero-center p {
  font-size: 20px; /* Ukuran font untuk paragraf */
  margin-bottom: 30px; /* Jarak bawah paragraf */
}

.hero-center .btn {
  padding: 10px 20px; /* Padding untuk tombol */
  background-color: #19954b; /* Warna latar belakang tombol */
  color: white; /* Warna teks tombol */
  text-decoration: none; /* Menghilangkan garis bawah */
  border-radius: 5px; /* Sudut melengkung */
}

/* Media Query untuk Mobile */
@media (max-width: 768px) {
  .hero{
    background-size: cover;
    font-size: 15px;
  }


  .hero-center{
    height: 70vh;
  }
  .hero-center h1 {
    font-size: 10px; /* Ukuran font lebih kecil untuk mobile */
  }

  .hero-center p {
    font-size: 15px; /* Ukuran font lebih kecil untuk paragraf di mobile */
  }
}


.hero-center {
  padding: 20% 0;
  text-align: center;
  width: 70%;
  margin: auto;
}

.hero-center h1 {
  font-size: 2em;
  color: beige;
}

.hero-center h2 {
  color: beige;
  font-size: 3em;
}

.hero-center p {
  color: white;
  line-height: 180%;
}

.overlay {
  width: 100%;
  position: relative;
  background: rgba(0, 23, 9, 0.352);
}

.btn {
  background: green;
  color: white;
  padding: 20px 40px;
  display: inline-block;
  text-decoration: none;
  margin-top: 10px;
  border-radius: 20px;
}

.about {
  padding: 5% 0;
  color: white;
}

.about h4 {
  color: orange;
  font-size: 2em;
}

.about h2 {
  font-size: 3em;
}

.about p {
  line-height: 180%;
  text-align: justify;
}


/* Visi Misi */

.visimisi {
  background-color: #f0f8ff; /* Warna latar belakang yang lembut */
  padding: 50px 0; /* Padding atas dan bawah */
}

.visimisi h4 {
  text-align: center; /* Rata tengah judul */
  font-size: 24px; /* Ukuran font judul */
  color: #002d2c; /* Warna teks */
  margin-bottom: 30px; /* Jarak bawah judul */
}

.visimisi-content {
  display: flex; /* Menggunakan flexbox untuk layout */
  justify-content: space-around; /* Menyebar konten secara merata */
  align-items: flex-start; /* Rata atas */
  flex-wrap: wrap; /* Membungkus konten jika perlu */
}

.visi, .misi {
  background-color: #ffffff; /* Warna latar belakang box */
  border-radius: 10px; /* Sudut melengkung */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Bayangan */
  padding: 30px; /* Padding dalam box */
  margin: 15px; /* Jarak antar box */
  flex: 1 1 300px; /* Ukuran minimum box */
  max-width: 45%; /* Maksimal lebar box */
  transition: transform 0.3s; /* Transisi untuk efek hover */
  text-align: center; /* Rata tengah teks */
  
}

.visi:hover, .misi:hover {
  transform: translateY(-5px); /* Efek hover untuk mengangkat box */
}

.icon {
  font-size: 40px; /* Ukuran ikon */
  color: #007bff; /* Warna ikon */
  margin-bottom: 15px; /* Jarak bawah ikon */
}

.visi h2, .misi h2 {
  color: #007bff; /* Warna judul */
  margin-bottom: 15px; /* Jarak bawah judul */
}

.visi p, .misi ul {
  color: #333; /* Warna teks */
  line-height: 1.6; /* Jarak antar baris */
}

.misi ul {
  list-style-type: disc; /* Tipe list */
  padding-left: 20px; /* Jarak kiri untuk list */
}

@media (max-width: 768px) {
  .visimisi{
    height: auto;
  }
  .visi, .misi {
    max-width: fit-content;
}
}
/* End Visi Misi */

.products {
  background-color: #ffffff; /* Warna latar belakang */
  padding: 60px 20px; /* Padding atas dan bawah */
  text-align: center; /* Rata tengah teks */
}

.products-container {
  display: flex; /* Menggunakan flexbox untuk layout */
  align-items: center; /* Rata tengah secara vertikal */
  max-width: 1200px;
  margin: 0 auto;
}

.products h2 {
  font-size: 24px; /* Ukuran font judul */
  color: #002d2c; /* Warna teks */
  margin-bottom: 30px; /* Jarak bawah judul */
}

.products h4 {
  text-align: center; /* Rata tengah judul */
  font-size: 24px; /* Ukuran font judul */
  color: #002d2c; /* Warna teks */
  margin-bottom: 10px; /* Jarak bawah judul */
}

.products-grid {
  display: flex; /* Menggunakan flexbox untuk layout produk */
  overflow-x: auto; /* Mengizinkan scroll horizontal */
  scroll-behavior: smooth; /* Efek scroll yang halus */
  flex-wrap:  wrap; /* Tidak membungkus konten */
  justify-content: space-between;
}

.product {
  flex: 1 1 400px;
  position: relative; /* Posisi relatif untuk menampung gambar */
  overflow: hidden; /* Sembunyikan bagian gambar yang keluar dari box */
  height: 350px; /* Tinggi box yang lebih besar */
  width: 400px; /* Lebar box yang lebih besar */
  margin: 15px; /* Jarak antar box */
  border-radius: 10px; /* Sudut melengkung */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Bayangan */
  display: flex; /* Menggunakan flexbox untuk menempatkan teks */
  flex-direction: column; /* Menumpuk elemen anak secara vertikal */
  align-items: center; /* Horizontal center */
  justify-content: flex-end; /* Vertikal center */
  color: white; /* Warna teks */
  background-size: cover; /* Mengatur ukuran gambar agar memenuhi box */
  text-align: center; /* Rata tengah teks */
  text-decoration: none; /* Menghilangkan garis bawah pada tautan */
}

.product-image {
  height: 70%; /* Tinggi gambar */
  background-size: cover; /* Mengatur ukuran gambar agar memenuhi box */
  background-position: center; /* Memusatkan gambar */
}

.product-info {
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* Gradasi dari bawah ke atas */
  text-align: center; /* Rata tengah teks */
}

.product-info h5 {
  margin: 0; /* Menghilangkan margin default */
  font-size: 18px; /* Ukuran font judul */
  text-shadow: 
      0px 0px 10px rgba(0, 0, 0, 0.7), /* Bayangan utama */
      0px 0px 20px rgba(0, 0, 0, 0.5), /* Bayangan kedua */
0px 0px 30px rgba(0, 0, 0, 0.3); /* Bayangan ketiga */
}

.product:hover {
  transform: scale(1.05); /* Efek zoom saat hover */
  transition: transform 0.3s; /* Transisi untuk efek zoom */
}

.product.clicked {
  transform: scale(0.95); /* Efek mengecil saat diklik */
  transition: transform 0.3s; /* Transisi untuk efek */
}


/* Overlay untuk meningkatkan keterbacaan teks */
.product::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.134); /* Overlay hitam dengan transparansi */
  z-index: 1; /* Pastikan overlay di atas gambar */
}

.product h5, .product p {
  position: relative; /* Posisi relatif untuk teks */
  z-index: 2; /* Menempatkan teks di atas overlay */
  text-shadow: 
    0px 0px 10px rgba(0, 0, 0, 0.7), /* Bayangan utama */
    0px 0px 20px rgba(0, 0, 0, 0.5), /* Bayangan kedua */
    0px 0px 30px rgba(0, 0, 0, 0.3); /* Bayangan ketiga */
  padding: 10px; /* Padding untuk memberikan ruang di sekitar teks */
}

.product p {
  font-size: 14px; /* Ukuran font teks */
  margin-top: 5px; /* Jarak atas untuk memberikan ruang antara judul dan paragraf */
}



/* Media query untuk perangkat mobile */
@media (max-width: 768px) {
  .products-grid {
    flex-direction: column;
  }
  .product {
    width: auto;
    height: 300px;
  }
}

/* End Product */

/* Services */

.services {
  padding: 50px 0;
  h4{
    color: beige;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
  }
}

.services-grid {
  display: flex;
  flex-wrap: wrap; /* Membuat elemen membungkus ke baris berikutnya */
  justify-content: space-between; /* Menyebar elemen secara merata */
}

.service-box {
  flex: 1 1 200px; /* Mengatur ukuran minimum box */
  margin: 10px; /* Jarak antar box */
  padding: 20px;
  background-color: #f8f9fa; /* Warna latar belakang box */
  border: 1px solid #ddd; /* Border box */
  border-radius: 10px; /* Sudut melengkung */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Bayangan */
  text-align: center; /* Rata tengah teks */
  h5{
    font-size: 18px;
    margin-bottom: 25px;
  }
  p{
    text-align: justify;
  }
}

@media (max-width: 768px) {
  .services{
    height: auto;
  }
  .service-box {
    flex: 1 1 100%; /* Pada layar kecil, box akan mengambil 100% lebar */
  }
}


/* Partner Section */
.partners {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.partners h4 {
  font-size: 28px;
  color: #002d2c;
  margin-bottom: 40px;
}

.partner-logos {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 120px;
}

.partner-logo-wrapper {
  display: flex;
  gap: 30px;
  animation: scroll-continuous 15s linear infinite;
}

.partner-logo {
  flex: 0 0 auto;
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Animasi Pergerakan Kontinu */
@keyframes scroll-continuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Duplikasi untuk efek loop */
.partner-logo-wrapper::before {
  content: '';
  display: flex;
}

.partner-logo-wrapper {
  /* Mengulang dua kali jumlah logo untuk membuat loop tanpa jeda */
  display: flex;
  flex-wrap: nowrap;
}

/* Responsif */
@media (max-width: 768px) {
  .partner-logo {
    width: 100px;
    height: 80px;
  }
  .partner-logo img {
    max-width: 80px;
  }
}


/* End Partner */

/* Distributor Section */
.distributor {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.distributor h4 {
  font-size: 28px;
  color: #002d2c;
  margin-bottom: 40px;
}

.distributor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* Jarak antar logo */
  padding: 0 40px; /* Padding kiri dan kanan */
}

.distributor-logo {
  flex: 0 0 auto;
  width: 150px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}

.distributor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Perbesar logo SINOMED */
.distributor-logo img[alt="SINOMED"] {
  max-width: 120% !important;
  max-height: 120% !important;
}


/* Responsif */
@media (max-width: 768px) {
  .distributor-logo {
    width: 100px;
    height: 80px;
    padding: 0 10px;
  }

  .distributor-logo img {
    max-width: 80px;
  }

  .distributor-logo img[alt="Distributor 2"] {
    max-width: 100%; /* Sesuaikan untuk layar kecil */
    max-height: 100%;
  }
}






/* Contact Section Styles */
#contact {
  background-color: #f5f5f5;
  padding: 40px 0;
  font-family: Arial, sans-serif;
  color: #333;
}

#contact .container {
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

#contact h2 {
  color: #006b3c;
  font-size: 32px;
  margin-bottom: 10px;
}

#contact .intro-text {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

#contact p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 5px 0;
}

.contact-info p {
  margin: 8px 0;
  color: #333;
}

/* Footer Section */
.footer-section {
  color: #fff;
  box-shadow: inset;
  text-align: center;
  padding: 20px 0;
}

.footer-section p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
}

@media (max-width: 768px) {
}

/* END */




