.poppins{
  font-family: 'Poppins', sans-serif;
}

.sans{
font-family: 'Noto Sans', sans-serif;
}

.kuning{
color: #5ebbf1 !important;
}

.bg-kuning{
background-color: #5ebbf1 !important;
color: white !important;
}

.bg-kuning:hover{
font-weight: bold !important;
}

.bg-outline-kuning{
border: 1px solid #5ebbf1 !important;
color: #5ebbf1 !important;
background-color: transparent !important;
}

.bg-outline-kuning:hover{
 background-color: #5ebbf1 !important;
  color: white !important;
}

.garis-bawah{
  border-bottom: 3px solid #5ebbf1;
}

.garis-kiri{
  border-left: 5px solid #5ebbf1;
}

.link:hover{
background-color: #5ebbf1;
color: white !important;
}

@keyframes blink {
0%, 100% {
    opacity: 1;
}

50% {
    opacity: .50;
}
}

.blink {
animation: blink 2s infinite;
}



::-webkit-scrollbar {
width: 20px;
margin: 0px;
}

::-webkit-scrollbar-track {
background-color: transparent;
padding: 0px;
width: auto;
}


::-webkit-scrollbar-thumb {
background-color: #d6dee1;
border-radius: 20px;
border: 6px solid transparent;
background-clip: content-box;
margin: 0px;
}

::-webkit-scrollbar-thumb:hover {
background-color: #5ebbf1;
}




/* Untuk HP */
@media screen and (max-width: 600px) 
{

  .padding{
    padding-left: 3%;
    padding-right: 3%;
  }
  
  .paddingg{
    padding-left: 3%;
    padding-right: 3%;
  }

  .main{
    background-image: url('../img/main-bg-hp.svg');
    height: 620px;
    background-size: 100%;
    padding-top: 10%;
    margin-top: 10%;
    background-size: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
  }

}


footer{
background-color: #f2f2f2;
}



/* Untuk Dekstop */
@media screen and (min-width: 600px) 
{

  .padding{
    padding-left: 5%;
    padding-right: 5%;
  }
  
  .paddingg{
    padding-left: 7%;
    padding-right: 7%;
  }

  .main{
    background-image: url('../img/main-bg.svg');
    height: 700px;
    padding-top: 10%;
    background-size: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
  }
  
}



.rekomendasi {
  position: relative;
  overflow: hidden;
  background-color: #5ebbf1 !important;
  color: white !important;
}

/* Bubble umum */
.rekomendasi::before,
.rekomendasi::after {
  content: "";
  position: absolute;
  bottom: -100px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: bubble 8s linear infinite;
}

.rekomendasi::after {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-duration: 6s;
  animation-delay: 2s;
}

/* Buat beberapa bubble random */
.rekomendasi span {
  position: absolute;
  bottom: -150px;
  display: block;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: bubble 10s linear infinite;
}
.rekomendasi span:nth-child(1) {
  left: 10%;
  width: 25px;
  height: 25px;
  animation-duration: 7s;
}
.rekomendasi span:nth-child(2) {
  left: 30%;
  width: 15px;
  height: 15px;
  animation-duration: 5s;
}
.rekomendasi span:nth-child(3) {
  left: 50%;
  width: 35px;
  height: 35px;
  animation-duration: 9s;
}
.rekomendasi span:nth-child(4) {
  left: 80%;
  width: 20px;
  height: 20px;
  animation-duration: 6s;
}

/* Keyframes bubble naik */
@keyframes bubble {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-600px) scale(1.2);
    opacity: 0;
  }
}



    .glass-effect {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .image-caption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        padding: 1rem;
        color: #fff;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
        text-align: center;
    }

    .glass-effect:hover .image-caption {
        transform: translateY(0);
    }

    .box {
        background: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .box:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    }

    .foto-pegawai {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
        border: 3px solid #5ebbf1;
        background: #f9f9f9;
    }


    .preview {
    object-fit: cover;
    height: 150px; /* bebas, sesuaikan kebutuhan card */
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.preview:hover {
    transform: scale(1.02);
}

.truncate-1{
  overflow: hidden; 
  display: -webkit-box; 
  -webkit-line-clamp: 1; 
  -webkit-box-orient: vertical;
}

.truncate-2{
  overflow: hidden; 
  display: -webkit-box; 
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
}

.truncate-3{
  overflow: hidden; 
  display: -webkit-box; 
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
}

.truncate-4{
  overflow: hidden; 
  display: -webkit-box; 
  -webkit-line-clamp: 4; 
  -webkit-box-orient: vertical;
}

.truncate-5{
  overflow: hidden; 
  display: -webkit-box; 
  -webkit-line-clamp: 5; 
  -webkit-box-orient: vertical;
}