@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: #f7f7f7;
  color: #222;
}
/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background-color: #1f6000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 60px;
  height: 60px;
}
.logo .text h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.logo .text p {
  font-size: 13px;
  color: #d0ffd0;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
nav ul li a:hover,
nav ul li a.active {
  color: #f3ffaf;
}
/* ===== LOGIN BUTTON ===== */
.login-btn {
  background-color: #f3ffaf;
  color: #1f6000;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.login-btn i {
  font-size: 18px;
}

.login-btn:hover {
  background-color: #d9f2d5;
  color: #0e3d00;
}

/* ===== HERO PROFIL ===== */
.hero-profil {
  position: relative;
  width: 100%;
  height: 80vh;
  margin-top: 80px;
  overflow: hidden;
}
.hero-profil .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-profil .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}
.hero-profil .overlay h1 {
  font-size: 42px;
  margin-bottom: 10px;
}
/* ===== SEJARAH ===== */
.sejarah {
  background: #fff;
  padding: 80px 60px;
  text-align: center;
}
.sejarah h2 {
  color: #1f6000;
  font-size: 30px;
  margin-bottom: 20px;
}
.sejarah p {
  max-width: 800px;
  margin: auto;
  color: #444;
  line-height: 1.8;
  text-align: justify;
}
/* ===== VISI & MISI ===== */
.visi-misi {
  background: #f5fff3;
  padding: 80px 60px;
}
.visi-misi .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: center;
}
.foto-kades img {
  width: 250px;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.foto-kades h4 {
  text-align: center;
  margin-top: 10px;
  color: #1f6000;
}
.teks-visi {
  max-width: 600px;
}
.teks-visi h2 {
  color: #1f6000;
  margin-top: 20px;
  margin-bottom: 10px;
}
.teks-visi ul {
  padding-left: 20px;
}
.teks-visi li {
  margin-bottom: 8px;
}
/* ===== STRUKTUR ORGANISASI ===== */
.struktur {
  background-color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}
.struktur h2 {
  color: #1f6000;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: bold;
}
/* Container untuk center gambar */
.struktur-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}
/* Gambar struktur organisasi */
.struktur-img {
  display: block;
  width: 80%;
  max-width: 900px;
  height: auto;
  border: 2px solid #1f6000;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: contain;
  transition: transform 0.3s ease;
}
.struktur-img:hover {
  transform: scale(1.02);
}
/* Responsif untuk tablet */
@media (max-width: 992px) {
  .struktur-img {
    max-width: 700px;
  }
}
/* Responsif untuk mobile */
@media (max-width: 768px) {
  .struktur {
    padding: 40px 15px;
  }
  
  .struktur h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .struktur-container {
    padding: 0 10px;
  }
  
  .struktur-img {
    max-width: 100%;
    border-radius: 8px;
  }
}
/* ===== FOOTER ===== */
.footer {
  background: #1f6000;
  color: white;
  padding: 40px 60px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.logo-footer {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo-footer img {
  width: 60px;
  height: 60px;
}
.contact h3 {
  margin-bottom: 8px;
}
.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 30px;
    flex-wrap: wrap;
  }

  nav ul {
    gap: 15px;
    font-size: 13px;
  }
}
