.translateOSU{
  transform: translateY(-80px);
  transition: transform 1s;
}
.translateOSD{
  transform: translateY(0);
  transition: transform 1s;
}
.top-paragraph{
  color: var(--gold2)
}
nav .dropdown-items a{
  color: var(--gold2);
}
nav .dropdown-items a:hover{
  color: white;
}
nav .navigasi{
  display: flex;
  gap: 2rem;
  width: 100%;
  height: 100%;
  font-size: 1.2rem;
  align-items: center;
  justify-content: space-between;
}
nav .navigasi .logo{
  box-shadow: none;
  width: min-content;
}
nav a{
  color: inherit;
}
nav button{
  border: none;
  color: inherit;
  font-size: inherit;
  background-color: transparent;
  text-align: start;
}
.menu{
  display: flex;
  gap: 1.5rem;
}
.menu-btn {
  width: 2rem;
  stroke: var(--gold2);
}
.line {
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}
.menu-btn.active .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active .line2 {
  opacity: 0;
}

.menu-btn.active .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

.dropdown-btn span{
  margin-left: .5rem;
  display: inline-block;
  transform: rotate(90deg);
  transition: transform .8s;
}
nav button:hover, nav a:hover{
  color: var(--gray);
}
nav .dropdown{
  position: relative;
  display: inline-block;
  font-size: 1.2rem;
}
.dropdown-btn:hover span{
  transform: rotate(-90deg);
}
.dropdown .dropdown-items{
  display: grid;
  position: absolute;
  right: 0;
  z-index: 10;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  background-color: var(--navy-blue);
  grid-template-rows: repeat(5, min-content);
}
.dropdown-items a{
  display: none;
  padding:  .5rem 1rem 1rem 1rem;
}
.dropdown-items:hover a,
.dropdown-btn:hover + .dropdown-items a{
  display: block;
}
.dropdown-items.active a{
  display: block;
}
.dropdown.bottom{
  display: none;
}
.dropdown.bottom.show{
  display: block;
  width: 100%;
  background-color: inherit;
}
.dropdown.bottom.show .dropdown-btn{
  width: 100%;
  padding: .8rem 0 .8rem 1rem;
}
.dropdown.bottom.show .dropdown-items{
  display: none;
}
.dropdown.bottom.show .dropdown-items.active{
  display: block;
  position: static;
  overflow: scroll;
  height: 200px;
  padding:  0 2rem;
  box-shadow: none;
  margin: 0;
}
.dropdown.bottom.show .about{
  display: block;
  padding: 1rem 0 1rem 1rem;
}
/* 5 Top logos */
.logos{
  display: flex;
  margin-top: 5rem;
  margin-bottom: 1rem;
  justify-content: space-around;
  flex-wrap: wrap;
  background-color: white;
  padding: 1rem;
  border-radius: 20px;
}
.logos#one-logo{
  background-color: transparent;
}
.logos img{
  height: 100px;
  box-shadow: none;
}
/* Ribbon */
.ribbon-container {
  width: 100%;
  padding: 1rem;
}

/* The ribbon itself */
.ribbon {
  position: relative;
  z-index: 1;
  padding: 1rem 20px;
  border-radius: 10px 10px 0 0;
  margin: auto;
  color: white;
  font-weight: bold;
  background-image: linear-gradient(to bottom, var(--green), var(--dark-green), var(--green));
}

/* Ribbon triangle effect */
.ribbon::before,
.ribbon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: var(--darker-green) transparent transparent transparent;
}

/* Left triangle */
.ribbon::before {
  left: 0;
}

/* Right triangle */
.ribbon::after {
  right: 0;
}
.ribbon p{
  line-height: 1.4rem;
}
.ribbon p.small-question{
  font-size: 1rem;
  line-height: 1rem;
  color: black;
}
.ribbon p.engage{
  margin-top: .8rem;
  margin-bottom: 1rem;
}

/* Carousel */
.carousel-container {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.2);
}
  
.carousel {
  display: flex;
  height: inherit;
  transition: transform 0.5s ease-in-out;
}

.slide {
  display: flex;
  position: relative;
  min-width: 100%;
  height: inherit;
  box-sizing: border-box;
  justify-content: center;
}

.carousel img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: none;
}
  
.carousel h3{
  position: absolute;
  top: 0;
  margin-top: 0;
  font-size: 3rem;
  padding-inline: 4rem;
  padding-bottom: 1rem;
  border-radius: 0% 0% 80% 80%;
  color: var(--dark-rose-red);
  text-shadow: 0 0 10px var(--gold2);
  background-color: rgba(0,0,0, .6);
}

