/* ======================================================================== */
/* ==================== ROOT & GLOBAL ==================== */
/* ======================================================================== */

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --gold: #FFD700;
    --gold-dark: #FFC107;
    --dark: #1A237E;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --shadow: rgba(0, 0, 0, 0.05);
    --shadow-hover: rgba(0, 0, 0, 0.12);
}

html, body { 
    height: 100%; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 70px;
    background: var(--bg-light);
}

main { flex: 1 0 auto; }
footer { flex-shrink: 0; }

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.min-height-fix { min-height: 300px; }

/* ======================================================================== */
/* ==================== NAVBAR DESKTOP ==================== */
/* ======================================================================== */

#mainNavbar {
    transition: all 0.3s ease;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#mainNavbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Brand / Logo */
#mainNavbar .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    text-decoration: none;
}

#mainNavbar .navbar-brand img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

#mainNavbar .navbar-brand .brand-text {
    color: #0D6EFD !important;
    font-weight: 700;
}

#mainNavbar .navbar-brand .brand-text-gold {
    color: #FFC107 !important;
    font-weight: 700;
}

#mainNavbar .navbar-brand:hover .brand-text {
    color: #1A237E !important;
}

#mainNavbar .navbar-brand:hover .brand-text-gold {
    color: #FFD700 !important;
}

/* Navbar Links */
#mainNavbar .nav-link {
    color: #1A237E !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.3s ease;
    position: relative;
}

#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 4px;
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after {
    width: 60%;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: #FFD700 !important;
    background: rgba(255, 215, 0, 0.08);
}

/* Dropdown Desktop */
#mainNavbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    min-width: 200px;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#mainNavbar .dropdown:hover .dropdown-menu,
#mainNavbar .dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mainNavbar .dropdown-item {
    color: #1A237E;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    border-radius: 10px;
    margin: 2px 6px;
}

#mainNavbar .dropdown-item i {
    margin-right: 10px;
    color: #0D6EFD;
    font-size: 1.1rem;
}

#mainNavbar .dropdown-item:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
}

#mainNavbar .dropdown-item:hover i {
    color: #FFD700;
}

/* Login Button */
#mainNavbar .btn-login {
    color: #ffffff !important;
    background: linear-gradient(135deg, #1A237E, #0D6EFD);
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

#mainNavbar .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.35);
    color: #ffffff !important;
}

#mainNavbar .btn-login i {
    margin-right: 6px;
}

/* ======================================================================== */
/* ==================== HERO SLIDER ==================== */
/* ======================================================================== */

.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh !important;
    min-height: 600px !important;
    max-height: 900px !important;
    overflow: hidden;
    margin-top: -70px;
}

.carousel, .carousel-inner, .carousel-item {
    height: 100% !important;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh !important;
    min-height: 600px !important;
    max-height: 900px !important;
    overflow: hidden;
}

.hero-slide .hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    -webkit-animation: kenBurnsZoom 25s ease-in-out infinite alternate;
    animation: kenBurnsZoom 25s ease-in-out infinite alternate;
    transform: scale(1);
}

@-webkit-keyframes kenBurnsZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* HERO OVERLAY - RATA SEMPURNA */
.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.hero-slide .hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide .hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-slide .hero-content .btn-hero {
    background: #FFD700;
    color: #1A237E;
    font-weight: 600;
    border-radius: 50px;
    padding: 15px 45px;
    box-shadow: 0 4px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
}

.hero-slide .hero-content .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
    background: #FFC107;
}

/* Carousel Controls */
.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 60%;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.carousel-indicators button.active {
    background: #FFD700;
    border-color: #FFD700;
    transform: scale(1.25);
}

/* Carousel Transition */
#heroCarousel .carousel-item {
    transition: transform 1.8s ease, opacity 1.8s ease;
}

.carousel-fade .carousel-item {
    opacity: 0;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-align: center;
    -webkit-animation: bounceDown 2s ease-in-out infinite;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 0 auto 6px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #FFD700;
    border-radius: 2px;
    -webkit-animation: scrollWheel 1.5s ease-in-out infinite;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@-webkit-keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

@-webkit-keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ======================================================================== */
/* ==================== SECTION CARDS ==================== */
/* ======================================================================== */

/* Unggulan Card */
.unggulan-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.unggulan-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px var(--shadow);
}

.unggulan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px var(--shadow-hover);
}

.unggulan-icon {
    font-size: 3rem;
    color: #0d6efd;
}

.unggulan-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.unggulan-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Berita Card */
.berita-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    height: 100%;
}

.berita-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

.berita-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.berita-body {
    padding: 20px;
}

.berita-date {
    font-size: 0.8rem;
    color: #0d6efd;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.berita-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.4;
}

.berita-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
}

.btn-berita {
    color: #0D6EFD;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-berita:hover {
    color: #FFD700;
}

