* {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 20px;
  font-size: 15px;
}
html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  margin: 0px;
  padding: 0px;
}
.layar-dalam {
  width: 1000px;
  margin: auto;
}
.layar-penuh {
  width: 100%;
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #10723c;
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 24px;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.back-to-top.show {
  opacity: 1;
}
nav {
  z-index: 100;
  color: #fff;
  text-align: center;
  position: fixed;
  border-bottom: 1px solid #b1b1b1;
  line-height: 60px;
  width: 100%;
  background-color: #fff; /* Ganti dengan warna yang diinginkan */
  transition: background-color 0.5s ease;
}

nav.putih {
  background-color: #fff;
}
nav .logo {
  float: left;
  position: relative;
  line-height: 55px;
  text-align: center;
}
nav .logo img {
  vertical-align: middle;
  width: 120px;
}

nav .menu {
  float: right;
  height: 60px;
  max-width: 900px;
}

nav .menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav .menu ul li {
  list-style-type: none;
  float: left;
  line-height: 60px;
}

nav ul li a {
  color: #000000;
  text-align: center;
  padding: 0px 16px 0px 16px;
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* pengaturan header */
header {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}
header video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -2;
}
.intro {
  z-index: 100;
  color: #fff;
  text-align: center;
  position: relative;
  top: 50%;
}
.intro h3 {
  font-size: 35px;
  margin: 0;
  padding: 0;
}
.tombol {
  background-color: #60b949;
  height: 40px;
  line-height: 42px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 0px 20px 0px 20px;
  font-size: 15px;
  border-radius: 4px;
}
header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 50%;
  z-index: -1;
}
.tombol-menu {
  position: absolute;
  top: 1.7rem;
  right: 1rem;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}
.tombol-menu .garis {
  height: 3px;
  background-color: #fff;
}
section {
  padding: 50px 0px 50px 0px;
}
section h3 {
  font-size: 30px;
}
section h3::after {
  content: "";
  border-bottom: 5px solid #60b949;
  width: 52px;
  display: block;
  margin: 20px auto;
}
#aboutus,
#proyek,
#blog {
  text-align: center;
}
section p.ringkasan {
  font-style: italic;
  font-size: 18px;
  color: #000000;
}
section .konten-isi p {
  font-style: normal;
}
nav.putih {
  background-color: #fff;
}
nav.putih .tombol-menu .garis {
  background-color: #333;
}
nav.putih ul li a {
  color: #333;
}
nav .logo img.hitam {
  display: none;
}
section.abuabu {
  background-color: #f5f6f6;
}
.support,
.tim,
.blog {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.support h6,
.tim h6 {
  margin: 0px;
  margin-top: 20px;
  padding: 0px;
  font-size: 18px;
  font-weight: bold;
}
.support img {
  width: 50px;
}
.support div,
.tim div {
  text-align: center;
  width: 26%;
}
section#gallery {
  display: block;
  text-align: center;
  flex-direction: row;
  justify-content: space-around;
  overflow: hidden;
  padding: 10px 0px 10px 0px;
}
section#gallery h3 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
}
section#gallery div {
  padding: 0px;
}
section#gallery div img {
  height: 200px;
  border-radius: 5px;
}
section#gallery div img:hover {
  transition: all 0.2s ease-in-out;
  transform: scale(1.1);
}
section.quote {
  background: url("asset/quote-gallery.jpg") no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
  font-size: 50px;
  font-style: italic;
  padding: 160px;
}
section.quote .layar-dalam p {
  display: inline;
  background: url("asset/quote-icon.png") no-repeat;
  padding: 40px;
  font-size: 25px;
}
.tim img {
  width: 100%;
  box-shadow: 0px -10px 30px #ccc;
  border-radius: 5px;
}
.blog .area {
  width: 47%;
  box-shadow: 0px -10px 30px #ccc;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.blog div.area div {
  width: 50%;
}
.blog .area .gambar {
  border-radius: 5px 0px 0px 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 300px;
}
.blog .area .text article {
  padding: 40px;
}
.blog .area .text article h4 {
  margin: 0px;
}
.blog .area .text article a {
  color: #333;
  text-decoration: none;
  transition: color 0.5s ease;
}
.blog .area .text article a:hover {
  color: #ccc;
}
footer {
  padding: 50px 0px 50px 0px;
  background-color: #343a40;
  color: #fff;
}
footer .layar-dalam {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
footer .layar-dalam div {
  width: 20%;
}
footer .layar-dalam h5 {
  margin-top: 0px;
  font-size: 20px;
  font-weight: bold;
}
footer .layar-dalam .copyright {
  width: 100%;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #666;
  text-align: center;
}


/*.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}*/

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.grid-container img {
  width: 100%;
  height: auto;
}

.image-container {
  text-align: center; /* Agar tulisan berada di tengah */
  margin-bottom: 20px; /* Beri jarak antar elemen */
}

.image-container img {
  width: 300px; /* Ukuran gambar tetap */
  height: 200px; /* Tinggi gambar tetap */
  object-fit: cover; /* Menyesuaikan gambar agar tetap rapi */
  border-radius: 10px; /* Opsional, buat sudut gambar lebih halus */
}

.image-container h4 {
  margin-top: 10px; /* Beri jarak antara gambar dan teks */
  font-size: 16px; /* Sesuaikan ukuran font */
}


.card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: pointer;
}
.card img {
  width: 100%; /* Lebar selalu mengikuti parent */
  height: 200px; /* Sesuaikan tinggi sesuai kebutuhan */
  object-fit: cover; /* Memastikan gambar memenuhi area tanpa distorsi */
  border-radius: 10px;
}

