:root {
  --accent: #262c44;
  --accent-2: #818cf8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  font-family: system-ui, sans-serif;
  overflow-x: hidden; /* biar tidak geser samping */
  overflow-y: auto; /* aktifkan scroll vertikal */
}

.money {
  position: relative;
  width: 100%;
  height: 100vh; /* tetap full layar untuk slider */
  overflow: hidden; /* hanya slider yg hidden agar gambar tidak bocor */
}

/* --- sisanya tetap sama --- */
.money-slides {
  display: flex;
  height: 100%;
  transition: all 0.8s ease-in-out 0.4s;
}
.money-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.money-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.money-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* agar tepat di tengah */
  padding: 16px 22px;
  border-radius: 12px;
  /* backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.5); */
  color: white;
  font-size: 1.2rem;
  text-align: center;
  max-width: 80%;
  font-family: sans-serif;
}

/* .money-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 14px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,.4);
  color: white;
  font-size: 1rem;
} */

.money-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  pointer-events: none;
}
.money-btn {
  pointer-events: auto;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.money-btn svg {
  width: 22px;
  height: 22px;
}
/* 
.money-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.money-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.money-dot.active {
  background: var(--accent);
  transform: scale(1.3);
} */

.money-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
}
.money-progress .money-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width var(--dur) linear;
}

/* Default: tampilkan logo merah */
#logo .logo {
  height: 50px;
  transition: opacity 0.3s ease-in-out;
}

#logo .logo-white {
  display: none;
}

.header-scrolled #logo .logo-red {
  display: none;
}

.header-scrolled #logo .logo-white {
  display: inline-block;
}

/* Warna default (sebelum scroll) */
#navbar ul li a {
  color: rgb(160, 50, 50);
  transition: color 0.3s ease-in-out;
}

/* Warna setelah discroll */
.header-scrolled #navbar ul li a {
  color: white;
}

/* Default */
#navbar .mobile-nav-toggle {
  color: #8f2424;
}

/* Setelah discroll */
.header-scrolled #navbar .mobile-nav-toggle {
  color: white;
}

/*@media (max-width: 991px) {*/
/*  #Money .money, */
/*  .content1.money-progress, */
/*  .money-bar, .money-slides, .money-nav, .money-btn {*/
/*    padding: auto;*/
/*  }*/
/*}*/

/*@media (max-width: 767px) {*/
/*   #Money .money, */
/*  .content1.money-progress, */
/*  .money-bar, .money-slides, .money-nav, .money-btn {*/
/*    padding: auto;*/
/*  }*/
/*}*/

/*@media (max-width: 480px) {*/
/*   #Money .money, */
/*  .content1.money-progress, */
/*  .money-bar, .money-slides, .money-nav, .money-btn {*/
/*    padding: auto;*/
/*  }}*/
