{"id":1446,"date":"2026-07-21T11:57:27","date_gmt":"2026-07-21T11:57:27","guid":{"rendered":"https:\/\/shefahospital.sa\/?page_id=1446"},"modified":"2026-07-21T13:23:55","modified_gmt":"2026-07-21T13:23:55","slug":"thank-you","status":"publish","type":"page","link":"https:\/\/shefahospital.sa\/ar\/thank-you\/","title":{"rendered":"Thank you"},"content":{"rendered":"<style>\n    \/* Custom Styling for Thank You Page *\/\n    .shefa-ty-section {\n        min-height: 80vh;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        background-color: #f4f7f6;\n        background-image: url(\"data:image\/svg+xml;utf8,<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='180' height='156' viewBox='0 0 180 156'><g fill='none' stroke='%2390c4e8' stroke-opacity='0.2' stroke-width='1.1'><path d='M45 3l42 24v48l-42 24-42-24V27z'\/><path d='M135 3l42 24v48l-42 24-42-24V27z'\/><path d='M90 81l42 24v48l-42 24-42-24v-48z'\/><\/g><\/svg>\");\n        padding: 20px;\n        font-family: system-ui, -apple-system, sans-serif;\n    }\n\n    .shefa-ty-card {\n        background: #ffffff;\n        max-width: 550px;\n        width: 100%;\n        border-radius: 24px;\n        padding: 40px 30px;\n        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);\n        text-align: center;\n        position: relative;\n        overflow: hidden;\n        border: 1px solid #eaeaea;\n    }\n\n    \/* Language Switcher *\/\n    .shefa-lang-btn {\n        position: absolute;\n        top: 20px;\n        right: 20px;\n        background: #eef5f2;\n        color: #4b8074;\n        border: 1px solid #4b8074;\n        padding: 6px 14px;\n        border-radius: 20px;\n        font-size: 14px;\n        font-weight: 600;\n        cursor: pointer;\n        transition: 0.3s;\n        z-index: 10;\n    }\n    .shefa-lang-btn:hover {\n        background: #4b8074;\n        color: #fff;\n    }\n\n    \/* Icon Animation *\/\n    .shefa-ty-icon {\n        width: 80px;\n        height: 80px;\n        background: #eef5f2;\n        color: #4b8074;\n        border-radius: 50%;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        margin: 0 auto 25px auto;\n        animation: scaleIn 0.5s ease-out;\n    }\n    .shefa-ty-icon svg {\n        width: 40px;\n        height: 40px;\n    }\n\n    @keyframes scaleIn {\n        0% { transform: scale(0); opacity: 0; }\n        70% { transform: scale(1.1); }\n        100% { transform: scale(1); opacity: 1; }\n    }\n\n    \/* Typography *\/\n    .shefa-ty-title {\n        font-size: 28px;\n        font-weight: 800;\n        color: #4b8074;\n        margin-bottom: 10px;\n        margin-top: 0;\n    }\n    .shefa-ty-desc {\n        font-size: 16px;\n        color: #555;\n        line-height: 1.6;\n        margin-bottom: 30px;\n    }\n    .shefa-ty-ref {\n        display: inline-block;\n        background: #fff8e1;\n        color: #b68c3e;\n        padding: 8px 15px;\n        border-radius: 8px;\n        font-weight: 600;\n        font-size: 14px;\n        margin-bottom: 30px;\n        border: 1px solid #f2e4c9;\n    }\n\n    \/* Buttons *\/\n    .shefa-ty-actions {\n        display: flex;\n        justify-content: center;\n    }\n    .shefa-btn {\n        padding: 12px 30px;\n        border-radius: 12px;\n        font-size: 16px;\n        font-weight: 600;\n        text-decoration: none;\n        transition: 0.3s;\n        display: inline-flex;\n        align-items: center;\n        gap: 8px;\n        justify-content: center;\n    }\n    .shefa-btn-primary {\n        background: #4b8074;\n        color: #fff !important;\n        border: none;\n    }\n    .shefa-btn-primary:hover {\n        background: #3a685e;\n    }\n\n    \/* Language Sections (Fade Effect) *\/\n    .shefa-lang-content {\n        display: none;\n        animation: fadeIn 0.4s ease-in-out;\n    }\n    .shefa-lang-content.active {\n        display: block;\n    }\n    @keyframes fadeIn {\n        from { opacity: 0; transform: translateY(10px); }\n        to { opacity: 1; transform: translateY(0); }\n    }\n\n    \/* Mobile adjustments *\/\n    @media (max-width: 480px) {\n        .shefa-btn { width: 100%; }\n        .shefa-ty-card { padding: 40px 20px 30px; }\n        .shefa-lang-btn { top: 15px; left: 15px; right: auto; } \/* Shift button on mobile *\/\n    }\n<\/style>\n\n<div class=\"shefa-ty-section\">\n    <div class=\"shefa-ty-card\">\n        \n        <!-- Language Switcher Button -->\n        <button id=\"shefaLangToggle\" class=\"shefa-lang-btn\" onclick=\"toggleLanguage()\">\n            \u0639\u0631\u0628\u064a\n        <\/button>\n\n        <!-- Success Check Icon -->\n        <div class=\"shefa-ty-icon\">\n            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"3\">\n                <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M5 13l4 4L19 7\" \/>\n            <\/svg>\n        <\/div>\n\n        <!-- ENGLISH CONTENT -->\n        <div id=\"shefa-content-en\" class=\"shefa-lang-content active\" dir=\"ltr\">\n            <h1 class=\"shefa-ty-title\">Thank You!<\/h1>\n            <p class=\"shefa-ty-desc\">Your appointment request has been successfully received. Our team will review your details and contact you shortly to confirm your booking.<\/p>\n            \n            <div class=\"shefa-ty-ref\">\n                We are available 24\/7 for you\n            <\/div>\n\n            <div class=\"shefa-ty-actions\">\n                <a href=\"\/ar\/\" class=\"shefa-btn shefa-btn-primary\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"><\/path><polyline points=\"9 22 9 12 15 12 15 22\"><\/polyline><\/svg>\n                    Back to Home\n                <\/a>\n            <\/div>\n        <\/div>\n\n        <!-- ARABIC CONTENT -->\n        <div id=\"shefa-content-ar\" class=\"shefa-lang-content\" dir=\"rtl\" style=\"font-family: 'Tajawal', 'Cairo', sans-serif;\">\n            <h1 class=\"shefa-ty-title\">\u0634\u0643\u0631\u0627\u064b \u0644\u0643!<\/h1>\n            <p class=\"shefa-ty-desc\">\u0644\u0642\u062f \u062a\u0645 \u0627\u0633\u062a\u0644\u0627\u0645 \u0637\u0644\u0628 \u0627\u0644\u0645\u0648\u0639\u062f \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0628\u0646\u062c\u0627\u062d. \u0633\u064a\u0642\u0648\u0645 \u0641\u0631\u064a\u0642\u0646\u0627 \u0628\u0645\u0631\u0627\u062c\u0639\u0629 \u0628\u064a\u0627\u0646\u0627\u062a\u0643 \u0648\u0627\u0644\u062a\u0648\u0627\u0635\u0644 \u0645\u0639\u0643 \u0642\u0631\u064a\u0628\u0627\u064b \u0644\u062a\u0623\u0643\u064a\u062f \u0627\u0644\u062d\u062c\u0632.<\/p>\n            \n            <div class=\"shefa-ty-ref\">\n                \u0646\u062d\u0646 \u0645\u062a\u0648\u0627\u062c\u062f\u0648\u0646 \u0644\u062e\u062f\u0645\u062a\u0643 \u0639\u0644\u0649 \u0645\u062f\u0627\u0631 \u0627\u0644\u0633\u0627\u0639\u0629\n            <\/div>\n\n            <div class=\"shefa-ty-actions\">\n                <a href=\"\/ar\/\" class=\"shefa-btn shefa-btn-primary\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"><\/path><polyline points=\"9 22 9 12 15 12 15 22\"><\/polyline><\/svg>\n                    \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629\n                <\/a>\n            <\/div>\n        <\/div>\n\n    <\/div>\n<\/div>\n\n<script>\n    \/\/ Logic to toggle between English and Arabic\n    function toggleLanguage() {\n        const enContent = document.getElementById('shefa-content-en');\n        const arContent = document.getElementById('shefa-content-ar');\n        const langBtn = document.getElementById('shefaLangToggle');\n        const langBtnDesktop = document.querySelector('.shefa-lang-btn');\n\n        if (enContent.classList.contains('active')) {\n            \/\/ Switch to Arabic\n            enContent.classList.remove('active');\n            arContent.classList.add('active');\n            langBtn.innerHTML = 'English';\n            \/\/ Adjust button position for RTL flow\n            langBtnDesktop.style.left = '20px';\n            langBtnDesktop.style.right = 'auto';\n        } else {\n            \/\/ Switch to English\n            arContent.classList.remove('active');\n            enContent.classList.add('active');\n            langBtn.innerHTML = '\u0639\u0631\u0628\u064a';\n            \/\/ Adjust button position for LTR flow\n            langBtnDesktop.style.right = '20px';\n            langBtnDesktop.style.left = 'auto';\n        }\n    }\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u0639\u0631\u0628\u064a Thank You! Your appointment request has been successfully received. Our team will review your details and contact you shortly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-1446","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shefahospital.sa\/ar\/wp-json\/wp\/v2\/pages\/1446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shefahospital.sa\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shefahospital.sa\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shefahospital.sa\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shefahospital.sa\/ar\/wp-json\/wp\/v2\/comments?post=1446"}],"version-history":[{"count":2,"href":"https:\/\/shefahospital.sa\/ar\/wp-json\/wp\/v2\/pages\/1446\/revisions"}],"predecessor-version":[{"id":1462,"href":"https:\/\/shefahospital.sa\/ar\/wp-json\/wp\/v2\/pages\/1446\/revisions\/1462"}],"wp:attachment":[{"href":"https:\/\/shefahospital.sa\/ar\/wp-json\/wp\/v2\/media?parent=1446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}