.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
}

.section {
  flex: 1;
  min-width: 300px;
  padding: 10px;
}

.contact-box,
.contact-dropdown summary {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.contact-box:hover,
.contact-dropdown summary:hover {
  background-color: #e9e9e9;
}

.contact-box i,
.contact-dropdown summary i {
  margin-right: 10px;
  color: #555;
}

.contact-box span,
.contact-dropdown summary span {
  color: #555;
}

/* Dropdown Styles */
.contact-dropdown {
  position: relative;
}

.contact-dropdown summary {
  list-style: none; /* Menghilangkan tanda panah default */
  cursor: pointer;
}

.contact-dropdown summary::-webkit-details-marker {
  display: none; /* Menghilangkan tanda panah di browser WebKit */
}

.contact-dropdown ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.contact-dropdown[open] ul {
  max-height: 200px; /* Sesuaikan dengan tinggi konten */
  opacity: 1;
}

.contact-dropdown ul li {
  padding: 10px;
  background-color: #f1f1f1;
  border-radius: 4px;
  margin-bottom: 5px;
}

.contact-dropdown ul li a {
  color: #007bff;
  text-decoration: none;
}

.contact-dropdown ul li a:hover {
  text-decoration: underline;
}

a.contact-box {
  text-decoration: none;
  color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-box,
  .contact-dropdown summary {
    padding: 8px;
  }
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
}

.section {
  flex: 1;
  min-width: 300px;
  padding: 10px;
}

.contact-box,
.contact-dropdown summary {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.contact-box:hover,
.contact-dropdown summary:hover {
  background-color: #e9e9e9;
}

.contact-box i,
.contact-dropdown summary i {
  margin-right: 10px;
  color: #555;
}

.contact-box span,
.contact-dropdown summary span {
  color: #555;
}

/* Dropdown Styles */
.contact-dropdown {
  position: relative;
}

.contact-dropdown summary {
  list-style: none; /* Menghilangkan tanda panah default */
  cursor: pointer;
}

.contact-dropdown summary::-webkit-details-marker {
  display: none; /* Menghilangkan tanda panah di browser WebKit */
}

.contact-dropdown ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.contact-dropdown[open] ul {
  max-height: 200px; /* Sesuaikan dengan tinggi konten */
  opacity: 1;
}

.contact-dropdown ul li {
  padding: 10px;
  background-color: #f1f1f1;
  border-radius: 4px;
  margin-bottom: 5px;
}

.contact-dropdown ul li a {
  color: #007bff;
  text-decoration: none;
}

.contact-dropdown ul li a:hover {
  text-decoration: underline;
}

a.contact-box {
  text-decoration: none;
  color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-box,
  .contact-dropdown summary {
    padding: 8px;
  }
}

/* Animasi masuk dari kiri */
.fade-in-left {
  animation: fadeInLeft 0.6s ease forwards;
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animasi masuk dari kanan */
.fade-in-right {
  animation: fadeInRight 0.6s ease forwards;
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animasi masuk dari atas */
.fade-in-top {
  animation: fadeInTop 0.6s ease forwards;
}
@keyframes fadeInTop {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animasi masuk dari bawah */
.fade-in-bottom {
  animation: fadeInBottom 0.6s ease forwards;
}
@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Status awal sebelum kelihatan */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Saat terlihat di layar */
.fade-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}
