:root {
  --dark: #123524;
  --mid: #3e7b27;
  --light: #85a947;
  --cream: #efe3c2;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f6faf4, #e8f1e1);
  ;
  color: #333;
}

/* HERO */
.hero {
  max-height: 70vh;
  min-height: 70vh;
  padding-top: 120px; /* ruang navbar */
  padding-bottom: 80px;
  background: url('assets/sw.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18,53,36,0.95),
    rgba(18,53,36,0.5),
    rgba(18,53,36,0.1)
  );
}
.hero-content {
  position: relative;
  max-width: 650px;
  margin-left: 80px;
  color: white;
  animation: fadeUp 1.2s ease;
}
.hero-content h1 span {
  color: var(--light);
}
.hero-content p {
  margin-top: 20px;
  font-size: 1.1rem;
}

/* TIMELINE */
.timeline-section {
  padding: 100px 20px;
  background: #efe3c2;
}

.timeline-title {
  text-align: center;
  font-size: 2.2rem;
  color: #123524;
  margin-bottom: 70px;
  font-weight: 700;
}

/* GARIS TENGAH */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(#3e7b27, #85a947);
  transform: translateX(-50%);
}

/* ITEM */
.timeline-item {
  display: flex;
  width: 100%;
  margin-bottom: 60px;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.right {
  justify-content: flex-end;
}

/* CARD */
.timeline-content {
  background: #ffffff;
  width: 45%;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  position: relative;
  transition: transform 0.4s ease;
}

.timeline-content:hover {
  transform: translateY(-8px);
}

/* TITIK */
.timeline-content::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 18px;
  height: 18px;
  background: #3e7b27;
  border-radius: 50%;
}

.timeline-item.left .timeline-content::before {
  right: -40px;
}

.timeline-item.right .timeline-content::before {
  left: -40px;
}
.timeline-big-year {
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(62, 123, 39, 0.25);
  pointer-events: none;
}
/* TAHUN */
.timeline-year {
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(62, 123, 39, 0.25); /* hijau tapi soft */
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
  position: absolute;
  top: -22px;
  right: 24px;
  font-size: 3rem;
  opacity: 0.18;
}


/* MOBILE */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    justify-content: flex-start !important;
  }

  .timeline-content {
    width: 100%;
    margin-left: 40px;
  }

  .timeline-content::before {
    left: -30px;
  }
}


/* ================= VISI MISI ================= */
.visi-misi {
  padding: 100px 20px;
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  background: #f3f7f1; /* lebih calm & beda dari section lain */
}

/* CARD */
.visi,
.misi {
  flex: 1;
  background: #ffffff;
  padding: 40px 36px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* AKSEN GARIS */
.visi::before,
.misi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  border-radius: 22px 0 0 22px;
}

.visi::before {
  background: #85a947;
}

.misi::before {
  background: #3e7b27;
}

/* HOVER EFFECT */
.visi:hover,
.misi:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 55px rgba(0,0,0,0.18);
}

/* JUDUL */
.visi h2,
.misi h2 {
  color: #123524;
  margin-bottom: 16px;
  font-size: 1.6rem;
}

/* TEKS */
.visi p,
.misi li {
  color: #444;
  line-height: 1.7;
  font-size: 1rem;
}

/* LIST MISI */
.misi ul {
  padding-left: 18px;
}

.misi ul li {
  margin-bottom: 14px;
  position: relative;
}

/* BULLET CUSTOM */
.misi ul li::marker {
  color: #85a947;
  font-weight: bold;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .visi-misi {
    flex-direction: column;
    padding: 80px 18px;
  }

  .visi,
  .misi {
    padding: 32px 26px;
  }

  .visi:hover,
  .misi:hover {
    transform: none; /* aman di mobile */
  }
}

/* ================= TUGAS – INTERACTIVE ================= */
.tugas {
  padding: 90px 20px;
  background: #eef4ef; 
  text-align: center;
}

.tugas h2 {
  color: #123524;
  margin-bottom: 50px;
  font-size: 2rem;
}

/* GRID */
.tugas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: auto;
}

/* CARD */
.tugas-card {
  background: #ffffff;
  color: #123524;
  padding: 30px 26px;
  border-radius: 20px;
  border-left: 6px solid #3e7b27;
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  transition: all 0.35s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

/* HOVER */
.tugas-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 28px 55px rgba(0,0,0,0.22);
  border-left-color: #85a947;
}

/* AKSEN GLOW */
.tugas-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    circle at top left,
    rgba(133,169,71,0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.tugas-card:hover::after {
  opacity: 1;
}

/* MOBILE FIX: CARD KE-3 TENGAH */
@media (max-width: 768px) {
  .tugas-grid {
    grid-template-columns: 1fr;
  }

  .tugas-card {
    max-width: 420px;
    margin: auto;
  }
}
/* angka step */
/* STEP NUMBER – FIX VISIBILITY */
.tugas-card .step {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(18, 53, 36, 0.18); /* LEBIH KONTRAS */
  line-height: 1;
  pointer-events: none;
}


/* teks */
.tugas-card p {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  line-height: 1.7;
}

/* ================= VIDEO – PREMIUM LOOK ================= */
.video-section {
  padding: 100px 20px;
  background: linear-gradient(
    180deg,
    #e9f1ec,
    #dfeae4
  );
  text-align: center;
  color: #123524;
}

.video-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.video-wrapper {
  max-width: 850px;
  margin: auto;
}

.video-wrapper iframe {
  width: 100%;
  height: 460px;
  border-radius: 24px;
  box-shadow: 0 35px 70px rgba(0,0,0,0.45);
}

/* DESKRIPSI */
.video-desc {
  max-width: 620px;
  margin: 26px auto 0;
  line-height: 1.7;
  color: #3e7b27;
  opacity: 0.9;
}

/* MOBILE */
@media (max-width: 768px) {
  .video-wrapper iframe {
    height: 220px;
  }
}

/* =========================
   HERO MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {

  .hero {
    height: 90vh;
    align-items: flex-end;
  }

  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(18,53,36,0.95),
      rgba(18,53,36,0.75),
      rgba(18,53,36,0.35),
      rgba(18,53,36,0.05)
    );
  }

  .hero-content {
    margin: 0;
    padding: 0 20px ;
    max-width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .hero-content h1 span {
    display: block;
    font-size: 1.1rem;
    margin-top: 6px;
    color: #85a947;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-top: 14px;
    line-height: 1.6;
    color: #efe3c2;
  }
}
/* ================= NAVBAR ================= */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(18, 53, 36, 0.35); /* transparan tapi kebaca */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}

.navbar-custom.scrolled {
  background: rgba(18, 53, 36, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}


.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-weight: 700;
  color: #efe3c2;
  letter-spacing: 1px;
}

.btn-back {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(239,227,194,0.15);
  color: #efe3c2;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.btn-back:hover {
  background: #85a947;
  color: #123524;
}
@media (max-width: 768px) {
  .tugas {
    padding: 60px 16px;
  }

  .video-wrapper iframe {
    height: 220px;
  }
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background: rgba(133,169,71,0.25);
  color: #efe3c2;
  margin-bottom: 14px;
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

