 .card-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        /* Untuk Pejabat & Jabatan guna flex seperti asal */
        .card {
            width: 250px;
            padding: 20px;
            background-color: #f4f4f4;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .card a {
            text-decoration: none;
            color: white;
            font-weight: bold;
            font-size: 1.1em;
            display: block;
            text-align: center;
        }

        /* Warna mengikut kategori */
        .pejabat-card {
            background-color: #0F2787;
        }

        .jabatan-card {
            background-color: #0F2787;
        }

        .card:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
        }

        /* Unit & Cawangan dalam grid 5 kolum */
        .card-container.unit-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
            justify-items: center;
            margin-bottom: 30px;
        }

        .card.unit-card {
            width: 100%;
            max-width: 250px;
            padding: 20px;
            background-color: #0F2787;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .card.unit-card a {
            color: white;
            text-decoration: none;
            display: block;
            font-weight: bold;
            font-size: 1.1em;
            text-align: center;
        }

        .card.unit-card:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
        }
