/* ====== Reset & Struktur dasar ====== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ====== Tombol utama ====== */
.service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
}

.service-btn:hover {
  transform: scale(1.03);
}

/* Lingkaran ikon */
.icon-circle {
  background-color: white;
  border-radius: 9999px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.icon-circle:hover {
  transform: scale(1.08);
}

/* Teks di bawah ikon */
.btn-text {
  margin-top: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ====== Footer ====== */
footer {
  text-align: center;
  background-color: #ffffff;
  color: rgb(7, 12, 109);
  width: 100%;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 600;
  position: fixed;
  bottom: 0;
  left: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* ====== Efek bayangan teks ====== */
.text-shadow-sm {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.text-shadow-md {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-shadow-lg {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

/* ====== Header ====== */
.header-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.header-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
}

/* ====== Wrapper utama tombol ====== */
#mainWrapper {
  width: 100%;
  height: 100%;
  transform: translateY(-200px) !important; /* Naik sedikit ke tengah layar */
  transition: transform 0.3s ease;
}

/* ====== Gaya tambahan untuk layar tinggi / besar ====== */
@media (min-height: 1080px) {
  .header-title {
    font-size: 2rem;
  }

  .header-subtitle {
    font-size: 1.5rem;
  }

  footer {
    font-size: 1.5rem;
    padding: 16px 0;
  }

  .btn-text {
    font-size: 1.8rem;
  }

  .icon-circle img {
    width: 15rem;
    height: 15rem;
  }

  #mainWrapper {
    transform: translateY(-100px); /* Naikkan lagi di layar besar */
  }
}

/* ====== Gaya tambahan opsional untuk monitor kecil ====== */
@media (max-height: 800px) {
  .btn-text {
    font-size: 1rem;
  }

  .icon-circle img {
    width: 8rem;
    height: 8rem;
  }

  #mainWrapper {
    transform: translateY(-40px);
  }
}