.card button {
  margin-top: 10px;
  padding: 8px 12px;
  background: #33a447;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background: white;
  margin: 15% auto;
  padding: 20px;
  width: 50%;
  border-radius: 10px;
}
.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.tablink {
  background-color: #33a447;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}
.tablink:hover {
  background-color: #d99a00;
}
.tabcontent {
  display: none;
  padding: 20px;
  text-align: center;
  background: #f4f4f4;
  border-radius: 10px;
  transition: max-height 0.5s ease-out;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
th, td {
  padding: 8px;
  text-align: left;
}
th {
  background-color: #33a447;
  color: white;
}

.wa-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.wa-floating:hover {
  transform: scale(1.1);
}

#materials .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tablink {
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #4CAF50; /* Green color */
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.content-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Menambahkan animasi transisi yang lebih halus */
.tabcontent {
  display: none;
  opacity: 0; /* Mulai dengan konten tidak terlihat */
  transform: translateY(30px); /* Mulai dari bawah dengan jarak yang lebih jauh */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Memperpanjang durasi dan menggunakan ease-out untuk kesan lebih halus */
}

.tabcontent.active {
  display: block;
  opacity: 1; /* Ketika aktif, konten menjadi terlihat */
  transform: translateY(0); /* Konten bergerak ke posisi normal */
}

/* Tambahkan card-wrapper di sekitar setiap konten */
.card-wrapper {
  display: none;
  opacity: 0;
  transform: translateY(100px); /* Mulai dari bawah */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  margin-bottom: 20px;
}

.card-wrapper.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.card {
  background-color: #ffffff; /* Warna latar belakang putih */
  padding: 20px;
  border-radius: 12px; /* Membuat sudut lebih membulat */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Efek bayangan yang lebih besar dan jelas */
  border: 3px solid #ddd; /* Menambahkan border ringan */
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* Efek transisi pada bayangan */
  margin-bottom: 20px;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); /* Efek bayangan lebih kuat saat hover */
  transform: translateY(-5px); /* Efek sedikit terangkat saat hover */
}

.card h4 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: #666;
}

.tablink {
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #4CAF50; /* Mengubah warna button menjadi hijau */
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.tablink:hover {
  background-color: #45a049; /* Mengubah warna saat hover */
  transform: scale(1.05); /* Memberikan efek sedikit pembesaran pada button */
}

table {
  width: 100%;
  margin-top: 10px;
}

th, td {
  padding: 8px;
  text-align: left;
}

th {
  background-color: #6abb44;
}

.button-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Membuat 3 kolom */
  gap: 10px; /* Spasi antar tombol */
}