/* Testimoni Card */
.testimoni-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 16px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.testimoni-card:hover {
    box-shadow: 0 12px 40px var(--shadow-hover);
    transform: translateY(-5px);
}

.testimoni-avatar-home {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFD700;
}

.testimoni-text-home {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    position: relative;
}

.testimoni-text-home::before {
    content: '"';
    font-size: 40px;
    color: #0d6efd;
    position: absolute;
    left: 5px;
    top: -15px;
    opacity: 0.3;
    font-family: serif;
}

.star-filled {
    color: #FFD700;
    font-style: normal;
}

.star-empty {
    color: #ddd;
    font-style: normal;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0D6EFD, #1A237E);
    color: white;
}

.cta-section .btn-light {
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background: #FFD700;
    color: #1A237E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ======================================================================== */
/* ==================== ANIMASI ==================== */
/* ======================================================================== */

/* Fade Up */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0.1s; }
.fade-up:nth-child(2) { transition-delay: 0.2s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }
.fade-up:nth-child(4) { transition-delay: 0.4s; }
.fade-up:nth-child(5) { transition-delay: 0.5s; }
.fade-up:nth-child(6) { transition-delay: 0.6s; }

/* Slide Left / Right */
.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up */
.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* 3D Tilt */
.tilt-card {
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card:hover {
    box-shadow: 0 20px 60px var(--shadow-hover);
}

/* Button Pulse */
.btn-pulse {
    -webkit-animation: pulse 2s ease-in-out infinite;
    animation: pulse 2s ease-in-out infinite;
}

@-webkit-keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.25);
    pointer-events: none;
    z-index: 1;
    -webkit-animation: floatParticle var(--duration, 15s) linear infinite;
    animation: floatParticle var(--duration, 15s) linear infinite;
}

@-webkit-keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translate(var(--tx, 100px), var(--ty, -150px)) scale(0);
        opacity: 0;
    }
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translate(var(--tx, 100px), var(--ty, -150px)) scale(0);
        opacity: 0;
    }
}

/* Counter */
.stat-number .counter {
    display: inline-block;
}

/* ======================================================================== */
/* ==================== MOBILE RESPONSIVE ==================== */
/* ======================================================================== */

@media (max-width: 991.98px) {
    body { padding-top: 60px; }
    .hero-slider-section { margin-top: -60px; }

    #mainNavbar {
        background: #ffffff !important;
        padding: 8px 0;
    }

    #mainNavbar .navbar-brand img { height: 34px; }
    #mainNavbar .navbar-brand { font-size: 1rem; }

    .navbar-toggler {
        border: 1px solid rgba(26, 35, 126, 0.15);
        background: rgba(255, 255, 255, 0.5);
        border-radius: 30px;
        padding: 6px 12px;
        margin-left: auto;
    }

    .navbar-toggler:focus { box-shadow: none; }
    .navbar-toggler-icon {
        filter: brightness(0) saturate(100%) invert(15%) sepia(80%) saturate(1000%) hue-rotate(200deg);
        width: 22px;
        height: 22px;
    }

    #mainNavbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.95) !important;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: 20px 16px;
        border-radius: 18px;
        margin-top: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        max-height: 80vh;
        overflow-y: auto;
        width: 100%;
    }

    #mainNavbar .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
        gap: 2px !important;
    }

    /* --- FIX DROPDOWN MOBILE --- */
    #mainNavbar .nav-item {
        width: 100%;
    }

    #mainNavbar .nav-link {
        padding: 10px 16px !important;
        border-radius: 30px;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between; /* Agar teks kiri, panah kanan */
    }

    #mainNavbar .nav-link::after { display: none; } /* Hilangkan panah bawaan BS */

    #mainNavbar .nav-link:hover,
    #mainNavbar .nav-link.active {
        background: rgba(255, 215, 0, 0.12) !important;
        color: #FFD700 !important;
    }

    /* Dropdown Menu Mobile */
    #mainNavbar .dropdown-menu {
        background: rgba(248, 249, 250, 0.95) !important;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.04);
        box-shadow: none !important;
        margin-top: 4px;
        border-radius: 14px;
        padding: 4px 0;
        position: static !important; /* Agar tidak floating */
        float: none !important;
        width: 100%;
        display: none; /* Default hidden, JS akan toggle .show */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Class aktif dari JS */
    #mainNavbar .dropdown-menu.show {
        display: block !important;
    }

    #mainNavbar .dropdown-item {
        padding: 8px 16px 8px 30px !important;
        font-size: 0.9rem;
        border-radius: 30px;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Custom Arrow untuk Mobile */
    .dropdown-arrow {
        display: inline-block;
        font-size: 0.8rem;
        transition: -webkit-transform 0.3s ease, transform 0.3s ease;
        color: #1A237E;
        margin-left: 8px;
    }
    .dropdown-arrow.rotate {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    #mainNavbar .btn-login {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 8px;
        padding: 12px 24px;
    }

    /* Hero Mobile */
    .hero-slider-section,
    .hero-slide {
        height: 70vh !important;
        min-height: 400px !important;
    }

    .hero-slide .hero-content h1 { font-size: 2rem !important; }
    .hero-slide .hero-content .lead { font-size: 1.1rem !important; }
    .hero-slide .hero-content .btn-hero {
        font-size: 1rem !important;
        padding: 12px 35px !important;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    body { padding-top: 60px; }
    .hero-slider-section { margin-top: -60px; }

    .hero-slider-section,
    .hero-slide {
        height: 60vh !important;
        min-height: 350px !important;
    }

    .hero-slide .hero-content h1 { font-size: 1.5rem !important; }
    .hero-slide .hero-content .lead { font-size: 0.85rem !important; }
    .hero-slide .hero-content .btn-hero {
        font-size: 0.9rem !important;
        padding: 10px 24px !important;
    }

    #mainNavbar .navbar-brand img { height: 28px; }
    #mainNavbar .navbar-brand { font-size: 0.85rem; }
    #mainNavbar .navbar-collapse { padding: 16px 12px; border-radius: 14px; }
    #mainNavbar .nav-link { font-size: 0.85rem !important; padding: 8px 14px !important; }

    .navbar-toggler-icon { width: 18px; height: 18px; }
    .berita-img { height: 150px; }
}

