{"id":934,"date":"2025-02-17T23:23:15","date_gmt":"2025-02-17T23:23:15","guid":{"rendered":"https:\/\/joyzone.com.sa\/school-trips"},"modified":"2026-09-13T10:12:58","modified_gmt":"2026-09-13T10:12:58","slug":"school-trips","status":"publish","type":"page","link":"https:\/\/joyzone.com.sa\/en\/school-trips","title":{"rendered":"School Trips"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"934\" class=\"elementor elementor-934 elementor-622\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-257458a7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"257458a7\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-374a2eb\" data-id=\"374a2eb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5e149ad elementor-widget elementor-widget-heading\" data-id=\"5e149ad\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Book a school trip<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-df0ac6b elementor-widget elementor-widget-shortcode\" data-id=\"df0ac6b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div class=\"jz-booking-container\">\n        <!-- Progress Bar -->\n        <div class=\"jz-progress-bar\">\n            <div class=\"jz-progress-step active\" data-step=\"1\">\n                <div class=\"step-number\">1<\/div>\n                <div class=\"step-label\">Booking Information<\/div>\n            <\/div>\n            <div class=\"jz-progress-step\" data-step=\"2\">\n                <div class=\"step-number\">2<\/div>\n                <div class=\"step-label\">Contact Information<\/div>\n            <\/div>\n            <div class=\"jz-progress-step\" data-step=\"3\">\n                <div class=\"step-number\">3<\/div>\n                <div class=\"step-label\">Booking Confirmation<\/div>\n            <\/div>\n        <\/div>\n\n        <!-- Booking Form -->\n        <form id=\"jz-booking-form\" class=\"jz-booking-form\" novalidate>\n            <input type=\"hidden\" id=\"jz_nonce\" name=\"jz_nonce\" value=\"964459cb6e\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/934\" \/>            \n            <!-- Step 1: Booking Information (Combined Branch, Date & Group Details) -->\n            <div class=\"jz-form-step\" id=\"step-1\">\n                                <h3>Booking Information<\/h3>\n\n                <!-- Panel: the trip being added or edited (collapsible) -->\n                <div class=\"jz-trip-form\" id=\"jz-trip-form\">\n                <div class=\"jz-trip-form-head\">\n                    <span class=\"jz-trip-form-title\" id=\"jz-trip-form-title\">Trip details<\/span>\n                <\/div>\n\n                <div class=\"form-group\">\n                    <label for=\"branch\">Select Branch:<\/label>\n                    <select name=\"branch_id\" id=\"branch\">\n                        <option value=\"\">Select a branch<\/option>\n                        <option value=\"1\" data-capacity=\"200\">Al Sahafa<\/option><option value=\"2\" data-capacity=\"180\">Al Quds<\/option><option value=\"3\" data-capacity=\"250\">Al Wurud<\/option>                    <\/select>\n                <\/div>\n\n                <div class=\"form-group\">\n                    <label for=\"category_type\">Category Type:<\/label>\n                    <select name=\"category_type\" id=\"category_type\">\n                        <option value=\"\">Select category<\/option>\n                        <option value=\"male\">Male (6 years and above)<\/option>\n                        <option value=\"female\">Female (6 years and above)<\/option>\n                        <option value=\"mix\">Mix (6 years and above)<\/option>\n                        <option value=\"under5\">5 years or under<\/option>\n                    <\/select>\n                <\/div>\n\n                <div class=\"form-group\">\n                    <label for=\"student_count\">Number of Students:<\/label>\n                    <input type=\"number\" id=\"student_count\" name=\"student_count\" min=\"1\" inputmode=\"numeric\">\n                    <small id=\"student-count-message\" style=\"display: none;\">At least 1 student required<\/small>\n                    <small id=\"capacity-message\" style=\"display: none;\"><\/small>\n                <\/div>\n\n                                <div class=\"form-group\" id=\"whole-center-container\">\n                    <label for=\"whole_center\">\n                        <input type=\"checkbox\" id=\"whole_center\" name=\"whole_center\">\n                        Book Whole Center                    <\/label>\n                <\/div>\n                \n                <div class=\"form-group\">\n                    <div id=\"price-calculator\" class=\"price-calculator\" style=\"display:none;\">\n                        <h4>Price Calculation<\/h4>\n                        <div id=\"price-breakdown\"><\/div>\n                        <div id=\"total-price\" class=\"total-price\"><\/div>\n                    <\/div>\n                <\/div>\n\n                <div class=\"form-group\">\n                    <label for=\"booking_date\">Select Date:<\/label>\n                    <div class=\"jz-calendar-wrapper\">\n                        <input type=\"date\" id=\"booking_date\" name=\"date\">\n                        <div id=\"date-availability\" class=\"availability-indicator\"><\/div>\n                    <\/div>\n                    <div class=\"jz-calendar-legend\" aria-hidden=\"true\">\n                        <span class=\"jz-legend-item\"><span class=\"jz-legend-dot available\"><\/span>Available<\/span>\n                        <span class=\"jz-legend-item\"><span class=\"jz-legend-dot limited\"><\/span>Limited<\/span>\n                        <span class=\"jz-legend-item\"><span class=\"jz-legend-dot unavailable\"><\/span>Unavailable<\/span>\n                        <span class=\"jz-legend-item\"><span class=\"jz-legend-dot selected\"><\/span>Your selection<\/span>\n                    <\/div>\n                <\/div>\n\n                    <!-- Add \/ update the trip in the panel -->\n                    <div class=\"jz-add-actions\">\n                        <button type=\"button\" id=\"jz-add-booking\" class=\"jz-btn jz-btn-primary\" style=\"display:none;\">\n                            <span class=\"jz-add-icon\">\uff0b<\/span> <span id=\"jz-add-label\">Add trip<\/span>\n                        <\/button>\n                        <button type=\"button\" id=\"jz-cancel-edit\" class=\"jz-btn-ghost\" style=\"display:none;\">\n                            Cancel                        <\/button>\n                    <\/div>\n                <\/div><!-- \/.jz-trip-form -->\n\n\n                <!-- Cart: all trips added so far -->\n                <div class=\"jz-cart\" id=\"jz-cart\" style=\"display:none;\">\n                    <h4 class=\"jz-cart-title\">Your trips <span class=\"jz-cart-count\" id=\"jz-cart-count\">0<\/span><\/h4>\n                    <div id=\"jz-cart-items\"><\/div>\n\n                    <!-- Adding trip 2, 3 ... The panel is moved into the slot\n                         below, so the fields open where the new trip will sit\n                         instead of back at the top of the page. -->\n                    <div class=\"jz-trip-actions-bar\">\n                        <button type=\"button\" id=\"jz-add-another\" class=\"jz-add-another\" style=\"display:none;\">\n                            <span class=\"jz-add-icon\">\uff0b<\/span> Add another trip                        <\/button>\n                        <span class=\"jz-added-flash\" id=\"jz-added-flash\" hidden>\u2713 Trip added<\/span>\n                    <\/div>\n                    <div id=\"jz-trip-form-slot\"><\/div>\n\n                    <div class=\"jz-cart-totals\">\n                        <!-- Shown only alongside a discount, where the customer\n                             needs the arithmetic; otherwise the grand total is\n                             the only number on screen. -->\n                        <div class=\"jz-cart-row\" id=\"jz-subtotal-row\" style=\"display:none;\">\n                            <span>Subtotal<\/span>\n                            <strong id=\"jz-subtotal\">0.00<\/strong>\n                        <\/div>\n                        <div class=\"jz-cart-row jz-cart-row--discount\" id=\"jz-discount-row\" style=\"display:none;\">\n                            <span id=\"jz-discount-label\">Discount<\/span>\n                            <strong id=\"jz-discount-value\">-0.00<\/strong>\n                        <\/div>\n                        <div class=\"jz-cart-row jz-cart-row--grand\">\n                                                        <span id=\"jz-cart-grand-label\">Trip price<\/span>\n                            <strong><span id=\"jz-grand-total\">0.00<\/span> SAR<\/strong>\n                        <\/div>\n                    <\/div>\n\n                                    <\/div>\n            <\/div>\n\n            <!-- Step 2: Contact Information -->\n            <div class=\"jz-form-step\" id=\"step-2\" style=\"display: none;\">\n\n                <!--\n                    A recap of what has been added, before contact details are\n                    asked for. Read-only on purpose: editing and removing live\n                    in step 1, so there is one place that owns a trip rather\n                    than two sets of controls fighting over the same rows.\n                    \"Add another trip\" goes back to step 1 with a blank trip\n                    form; nothing typed here is lost, the step is only hidden.\n                -->\n                <div class=\"jz-step2-trips\" id=\"jz-step2-trips\" style=\"display:none;\">\n                    <div class=\"jz-step2-trips__head\">\n                        <span class=\"jz-step2-trips__title\">\n                            Your trips                            <span class=\"jz-step2-trips__count\" id=\"jz-step2-count\">0<\/span>\n                        <\/span>\n                        <button type=\"button\" class=\"jz-step2-add\" id=\"jz-step2-add-another\">\n                            + Add another trip                        <\/button>\n                    <\/div>\n                    <ul class=\"jz-step2-trips__list\" id=\"jz-step2-list\"><\/ul>\n\n                    <div class=\"jz-step2-totals\">\n                        <div class=\"jz-step2-totals__row\" id=\"jz-step2-subtotal-row\" style=\"display:none;\">\n                            <span>Subtotal<\/span>\n                            <strong id=\"jz-step2-subtotal\">0.00<\/strong>\n                        <\/div>\n                        <div class=\"jz-step2-totals__row jz-step2-totals__row--discount\" id=\"jz-step2-discount-row\" style=\"display:none;\">\n                            <span>Discount<\/span>\n                            <strong id=\"jz-step2-discount\">0.00<\/strong>\n                        <\/div>\n                        <div class=\"jz-step2-totals__row jz-step2-totals__row--grand\">\n                            <span>Total<\/span>\n                            <strong><span id=\"jz-step2-total\">0.00<\/span> SAR<\/strong>\n                        <\/div>\n                    <\/div>\n                <\/div>\n\n                <h3>Contact Information<\/h3>\n\n                <div class=\"form-group\">\n                    <label for=\"school_name\">School Name:<\/label>\n                    <input type=\"text\" id=\"school_name\" name=\"school_name\" required autocomplete=\"organization\" placeholder=\"e.g. Al Noor International School\">\n                <\/div>\n\n                <div class=\"form-group\">\n                    <label for=\"supervisor_name\">Supervisor Name:<\/label>\n                    <input type=\"text\" id=\"supervisor_name\" name=\"supervisor_name\" required autocomplete=\"name\" placeholder=\"Full name of the trip supervisor\">\n                <\/div>\n\n                <div class=\"form-group\">\n                    <label for=\"mobile\">Mobile Number:<\/label>\n                    <input type=\"tel\" id=\"mobile\" name=\"mobile\" inputmode=\"numeric\" autocomplete=\"tel-national\" dir=\"ltr\" placeholder=\"05xxxxxxxx\" required>\n                    <small>Format: 05xxxxxxxx<\/small>\n                <\/div>\n\n                <!--\n                    Phone verification.\n\n                    The code used to be asked for here, inline, behind a \"Verify\"\n                    button. That could be raced: type the number, press Next\n                    before the background check had answered, and the step\n                    opened with nothing verified. It is now a modal that opens\n                    on Next and closes only on success or on the X, and the code\n                    is checked the moment four digits are in - there is no button\n                    to beat.\n                -->\n                <div class=\"form-group jz-otp-group\" id=\"jz-otp-group\" style=\"display:none;\">\n                    <span id=\"jz-otp-inline-status\" class=\"jz-otp-inline\" aria-live=\"polite\"><\/span>\n                    <input type=\"hidden\" id=\"otp_verification_token\" name=\"otp_verification_token\" value=\"\">\n                <\/div>\n\n                <div class=\"form-group\">\n                    <label for=\"email\">Email Address (Optional):<\/label>\n                    <input type=\"email\" id=\"email\" name=\"email\" inputmode=\"email\" autocomplete=\"email\" dir=\"ltr\" placeholder=\"name@example.com\">\n                <\/div>\n            <\/div>\n\n            <!-- Step 3: Review & Confirm -->\n            <div class=\"jz-form-step\" id=\"step-3\" style=\"display: none;\">\n                <h3>Booking Confirmation<\/h3>\n\n<!-- All trips in this order -->\n<div class=\"jz-review-section\">\n    <h4 class=\"jz-review-title\">Trips<\/h4>\n    <div id=\"jz-review-trips\"><\/div>\n\n        <div class=\"jz-code-box\">\n        <label for=\"promo_code\">Discount code (optional):<\/label>\n        <div class=\"jz-code-row\">\n            <input type=\"text\" id=\"promo_code\" name=\"promo_code\" autocomplete=\"off\"\n                   placeholder=\"e.g. JOY20\">\n            <button type=\"button\" id=\"jz-apply-code\" class=\"jz-btn jz-btn-primary\">Apply<\/button>\n        <\/div>\n        <small id=\"jz-code-msg\" class=\"jz-code-msg\"><\/small>\n    <\/div>\n\n    <div class=\"jz-cart-totals jz-review-totals\">\n        <div class=\"jz-cart-row\" id=\"jz-review-subtotal-row\" style=\"display:none;\">\n            <span>Subtotal<\/span>\n            <strong id=\"jz-review-subtotal\">0.00<\/strong>\n        <\/div>\n        <div class=\"jz-cart-row jz-cart-row--discount\" id=\"jz-review-discount-row\" style=\"display:none;\">\n            <span id=\"jz-review-discount-label\">Discount<\/span>\n            <strong id=\"jz-review-discount\">-0.00<\/strong>\n        <\/div>\n        <div class=\"jz-cart-row jz-cart-row--grand\">\n            <span>Grand total<\/span>\n                        <strong><span id=\"jz-review-grand\">0.00<\/span> SAR<\/strong>\n        <\/div>\n    <\/div>\n<\/div>\n\n<!-- School \/ contact details -->\n<div class=\"jz-review-section\">\n    <h4 class=\"jz-review-title\">School details<\/h4>\n    <div class=\"booking-summary\">\n        <div id=\"summary-school\"><\/div>\n        <div id=\"summary-supervisor\"><\/div>\n        <div id=\"summary-mobile\"><\/div>\n        <div id=\"summary-email\"><\/div>\n        <div id=\"summary-code\"><\/div>\n    <\/div>\n<\/div>\n\n    <div class=\"form-group jz-pm-group\">\n        <label class=\"jz-pm-title\">Payment Method:<\/label>\n        <div class=\"jz-pm-cards\">\n                                            <label class=\"jz-pm-card\" data-jz-method=\"full\">\n                                        <input type=\"radio\" name=\"payment_method\" value=\"full\"  checked='checked'>\n                    <span class=\"jz-pm-card-inner\">\n                        <span class=\"jz-pm-icon\">\ud83d\udcb0<\/span>\n                        <span class=\"jz-pm-text\">\n                            <strong>Full Payment<\/strong>\n                            <small>Pay the full amount securely online now.<\/small>\n                                                            <span class=\"jz-pay-marks\" aria-label=\"Accepted payment methods\"><img decoding=\"async\" class=\"jz-pay-mark jz-pay-mark--applepay\" src=\"https:\/\/joyzone.com.sa\/wp-content\/plugins\/Joy-Zone-Booking-System-TEST-1-1\/assets\/img\/pay-applepay.svg\" alt=\"Apple Pay\" title=\"Apple Pay\" loading=\"lazy\"><img decoding=\"async\" class=\"jz-pay-mark jz-pay-mark--mada\" src=\"https:\/\/joyzone.com.sa\/wp-content\/plugins\/Joy-Zone-Booking-System-TEST-1-1\/assets\/img\/pay-mada.svg\" alt=\"mada\" title=\"mada\" loading=\"lazy\"><img decoding=\"async\" class=\"jz-pay-mark jz-pay-mark--visa\" src=\"https:\/\/joyzone.com.sa\/wp-content\/plugins\/Joy-Zone-Booking-System-TEST-1-1\/assets\/img\/pay-visa.svg\" alt=\"Visa\" title=\"Visa\" loading=\"lazy\"><img decoding=\"async\" class=\"jz-pay-mark jz-pay-mark--mastercard\" src=\"https:\/\/joyzone.com.sa\/wp-content\/plugins\/Joy-Zone-Booking-System-TEST-1-1\/assets\/img\/pay-mastercard.svg\" alt=\"Mastercard\" title=\"Mastercard\" loading=\"lazy\"><\/span>                                                    <\/span>\n                        <span class=\"jz-pm-check\" aria-hidden=\"true\"><\/span>\n                    <\/span>\n                <\/label>\n                                            <label class=\"jz-pm-card\" data-jz-method=\"center\">\n                                        <input type=\"radio\" name=\"payment_method\" value=\"center\" >\n                    <span class=\"jz-pm-card-inner\">\n                        <span class=\"jz-pm-icon\">\ud83c\udfeb<\/span>\n                        <span class=\"jz-pm-text\">\n                            <strong>Pay at Center<\/strong>\n                            <small>Pay when you arrive at the center.<\/small>\n                                                    <\/span>\n                        <span class=\"jz-pm-check\" aria-hidden=\"true\"><\/span>\n                    <\/span>\n                <\/label>\n                    <\/div>\n    <\/div>\n    <style>\n    .jz-pm-group .jz-pm-title { display:block; margin-bottom:10px; font-weight:600; }\n    .jz-pm-cards { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }\n    @media (max-width:560px){ .jz-pm-cards { grid-template-columns:1fr; } }\n    .jz-pm-card { position:relative; cursor:pointer; margin:0; }\n    .jz-pm-card input { position:absolute; opacity:0; width:0; height:0; }\n    .jz-pm-card-inner { display:flex; align-items:center; gap:12px; padding:16px; border:2px solid #e2e8f0; border-radius:14px; background:#fff; transition:border-color .15s, box-shadow .15s, background .15s; height:100%; }\n    .jz-pm-icon { font-size:26px; line-height:1; }\n    .jz-pm-text { display:flex; flex-direction:column; gap:3px; flex:1; }\n    .jz-pm-text strong { font-size:15px; color:#0E0A08; }\n    .jz-pm-text small { font-size:12px; color:#64748b; font-weight:400; }\n    .jz-pm-check { width:22px; height:22px; border-radius:50%; border:2px solid #cbd5e1; flex:none; position:relative; transition:all .15s; }\n    .jz-pm-card input:checked ~ .jz-pm-card-inner { border-color:#3cbdcd; background:#e7f7fa; box-shadow:0 6px 16px rgba(79,70,229,.15); }\n    .jz-pm-card input:checked ~ .jz-pm-card-inner .jz-pm-check { border-color:#3cbdcd; background:#3cbdcd; }\n    .jz-pm-card input:checked ~ .jz-pm-card-inner .jz-pm-check::after { content:''; position:absolute; inset:4px; border-radius:50%; background:#fff; }\n    .jz-pm-card input:focus-visible ~ .jz-pm-card-inner { outline:2px solid #3cbdcd; outline-offset:2px; }\n    \/* The brand marks: one quiet row, small, under the description. *\/\n    .jz-pay-marks { display:inline-flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:6px; direction:ltr; }\n    \/* !important: the theme sizes every image in a panel to its width. *\/\n    .jz-booking-container .jz-pay-mark { height:18px !important; width:auto !important; max-width:none !important; max-height:22px !important; display:block; border:0; box-shadow:none; border-radius:0; }\n    .jz-booking-container .jz-pay-mark--applepay { height:20px !important; }\n    .jz-booking-container .jz-pay-mark--strip { height:22px !important; }\n    <\/style>\n    \n                    <div class=\"form-group jz-policy-group\">\n        <label for=\"policy_accepted\" class=\"jz-policy-accept\">\n            <input type=\"checkbox\" id=\"policy_accepted\" name=\"policy_accepted\" value=\"1\" required>\n            <span>\n                I agree to the terms and conditions                                    <button type=\"button\" class=\"jz-policy-open\" id=\"jz-policy-open\">\n                        Read the terms                    <\/button>\n                            <\/span>\n        <\/label>\n    <\/div>\n\n            <div class=\"jz-policy-modal\" id=\"jz-policy-modal\" role=\"dialog\" aria-modal=\"true\"\n             aria-labelledby=\"jz-policy-title\" style=\"display:none;\">\n            <div class=\"jz-policy-modal__backdrop\" id=\"jz-policy-backdrop\"><\/div>\n            <div class=\"jz-policy-modal__box\" role=\"document\">\n                <button type=\"button\" class=\"jz-policy-modal__close\" id=\"jz-policy-close\"\n                        aria-label=\"Close\">&times;<\/button>\n                <h4 class=\"jz-policy-modal__title\" id=\"jz-policy-title\">\n                    Terms and conditions                <\/h4>\n                <div class=\"jz-policy-modal__body\">\n                    <p>1- The school-trip package does not include all games.<br \/>\n2- Schools may not object to the presence of other schools unless the whole centre has been booked.<br \/>\n3- The play card cannot be cancelled or refunded after payment; it expires when the school trip ends.<\/p>\n                <\/div>\n                <button type=\"button\" class=\"jz-policy-modal__done\" id=\"jz-policy-done\">\n                    I have read them                <\/button>\n            <\/div>\n        <\/div>\n        <script>\n        (function () {\n            var open  = document.getElementById('jz-policy-open');\n            var modal = document.getElementById('jz-policy-modal');\n            var close = document.getElementById('jz-policy-close');\n            var done  = document.getElementById('jz-policy-done');\n            var back  = document.getElementById('jz-policy-backdrop');\n            var box   = document.getElementById('policy_accepted');\n            if (!open || !modal) { return; }\n\n            function show(e) {\n                \/\/ The link sits inside the checkbox's label, so a plain click\n                \/\/ would also tick the box. Reading is not agreeing.\n                if (e) { e.preventDefault(); e.stopPropagation(); }\n                modal.style.display = '';\n                document.body.classList.add('jz-policy-open');\n            }\n            function hide() {\n                modal.style.display = 'none';\n                document.body.classList.remove('jz-policy-open');\n            }\n\n            open.addEventListener('click', show);\n            if (close) { close.addEventListener('click', hide); }\n            if (back)  { back.addEventListener('click', hide); }\n            if (done)  {\n                done.addEventListener('click', function () {\n                    \/\/ Reading to the end and pressing \"I have read them\" is a\n                    \/\/ deliberate act, so it may tick the box.\n                    if (box) { box.checked = true; }\n                    hide();\n                });\n            }\n            document.addEventListener('keydown', function (e) {\n                if (e.key === 'Escape' && modal.style.display !== 'none') { hide(); }\n            });\n        })();\n        <\/script>\n                    <\/div>\n\n            <!-- Navigation Buttons -->\n            <div class=\"jz-form-navigation\">\n                <button type=\"button\" class=\"jz-btn\" id=\"prev-step\" style=\"display: none;\">Previous<\/button>\n                <button type=\"button\" class=\"jz-btn jz-btn-primary\" id=\"next-step\">Next<\/button>\n                <button type=\"submit\" class=\"jz-btn jz-btn-success\" id=\"submit-booking\" style=\"display: none;\">Confirm Booking<\/button>\n            <\/div>\n        <\/form>\n\n        <!-- Success Message -->\n<div id=\"booking-success\" class=\"jz-message success\" style=\"display: none;\">\n    <h3>Booking Submitted Successfully!<\/h3>\n    <p>Your booking reference number: <span id=\"booking-reference\"><\/span><\/p>\n\n    <div id=\"jz-deposit-box\" style=\"display:none; margin:20px 0; padding:22px 18px; border:2px solid #1f9d55; background:#f0fbf3; border-radius:10px; text-align:center;\">\n        <p style=\"margin:0 0 6px; font-weight:bold; font-size:17px; color:#0a5a2a;\">\n            Pay the deposit to confirm your booking        <\/p>\n        <p style=\"margin:0 0 14px; font-size:15px; color:#333;\">\n            Amount due:            <strong><span id=\"jz-deposit-amount\"><\/span> SAR<\/strong>\n        <\/p>\n        <a id=\"jz-deposit-link\" href=\"#\"\n           style=\"display:inline-block; background:#1f9d55; color:#fff; padding:13px 34px; border-radius:6px; text-decoration:none; font-weight:bold; font-size:16px; box-shadow:0 2px 6px rgba(0,0,0,.15);\">\n            \ud83d\udcb3 Pay the deposit now        <\/a>\n        <p style=\"margin:12px 0 0; font-size:12px; color:#666;\">\n            Secure payment via Moyasar. After paying you will be returned to a confirmation page.        <\/p>\n    <\/div>\n\n    <div id=\"branch-details\">\n    <p>Branch Name: <span id=\"success-branch-name\"><\/span><\/p>\n    <p>Neighborhood: <span id=\"success-branch-neighborhood\"><\/span><\/p>\n    <p>Location: <span id=\"success-branch-location\"><\/span><\/p>\n    <p>Branch Phone Number: <span id=\"success-branch-phone\"><\/span><\/p>\n    <p>Booking Date: <span id=\"success-booking-date\"><\/span><\/p>\n    <p>Visit Time: 8:00 AM - 11:00 AM<\/p>\n<\/div>\n\n<div id=\"branch-map-container\" class=\"jz-map-container\">\n    <h4>Branch Location<\/h4>\n    <div id=\"branch-map\" class=\"jz-map\"><\/div>\n<\/div>\n\n    <p>We will contact you shortly to confirm your booking.<\/p>\n<\/div>\n\n\n\n        <!-- Error Message -->\n        <div id=\"booking-error\" class=\"jz-message error\" style=\"display: none;\">\n            <h3>Error<\/h3>\n            <p id=\"error-message\"><\/p>\n        <\/div>\n    <\/div>\n\n    <!--\n        Phone verification dialog.\n\n        Deliberately outside the step containers: a step that is hidden would\n        hide the dialog with it. It is opened only from the step-2 gate, and the\n        backdrop is not clickable to dismiss - the customer either verifies the\n        number or presses X, which is what was asked for.\n    -->\n    <div id=\"jz-otp-modal\" class=\"jz-otp-modal\" role=\"dialog\" aria-modal=\"true\"\n         aria-labelledby=\"jz-otp-modal-title\" style=\"display:none;\">\n        <div class=\"jz-otp-modal__backdrop\"><\/div>\n        <div class=\"jz-otp-modal__box\" role=\"document\">\n            <button type=\"button\" class=\"jz-otp-modal__close\" id=\"jz-otp-close\"\n                    aria-label=\"Close\">&times;<\/button>\n\n            <h4 class=\"jz-otp-modal__title\" id=\"jz-otp-modal-title\">\n                Verify your mobile number            <\/h4>\n\n            <p class=\"jz-otp-modal__lead\">\n                We sent a 4-digit code by SMS to                <strong id=\"jz-otp-phone\" dir=\"ltr\"><\/strong>\n            <\/p>\n\n            <input type=\"text\" id=\"jz-otp-code\" class=\"jz-otp-modal__code\"\n                   inputmode=\"numeric\" maxlength=\"4\" pattern=\"[0-9]{4}\"\n                   autocomplete=\"one-time-code\" placeholder=\"------\">\n\n            <div id=\"jz-otp-status\" class=\"jz-otp-modal__status\" aria-live=\"polite\"><\/div>\n\n            <button type=\"button\" id=\"jz-otp-send\" class=\"jz-otp-modal__resend\">\n                Send code            <\/button>\n\n            <p class=\"jz-otp-modal__hint\">\n                The code is checked automatically once all four digits are entered.            <\/p>\n        <\/div>\n    <\/div>\n\n    <!-- Loading Overlay -->\n    <div id=\"jz-loading\" class=\"jz-loading\" style=\"display: none;\">\n        <div class=\"loading-spinner\"><\/div>\n        <div class=\"loading-text\">Processing...<\/div>\n    <\/div>\n\n    <!-- Calendar Template -->\n    <template id=\"calendar-date-template\">\n        <div class=\"calendar-date\" data-date=\"{date}\">\n            <span class=\"date-number\">{dayNumber}<\/span>\n            <span class=\"availability-indicator {availabilityClass}\"><\/span>\n        <\/div>\n    <\/template>\n\n    <script>\n        \/\/ This script ensures the form data is preserved between steps\n        document.addEventListener('DOMContentLoaded', function() {\n            var form = document.getElementById('jz-booking-form');\n            var formData = {};\n\n            \/\/ Store form data when moving between steps\n            function updateFormData() {\n                var inputs = form.querySelectorAll('input, select');\n                inputs.forEach(function(input) {\n                    if (input.type === 'checkbox') {\n                        formData[input.name] = input.checked;\n                    } else {\n                        formData[input.name] = input.value;\n                    }\n                });\n            }\n\n            \/\/ Restore form data when moving between steps\n            function restoreFormData() {\n                Object.keys(formData).forEach(function(key) {\n                    var input = form.querySelector('[name=\"' + key + '\"]');\n                    if (input) {\n                        if (input.type === 'checkbox') {\n                            input.checked = formData[key];\n                        } else {\n                            input.value = formData[key];\n                        }\n                    }\n                });\n            }\n\n            \/\/ Update summary on step 4\n            function updateSummary() {\n                if (document.getElementById('step-4').style.display !== 'none') {\n                    document.getElementById('summary-branch').textContent = 'Branch: ' + \n                        document.getElementById('branch').options[document.getElementById('branch').selectedIndex].text;\n                    document.getElementById('summary-date').textContent = 'Booking Date: ' + \n                        document.getElementById('booking_date').value;\n                    document.getElementById('summary-category').textContent = 'Category: ' + \n                        document.getElementById('category_type').options[document.getElementById('category_type').selectedIndex].text;\n                    document.getElementById('summary-students').textContent = 'Number of Students: ' + \n                        document.getElementById('student_count').value;\n                    document.getElementById('summary-school').textContent = 'School: ' + \n                        document.getElementById('school_name').value;\n                    document.getElementById('summary-supervisor').textContent = 'Supervisor: ' + \n                        document.getElementById('supervisor_name').value;\n                    document.getElementById('summary-mobile').textContent = 'Mobile: ' + \n                        document.getElementById('mobile').value;\n                    document.getElementById('summary-email').textContent = 'Email: ' + \n                        document.getElementById('email').value;\n                    \n                    \/\/ Get branch details for phone number\n                    const branchId = document.getElementById('branch').value;\n                    const branchDetails = jzData.branches.find(branch => branch.id == branchId) || {};\n                    document.getElementById('summary-phone').textContent = 'Branch Phone Number: ' + \n                        (branchDetails.phone_number || 'N\/A');\n                    document.getElementById('summary-neighborhood').textContent = 'Neighborhood: ' + \n                        (branchDetails.neighborhood || 'N\/A');\n                    document.getElementById('summary-location').textContent = 'Location: ' + \n                        (branchDetails.location || 'N\/A');\n                }\n            }\n\n            \/\/ Event listeners for form navigation\n            form.addEventListener('input', function() {\n                updateFormData();\n            });\n\n            document.getElementById('next-step').addEventListener('click', function() {\n                updateFormData();\n                \/\/ Navigation logic will be handled by JavaScript\n            });\n\n            document.getElementById('prev-step').addEventListener('click', function() {\n                restoreFormData();\n                \/\/ Navigation logic will be handled by JavaScript\n            });\n        });\n    <\/script>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Book a school trip<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-934","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/joyzone.com.sa\/en\/wp-json\/wp\/v2\/pages\/934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/joyzone.com.sa\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/joyzone.com.sa\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/joyzone.com.sa\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joyzone.com.sa\/en\/wp-json\/wp\/v2\/comments?post=934"}],"version-history":[{"count":1,"href":"https:\/\/joyzone.com.sa\/en\/wp-json\/wp\/v2\/pages\/934\/revisions"}],"predecessor-version":[{"id":935,"href":"https:\/\/joyzone.com.sa\/en\/wp-json\/wp\/v2\/pages\/934\/revisions\/935"}],"wp:attachment":[{"href":"https:\/\/joyzone.com.sa\/en\/wp-json\/wp\/v2\/media?parent=934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}