{"id":2302,"date":"2026-08-05T17:06:06","date_gmt":"2026-08-05T08:36:06","guid":{"rendered":"https:\/\/depedilocosnorte.com\/sdoin\/?page_id=2302"},"modified":"2026-08-18T11:09:37","modified_gmt":"2026-08-18T02:39:37","slug":"citizens-charter","status":"publish","type":"page","link":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/citizens-charter\/","title":{"rendered":"Citizens Charter"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<style>\n.sdo-pdf-wrapper {\n    max-width: 1140px;\n    margin: 30px auto;\n    padding: 0 15px;\n    font-family: Arial, Helvetica, sans-serif;\n}\n\n.sdo-pdf-card {\n    position: relative;\n    background: #ffffff;\n    border: 1px solid #e1e5eb;\n    border-radius: 16px;\n    padding: 30px 26px 25px;\n    margin-bottom: 25px;\n    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);\n    overflow: hidden;\n}\n\n.sdo-pdf-card::before {\n    content: \"\";\n    position: absolute;\n    top: 0;\n    left: 0;\n    right: 0;\n    height: 6px;\n    background: #f6a623;\n}\n\n.sdo-pdf-category {\n    display: block;\n    margin-bottom: 20px;\n    font-size: 13px;\n    font-weight: 700;\n    color: #16377f;\n}\n\n.sdo-pdf-title {\n    margin: 0 0 18px;\n    padding-right: 80px;\n    font-size: 20px;\n    line-height: 1.35;\n    font-weight: 700;\n    color: #111827;\n}\n\n.sdo-pdf-info {\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    margin: 10px 0;\n    color: #52627a;\n    font-size: 13px;\n}\n\n.sdo-pdf-info-icon {\n    width: 22px;\n    color: #8a97a8;\n    font-size: 16px;\n}\n\n.sdo-pdf-badge {\n    position: absolute;\n    top: 30px;\n    right: 26px;\n    padding: 12px 14px;\n    background: #f1f3f6;\n    color: #596579;\n    border-radius: 50px;\n    font-size: 12px;\n    font-weight: 600;\n}\n\n.sdo-pdf-button {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 10px;\n    margin-top: 25px;\n    padding: 14px 22px;\n    background: #243b82;\n    color: #ffffff !important;\n    text-decoration: none !important;\n    border: none;\n    border-radius: 11px;\n    font-size: 13px;\n    font-weight: 700;\n    line-height: 1;\n    cursor: pointer;\n    box-shadow: 0 5px 12px rgba(36, 59, 130, 0.20);\n    transition: all 0.2s ease;\n}\n\n.sdo-pdf-button::before {\n    content: \"\u2b07\";\n    font-size: 17px;\n}\n\n.sdo-pdf-button:hover {\n    background: #172d6b;\n    color: #ffffff !important;\n    transform: translateY(-1px);\n}\n\n\/* =================================\n   DOWNLOAD NOTIFICATION\n   ================================= *\/\n\n.sdo-download-notification {\n    position: fixed;\n    right: 25px;\n    bottom: 25px;\n    z-index: 999999;\n\n    display: flex;\n    align-items: center;\n    gap: 12px;\n\n    min-width: 280px;\n    max-width: 380px;\n\n    padding: 16px 20px;\n\n    background: #ffffff;\n    color: #1f2937;\n\n    border-radius: 12px;\n\n    box-shadow:\n        0 10px 30px rgba(0, 0, 0, 0.15),\n        0 2px 8px rgba(0, 0, 0, 0.08);\n\n    border-left: 5px solid #2e7d32;\n\n    font-family: Arial, Helvetica, sans-serif;\n\n    opacity: 0;\n    transform: translateY(20px);\n    pointer-events: none;\n\n    transition: all 0.3s ease;\n}\n\n.sdo-download-notification.show {\n    opacity: 1;\n    transform: translateY(0);\n}\n\n.sdo-download-success-icon {\n    width: 32px;\n    height: 32px;\n\n    display: flex;\n    align-items: center;\n    justify-content: center;\n\n    flex-shrink: 0;\n\n    background: #e8f5e9;\n    color: #2e7d32;\n\n    border-radius: 50%;\n\n    font-size: 18px;\n    font-weight: bold;\n}\n\n.sdo-download-notification-content {\n    flex: 1;\n}\n\n.sdo-download-notification-title {\n    font-size: 14px;\n    font-weight: 700;\n    margin-bottom: 3px;\n}\n\n.sdo-download-notification-text {\n    font-size: 12px;\n    color: #6b7280;\n    line-height: 1.4;\n}\n\n.sdo-download-close {\n    border: none;\n    background: transparent;\n    color: #9ca3af;\n    cursor: pointer;\n    font-size: 20px;\n    padding: 0;\n    line-height: 1;\n}\n\n.sdo-download-close:hover {\n    color: #374151;\n}\n\n\n\/* =================================\n   MOBILE\n   ================================= *\/\n\n@media (max-width: 600px) {\n\n    .sdo-pdf-card {\n        padding: 27px 20px 22px;\n    }\n\n    .sdo-pdf-title {\n        font-size: 18px;\n    }\n\n    .sdo-pdf-badge {\n        top: 25px;\n        right: 18px;\n        padding: 9px 11px;\n    }\n\n    .sdo-pdf-button {\n        width: 100%;\n    }\n\n    .sdo-download-notification {\n        left: 15px;\n        right: 15px;\n        bottom: 15px;\n        min-width: auto;\n        max-width: none;\n    }\n}\n<\/style>\n\n\n<div class=\"sdo-pdf-wrapper\">\n\n    <!-- =================================\n         EXTERNAL SERVICES\n         ================================= -->\n\n    <div class=\"sdo-pdf-card\">\n\n        <div class=\"sdo-pdf-badge\">\n            PDF\n        <\/div>\n\n        <div class=\"sdo-pdf-category\">\n            SDO Ilocos Norte\n        <\/div>\n\n        <h3 class=\"sdo-pdf-title\">\n            Citizen\u2019s Charter \u2013 External Services\n        <\/h3>\n\n        <div class=\"sdo-pdf-info\">\n            <span class=\"sdo-pdf-info-icon\">\u25a3<\/span>\n            <span>Schools Division of Ilocos Norte<\/span>\n        <\/div>\n\n        <div class=\"sdo-pdf-info\">\n            <span class=\"sdo-pdf-info-icon\">\u25a4<\/span>\n            <span>External Services<\/span>\n        <\/div>\n\n        <button\n            type=\"button\"\n            class=\"sdo-pdf-button\"\n            onclick=\"downloadSDOPDF(\n                'https:\/\/depedilocosnorte.com\/sdoin\/wp-content\/uploads\/2026\/08\/CC-SDO-External-Service-Portrait.pdf',\n                'CC-SDO-External-Service-Portrait.pdf'\n            )\">\n            Download PDF\n        <\/button>\n\n    <\/div>\n\n\n    <!-- =================================\n         INTERNAL SERVICES\n         ================================= -->\n\n    <div class=\"sdo-pdf-card\">\n\n        <div class=\"sdo-pdf-badge\">\n            PDF\n        <\/div>\n\n        <div class=\"sdo-pdf-category\">\n            SDO Ilocos Norte\n        <\/div>\n\n        <h3 class=\"sdo-pdf-title\">\n            Citizen\u2019s Charter \u2013 Internal Services\n        <\/h3>\n\n        <div class=\"sdo-pdf-info\">\n            <span class=\"sdo-pdf-info-icon\">\u25a3<\/span>\n            <span>Schools Division of Ilocos Norte<\/span>\n        <\/div>\n\n        <div class=\"sdo-pdf-info\">\n            <span class=\"sdo-pdf-info-icon\">\u25a4<\/span>\n            <span>Internal Services<\/span>\n        <\/div>\n\n        <button\n            type=\"button\"\n            class=\"sdo-pdf-button\"\n            onclick=\"downloadSDOPDF(\n                'https:\/\/depedilocosnorte.com\/sdoin\/wp-content\/uploads\/2026\/08\/CC-SDO-Internal-Service.pdf',\n                'CC-SDO-Internal-Service.pdf'\n            )\">\n            Download PDF\n        <\/button>\n\n    <\/div>\n\n<\/div>\n\n\n<!-- =================================\n     DOWNLOAD NOTIFICATION\n     ================================= -->\n\n<div\n    id=\"sdoDownloadNotification\"\n    class=\"sdo-download-notification\">\n\n    <div class=\"sdo-download-success-icon\">\n        \u2713\n    <\/div>\n\n    <div class=\"sdo-download-notification-content\">\n\n        <div class=\"sdo-download-notification-title\">\n            Download successful!\n        <\/div>\n\n        <div\n            id=\"sdoDownloadNotificationText\"\n            class=\"sdo-download-notification-text\">\n            Your PDF download has started.\n        <\/div>\n\n    <\/div>\n\n    <button\n        type=\"button\"\n        class=\"sdo-download-close\"\n        onclick=\"hideSDONotification()\">\n        \u00d7\n    <\/button>\n\n<\/div>\n\n\n<script>\n\nasync function downloadSDOPDF(url, filename) {\n\n    const button = event.currentTarget;\n\n    \/* Prevent double clicking *\/\n    button.disabled = true;\n\n    const originalText = button.innerHTML;\n\n    button.innerHTML = \"Downloading...\";\n\n    try {\n\n        const response = await fetch(url);\n\n        if (!response.ok) {\n            throw new Error(\"Unable to download PDF.\");\n        }\n\n        const blob = await response.blob();\n\n        const blobUrl = window.URL.createObjectURL(blob);\n\n        const link = document.createElement(\"a\");\n\n        link.href = blobUrl;\n        link.download = filename;\n\n        document.body.appendChild(link);\n\n        link.click();\n\n        document.body.removeChild(link);\n\n        window.URL.revokeObjectURL(blobUrl);\n\n        \/*\n         * Show success notification\n         *\/\n        showSDONotification(filename);\n\n    } catch (error) {\n\n        console.error(error);\n\n        \/*\n         * If direct download isn't permitted,\n         * open the PDF in a new tab.\n         *\/\n        window.open(url, \"_blank\");\n\n        showSDOErrorNotification();\n\n    } finally {\n\n        button.disabled = false;\n\n        button.innerHTML = originalText;\n\n    }\n}\n\n\n\/* =================================\n   SHOW SUCCESS NOTIFICATION\n   ================================= *\/\n\nfunction showSDONotification(filename) {\n\n    const notification =\n        document.getElementById(\"sdoDownloadNotification\");\n\n    const text =\n        document.getElementById(\"sdoDownloadNotificationText\");\n\n    text.innerHTML =\n        \"<strong>\" + filename + \"<\/strong><br>\" +\n        \"The PDF download has started.\";\n\n    notification.classList.add(\"show\");\n\n    \/*\n     * Automatically hide after 5 seconds\n     *\/\n    clearTimeout(window.sdoNotificationTimer);\n\n    window.sdoNotificationTimer = setTimeout(\n        hideSDONotification,\n        5000\n    );\n}\n\n\n\/* =================================\n   HIDE NOTIFICATION\n   ================================= *\/\n\nfunction hideSDONotification() {\n\n    const notification =\n        document.getElementById(\"sdoDownloadNotification\");\n\n    notification.classList.remove(\"show\");\n}\n\n\n\/* =================================\n   ERROR NOTIFICATION\n   ================================= *\/\n\nfunction showSDOErrorNotification() {\n\n    const notification =\n        document.getElementById(\"sdoDownloadNotification\");\n\n    const icon =\n        notification.querySelector(\n            \".sdo-download-success-icon\"\n        );\n\n    const title =\n        notification.querySelector(\n            \".sdo-download-notification-title\"\n        );\n\n    const text =\n        document.getElementById(\n            \"sdoDownloadNotificationText\"\n        );\n\n    icon.innerHTML = \"!\";\n\n    title.innerHTML = \"Download opened\";\n\n    text.innerHTML =\n        \"The PDF was opened in a new browser tab.\";\n\n    notification.classList.add(\"show\");\n\n    clearTimeout(window.sdoNotificationTimer);\n\n    window.sdoNotificationTimer = setTimeout(\n        hideSDONotification,\n        5000\n    );\n}\n\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>PDF SDO Ilocos Norte Citizen\u2019s Charter \u2013 External Services \u25a3 Schools Division of Ilocos Norte \u25a4 External Services Download PDF &hellip; <\/p>\n","protected":false},"author":6,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2302","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/wp-json\/wp\/v2\/pages\/2302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/wp-json\/wp\/v2\/comments?post=2302"}],"version-history":[{"count":16,"href":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/wp-json\/wp\/v2\/pages\/2302\/revisions"}],"predecessor-version":[{"id":3532,"href":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/wp-json\/wp\/v2\/pages\/2302\/revisions\/3532"}],"wp:attachment":[{"href":"https:\/\/depedilocosnorte.com\/sdoin\/index.php\/wp-json\/wp\/v2\/media?parent=2302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}