/* ===================== CONTAINER 2 ===================== */

@font-face {
  font-family: "forresten";
  src: url(../font/Forresten.otf);
}


.container-3 {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  background: #fff;
  gap: 3vw;
  margin-top: 5vw;
  padding: 2vw;
}

/*============ Navbar ======*/

.navbar3 {
  width: 100%;
  height: 5vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 3%;
  padding-top: 0;
  z-index: 3;
}

.logo {
  width: 4vw;
  height: 4vw;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

}

.logo-nav {
  width: 90%;
  height: 90%;
}
.nav4 {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5vw;
  z-index: 2;
  margin-right: 5vw;
}

.nav4 a {
  position: relative; /* penting agar z-index berfungsi */
  text-decoration: none;
  color: #000;
  font-size: 1.2vw;
  font-weight: bold;
  transition: color 0.3s ease;
  padding: 0.4vw 0.9vw; /* memberi ruang agar highlight tidak menempel */
  z-index: 2;
}

a[aria-current="page"] {
  color: #fff;            /* warna putih agar kontras dengan rectangle hitam */
  font-weight: bold;
  z-index: 3;             /* pastikan di atas rectangle */
}

.nav4:hover a[aria-current="page"] {
  color: #000;
}

.nav4 a[aria-current="page"]:hover {
  color: #fff;
}

.nav4 a:hover {
  color: #fff;
  z-index: 2;
}

.nav-highlight3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 6vw; /* bisa disesuaikan supaya pas dengan teks */
  height: 2.4vw;
  background-color: #000;
  border-radius: 50vw; /* ini yang bikin oval, ujung lembut */
  z-index: 1;
  transition: transform 0.4s ease, width 0.3s ease, background-color 0.3s ease;

}

.button-ganti {
  background-color: #000;
  border-radius: 50vw;
  width: 3vw;
  height: 3vw;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
}

.logo-bahasa {
  width: 2vw;
  height: 2vh;
}

.text-bahasa {
  color: #fff;
  font-size: 0.8vw;
}

/* =============================== Main content =============================*/

.content3 {
  position: relative;
  display: flex;
  width: 90%;
  height: auto;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.content-kiri {
    width: 30%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    margin-top: 8%;
    z-index: 2;
}
.vector-left{
  transform: translate(0vw, 0vw);
}

.container-tengah{
    position: relative;
    display: flex;
    width: 97%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.bg-content3{
    position: relative;
    width: 65vw;
    z-index: 1;
}

.silat{
    position: absolute;
    width: 31.5vw;
    z-index: 2;
    transform: translate(-23.4vw, -4vw);
    opacity: 100%;
}

.gradasi {
    position: absolute;
    width: 65vw;
    height: 10vw;
    background: linear-gradient(360deg, #000000ff 10%, #00000010); /* arah & warna gradasi */
    z-index: 3;
    border-radius: 0 0 0 3vw;
    transform: translate(0, 11vw);
}

.isi-program{
    position: absolute;
    width: 60vw;
    height: 20vw;
    color: #000;
    z-index: 4;
    transform: translate(5vw, 17vw);
}

.isi-program p {
  font-size: 1vw;
  color: white;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.isi-program.fade {
  opacity: 0;
}


.container-kanan{
  position: absolute;
  width: 70%;
  height: auto;
  display: flex;
  flex-direction: column;
  z-index: 5;
  transform: translate(27vw, -10vw);
  gap: 0vw;
  justify-content: center;
  align-items: center;

}

.shape-box {
  position: relative;
  width: 38vw;
  height: 10vw;
  background-image: url("../img/svg/box.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-direction: column;
  font-family: "forresten";
  font-size: 1.3vw;
  padding-left: 1vw;
  padding-top: 1vw;
  overflow: hidden;
  cursor: pointer;
  
}

.shape-box2 {
  position: relative;
  width: 38vw;
  height: 10vw;
  background-image: url("../img/svg/box2.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "forresten";
  font-size: 1.3vw;
  padding-left: 1vw;
  padding-top: 1vw;
  overflow: hidden;
  cursor: pointer;
}



.button-up3 {
  width: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(0vw, 0vw);
  z-index: 3;
}

.button-up3 .union-button {
  display: flex;
  flex-direction: column;
}

.button-up3 .union-button h2 {
  font-size: 0.8vw;
}

.button-up3 .union-button {
  font-size: 1vw;
  color: #000;
}

.button-up3:hover {
  transform: scale(1.1);
}
.button-up3:hover i,
.button-up3:hover h2 {
  color: red;
  transition: color 0.3s ease;
}

/* ===================== ANIMASI SLIDE 3 ===================== */
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(120px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Navbar line ungu */
.animate-navbar3-slideRight.show {
  animation: slideInRight 0.8s ease forwards;
}

/* Container kiri (line merah) */
.animate-container-kiri-up.show {
  animation: fadeUp 0.8s ease 0.2s forwards;
}

/* Container tengah (line hijau) */
.animate-container-tengah-up.show {
  animation: fadeUp 0.8s ease 0.3s forwards;
}

/* Shape-box pertama (line oranye 1) */
.animate-shape1-right.show {
  animation: slideInRight 0.8s ease 0.5s forwards;
}

/* Shape-box kedua (line oranye 2) */
.animate-shape2-right.show {
  animation: slideInRight 0.8s ease 0.8s forwards;
}

/* Tombol (line oranye terakhir, naik ke atas) */
.animate-button-up3.show {
  animation: fadeUp 0.8s ease 1s forwards;
}

/* ===========================
   MOBILE BREAKPOINT ≤ 800px
   =========================== */
@media (max-width: 650px) {

  /* ===== 1. Matikan SNAP SCROLL ===== */
  .container-utama {
    scroll-snap-type: none !important;
  }
    section {
    scroll-snap-align: none !important;
  }


.navbar3, .dekorasi{
  display: none;
}

}