.kepala-desa-img {
            border-radius: 8px !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        :root {
            --primary-color: #3b6ea5;
            --secondary-color: #1e3a5f;
            --accent-color: #6ba5d7;
            --light-bg: #feffff;
            --dark-text: #1a2847;
            --light-blue: #5a9bd5;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--dark-text);
        }
        
        /* Header Atas Putih */
        .header-top {
            background: #fff;
            padding: 0.7rem 0 0.7rem 0;
            border-bottom: 1px solid #e5e7eb;
        }
        .header-top .logo-title {
            font-weight: 700;
            color: var(--primary-color) !important;
            font-size: 0.95rem;
            white-space: normal;
            line-height: 1.3;
            flex-shrink: 1;
        }
        .header-top .contact-icon {
            font-size: 1.6rem;
            color: var(--primary-color);
            background: #f1f5f9;
            border-radius: 50%;
            padding: 0.5rem;
            transition: background 0.2s;
        }
        .header-top .contact-icon:hover {
            background: var(--accent-color);
            color: #fff;
        }
        .header-top .header-contact {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        /* Navbar/Menu Bawah */
        .navbar-menu {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 0.5rem 0;
        }
        .navbar-menu .navbar-nav {
            margin: 0 auto;
            display: flex;
            justify-content: center;
            width: 100%;
        }
        .navbar-menu .nav-link {
            color: rgba(255,255,255,0.9) !important;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 0.5rem 1.2rem !important;
            margin: 0 0.2rem;
        }
        .navbar-menu .nav-link:hover {
            color: white !important;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
        }

        /* Saat dropdown dibuka, panah berputar ke atas (untuk .dropdown.show dan .dropdown-menu.show) */
        .navbar .dropdown.show > .dropdown-toggle::after,
        .navbar .dropdown-menu.show ~ .dropdown-toggle::after,
        .navbar .dropdown-menu.show .dropdown-toggle::after,
        .navbar .dropdown-menu.show + .dropdown-toggle::after,
        .navbar .dropdown-toggle[aria-expanded="true"]::after {
            transform: rotate(180deg) !important;
        }
        
        /* Hero Section */
        .hero-section {
            background: none;
            color: inherit;
            padding: 0;
            position: relative;
            overflow: hidden;
        }
        .hero-slider-wrapper {
            aspect-ratio: 21/9;
            width: 100%;
            max-width: 100vw;
            position: relative;
            background: #e5e7eb;
        }
        .hero-slider-wrapper .carousel-inner,
        .hero-slider-wrapper .carousel-item,
        .hero-slider-wrapper img {
            height: 100%;
            width: 100%;
            object-fit: cover;
        }
        @supports not (aspect-ratio: 21/9) {
            .hero-slider-wrapper {
                width: 100%;
                height: 0;
                padding-bottom: 42.85%; /* 9/21*100 */
                position: relative;
            }
            .hero-slider-wrapper .carousel-inner,
            .hero-slider-wrapper .carousel-item,
            .hero-slider-wrapper img {
                position: absolute;
                top: 0; left: 0; right: 0; bottom: 0;
                width: 100%;
                height: 100%;
            }
        }
        
        .hero-section::before {
            display: none;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            font-weight: 400;
            margin-bottom: 2rem;
            opacity: 0.95;
        }
        
        .info-banner {
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 1.5rem;
            margin-top: 2rem;
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        /* Featured Section */
        .featured-section {
            padding: 80px 0;
            background: var(--light-bg);
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark-text);
            position: relative;
            display: flex;
            align-items: center;
        }

        
        .section-title::after {
            content: '';
            flex: 1;
            height: 4px;
            background: var(--primary-color);
            margin-left: 16px;
            border-radius: 2px;
            display: block;
        }
        .section-title::before {
            content: '';
            display: block;
            width: 6px;
            height: 36px;
            background: var(--primary-color);
            margin-right: 16px;
            border-radius: 2px;
        }

        
        /* News Cards */
        .news-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
            border: none;
            display: flex;
            flex-direction: row;
        }
            /* Responsive ratio & hide excerpt on small screen */
            @media (max-width: 600px) {
                .news-card {
                    flex-direction: column;
                    align-items: stretch;
                }
                .news-card > img {
                    width: 100%;
                    aspect-ratio: 4/3;
                    height: 180px;
                    object-fit: cover;
                }
                .news-card .card-body {
                    padding: 1rem;
                }
                .news-excerpt {
                    display: none;
                }
                .btn-read-more {
                    font-size: 0.8rem !important;
                    padding: 0.3rem 0.9rem !important;
                    min-width: 0;
                    width: auto;
                    display: inline-block;
                }
            }
        .news-card > img {
            width: 220px !important;
            height: 120px;   
            object-fit: cover;
            flex-shrink: 0;
            max-width: none !important; 
        }
        /* @supports not (aspect-ratio: 4/3) {
            .news-card > img {
                width: 220px;
                height: 165px;
                object-fit: cover;
                display: block;
            }
        } */
    
        /* @supports not (aspect-ratio: 4/3) {
            .news-card > img {
                width: 220px;
                height: 165px;
                object-fit: cover;
            }
        } */
        
        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }
        
            .news-card > img {
                width: 100%;
                aspect-ratio: 4/3;
                height: auto;
                object-fit: cover;
                display: block;
            }
            /* @supports not (aspect-ratio: 4/3) {
                .news-card > img {
                    width: 100%;
                    height: auto;
                    max-height: calc(100vw * 0.75);
                    object-fit: cover;
                    display: block;
                }
            } */
        
        .news-card:hover img {
            transform: scale(1.05);
        }
        
        .news-card .card-body {
            padding: 0.75rem 1rem;
        }
        
        .news-meta {
            color: #64748b;
            font-size: 0.85rem;
            margin-bottom: 0.75rem;
        }
        
        .news-meta i {
            margin-right: 0.3rem;
        }
        
        .news-title {
            display: -webkit-box;
            display: box;

            -webkit-line-clamp: 2;
            line-clamp: 2;

            -webkit-box-orient: vertical;
            box-orient: vertical;

            overflow: hidden;
        }

        /* .news-excerpt {
            color: #64748b;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        } */
         
        .news-excerpt {
            display: -webkit-box;
            display: box;

            -webkit-line-clamp: 2;
            line-clamp: 2;

            -webkit-box-orient: vertical;
            box-orient: vertical;

            overflow: hidden;
        }

        .btn-read-more {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 0.5rem 1.5rem;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .btn-read-more:hover {
            background: var(--secondary-color);
            transform: translateX(5px);
            color: white;
        }


        /* external-news-card */
        .external-btn-read-more {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 0.4rem 1.5rem;
            border-radius: 8px;
            font-weight: 300;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .external-btn-read-more:hover {
            background: var(--secondary-color);
            transform: translateX(5px);
            color: white;
        }
        
        .external-news-card {
            background: white;
            color: inherit;
            text-decoration: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
            border: none;
            display: flex;
            flex-direction: row;
        }
        
            /* Responsive ratio & hide excerpt on small screen */
            @media (max-width: 600px) {
                .external-news-card {
                    flex-direction: column;
                    align-items: stretch;
                }
                .external-news-card > img {
                    width: 100%;
                    aspect-ratio: 4/3;
                    height: 180px;
                    object-fit: cover;
                }
                .external-news-card .card-body {
                    padding: 1rem;
                }
                .external-news-excerpt {
                    display: none;
                }
                .external-btn-read-more {
                    font-size: 0.8rem !important;
                    padding: 0.3rem 0.9rem !important;
                    min-width: 0;
                    width: auto;
                    display: inline-block;
                }
            }
        .external-news-card > img {
            width: 180px !important;
            height: 100px;   
            object-fit: cover;
            flex-shrink: 0;
            max-width: none !important; 
        }
        /* @supports not (aspect-ratio: 4/3) {
            .news-card > img {
                width: 220px;
                height: 165px;
                object-fit: cover;
                display: block;
            }
        } */
    
        /* @supports not (aspect-ratio: 4/3) {
            .news-card > img {
                width: 220px;
                height: 165px;
                object-fit: cover;
            }
        } */
        
        .external-news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }
        
            .external-news-card > img {
                width: 100%;
                aspect-ratio: 4/3;
                height: auto;
                object-fit: cover;
                display: block;
            }
            /* @supports not (aspect-ratio: 4/3) {
                .news-card > img {
                    width: 100%;
                    height: auto;
                    max-height: calc(100vw * 0.75);
                    object-fit: cover;
                    display: block;
                }
            } */
        
        .external-news-card:hover img {
            transform: scale(1.05);
        }
        
        .external-news-card .card-body {
            padding: 0.75rem 1rem;
        }
        
        /* .external-news-item {
            display: flex;
            gap: 12px;
            text-decoration: none;
            color: inherit;
            padding: 10px;
            border-radius: 10px;
            transition: background 0.2s ease;
        }

        .external-news-item:hover {
            background: #f1f5f9;
        } */

        .external-news-item img {
            width: 120px;
            height: 90px;
            object-fit: cover;
            border-radius: 8px;
            flex-shrink: 0;
        }

        .external-news-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 4px;

            display: -webkit-box;

            -webkit-line-clamp: 2;
            line-clamp: 2;

            -webkit-box-orient: vertical;
            overflow: hidden;
        }


        .external-news-excerpt {
            font-size: 0.85rem;
            color: #64748b;
            margin: 0;

            display: -webkit-box;

            -webkit-line-clamp: 2;
            line-clamp: 2;

            -webkit-box-orient: vertical;
            overflow: hidden;
        }


        @media (max-width: 576px) {
            .external-news-item {
                flex-direction: column;
            }

            .external-news-item img {
                width: 100%;
                height: 160px;
            }
        }


        /* Quick Stats */
        .stats-section {
            padding: 60px 0;
            background: linear-gradient(135deg, #3b6ea5 0%, #1e3a5f 100%);
            color: white;
        }
        
        .stat-card {
            text-align: center;
            padding: 2rem;
        }
        
        .stat-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.9;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        /* Services Section */
        .services-section {
            padding: 80px 0;
        }
        
        .service-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
            border: 2px solid transparent;
        }
        
        .service-card:hover {
            border-color: var(--primary-color);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #5a9bd5 0%, #3b6ea5 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: white;
        }
        
        .service-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--dark-text);
        }
        
        .service-desc {
            color: #64748b;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        /* Footer */
        .footer {
            background: #1e293b;
            color: rgba(255,255,255,0.8);
            padding: 60px 0 30px;
        }
        
        .footer-title {
            color: var(--accent-color);
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
        
        .footer a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer a:hover {
            color: var(--light-blue);
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.75rem;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            margin-right: 0.5rem;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--light-blue);
            color: white;
            transform: translateY(-3px);
        }
        
        .copyright {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            font-size: 0.9rem;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .stat-number {
                font-size: 2rem;
            }
        }

        /* Dropdown Menu */
        .dropdown-menu {
            border: none;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-radius: 10px;
            padding: 10px;
            margin-top: 10px;
        }

        .dropdown-item {
            padding: 10px 20px;
            border-radius: 8px;
            color: #333;
            font-weight: 500;
        }

        .dropdown-item:hover {
            color: var(--secondary-color);
        }

        .dropdown-item i {
            margin-right: 8px;
            color: var(--secondary-color);
        }

        .dropdown-item.active, .dropdown-item:active {
            color: var(--secondary-color);
            background: rgba(59, 130, 246, 0.1);
        }
        
        /* Gallery Section */
        .gallery-section {
            padding: 80px 0;
            background: white;
        }
        
        .gallery-img {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 250px;
        }
        
        .gallery-img:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }
        
        .gallery-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s ease;
        }
        
        .gallery-img:hover img {
            transform: scale(1.1);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in {
            animation: fadeInUp 0.6s ease-out;
        }