    /* Header banner */
    .header-banner {
        background: url('../beranda/headerbg.png') no-repeat center center/cover;
        height: 250px;
        position: relative;
        animation: fadeIn 1.5s ease-in-out;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }

    .header-banner .overlay {
        background-color: rgba(66, 64, 64, 0.6);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        animation: fadeIn 2s ease-in-out;
    }

    .header-banner h1 {
        font-size: 3rem;
        font-weight: bold;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 2s ease-in-out;
    }

    .header-banner p {
        font-size: 1.2rem;
        margin-top: 10px;
        color: #fff;
        animation: fadeInUp 2.5s ease-in-out;
    }

    /* Statistik cards */
    .card {
        transition: transform 0.3s, box-shadow 0.3s;
        border: none;
        border-radius: 15px;
        background: linear-gradient(145deg, #f0f0f0, #ffffff);
        box-shadow: 8px 8px 16px #d0d0d0, -8px -8px 16px #ffffff;
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
    }

    .icon {
        width: 60px;
        height: 60px;
        margin: 10px auto;
        animation: bounce 2s infinite;
    }

    .card h5 {
        margin-top: 10px;
        font-size: 1.2rem;
        color: #333;
    }

    #chartCanvas {
        max-width: 100%;
        height: auto;
    }



    /* Berita Section */
    .card-body marquee {
        font-weight: bold;
        color: #333;
        font-size: 1rem;
        animation: slideIn 1.5s ease-in-out;
    }

    .card img {
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        transition: transform 0.5s;
    }

    .card img:hover {
        transform: scale(1.1);
    }

    /* Custom styling for Berita */
    .berita-card {
        border-radius: 15px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .berita-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

    .berita-card img {
        height: 200px;
        object-fit: cover;
    }

    .berita-card .card-title {
        color: #007BFF;
        font-weight: 600;
    }

    .berita-card .card-text {
        color: #555;
        font-size: 0.95rem;
    }

    .berita-section {
        animation: fadeInUp 1s ease-in-out;
    }

    /* Gaya Modal */
    .modal-content {
        border-radius: 15px;
        padding: 20px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .modal-header {
        background-color: #007bff;
        color: white;
        border-bottom: none;
    }

    .modal-title {
        font-weight: bold;
        font-size: 1.5rem;
    }

    .modal-body .detail-berita img {
        border-radius: 10px;
    }

    .modal-body {
        max-height: 70vh;
        overflow-y: auto;
    }

    .modal-body h3 {
        font-weight: bold;
        color: #333;
    }

    .modal-body p {
        font-size: 1rem;
        color: #555;
        line-height: 1.6;
    }

    /* Layanan Mandiri */
    .layanan-mandiri {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
        border-radius: 15px;
        padding: 20px;
        position: relative;
        text-align: left;
        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15), -4px -4px 12px rgba(255, 255, 255, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .layanan-mandiri:hover {
        transform: translateY(-5px);
        box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.2), -6px -6px 18px rgba(255, 255, 255, 0.1);
    }

    .layanan-mandiri .title {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 10px;
        color: #fff;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    }

    .layanan-mandiri .description {
        font-size: 1rem;
        color: #f1f1f1;
        margin-bottom: 15px;
    }

    .layanan-mandiri .btn {
        border: none;
        border-radius: 5px;
        padding: 10px 15px;
        font-size: 0.9rem;
        transition: all 0.3s;
    }

    .layanan-mandiri .btn-primary:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }

    .layanan-mandiri .btn-success:hover {
        background-color: #218838;
        transform: scale(1.05);
    }

    /* Informasi Pengaduan */

    /* Additional styles for the submission process */
    .info-pengaduan {
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1), -2px -2px 8px rgba(255, 255, 255, 0.8);
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

    .info-pengaduan h5 {
        font-size: 1.2rem;
        color: #333;
        margin-bottom: 15px;
        border-bottom: 2px solid #007bff;
        padding-bottom: 8px;
    }

    .info-pengaduan strong {
        color: #007bff;
        font-weight: 600;
    }

    .info-pengaduan p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.6;
    }

    .info-pengaduan ul {
        padding-left: 20px;
        list-style-type: none;
    }

    .info-pengaduan ul li {
        margin-bottom: 8px;
        position: relative;
        padding-left: 25px;
    }

    .info-pengaduan ul li:before {
        content: "•";
        color: #007bff;
        font-weight: bold;
        position: absolute;
        left: 0;
    }

    /* Opsi Pengajuan Surat */
    .card-option {
        border: none;
        border-radius: 15px;
        background: linear-gradient(145deg, #f0f0f0, #ffffff);
        box-shadow: 8px 8px 16px #d0d0d0, -8px -8px 16px #ffffff;
        cursor: pointer;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .card-option:hover {
        transform: translateY(-5px);
        box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
    }

    .card-option .icon {
        width: 50px;
        height: auto;
    }



    /* Perangkat Desa Section */
    img.rounded-circle {
        border: 4px solid #007bff;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    img.rounded-circle:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.6);
    }

    /* Footer */
    footer {
        background: linear-gradient(145deg, #007bff, #0056b3);
        color: #fff;
        padding: 20px;
        animation: fadeInUp 1.5s ease-in-out;
        font-size: 0.95rem;
    }

    footer p {
        margin: 4px 0;
    }

    footer img {
        width: 40px;
        margin-bottom: 10px;
    }

    table {
        margin: auto;
        text-align: center;
    }

    .table thead th {
        background-color: #007bff;
        color: white;
    }

    /* Login Card Modern */
    .login-card {
        background: linear-gradient(to right, #007bff, #0056b3);
        padding: 40px 30px;
        border-radius: 20px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
        color: white;
        animation: fadeInUp 1s ease-in-out;
        position: relative;
        overflow: hidden;
    }

    .login-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
        animation: rotate 10s linear infinite;
        z-index: 0;
    }

    @keyframes rotate {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .login-card h2 {
        text-align: center;
        margin-bottom: 30px;
        font-weight: bold;
        z-index: 1;
        position: relative;
    }

    .login-card .form-control,
    .login-card .input-group-text {
        border-radius: 10px;
        border: none;
    }

    .login-card .input-group {
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
    }

    .login-card .btn-primary {
        background-color: #ffffff;
        color: #007bff;
        font-weight: bold;
        transition: all 0.3s ease;
        border-radius: 10px;
    }

    .login-card .btn-primary:hover {
        background-color: #e2e6ea;
        color: #0056b3;
        transform: translateY(-2px);
    }

    .login-card a {
        color: #f1f1f1;
        font-size: 0.9rem;
        z-index: 1;
        position: relative;
    }

    .login-card a:hover {
        color: #d4d4d4;
        text-decoration: underline;
    }




    /* Animations */
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }




    /* Animations */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-100%);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        60% {
            transform: translateY(-5px);
        }
    }

    @media (max-width: 576px) {
        .progress-bar-text {
            font-size: 0.8rem;
        }

    }