    <script>
    (function() {
        let utmzValue = '6bc18e83.1776321424.1.1.utmcsr=direct|utmccn=(direct)|utmcmd=(none)|utmctr=|utmcct=';    
        let emptyUtm = 'yes';
        function getCookieUsingRegex(name) {
            
            const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));
            return match ? match[2] : null;
        }

        function setCookie() {
             // Set the __utmz cookie with a long expiration
            let expiryDate = new Date();
            expiryDate.setTime(expiryDate.getTime() + (180 * 24 * 60 * 60 * 1000)); // 180 days
            
            // Delete existing cookie first to avoid duplication
            document.cookie = 'viedu_utmz=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain=' + location.hostname + ';';
            document.cookie = 'viedu_utmz=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
            
            // Set new cookie
            document.cookie = 'viedu_utmz=' + 'https://visions.test.parentstudentportal.com/mod.php/public/registration/wizard_landing.php/?__utmz=' + utmzValue + 
                          '; expires=' + expiryDate.toUTCString() + 
                          '; path=/; SameSite=Lax';
        }

        const exist_utmValue = getCookieUsingRegex('viedu_utmz');
        if(exist_utmValue) {
            if(utmzValue != exist_utmValue) {
                if(emptyUtm == 'no') {
                    setCookie();
                }
            }
        }else {
            setCookie();
        }

        
        console.log('viedu_utmz cookie set:', utmzValue);
    })();
    </script>

    /*
Renz / December 4, 2024
Temporarily hide the recaptcha badge on the lower right of the page while on dev environment. REMOVE ON DEPLOYMENT
*/
.grecaptcha-badge {
  display: none;
}

html {
min-width: unset !important;