/* ==========================================================================
   1. SAMBILAN VISUAL CUSTOM ANIMATION - ADVANTAGES CARD
   ========================================================================== */
.custom-hover-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.custom-hover-card .icon-box { transition: all 0.3s ease !important; }
.custom-hover-card p { font-size: 0.95rem; line-height: 1.6; }
.custom-hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(99, 102, 241, 0.12) !important;
    background: #ffffff !important;
}
.custom-hover-card:hover .icon-box {
    transform: scale(1.1) rotate(4deg);
    background-color: #6366f1 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   2. NAVBAR DROPDOWN & MEGA MENU SYSTEM (DIPERKUAT)
   ========================================================================== */

.dropdown-item {
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-size: 0.95rem;
    color: #4b5563;
    padding: 10px 20px;
    margin-bottom: 5px;
    transform-origin: left center;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background-color: #6366f1 !important;
    color: #ffffff !important;
    transform: scale(1.04) translateX(5px) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25) !important;
}

@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        margin-top: 0 !important;
    }

    .navbar .dropdown-menu {
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(10px) !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        margin-top: 0 !important;
        padding: 10px;
    }

    .navbar .nav-item.dropdown::after {
        content: "";
        position: absolute;
        height: 25px;
        width: 100%;
        bottom: -20px;
        background: transparent;
        display: block;
    }
}

@media (max-width: 991.98px) {
    .mobile-menu-scrollable {
        max-height: 70vh !important;
        overflow-y: auto !important;
    }
    #navbar .dropdown-menu {
        position: relative !important;
        max-width: 100% !important;
        background-color: #f9fafb !important;
        display: none !important;
    }
    #navbar .dropdown-menu.show { display: block !important; }
}

/* ==========================================================================
   3. ANIMASI, GALERI, & LAIN-LAIN
   ========================================================================== */
.img-floating, .hero-floating-img {
    animation: floatAnimation 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(25, 7, 61, 0.15));
}
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
.portfolio-item { transition: opacity 0.3s ease, transform 0.3s ease; }
.gallery-box { position: relative; }
.gallery-box::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
    opacity: 1; transition: opacity 0.3s ease;
}
.gallery-box:hover img { transform: scale(1.05); }

.rental-item { transition: opacity 0.3s ease, transform 0.3s ease; }

.career-card { transition: all 0.3s ease; border-left: 5px solid transparent; }
.career-card:hover { border-left: 5px solid #0d6efd; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; }

.list-tight { line-height: 1.5; }
.list-tight li { padding: 6px 0 !important; border-bottom: 1px solid rgba(0,0,0,0.03); }
.list-tight li:last-child { border-bottom: none; }

/* ==========================================================================
   4. PERBAIKAN STICKY FOOTER
   ========================================================================== */
html {
    height: auto;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

#app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

#content-main {
    flex: 1 0 auto;
    width: 100%;
}

footer {
    margin-top: auto; 
    flex-shrink: 0;
}

.footer-link-hover {
    transition: all 0.2s ease-in-out;
}
.footer-link-hover:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

/* ==========================================================================
   5. SECTION BACKGROUND STYLING (LURUS/TIDAK MIRING)
   ========================================================================== */

.skew-section-right {
    transform: none !important;
    padding: 80px 0;
    background-color: #f8f9fa; /* Abu-abu untuk section ganjil */
}

.skew-section-left {
    transform: none !important;
    padding: 80px 0;
    background-color: #ffffff; /* Putih untuk section genap */
}

.skew-content-right {
    transform: none !important; 
}

.skew-content-left {
    transform: none !important;
}

#content-main > section:first-child {
    padding-top: 140px !important;
    background-color: #ffffff;
    transform: none !important;
}