:root {
  --main-color: #00913e;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
  color: #333;
}

/* ============================ */
/* HERO SECTION (split layout) */
/* ============================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--main-color) 50%, #f9f9f9 50%);
  min-height: 100vh;
  color: #fff;
}

.hero-content {
  max-width: 560px;
  padding: 3rem;
}

.hero-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.hero h1 {
  font-weight: 800;
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.075rem;
  margin-bottom: 1.25rem;
  color: #f0f3f1;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--main-color) !important;
}

/* Hero image di kanan layar */
.hero-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991.98px) {
  .hero-img {
    height: 60vh;
  }
}

@media (max-width: 767.98px) {
  .hero-img {
    height: 40vh;
  }
}


/* ============================ */
/* FITUR / LAYANAN SECTION     */
/* ============================ */
.features {
  padding: 72px 0;
  background: #fff;
}

.features h2 {
  color: var(--main-color);
  font-weight: 800;
  text-align: center;
  margin-bottom: 42px;
}

.feature-box {
  text-align: center;
  padding: 28px;
  border-radius: 16px;
  transition: 0.25s;
  background: #fff;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
}

.feature-box i {
  font-size: 40px;
  color: var(--main-color);
  margin-bottom: 14px;
}

.feature-box h5 {
  font-weight: 700;
  margin-bottom: 8px;
}

/* ============================ */
/* FOOTER SECTION              */
/* ============================ */
footer {
  background: var(--main-color);
  color: #fff;
  text-align: center;
  padding: 22px 0;
  margin-top: 30px;
}

/* ============================ */
/* TUTORIAL HERO (halaman 2)   */
/* ============================ */
.hero-tutorial {
  background: url('../assets/tutorial-bg.jpg') center/cover no-repeat;
  height: 45vh;
  position: relative;
}

.hero-tutorial .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 145, 62, 0.75);
}

.hero-tutorial .content {
  z-index: 2;
  padding: 0 1rem;
}

/* ============================ */
/* RESPONSIVE SETTINGS         */
/* ============================ */

/* Tablet Landscape */
@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
  }
  .hero-img {
    height: 60vh;
  }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
  /* Layout jadi vertikal */
  .hero {
    flex-direction: column;
    background: var(--main-color);
    min-height: auto;
  }

  .hero-content {
    order: 1;
    padding: 2.5rem 1.25rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
    color: #fff;
  }

  .hero p {
    font-size: 1rem;
    color: #f8f9fa;
  }

  /* Tombol */
  .btn {
    width: 100%;
    border-radius: 8px;
  }

  .btn-light {
    color: var(--main-color) !important;
  }

  .btn-outline-light {
    border: 2px solid #fff;
    color: #fff !important;
  }

  .btn-outline-light:hover {
    background-color: #fff !important;
    color: var(--main-color) !important;
  }

  /* Gambar hero di bawah */
  .hero-img {
    order: 2;
    width: 100%;
    height: 40vh;
    object-fit: cover;
    object-position: center;
  }

  .features {
    padding: 56px 0;
  }
}

/* Extra small phones */
@media (max-width: 575.98px) {
  .hero-logo {
    width: 96px;
  }
  .btn, .btn-lg {
    width: 100%;
  }
  .feature-box {
    padding: 22px;
  }
}
