/* ========== RESET DASAR ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #1e5909, #2e971e);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ========== LINK & LIST ========== */
a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* ========== NAVBAR ========== */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(23, 62, 2, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #c6ff6b;
  letter-spacing: 1px;
}

/* === KOTAK LOGIN/DAFTAR/LUPA === */
.login-main {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e5909, #2e971e);
}

.login-box {
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  border-radius: 25px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-box h2 {
  color: #f2f8c2;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.login-box input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: none;
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #c6ff6b, #74c69d);
  color: #2c2c2c;
  font-weight: 700;
  padding: 12px 15px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(198, 255, 107, 0.4);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #74c69d, #c6ff6b);
  transform: translateY(-3px);
}

.login-links {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
}

.login-links a {
  color: #eaffd1;
}

.login-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===== Menu kanan ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 17px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #c6ff6b;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
}

/* ========== KONTEN UTAMA (HALAMAN HOME) ========== */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px; /* agar tidak ketutup navbar */
}

.content-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

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

.text-section h1 {
  font-size: 60px;
  font-weight: bold;
  line-height: 1.1;
  text-align: left;
}

.text-section span {
  color: #c6ff6b;
}

/* ===== Tombol CTA ===== */
.cta-button {
  margin-top: 40px;
  background: linear-gradient(135deg, #74c69d, #c6ff6b);
  color: #2c2c2c;
  border: none;
  padding: 15px 45px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(198, 255, 107, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, #c6ff6b, #74c69d);
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(198, 255, 107, 0.4);
}

/* ===== Gambar (HOME / TENTANG KAMI) ===== */
.image-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-section img {
  width: 420px;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.image-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ========== HALAMAN PROGRAM ========== */
.program-section {
  background: linear-gradient(180deg, #2e6b26, #22561b);
  color: white;
  text-align: center;
  padding: 60px 20px 100px;
  border-radius: 20px;
  margin: 50px auto;
  max-width: 1300px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.program-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.program-header h1 {
  font-size: 38px;
  font-weight: 800;
  color: #a9f29c;
  margin-bottom: 50px;
}

/* KONTENER KOTAK PROGRAM */
.program-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

/* SETIAP BAGAN PROGRAM */
.program-item {
  background: #b5f6a6;
  color: #1b3911;
  width: 220px;
  min-height: 300px;
  border-radius: 35px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* EFEK MELENGKUNG DAN INTERAKSI */
.program-item:hover {
  transform: translateY(-10px);
  background: #c4fab7;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* TOMBOL NAMA PROGRAM */
.program-btn {
  background-color: #2d6a1d;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.program-btn:hover {
  background-color: #3b8b29;
  transform: scale(1.05);
}

/* DESKRIPSI PROGRAM */
.program-desc {
  margin-top: 15px;
  font-size: 14px;
  color: #1b3911;
  text-align: justify;
  line-height: 1.6;
}

/* ========== RESPONSIF (HP & TABLET) ========== */
@media (max-width: 992px) {
  .text-section h1 {
    font-size: 45px;
  }

  .image-section img {
    width: 320px;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-links {
    position: absolute;
    top: 70px;
    right: -100%;
    background: rgba(23, 62, 2, 0.98);
    flex-direction: column;
    width: 200px;
    text-align: center;
    transition: right 0.3s ease;
    padding: 20px 0;
    border-radius: 0 0 10px 10px;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  /* Konten Home */
  .content-center {
    flex-direction: column-reverse;
    text-align: center;
  }

  .text-section h1 {
    text-align: center;
  }

  /* Program */
  .program-container {
    flex-direction: column;
    align-items: center;
  }

  .program-item {
    width: 85%;
    min-height: auto;
  }

  .program-btn {
    font-size: 16px;
  }

  .program-header h1 {
    font-size: 30px;
  }
  body {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

body.loaded {
  opacity: 1;
}
/* ===== KONTAK PAGE RAMAI ===== */
.kontak-section {
  padding: 80px 10%;
  background: linear-gradient(135deg, #2e6b1a, #1cab42);
  color: white;
  text-align: center;
}

.kontak-header h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.kontak-header p {
  color: #e6ffe7;  font-size: 1.1rem;
}

.gradien-text {
  background: linear-gradient(to right, #d4ffb2, #faffd8, #9effd0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ===== RESET test  ===== */
* {  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ===== BODY ===== */
body {
  background: linear-gradient(to bottom, #3d9e51, #1e5f2b);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 30px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 45px;
}

.logo-text {
  font-weight: 600;
  font-size: 18px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a.active {
  text-decoration: underline;
}

/* ===== KONTAK SECTION ===== */
.kontak-section {
  padding: 50px 20px;
  text-align: center;
}

.kontak-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.kontak-header p {
  font-size: 1rem;
  color: #f1f1f1;
}

/* ===== KONTAINER ===== */
.kontak-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
  width: 100%;
}

/* ===== INFO KONTAK ===== */
.kontak-info {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 15px;
  width: 340px;
  text-align: left;
  backdrop-filter: blur(8px);
}

.kontak-info h2 {
  margin-bottom: 20px;
  text-align: center;
}

.kontak-info p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ===== FORM ===== */
.kontak-form {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 15px;
  width: 420px;
  text-align: left;
  backdrop-filter: blur(8px);
}

.kontak-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* ===== INPUT BOX (melengkung & stabil) ===== */
.input-box {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 15px;
  padding: 15px 20px;
  margin-bottom: 20px;
  transition: 0.3s;
}

.input-box:hover {
  background: rgba(255, 255, 255, 0.35);
}

.input-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.input-box input,
.input-box textarea {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 10px;
  outline: none;
  font-size: 1rem;
  resize: none;
  color: #333;
}

.input-box input::placeholder,
.input-box textarea::placeholder {
  color: #777;
}

/* ===== TOMBOL ===== */
.btn-kirim {
  background: #ffffff;
  color: #2d7035;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}

.btn-kirim:hover {
  background: #c8ffd6;
}

/* ===== RESPONSIVE FIX ===== */
@media (max-width: 900px) {
  .kontak-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .kontak-info,
  .kontak-form {
    width: 95%;
    max-width: 500px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .kontak-header h1 {
    font-size: 1.8rem;
  }

  .kontak-form,
  .kontak-info {
    padding: 20px;
  }

  .input-box {
    padding: 12px 15px;
  }
}
/* ===== STYLE UMUM ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #3a873c, #67b567);
  margin: 0;
  padding: 0;
  color: white;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 45px;
  height: 45px;
}

.logo-text {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffeb3b;
}

/* ===== KONTAK SECTION ===== */
.kontak-section {
  text-align: center;
  padding: 50px 10%;
}

.kontak-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.kontak-header p {
  font-size: 1rem;
  margin-bottom: 40px;
}

/* ===== CONTAINER ===== */
.kontak-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.kontak-info,
.kontak-form {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 25px;
  flex: 1;
  min-width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ===== FORM ===== */
.input-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 20px;
}

.input-box label {
  font-weight: 600;
  margin-bottom: 5px;
}

.input-box input,
.input-box textarea {
  border: none;
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 1rem;
  outline: none;
  resize: none;
}

.btn-kirim {
  background-color: #ffeb3b;
  color: #333;
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-kirim:hover {
  background-color: #fff176;
}

/* ===== RESPONSIVE UNTUK HP ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .kontak-container {
    flex-direction: column;
    align-items: center;
  }

  .kontak-info, .kontak-form {
    width: 100%;
    max-width: 450px;
  }

  .kontak-header h2 {
    font-size: 1.6rem;
  }

  .kontak-header p {
    font-size: 0.9rem;
  }
}
/* ===== STYLE UMUM ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* ===== NAVBAR ===== */
header {
  background-color: #2e7d32;
  color: white;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 45px;
  height: 45px;
  margin-right: 10px;
}

.logo-text {
  font-weight: bold;
  font-size: 18px;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 15px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
  text-decoration: underline;
}

/* ========== NAVBAR ========== */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(23, 62, 2, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #c6ff6b;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 17px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #c6ff6b;
}
}