/* ==========================================================
   REVISI TOTAL CSS DUNELY (FIX CONFLICT)
   ========================================================== */

/* 1. RESET & GLOBAL */
body {
    overflow-x: hidden;
}

/* 2. NAVBAR (Locked Navy Style) */
.navbar {
    background-color: #0f172a !important; /* Warna Navy Utama */
    padding: 15px 0;
    transition: all 0.4s ease;
    z-index: 1050; /* Pastikan di atas hero */
}

/* Paksa container penuh */
.navbar .container-fluid {
    padding-left: 4% !important;
    padding-right: 4% !important;
}

/* Warna Link & Brand */
.navbar .navbar-brand, 
.navbar .nav-link {
    color: #ffffff !important;
    opacity: 0.9;
}

.navbar .nav-link:hover {
    color: #38bdf8 !important;
    opacity: 1;
}

/* Navbar saat scroll */
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Dropdown Menu Customization */
.dropdown-menu {
    background-color: #ffffff;
    border-radius: 15px;
    border: none;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: #2563eb !important;
}

/* Fix Mobile Toggler */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2) !important;
}
.navbar-toggler-icon {
    filter: invert(1); /* Biar garis tiga jadi putih */
}

/* Pastikan Container Utama Relative */
.hero-section {
    position: relative; /* Wajib ada ini */
    min-height: 100vh;
    overflow: hidden;
}

/* Scroll Hint Fix */
.scroll-hint {
    position: absolute;
    bottom: 40px; /* Jarak dari dasar layar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    pointer-events: none; /* Agar tidak menghalangi klik jika ada elemen di bawahnya */
}

.scroll-hint i {
    font-size: 1.2rem;
    color: #38bdf8; /* Biru cerah agar terlihat */
    animation: bounce 2s infinite;
    display: block;
}

.scroll-hint small {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    font-weight: 600;
}

/* Animasi Bounce yang lebih halus */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}




/* Ilustrasi Gambar */
/* Efek Melayang (Floating Animation) */

/* Ilustrasi Gambar - REVISED */
.hero-image-box {
    position: relative;
    padding: 20px;
    z-index: 10; /* Pastikan box berada di atas background hero */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-box img {
    display: block;
    width: 100%;
    height: auto;
    /* Tambahkan will-change agar browser mengoptimalkan rendering animasi */
    will-change: transform; 
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px); /* Naikkan sedikit lebih tinggi agar jelas terlihat */
    }
}

/* Shadow (Bayangan) */
.hero-image-box::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 15px;
    background: rgba(0, 0, 0, 0.4); /* Buat lebih gelap agar kontras dengan Navy */
    border-radius: 50%;
    filter: blur(8px);
    /* Z-index 1 agar berada di atas background hero tapi di bawah gambar */
    z-index: 1; 
    animation: shadow-pulse 4s ease-in-out infinite;
}

@keyframes shadow-pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateX(-50%) scale(0.7);
        opacity: 0.1;
    }
}


/* 3. HERO SECTION (Full Screen) */
.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15), transparent),
                radial-gradient(circle at 20% 80%, rgba(67, 56, 202, 0.15), transparent),
                #0f172a; /* Navy background */
    color: #ffffff;
    position: relative;
    padding-top: 80px; /* Jarak untuk navbar */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(45deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 4. FITUR UNGGULAN (Section Putih) */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
}

.service-card-large {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 30px;
    padding: 3rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.service-card-large:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
    border-color: #e2e8f0;
}
