/* iki */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #132b51 0%, #132b515c  100%);
}
/* iki */

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(-50%);
    transition-delay: 0.5s;
}

.carousel {
    height: 100vh;
}

@media(max-width: 768px) {
    .carousel {
        height: 65vh;
    }
}


.custom-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card-news {
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s;
}

.card-news:hover {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    border-radius: 15px;
}

.custom-card:hover .card-overlay {
    opacity: 1;
}

.hvr-grow:hover {
    transform: scale(1.1);
}

#chartdiv {
    width: 100%;
    height: 500px
}

#uji_kelayakan_space {
    background-image: url('assets/custom/afif-ramdhasuma-XYQPyn4KkiY-unsplash.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#keyword::placeholder {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#keyword.placeholder-transition::placeholder {
    opacity: 1;
}

.text-promo {
    font-family: 'Signika Negative', sans-serif;
}

.suggestion-popup {
    display: none;
    position: absolute;
    width: 100%;
    background-color: white;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Atur gaya untuk gambar dalam suggestion */
.suggestion-popup img {
    max-width: 100px;
    height: auto;
}