        :root {
            --primary-color: #0d6efd;
            --secondary-color: #1a1a2e;
            --accent-color: #f39c12;
            --light-color: #f8f9fa;
            --dark-color: #212529;
            --text-light: #e9ecef;
            --back-to-top-color: #ff3838;
            --back-to-top-bg: #ffd700;
        }
        
        body {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-style: normal;
        }
        
        /* Menambahkan gaya normal untuk semua elemen teks */
        p, h1, h2, h3, h4, h5, h6, a, span, div, li {
            font-style: normal !important;
        }
        
        .footer-modern {
            background: linear-gradient(135deg, var(--secondary-color) 0%, #0f3460 100%);
            color: var(--text-light);
            padding: 50px 0 15px;
            position: relative;
            overflow: hidden;
            font-style: normal;
        }
        
        .footer-modern::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
        }
        
        .footer-modern .footer-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 12px;
            color: #fff;
            font-style: normal;
        }
        
        .footer-modern .footer-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent-color);
        }
        
        .footer-modern .contact-info {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }
        
        .footer-modern .contact-icon {
            flex-shrink: 0;
            width: 30px;
            height: 30px;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .footer-modern .contact-icon i {
            color: var(--accent-color);
            font-size: 1.1rem;
        }
        
        .footer-modern .contact-text {
            flex-grow: 1;
        }
        
        .footer-modern .contact-text p {
            margin: 0;
            line-height: 1.6;
            font-style: normal;
        }
        
        .footer-modern .social-links {
            display: flex;
            margin-top: 20px;
        }
        
        .footer-modern .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
            margin-right: 10px;
            transition: all 0.3s ease;
        }
        
        .footer-modern .social-links a:hover {
            background-color: var(--accent-color);
            transform: translateY(-3px);
        }
        
        .footer-modern .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-modern .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-modern .footer-links a {
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
            position: relative;
            font-style: normal;
        }
        
        .footer-modern .footer-links a::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: width 0.3s ease;
        }
        
        .footer-modern .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }
        
        .footer-modern .footer-links a:hover::after {
            width: 100%;
        }
        
        .footer-modern .gallery-preview {
            margin-bottom: 20px;
        }
        
        .footer-modern .gallery-preview:last-child {
            margin-bottom: 0;
        }
        
        /* Gaya untuk sub-judul galeri (bukan judul utama) */
        .footer-modern .gallery-subtitle {
            font-size: 1rem;
            font-weight: 500;
            color: #fff;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            transition: color 0.3s ease;
        }
        
        .footer-modern .gallery-subtitle i {
            margin-right: 8px;
            color: var(--accent-color);
        }
        
        .footer-modern .gallery-preview a:hover .gallery-subtitle {
            color: var(--accent-color);
        }
        
        /* Grid galeri - jarak rapat */
        .footer-modern .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
            margin-top: 5px;
        }
        
        /* SOLUSI UTAMA: Hapus max-height untuk membuat ukuran benar-benar auto */
        .footer-modern .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 3px;
            aspect-ratio: 16/9;
            /* TIDAK ADA max-height! Ukuran akan otomatis menyesuaikan */
        }
        
        .footer-modern .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .footer-modern .gallery-item:hover img {
            transform: scale(1.1);
        }
        
        .footer-modern .gallery-item::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .footer-modern .gallery-item:hover::after {
            opacity: 1;
        }
        
        .footer-modern .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 15px;
            margin-top: 20px;
            text-align: center;
            font-size: 0.9rem;
        }
        
        .footer-modern .copyright p {
            margin: 0;
            font-style: normal;
        }
        
        /* Tombol back to top dengan ukuran lebih kecil dan animasi lebih cepat */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 42px;
            height: 42px;
            background-color: var(--back-to-top-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-decoration: none;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
            box-shadow: 
                0 0 0 6px var(--back-to-top-bg),
                0 3px 12px rgba(255, 56, 56, 0.5);
        }
        
        .back-to-top:hover {
            background-color: #e62929;
            transform: translateY(-4px);
            box-shadow: 
                0 0 0 6px var(--back-to-top-bg), 
                0 5px 15px rgba(255, 56, 56, 0.7);
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
            animation: pulse 1.2s infinite;
        }
        
        .back-to-top i {
            font-size: 0.9rem;
        }
        
        /* Animasi pulse yang lebih cepat */
        @keyframes pulse {
            0% {
                box-shadow: 
                    0 0 0 0 rgba(255, 56, 56, 0.7),
                    0 0 0 6px var(--back-to-top-bg);
            }
            50% {
                box-shadow: 
                    0 0 0 8px rgba(255, 56, 56, 0),
                    0 0 0 6px var(--back-to-top-bg);
            }
            100% {
                box-shadow: 
                    0 0 0 0 rgba(255, 56, 56, 0),
                    0 0 0 6px var(--back-to-top-bg);
            }
        }
        
        /* SOLUSI AKHIR: Menghilangkan space kosong di desktop dengan pendekatan yang lebih bersih */
        @media (min-width: 768px) {
            /* 1. Hapus padding dari kolom galeri */
            .footer-modern .gallery-column {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
            
            /* 2. Kembalikan padding untuk judul "Publikasi" agar sejajar dengan judul lain */
            .footer-modern .gallery-column .footer-title {
                padding-left: 15px;
                padding-right: 15px;
            }
            
            /* 3. Kembalikan padding untuk setiap bagian galeri (Foto & Video) */
            .footer-modern .gallery-column .gallery-preview {
                padding-left: 15px;
                padding-right: 15px;
            }
            
            /* PERBAIKAN: Geser garis bawah agar sejajar dengan teks "Publikasi" */
            .footer-modern .gallery-column .footer-title::after {
                left: 15px; /* Geser garis ke kanan sejajar dengan teks */
            }
        }
        
        /* Responsive untuk mobile/tablet */
        @media (max-width: 768px) {
            .footer-modern {
                padding: 40px 0 15px;
            }
            
            /* Grid galeri foto - 2 baris (6 item) */
            .footer-modern .gallery-preview:nth-child(2) .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            /* Grid galeri video - 1 baris (3 item) */
            .footer-modern .gallery-preview:nth-child(3) .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .back-to-top {
                width: 38px;
                height: 38px;
                bottom: 20px;
                right: 20px;
                box-shadow: 
                    0 0 0 5px var(--back-to-top-bg), 
                    0 3px 10px rgba(255, 56, 56, 0.5);
            }
            
            .back-to-top:hover {
                box-shadow: 
                    0 0 0 5px var(--back-to-top-bg), 
                    0 5px 12px rgba(255, 56, 56, 0.7);
            }
            
            .back-to-top i {
                font-size: 0.8rem;
            }
        }
        
        /* Untuk layar sangat kecil (hp kecil) */
        @media (max-width: 480px) {
            /* Grid galeri foto - 2 baris dengan 3 kolom */
            .footer-modern .gallery-preview:nth-child(2) .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1px; /* Jarak lebih kecil di hp kecil */
            }
            
            /* Grid galeri video - 1 baris dengan 3 kolom */
            .footer-modern .gallery-preview:nth-child(3) .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1px; /* Jarak lebih kecil di hp kecil */
            }
            
            .footer-modern .gallery-item {
                border-radius: 2px;
            }
            
            .footer-modern .gallery-subtitle {
                margin-bottom: 6px;
            }
        }
