* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Poppins", sans-serif; }

/* Navigasi */
nav {
  background: #0F0E0E;
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky; top: 0; z-index: 100;
}
nav ul {
  list-style: none;
  display: flex; align-items: center;
}
nav ul li {
  margin-left: 30px;
}
nav ul li a {
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: 0.3s;
}
nav ul li a:hover {
  background: #00bcd4;
  color: #fff;
}

/* isi kontak */
.contact {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
    min-height: 100vh;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

/* judul dan subtitle */
.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #00bcd4;
}
.contact-subtitle {
  margin-bottom: 40px;
  color: #ddd;
  font-size: 1rem;
}

/* Formulir Kontak */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form 
.form-group input,
.contact-form 
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
}
.contact-form 
.form-group input:focus,
.contact-form 
.form-group textarea:focus {
  box-shadow: 0 4px 15px rgba(0,188,212,0.7);
}

/* tombol */
.btn-submit {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: #00bcd4;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
.btn-submit:hover {
  background: #0097a7;
}

/* media sosial */
.social-links {
  margin-top: 40px;
}
.social-links a {
  margin: 0 10px;
  color: #ddd;
  font-size: 1.5rem;
  transition: 0.3s;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
.social-links a:hover {
  color: #00bcd4;
}

/* animasi */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
