{"id":43,"date":"2026-06-09T17:13:44","date_gmt":"2026-06-09T14:13:44","guid":{"rendered":"https:\/\/www.nyandaruawater.co.ke\/wp1\/?page_id=43"},"modified":"2026-07-31T16:47:52","modified_gmt":"2026-07-31T13:47:52","slug":"gallery","status":"publish","type":"page","link":"https:\/\/www.nyandaruawater.co.ke\/wp1\/gallery\/","title":{"rendered":"Gallery"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"43\" class=\"elementor elementor-43\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e7d8aff e-con e-atomic-element e-flexbox-base e-e8857d9 \" data-id=\"e7d8aff\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"e7d8aff\">\n    \t\t<div class=\"elementor-element elementor-element-37d74b4 elementor-widget elementor-widget-html\" data-id=\"37d74b4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n\r\n<meta charset=\"UTF-8\">\r\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n\r\n<title>Gallery | Nyandarua Water & Sanitation Company Ltd<\/title>\r\n\r\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Poppins:wght@300;400;500;600;700&display=swap\" rel=\"stylesheet\">\r\n\r\n<style>\r\n\r\n*{\r\nmargin:0;\r\npadding:0;\r\nbox-sizing:border-box;\r\nfont-family:Poppins,sans-serif;\r\n}\r\n\r\nbody{\r\n\r\nbackground:fff;\r\nmin-height:100vh;\r\ncolor:#fff;\r\n\r\n}\r\n\r\n.hero{\r\n\r\npadding:90px 20px;\r\nheight: 100px;\r\ntext-align:center;\r\n\r\n}\r\n\r\n.hero h1{\r\n\r\nfont-size:52px;\r\nfont-weight:700;\r\nmargin-bottom:5px;\r\n\r\n}\r\n\r\n.hero p{\r\n\r\nmax-width:800px;\r\nfont-size:18px;\r\nopacity:.9;\r\nline-height:1.8;\r\n\r\n}\r\n\r\n.container{\r\n\r\nwidth:92%;\r\nmax-width:1400px;\r\nmargin:auto;\r\n\r\n}\r\n\r\n.controls{\r\n\r\ndisplay:flex;\r\njustify-content:space-between;\r\nalign-items:center;\r\nflex-wrap:wrap;\r\ngap:20px;\r\nmargin-bottom:40px;\r\n\r\n}\r\n\r\n.search{\r\n\r\nflex:1;\r\nmin-width:250px;\r\n\r\n}\r\n\r\n.search input{\r\n\r\nwidth:100%;\r\npadding:16px;\r\nborder:none;\r\noutline:none;\r\nborder-radius:50px;\r\n\r\nbackground:rgba(21,241,199, .5);\r\nbackdrop-filter:blur(20px);\r\ncolor:white;\r\nfont-size:16px;\r\n}\r\n\r\n\r\n.filter{\r\n\r\ndisplay:flex;\r\nflex-wrap:wrap;\r\ngap:10px;\r\n\r\n}\r\n\r\n.filter button{\r\n\r\npadding:12px 22px;\r\nborder:none;\r\ncursor:pointer;\r\nborder-radius:40px;\r\n\r\nbackground:rgba(21,241,215,.5);\r\n\r\ncolor:white;\r\n\r\nbackdrop-filter:blur(15px);\r\n\r\ntransition:.35s;\r\n\r\n}\r\n\r\n.filter button:hover,\r\n.filter button.active{\r\n\r\nbackground:white;\r\ncolor:#0056a6;\r\n\r\n}\r\n\r\n.gallery{\r\n\r\ndisplay:grid;\r\ngrid-template-columns:repeat(auto-fit,minmax(320px,1fr));\r\ngap:30px;\r\npadding-bottom:60px;\r\n\r\n}\r\n\r\n.card{\r\n\r\nbackground:rgba(255,255,255,.12);\r\n\r\nbackdrop-filter:blur(25px);\r\n\r\nborder:1px solid rgba(255,255,255,.25);\r\n\r\nborder-radius:20px;\r\n\r\noverflow:hidden;\r\n\r\ntransition:.4s;\r\n\r\nbox-shadow:0 10px 30px rgba(0,0,0,.2);\r\n\r\n}\r\n\r\n.card:hover{\r\n\r\ntransform:translateY(-12px);\r\n\r\nbox-shadow:0 20px 45px rgba(0,0,0,.35);\r\n\r\n}\r\n\r\n.card img{\r\n\r\nwidth:100%;\r\nheight:250px;\r\nobject-fit:cover;\r\ncursor:pointer;\r\ntransition:.4s;\r\n\r\n}\r\n\r\n.card:hover img{\r\n\r\ntransform:scale(1.08);\r\n\r\n}\r\n\r\n.info{\r\n\r\npadding:25px;\r\n\r\n}\r\n\r\n.info h3{\r\n\r\nmargin-bottom:10px;\r\n\r\n}\r\n\r\n.info p{\r\n\r\nopacity:.9;\r\nline-height:1.8;\r\ncolor: blue;\r\nfont-size:15px;\r\n\r\n}\r\n\r\n.tag{\r\n\r\ndisplay:inline-block;\r\nmargin-top:15px;\r\npadding:8px 16px;\r\nbackground:white;\r\ncolor:#0056a6;\r\nborder-radius:30px;\r\nfont-size:13px;\r\nfont-weight:600;\r\n}\r\n\r\n.lightbox{\r\n\r\nposition:fixed;\r\ntop:0;\r\nleft:0;\r\nwidth:100%;\r\nheight:100%;\r\n\r\nbackground:rgba(0,0,0,.9);\r\n\r\ndisplay:none;\r\n\r\njustify-content:center;\r\nalign-items:center;\r\n\r\nz-index:9999;\r\n\r\n}\r\n\r\n.lightbox img{\r\n\r\nmax-width:90%;\r\nmax-height:90%;\r\nborder-radius:15px;\r\n\r\n}\r\n\r\n.close{\r\n\r\nposition:absolute;\r\ntop:40px;\r\nright:50px;\r\nfont-size:45px;\r\ncursor:pointer;\r\ncolor:white;\r\n\r\n}\r\n\r\n\r\n\r\n@media(max-width:768px){\r\n\r\n.hero h1{\r\n\r\nfont-size:38px;\r\n\r\n}\r\n\r\n.controls{\r\n\r\nflex-direction:column;\r\n\r\n}\r\n\r\n}\r\n\/* ===============================\r\n   OCEANWP FOOTER FIX\r\n================================= *\/\r\n\r\n.nyandarua-water-home{\r\n    width:100%;\r\n    max-width:100%;\r\n    margin:0;\r\n    padding:0;\r\n    overflow:visible;\r\n    position:relative;\r\n    z-index:1;\r\n}\r\n\r\n.nyandarua-water-home section{\r\n    position:relative;\r\n    z-index:1;\r\n}\r\n\r\nbody,\r\nhtml{\r\n    overflow-x:hidden;\r\n}\r\n\r\n#main,\r\n.site-main,\r\n.content-area{\r\n    overflow:visible !important;\r\n}\r\n\r\nfooter,\r\n#footer,\r\n#footer-wrap{\r\n    position:relative !important;\r\n    z-index:999 !important;\r\n    clear:both;\r\n}\r\n<\/style>\r\n\r\n<\/head>\r\n\r\n<body>\r\n\r\n<section class=\"hero\">\r\n\r\n<h1>Gallery<\/h1>\r\n\r\n<p>\r\n\r\nExplore our journey in delivering reliable water services,\r\ncommunity engagement, infrastructure development,\r\ncustomer service and environmental conservation.\r\n\r\n<\/p>\r\n\r\n<\/section>\r\n\r\n<div class=\"container\">\r\n\r\n<div class=\"controls\">\r\n\r\n<div class=\"search\">\r\n\r\n<input type=\"text\" id=\"search\"\r\nplaceholder=\"Search gallery...\">\r\n\r\n<\/div>\r\n\r\n<div class=\"filter\">\r\n\r\n<button class=\"active\" onclick=\"filterGallery('all')\">All<\/button>\r\n\r\n<button onclick=\"filterGallery('Projects')\">Projects<\/button>\r\n\r\n<button onclick=\"filterGallery('Water')\">Treatment<\/button>\r\n\r\n<button onclick=\"filterGallery('Community')\">Community<\/button>\r\n\r\n<button onclick=\"filterGallery('Events')\">Events<\/button>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<div class=\"gallery\" id=\"gallery\">\r\n\r\n<div class=\"card\" data-category=\"Projects\">\r\n\r\n<img decoding=\"async\" src=\"https:\/\/images.unsplash.com\/photo-1509395176047-4a66953fd231?auto=format&fit=crop&w=900&q=80\">\r\n\r\n<div class=\"info\">\r\n\r\n<h3>Water Infrastructure<\/h3>\r\n\r\n<p>\r\n\r\nConstruction of modern water supply infrastructure to\r\nimprove access to clean water.\r\n\r\n<\/p>\r\n\r\n<span class=\"tag\">Projects<\/span>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<div class=\"card\" data-category=\"Water\">\r\n\r\n<img decoding=\"async\" src=\"https:\/\/images.unsplash.com\/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=900&q=80\">\r\n\r\n<div class=\"info\">\r\n\r\n<h3>Water Treatment Plant<\/h3>\r\n\r\n<p>\r\n\r\nState-of-the-art treatment processes ensuring safe,\r\nclean drinking water.\r\n\r\n<\/p>\r\n\r\n<span class=\"tag\">Treatment<\/span>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<div class=\"card\" data-category=\"Community\">\r\n\r\n<img decoding=\"async\" src=\"https:\/\/images.unsplash.com\/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=900&q=80\">\r\n\r\n<div class=\"info\">\r\n\r\n<h3>Community Engagement<\/h3>\r\n\r\n<p>\r\n\r\nWorking together with local communities to improve\r\nwater service delivery.\r\n\r\n<\/p>\r\n\r\n<span class=\"tag\">Community<\/span>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<div class=\"card\" data-category=\"Events\">\r\n\r\n<img decoding=\"async\" src=\"https:\/\/images.unsplash.com\/photo-1511578314322-379afb476865?auto=format&fit=crop&w=900&q=80\">\r\n\r\n<div class=\"info\">\r\n\r\n<h3>Corporate Event<\/h3>\r\n\r\n<p>\r\n\r\nStakeholder engagement and company events promoting\r\ngood governance.\r\n\r\n<\/p>\r\n\r\n<span class=\"tag\">Events<\/span>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<div class=\"card\" data-category=\"Projects\">\r\n\r\n<img decoding=\"async\" src=\"https:\/\/images.unsplash.com\/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=900&q=80\">\r\n\r\n<div class=\"info\">\r\n\r\n<h3>Pipeline Installation<\/h3>\r\n\r\n<p>\r\n\r\nExpansion of water distribution networks across\r\nNyandarua County.\r\n\r\n<\/p>\r\n\r\n<span class=\"tag\">Projects<\/span>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<div class=\"card\" data-category=\"Water\">\r\n\r\n<img decoding=\"async\" src=\"https:\/\/images.unsplash.com\/photo-1502741338009-cac2772e18bc?auto=format&fit=crop&w=900&q=80\">\r\n\r\n<div class=\"info\">\r\n\r\n<h3>Water Quality Testing<\/h3>\r\n\r\n<p>\r\n\r\nRoutine laboratory testing to maintain high water quality standards.\r\n\r\n<\/p>\r\n\r\n<span class=\"tag\">Treatment<\/span>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<div class=\"lightbox\" id=\"lightbox\">\r\n\r\n<span class=\"close\">&times;<\/span>\r\n\r\n<img id=\"preview\">\r\n\r\n<\/div>\r\n<script>\r\n\r\nconst images=document.querySelectorAll(\".card img\");\r\nconst lightbox=document.getElementById(\"lightbox\");\r\nconst preview=document.getElementById(\"preview\");\r\n\r\nimages.forEach(img=>{\r\n\r\nimg.onclick=function(){\r\n\r\nlightbox.style.display=\"flex\";\r\npreview.src=this.src;\r\n\r\n}\r\n\r\n});\r\n\r\ndocument.querySelector(\".close\").onclick=function(){\r\n\r\nlightbox.style.display=\"none\";\r\n\r\n}\r\n\r\nlightbox.onclick=function(e){\r\n\r\nif(e.target==lightbox){\r\n\r\nlightbox.style.display=\"none\";\r\n\r\n}\r\n\r\n}\r\n\r\nfunction filterGallery(category){\r\n\r\nlet cards=document.querySelectorAll(\".card\");\r\n\r\ncards.forEach(card=>{\r\n\r\nif(category==\"all\"){\r\n\r\ncard.style.display=\"block\";\r\n\r\n}\r\n\r\nelse{\r\n\r\ncard.style.display=\r\n\r\ncard.dataset.category==category\r\n\r\n?\r\n\r\n\"block\":\"none\";\r\n\r\n}\r\n\r\n});\r\n\r\ndocument.querySelectorAll(\".filter button\").forEach(btn=>btn.classList.remove(\"active\"));\r\n\r\nevent.target.classList.add(\"active\");\r\n\r\n}\r\n\r\ndocument.getElementById(\"search\").addEventListener(\"keyup\",function(){\r\n\r\nlet value=this.value.toLowerCase();\r\n\r\ndocument.querySelectorAll(\".card\").forEach(card=>{\r\n\r\ncard.style.display=\r\n\r\ncard.innerText.toLowerCase().includes(value)\r\n\r\n?\r\n\r\n\"block\":\"none\";\r\n\r\n});\r\n\r\n});\r\n\r\n<\/script>\r\n\r\n<\/body>\r\n<\/html>\t\t\t\t<\/div>\n\t\t\n<\/div>\n\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Gallery | Nyandarua Water &#038; Sanitation Company Ltd Gallery Explore our journey in delivering reliable water services, community engagement, infrastructure development, customer service and environmental conservation. All Projects Treatment Community Events Water Infrastructure Construction of modern water supply infrastructure to improve access to clean water. Projects Water Treatment Plant State-of-the-art treatment processes ensuring safe, clean [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_front_end_style_editor":"no","ocean_post_layout":"full-width","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","_joinchat":[],"footnotes":""},"class_list":["post-43","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/www.nyandaruawater.co.ke\/wp1\/wp-json\/wp\/v2\/pages\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nyandaruawater.co.ke\/wp1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.nyandaruawater.co.ke\/wp1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.nyandaruawater.co.ke\/wp1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nyandaruawater.co.ke\/wp1\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":7,"href":"https:\/\/www.nyandaruawater.co.ke\/wp1\/wp-json\/wp\/v2\/pages\/43\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/www.nyandaruawater.co.ke\/wp1\/wp-json\/wp\/v2\/pages\/43\/revisions\/272"}],"wp:attachment":[{"href":"https:\/\/www.nyandaruawater.co.ke\/wp1\/wp-json\/wp\/v2\/media?parent=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}