@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@font-face {
  font-family: "Stampa";
  src: url("../../fonts/STAMPA-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LingkawiSouth";
  src: url("../../fonts/Lingkawi South.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  margin: auto;
  background-color: rgb(255, 255, 255);
}

.page {
  min-height: 80vh;
}

button {
  transition: 0.2s;
}
button:hover {
  filter: brightness(89%);
  transform: scale(1.01);
}
button:focus {
  filter: brightness(89%);
  transform: scale(0.95);
}

.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(242, 242, 242);
  opacity: 0;
  pointer-events: none;
  z-index: 9999; /* Ensure it's on top of other elements */
  transition: opacity 0.5s ease; /* You can adjust the transition duration */
}
.page-overlay.hide {
  background: none;
  pointer-events: none;
  opacity: 0;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Nice glassy look */
  background: rgba(18, 21, 44, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(182, 162, 101, 0.25) inset;
  /* Hidden by default */
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.back-to-top i {
  font-size: 18px;
  transform: translateY(-1px);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(182, 162, 101, 0.45) inset;
}

/* Focus styles for keyboard users */
.back-to-top:focus {
  outline: none;
}

.back-to-top:focus-visible {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 0 3px rgba(182, 162, 101, 0.55), 0 0 0 1px rgba(182, 162, 101, 0.45) inset;
}

/* Slightly smaller on mobile */
@media (max-width: 576px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
  .back-to-top i {
    font-size: 16px;
  }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}/*# sourceMappingURL=global.css.map */