.hero-slide {
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-content {
    transition: all 0.6s ease 0.3s;
}
.fade-in {
    animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* BACKGROUD KOTAK */
/* From Uiverse.io by Gautammsharma */
.grid-wrapper {
    /* min-height: 100%; */
    min-height: 90vh;
    width: 100%;
    position: relative;
    background-color: #f8fafc;
}

.grid-background {
    /* position: absolute; */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-image: linear-gradient(to right, #edeeeeab 1px, transparent 1px),
        linear-gradient(to bottom, #eeeff0c9 1px, transparent 1px);
    background-size: 20px 30px;
    -webkit-mask-image: radial-gradient(
        ellipse 90% 85% at 50% 40%,
        #000 70%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 90% 85% at 50% 40%,
        #000 70%,
        transparent 100%
    );
}

.glass {
    background: whitesmoke;
}

/* CONTAINER TOMBOL WA */
.sticky-wrapper {
    position: sticky;
    z-index: 100;
    top: 80%;
    height: 0; /* 👈 tidak ambil ruang */
}

.box {
    position: absolute; /* 👈 tidak ambil ruang */
    right: 20px;
    top: 0;

    height: 100px;
    width: 100px;
    background-color: rgb(168, 93, 93);
    z-index: 100;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 0; /* tidak ambil ruang */
    z-index: 999;
}

/* Tombol WA */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 68px;
    height: 68px;
    border-radius: 50%;

    background: linear-gradient(135deg, #25d366, #1ebe5d);
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    text-decoration: none;

    transition: all 0.35s ease;
}

/* Icon */
.wa-icon {
    width: 34px;
    height: 34px;
    fill: #fff;
}

/* Hover efek */
.wa-float:hover {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 22px 50px rgba(37, 211, 102, 0.7);
}

/* Pulse animasi */
.wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Tooltip */
.wa-tooltip {
    position: absolute;
    right: 80px;
    background: #111827;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;

    opacity: 0;
    transform: translateY(6px);
    transition: 0.3s;
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* splash screen */
#splash {
    position: fixed;
    inset: 0;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;

    /* INI PENTING */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#splash.hide {
    opacity: 0;
    transform: translateY(50%); /* turun ke bawah */
    pointer-events: none;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: pulse2 1.5s infinite;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse2 {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* shadow effect */
.shadow1 {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 15px rgba(0, 0, 0, 0.06),
        0 20px 25px rgba(0, 0, 0, 0.08);
}
.brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand img {
    height: 40px;
    width: auto;
}

/* button navbar */



