/* Custom Grid: 5 Kolom presisi untuk layar besar */
        .satudes-premium-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1.5rem;
        }

        /* Responsif untuk layar yang lebih kecil */
        @media (max-width: 1200px) { .satudes-premium-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (max-width: 768px) { .satudes-premium-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 480px) { .satudes-premium-grid { grid-template-columns: 1fr; } }

        /* Desain Kartu Premium */
        .satudes-pro-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 1.75rem 1.25rem;
            text-decoration: none !important;
            display: flex;
            flex-direction: column;
            border: 1px solid #eef0f5;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.02);
            transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        /* Garis Gradien di atas kartu yang muncul saat hover */
        .satudes-pro-card::before {
            content: ''; 
            position: absolute; 
            top: 0; left: 0; 
            width: 100%; height: 4px;
            background: linear-gradient(90deg, #0d6efd, #00d2ff); /* Warna bisa disesuaikan */
            transform: scaleX(0); 
            transform-origin: left;
            transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            z-index: 2;
        }

        .satudes-pro-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
            border-color: #d1e3ff;
        }

        .satudes-pro-card:hover::before {
            transform: scaleX(1);
        }

        /* Desain Ikon Neumorphism/Glass */
        .pro-icon-glass {
            width: 55px; height: 55px;
            border-radius: 14px;
            background: #f4f7fe;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 1.25rem;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .pro-icon-glass i { 
            font-size: 1.6rem; 
            color: var(--village-primary, #0d6efd); 
            transition: all 0.5s ease; 
        }

        /* Animasi Ikon saat di-hover */
        .satudes-pro-card:hover .pro-icon-glass {
            background: var(--village-primary, #0d6efd);
            transform: scale(1.15) rotate(8deg);
            box-shadow: 0 10px 15px -3px rgba(13,110,253,0.3);
        }

        .satudes-pro-card:hover .pro-icon-glass i { 
            color: #ffffff; 
        }
        
        /* Tipografi */
        .pro-card-title { font-size: 1.05rem; font-weight: 800; color: #1e293b; margin-bottom: 0.4rem; letter-spacing: -0.3px; }
        .pro-card-desc { font-size: 0.8rem; color: #64748b; line-height: 1.5; flex-grow: 1; margin-bottom: 0;}
        
        /* Animasi "Buka Layanan" */
        .pro-arrow-link { 
            margin-top: 1.2rem; 
            font-size: 0.8rem; 
            font-weight: 700; 
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--village-primary, #0d6efd); 
            display: flex; 
            align-items: center; 
            opacity: 0; 
            transform: translateX(-15px); 
            transition: all 0.4s ease; 
        }
        
        .satudes-pro-card:hover .pro-arrow-link { 
            opacity: 1; 
            transform: translateX(0); 
        }

/* 1. CSS GRID CARD (MIRIP DPMD) */
    .dpmd-gallery-card {
        aspect-ratio: 4/3;
        cursor: zoom-in;
        transition: box-shadow 0.5s ease;
    }
    .dpmd-gallery-card:hover {
        box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
    }
    
    .gallery-img-zoom {
        transition: transform 0.7s ease-in-out;
    }
    .dpmd-gallery-card:hover .gallery-img-zoom {
        transform: scale(1.1); /* Zoom saat hover */
    }

    /* Lapisan gelap dari bawah ke atas */
    .gallery-overlay-dark {
        background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
        opacity: 0.6;
        transition: opacity 0.3s ease;
        z-index: 1;
    }
    .dpmd-gallery-card:hover .gallery-overlay-dark {
        opacity: 0.9;
    }

    /* Efek teks naik ke atas saat hover */
    .text-content-wrapper {
        transform: translateY(15px);
        transition: transform 0.3s ease;
        z-index: 2;
    }
    .dpmd-gallery-card:hover .text-content-wrapper {
        transform: translateY(0);
    }
    
    .gallery-desc-fade {
        opacity: 0;
        transition: opacity 0.5s ease 0.1s; /* Delay sedikit biar keren */
    }
    .dpmd-gallery-card:hover .gallery-desc-fade {
        opacity: 1;
    }

    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }


    /* 2. CSS CUSTOM LIGHTBOX MODAL */
    .custom-lightbox {
        position: fixed;
        top: 0; left: 0; width: 100vw; height: 100vh;
        background-color: rgba(2, 6, 23, 0.95); /* Warna hitam kebiruan ala Slate 950 */
        backdrop-filter: blur(8px);
        z-index: 9999;
        display: none; /* Disembunyikan secara default */
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        padding: 20px;
    }
    
    .custom-lightbox.show-lightbox {
        display: flex;
        opacity: 1;
    }

    .lightbox-close-btn {
        position: absolute;
        top: 25px; right: 25px;
        background: rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.7);
        border: none;
        width: 45px; height: 45px;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 10000;
        transition: all 0.2s ease;
    }
    .lightbox-close-btn:hover {
        background: rgba(255,255,255,0.2);
        color: white;
    }

    .lightbox-dialog {
        background-color: #0f172a; /* Slate 900 */
        width: 100%;
        max-width: 1000px;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid #1e293b;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
        transform: scale(0.95);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
    }
    .custom-lightbox.show-lightbox .lightbox-dialog {
        transform: scale(1);
        opacity: 1;
    }

    .lightbox-img-area {
        max-height: 75vh;
        overflow: hidden;
    }
    .lightbox-main-img {
        max-height: 75vh;
        object-fit: contain;
        width: 100%;
    }

    .lightbox-text-area {
        padding: 30px;
        background-color: #0f172a;
        border-left: 1px solid #1e293b;
    }
    .lightbox-desc-scroll {
        max-height: 200px;
        overflow-y: auto;
    }
    
    /* Scrollbar tipis untuk deskripsi */
    .lightbox-desc-scroll::-webkit-scrollbar { width: 5px; }
    .lightbox-desc-scroll::-webkit-scrollbar-track { background: transparent; }
    .lightbox-desc-scroll::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }

    @media (max-width: 768px) {
        .lightbox-dialog { max-height: 90vh; }
        .lightbox-img-area { max-height: 40vh; }
        .lightbox-main-img { max-height: 40vh; }
        .lightbox-text-area { border-left: none; border-top: 1px solid #1e293b; padding: 20px; }
    }