.tab-button {
  padding: 8px 16px; /* Mengatur padding tombol agar lebih kecil */
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 14px; /* Ukuran font lebih kecil */
  border-radius: 5px;
  box-sizing: border-box; /* Agar ukuran tombol tidak mempengaruhi layout lainnya */
  max-width: 100%; /* Membatasi lebar tombol agar tidak melebihi kontainer */
  transition: background-color 0.3s ease;
}

.tab-button.active {
  background-color: #4CAF50; /* Warna latar belakang tombol aktif */
  color: white; /* Warna teks tombol aktif */
}

.tab-content {
  display: none; /* Menyembunyikan semua tab konten */
}

.tab-content.active {
  display: block; /* Menampilkan konten tab yang aktif */
}


.tab-button:hover {
  background-color: #45a049;
}


.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.price-table th, 
.price-table td {
  border: 1px solid #000;
  padding: 8px;
  text-align: center;
}

.price-table td:nth-child(3), 
.price-table td:nth-child(4) {
  text-align: right;
}

@media screen and (max-width: 991.98px) {
  .layar-dalam {
    width: 90%;
  }
  nav .menu ul {
    display: none;
    margin-top: 60px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  nav .menu ul li {
    width: 100%;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    line-height: 40px;
  }
  nav .menu ul li a {
    color: #333;
  }
  .tombol-menu {
    display: flex;
  }
  .blog .area {
    display: block;
  }
  .blog div.area div {
    width: 100%;
  }
  .blog .area .gambar {
    border-radius: 5px 5px 0px 0px;
    height: 200px;
  }
  .support {
    display: block;
  }
  .support div {
    width: 100%;
    padding-bottom: 30px;
  }

  .tabs {
    flex-direction: column;
    align-items: center;
  }
  .tablink {
    width: 90%;
  }

  header .intro h3 {
    font-size: 25px;
  }

  section.quote .layar-dalam p {
    display: inline;
    background: url("asset/quote-icon.png") no-repeat;
    padding: 40px;
    font-size: 15px;
  }

  #aboutus {
    padding: 40px 0;
    background-color: #f9f9f9;
  }

  #aboutus .layar-dalam {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .aboutus-table {
    width: 100%;
    max-width: 1200px;
    border-spacing: 20px;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
  }

  .aboutus-image-cell,
  .aboutus-text-cell {
    padding: 10px;
  }

  .aboutus-image {
    width: 90%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
  }

  .aboutus-text-cell h3 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .aboutus-text-cell .ringkasan {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
  }

  .social-icons {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Jarak antar ikon lebih rapat */
  }
  .social-icons a {
    display: flex;
    align-items: center;
    gap: 8px; /* Jarak antara ikon dan teks lebih kecil */
    text-decoration: none;
    font-size: 14px; /* Ukuran teks lebih kecil */
    font-weight: normal; /* Tidak terlalu tebal */
    padding: 2px 0px; /* Padding lebih kecil */
    border-radius: 4px;
    transition: transform 0.2s ease-in-out;
    width: fit-content;
  }
  .social-icons a i {
    font-size: 18px; /* Ukuran ikon lebih kecil */
  }
  .social-icons a:hover {
    transform: scale(1.05);
  }

  /* Warna sesuai brand */
  .facebook { color: #fff; }
  .linkedin { color: #fff; }
  .tiktok { color: #fff; }
  .youtube { color: #fff; }
  .instagram { color: #fff; }

  @media screen and (max-width: 768px) {
    .aboutus-table {
      width: 100%;
      border-spacing: 10px;
    }

    .aboutus-image-cell,
    .aboutus-text-cell {
      width: 100%;
    }

    .aboutus-image {
      width: 80%;
      margin-bottom: 20px;
    }

    #materials{
      display: none;
    }

    .grid-container {
      grid-template-columns: repeat(1, 1fr);
    }
  }
