/* ===== CUSTOM CSS (Hanya untuk animasi dan gaya yang spesifik) ===== */
:root {
    --primary-color-start: #3B82F6;
    /* Gradien awal (biru) */
    --primary-color-end: #8B5CF6;
    /* Gradien akhir (ungu) */
}

html {
    scroll-behavior: smooth;
}

/* ===== FIX BOOTSTRAP VS TAILWIND CONFLICT ===== */
/* Tailwind's .collapse utility overrides Bootstrap's .collapse behavior */
.collapse.navbar-collapse {
    visibility: visible !important;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #1F2937 0%, #111827 100%);
}

/* Orbs List */
.bg-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-orbs li {
    position: absolute;
    display: block;
    list-style: none;
    background: rgba(59, 130, 246, 0.15);
    /* Samar-samar warna primary */
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.2);
    animation: moveOrbs 25s linear infinite;
    bottom: -150px;
}

/* Variasi ukuran, posisi awal, dan kecepatan tiap orb */
.bg-orbs li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.bg-orbs li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.bg-orbs li:nth-child(3) {
    left: 70%;
    width: 40px;
    height: 40px;
    animation-delay: 4s;
}

.bg-orbs li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.bg-orbs li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.bg-orbs li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.bg-orbs li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.bg-orbs li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.bg-orbs li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.bg-orbs li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes moveOrbs {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}


/* ===== HERO SECTION ANIMATION ===== */
#typing-effect {
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* ===== ANIMATIONS ===== */
.content-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}