/* ===============================
   FOOTER
   =============================== */
.site-footer {
  position: relative;
  padding: 20px 40px;
  background: linear-gradient(135deg, #1ea77f, #7fdcb5);
  color: #ffffff;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.site-footer p {
  font-size: 14px;
  opacity: 0.9;
}

/* Tombol kembali ke beranda */
.back-home {
  position: fixed;
  right: 25px;
  bottom: 25px;

  height: 60px; /* diperbesar */
  width: 60px;  /* ikon lebih besar di mobile */
  background: #1ea77f;
  color: #ffffff;

  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  overflow: hidden;
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: width 0.35s ease, height 0.35s ease, background 0.3s ease;
  z-index: 999;
}

/* Icon panah (selalu tampil) */
.back-home .icon {
  font-size: 24px; /* diperbesar */
  width: 60px; /* mengikuti tinggi tombol */
  min-width: 60px;
  text-align: center;
}

/* Teks */
.back-home .text {
  white-space: nowrap;
  font-size: 15px; /* diperbesar */
  font-weight: 600;

  padding-right: 24px; /* jarak teks dengan ujung background */
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Efek hover → mengembang */
.back-home:hover {
  width: 240px; /* lebih lebar saat hover */
  background: linear-gradient(135deg, #1ea77f, #7fdcb5);
}

/* Teks muncul saat hover */
.back-home:hover .text {
  opacity: 1;
}

/* =========================
   RESPONSIVE MOBILE
   ========================= */
@media (max-width: 768px) {
  .back-home {
    height: 70px; /* lebih besar di mobile */
    width: 70px;
    border-radius: 35px;
  }

  .back-home .icon {
    font-size: 28px;
    width: 70px;
    min-width: 70px;
  }

  .back-home .text {
    font-size: 16px;
  }

  .back-home:hover {
    width: 260px; /* lebar saat hover mobile */
  }
}
