/* Reset dan gaya umum */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f8fffc;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background-color: #00b894;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  color: white;
  font-size: 1.5em;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #dfe6e9;
}

/* Hero section */
.hero {
  background: linear-gradient(to right, #81ecec, #74b9ff);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-content h1 {
  font-size: 2.5em;
}

.hero-content p {
  margin: 20px 0;
  font-size: 1.1em;
}

/* Tombol Pelajari Lebih Lanjut */
.btn-learn {
  background-color: #00b894;
  padding: 12px 25px;
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-learn:hover {
  background-color: #019870;
  transform: scale(1.05);
}

/* Section konten */
.content-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.content-section h2 {
  margin-bottom: 20px;
  color: #00b894;
}

.image-hover {
  max-width: 80%;
  border-radius: 15px;
  margin-top: 25px;
  transition: transform 0.4s ease;
}

.image-hover:hover {
  transform: scale(1.05);
}

/* Video */
.video-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

iframe {
  width: 80%;
  height: 400px;
  border-radius: 10px;
  border: none;
}

/* Pencegahan */
.prevent-list {
  list-style: none;
  padding: 0;
}

.prevent-list li {
  background: #e8f9f3;
  margin: 10px auto;
  padding: 15px;
  border-radius: 10px;
  width: 80%;
  transition: background 0.3s, transform 0.3s;
}

.prevent-list li:hover {
  background: #c8f7dc;
  transform: translateY(-5px);
}

/* Kontak Section */
#kontak {
  background-color: #f4f4f4;
  text-align: center;
  padding: 60px 20px;
}

#kontak h2 {
  color: #00b894;
  margin-bottom: 30px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.team-member {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.team-member h3 {
  margin: 10px 0;
  color: #333;
}

.social-links img {
  width: 25px;
  margin: 5px;
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: scale(1.2);
}

/* Footer */
footer p {
  color: #555;
  font-size: 0.9em;
  margin-top: 20px;
}

/* Responsif */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
  }

  iframe {
    width: 100%;
    height: 250px;
  }

  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    width: 80%;
  }
}
    