.carousel p{
  position: absolute;
  bottom: 8%;
  font-size: 2rem;
}
.prev, .next {
  position: absolute;
  top: 50%;
  padding: 20px;
  font-size: 18px;
  border-radius: 10%;
  border: none;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Button untuk daftar */
.daftar-btn{
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  letter-spacing: 2px;
  color: white;
  background-color: var(--green);
  font-weight: 600;
}
.daftar-btn svg{
  display: inline;
  width: 30px;
}
.daftar-btn:hover{
  background-color: var(--dark-green);
}
.flyer{
  width: 80%;
}

/* highlight text jadi pink */
.highlight{
  color: var(--dark-rose-red);
}
h1#s-title{
  font-family: var(--font4);
}

.floating-right-image{
  box-shadow: none;
  position: absolute;
  z-index: -1;
  right: 8%;
  display: block;
}
.fasilitas{
 display: flex;
 flex-direction: column;
 align-items: center;
}
/* spasi vertikal lebih besar */
ul.special{
  line-height: 2rem;
}
ul.special li{
  margin-bottom: 1rem;
}
.article-body{
  display: inline-block;
  margin-bottom: 2rem;
  line-height: 2rem;
  text-align: justify;
  text-align-last: left;
  font-size: 1.2rem;
}
.materi-section{
  background-color: rgb(255, 231, 171);
  background-image: url(../icons/blob.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

/* Persentase */
.percentage{
  margin: auto;
  overflow: hidden;
  width: 60%;
  height: 2rem;
  border-radius: 20px;
  border: 2px solid #454545 ;  
  background-color: rgba(255, 255, 255, .8);
}
.percentage-fill{
  border-radius: inherit;
  width: 0;
  height: 100%;
  background-color: hsl(100deg, 100%, 50%);
  transition: all 1.8s;
}
.percentage.animate .percentage-fill{
  width: var(--percentage);
  background-color: var(--bg-percentage);
}

/* grid "side" 2 kolom */
.side{
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
.side h3{
  margin-top: 0;
}
.side h3:nth-of-type(2){
  margin: 2rem 0 0 0;
}
/* .side p:nth-of-type(2){
  margin-top: 12px;
} */
.side .materi{
  margin-bottom: 1rem;
}
.side img{
  width: 100%;
  aspect-ratio: 4/3;
}
.side.dual{
  gap:0;
}
.side.target{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
}
.side .target-block{
  width: 45%;
  padding: 1rem;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(186, 186, 186, 0.8)
}
.side p.target{
  font-size: 1.5rem;
  padding: 1rem;
  border-radius: 20px;
  background-color: var(--cream);
  margin-bottom: 1rem;
}

/* bagian profit (sertifikat) */
.profit .profit-logo{
  height: 100%;
  width: 10rem;
  box-shadow: none;
}
.profit-wrapper{
  opacity: 0;
  transform: translateY(-50px);
  transition: transform 1.5s, opacity 2s;
  transition-delay: var(--delay);
}
.profit.animate .profit-wrapper{
  position: relative;
  opacity: 1;
  width: 100%; 
  padding: 3px;
  margin-block: 1rem;
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(0);
  background-color: rgba(0, 0, 0, 0.2);
}
.profit.animate .profit-content{
  height: fit-content;
  padding: 1rem;
  background-color: var(--navy-blue);
  border-radius: 20px;
}
.profit.animate .profit-wrapper::before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -10;
  background-image: linear-gradient(to bottom, blue, red, purple);
  animation: rolling 5s infinite linear;
}
.profit-content p{
  color: rgb(255, 215, 0);
  background: linear-gradient(90deg, #fff, #f39c12, #fff);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine 8s infinite linear;
}

/* Slogan Pelatihan seru */
.slogan{
  display: grid;
  align-self: stretch;
  grid-template-columns: 1fr;
  background-color: var(--dark-rose-red);
  padding: 2rem 1rem;
  text-align: center;
  justify-items: center;
  border-radius: 20px;
  margin-top: 3rem;
  margin-bottom: 1rem;
  transform: scale(.75);
  transition: transform 1s;
  transition-delay: var(--delay);
}
.slogan.top{
  background-color: var(--navy-blue);
  margin-bottom: 3rem;
}
.slogan.animate{
  transform: scale(1);
}
.slogan p{
  display: inline;
  font-size: 1.6rem;
  color: var(--gold2);
}
.slogan span{
  font-size: 1.8rem;
  padding: 0 1rem;
}
.slogan span:first-of-type{
  color: var(--light-green);
  font-weight: bold;
}
.slogan span:last-of-type{
  color: var(--white);
  font-weight: bold;
  align-self: self-end;
}
/* animasi kedap kedip */
.blink{
  animation: blink 2s infinite alternate-reverse;
}
.heading-line{
  margin-bottom: 0;
  margin-top: 1rem;
}
.subheading-line{
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
@keyframes rolling {
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
  }
}
@keyframes blink {
  100%{
    filter: hue-rotate(180deg);
  }
}
@keyframes shine {
  0% {
      background-position: -200%;
  }
  100% {
      background-position: 200%;
  }
}
@keyframes wave-animation {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20%);
    scale: 1.2;
  }
}