.kontak-kami {
  padding: 70px 30px 50px;
  background-color: #fce9f8;
  border: 2px solid #ffa6c4;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

.kontak-heading h2 {
  font-size: 2.5rem;
  color: #f78ca2;
  margin-bottom: 10px;
}

.kontak-divider {
  /*  kontak */
  width: 100px;
  height: 3px;
  background-color: #f78ca2;
  margin: 0 auto 40px;
  border-radius: 5px;
  animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}

.kontak-kami-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.kontak-card {
  flex: 1 1 300px;
  padding: 30px 25px;
  background: linear-gradient(145deg, #ffffff, #ffe7ec);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  animation: fadeUp 1s ease forwards;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kontak-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.kontak-card i {
  font-size: 40px;
  padding: 18px;
  border-radius: 50%;
  color: white;
  margin-bottom: 20px;
  display: inline-block;
  animation: bounceIn 1s ease;
  transition: transform 0.4s ease;
}

.kontak-card:hover i {
  transform: rotate(15deg) scale(1.1);
}

.merah i {
  background-color: #f94144;
}
.hijau i {
  background-color: #90be6d;
}
.kuning i {
  background-color: #f9c74f;
}

.kontak-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.kontak-card p a {
  font-size: 16px;
  color: #555;
  text-decoration: none;
  display: inline-block;
  word-break: break-word;
}

.kontak-card p a:hover {
  color: #f78ca2;
  text-decoration: underline;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Google Maps Section */
.maps-embed {
  margin: 60px 30px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  animation: fadeInMap 1.2s ease-in-out;
}

@keyframes fadeInMap {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .kontak-kami-wrapper {
    flex-direction: column;
  }

  .kontak-card {
    width: 90%;
    margin: 0 auto;
  }
}