/* ======================================================================== */
/* ==================== KOMPONEN LAINNYA ==================== */
/* ======================================================================== */

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}
.gallery-overlay p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Lightbox */
.lightbox-overlay { animation: fadeIn 0.3s ease; }
.lightbox-image { animation: zoomIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-link:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-3px);
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}
.wa-button-main {
    width: 75px;
    height: 75px;
    background: transparent !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.wa-button-main img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}
.wa-button-main:hover { transform: scale(1.05); }
.wa-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wa-dropdown {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}
.wa-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.wa-dropdown-header {
    background: #075e54;
    color: white;
    padding: 12px 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wa-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
.wa-dropdown-body { padding: 8px 0; }
.wa-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
    border-bottom: 1px solid #eee;
}
.wa-item:last-child { border-bottom: none; }
.wa-item:hover { background: #f0f0f0; }
.wa-item div strong {
    display: block;
    font-size: 14px;
}
.wa-item div small {
    font-size: 11px;
    color: #888;
}
.wa-item span {
    font-size: 14px;
    color: #aaa;
}
.wa-dropdown-footer {
    background: #f5f5f5;
    padding: 10px 16px;
    text-align: center;
    font-size: 11px;
    color: #888;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
    }
    .wa-button-main {
        width: 65px;
        height: 65px;
    }
    .wa-button-main img {
        width: 42px;
        height: 42px;
    }
    .wa-dropdown {
        bottom: 75px;
        width: 260px;
    }
}

/* Popup */
.site-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
}
.popup-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 1 !important;
}
.popup-container {
    position: relative !important;
    max-width: 80% !important;
    width: auto !important;
    max-height: 90vh !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: auto !important;
    z-index: 2 !important;
    -webkit-animation: popupFadeIn 0.3s ease !important;
    animation: popupFadeIn 0.3s ease !important;
}
.popup-close {
    position: absolute !important;
    top: -15px !important;
    right: -15px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: white !important;
    background: #dc3545 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border: none !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}
.popup-close:hover {
    background: #c82333 !important;
    transform: scale(1.05) !important;
}
.popup-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 85vh !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}
@-webkit-keyframes popupFadeIn {
    from { opacity: 0; -webkit-transform: scale(0.95); transform: scale(0.95); }
    to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
}
@keyframes popupFadeIn {
    from { opacity: 0; -webkit-transform: scale(0.95); transform: scale(0.95); }
    to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
}
@media (max-width: 768px) {
    .popup-container { max-width: 95% !important; }
    .popup-close {
        top: -10px !important;
        right: -10px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }
}

/* Other Components */
.visi-icon, .misi-icon { text-align: center; }

.direksi-card {
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}
.direksi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

.output-card {
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}
.output-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px var(--shadow-hover);
}
.output-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.output-card p { color: #6c757d; line-height: 1.6; }

.tahapan-card {
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
    overflow: hidden;
}
.tahapan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px var(--shadow-hover);
}
.tahapan-number {
    width: 50px;
    height: 50px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}
.tahapan-icon { font-size: 2.5rem; color: #0d6efd; }

.bank-info {
    background: #f8f9fa;
    transition: all 0.3s ease;
}
.bank-info:hover { background: #e9ecef; }

.accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: white;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

.program-description { line-height: 1.7; }
.program-description p {
    margin-bottom: 15px;
    color: #555;
}

.btn-primary, .btn-light, .btn-outline-primary {
    transition: all 0.3s ease;
}
.btn-primary:hover, .btn-light:hover, .btn-outline-primary:hover {
    transform: translateY(-2px);
}