.share-box {
display: flex;
gap: 12px;
margin: 20px 0;
}
.share-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px;
border-radius: 10px;
text-decoration: none !important;
font-family: ‘Noto Sans Sinhala’, ‘Iskoola Pota’, Arial, sans-serif;
font-size: 16px;
font-weight: 800;
letter-spacing: 0.4px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}
.share-btn:hover,
.share-btn:focus,
.share-btn:active {
text-decoration: none !important;
}
.share-btn span {
color: #ffffff !important; /* TEXT WHITE */
line-height: 1.35;
text-align: center;
}
.share-btn img {
width: 24px;
height: 24px;
}
/* Facebook */
.fb {
background: linear-gradient(135deg, #1877f2, #0f5bd8);
box-shadow: 0 4px 12px rgba(24,119,242,0.45);
}
/* WhatsApp */
.wa {
background: linear-gradient(135deg, #25d366, #1ebc5a);
box-shadow: 0 4px 12px rgba(37,211,102,0.45);
}
.share-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
(function () {
var url = window.location.href;
// Facebook Share
document.getElementById(“fbShare”).href =
“https://www.facebook.com/sharer/sharer.php?u=” +
encodeURIComponent(url);
// WhatsApp Share (LINK ONLY)
document.getElementById(“waShare”).href =
“https://api.whatsapp.com/send?text=” +
encodeURIComponent(url);
})();







