const link = "https://eauthenticate.saudibusiness.gov.sa/certificate-details/0000189445";
document.addEventListener("DOMContentLoaded", function () {
document.querySelector(".copyright-text p").innerHTML = `موثقين من وزارة التجارة
`;
});
/* Whatsapp */
const waBtn = document.createElement("div");
waBtn.className = "wa-btn";
waBtn.innerHTML = `
تواصل معنا
`;
document.body.appendChild(waBtn);
waBtn.addEventListener("click", function () {
window.open("https://wa.me/966509855617", "_blank");
});
const style = document.createElement("style");
style.innerHTML = `
.wa-btn {
width: 170px;
position: fixed;
bottom: 25px;
right: 25px;
background: #25D366;
border: 2px solid #25D366;
padding: 5px 21px;
border-radius: 50px;
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
z-index: 999999;
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
backdrop-filter: blur(4px);
}
.wa-btn:hover {
background: #25D366;
transform: translateY(-3px);
box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}
svg.whatsapp-ico path {
fill: #fff;
}
.wa-icon {
width: 165px;
height: 165px;
}
.wa-text {
font-size: 16px;
font-weight: 600;
color: #fff;
flex-grow:1;
white-space: nowrap;
width: max-content;
}
span.wa-text {
flex-grow: 1;
width: max-content;
white-space: nowrap;
}
`;
document.head.appendChild(style);