﻿/* ==========================================================================
   Water Lanka Services (Pvt) Ltd - Modern Enhancement Stylesheet
   Brand Colors:
     Primary Cyan/Blue : #00a6e8
     Light Soft Blue   : #d1f2ff
     Deep Marine Blue  : #0b2545
     Accent Dark Blue  : #0077b6
     Pure White        : #ffffff
   SEO & UX: Fast, Lightweight, Highly Responsive, Charm Animations,
   Circular Color Social Badges, Floating Go To Top Icon
   ========================================================================== */

:root {
  --wl-primary: #00a6e8;
  --wl-primary-dark: #0084ba;
  --wl-primary-deep: #0b2545;
  --wl-light-blue: #d1f2ff;
  --wl-ice: #f0f9ff;
  --wl-gray-light: #f8fafc;
  --wl-gray-border: #e2e8f0;
  --wl-text-main: #1e293b;
  --wl-text-muted: #64748b;
  --wl-whatsapp: #25D366;
  --wl-whatsapp-hover: #1ebd5b;
  --wl-shadow-sm: 0 2px 8px rgba(0, 166, 232, 0.08);
  --wl-shadow-md: 0 8px 24px rgba(11, 37, 69, 0.10);
  --wl-shadow-lg: 0 16px 36px rgba(11, 37, 69, 0.16);
  --wl-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Typography & Smart Responsive Fixes --- */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--wl-text-main);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 0 !important;
}

/* Responsive Padding Adjustment */
@media (min-width: 980px) {
  body {
    padding-top: 0 !important;
  }
  .navbar-inner .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .navbar-inverse .brand {
    float: left !important;
    margin-right: auto !important;
    margin-left: 0 !important;
  }
  .navbar-inverse .nav-collapse {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .navbar-inverse .nav.pull-right {
    float: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 979px) {
  body {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 767px) {
  body {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Ensure images never overflow and scale fluidly with soft corners */
img {
  max-width: 100%;
  height: auto;
}

.img-polaroid,
.image_frame_300 {
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.1) !important;
  border: 1px solid #e2e8f0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.img-polaroid:hover,
.image_frame_300:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 166, 232, 0.18) !important;
}

/* --- Top Announcement / Sri Lanka Hotline Bar --- */
.wl-topbar {
  background: linear-gradient(90deg, #0b2545 0%, #0077b6 55%, #00a6e8 100%);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1010;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.wl-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.wl-topbar a {
  color: #d1f2ff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 12px;
  transition: var(--wl-transition);
}

.wl-topbar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.wl-topbar-badge {
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.wl-topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
}

.wl-top-social {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  font-size: 12px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.wl-top-social:hover {
  transform: scale(1.22) !important;
}

.wl-top-social.fb { background: #1877f2 !important; }
.wl-top-social.tw { background: #1da1f2 !important; }
.wl-top-social.gp { background: #ea4335 !important; }
.wl-top-social.wa { background: #25d366 !important; }

/* --- Modern Responsive Navigation Bar (Aesthetic, Aligned & Touch-Friendly) --- */
header {
  position: sticky;
  top: 0;
  z-index: 1040;
}

.navbar-fixed-top {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin-bottom: 0 !important;
  z-index: 1040 !important;
}

.navbar-inverse .navbar-inner {
  background: linear-gradient(180deg, #0b2545 0%, #07192f 100%) !important;
  border-bottom: 2.5px solid #00a6e8 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  padding: 0 !important;
  min-height: 56px !important;
}

/* Navbar container alignment */
.navbar-inner .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1320px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 16px !important;
  min-height: 56px !important;
}

/* Brand Logo */
.navbar-inverse .brand {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  text-shadow: none !important;
  font-size: 21px !important;
  padding: 10px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap !important;
  float: left !important;
  margin-right: 15px !important;
}

.navbar-inverse .brand:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

.brand-dot {
  color: #00f0ff !important;
  font-weight: 900 !important;
  font-size: 26px !important;
  margin-left: 2px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

/* Top-level Navigation Links */
.navbar-inverse .nav {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  gap: 2px;
  float: right !important;
}

.navbar-inverse .nav > li {
  position: relative !important;
}

.navbar-inverse .nav > li > a {
  color: #d1f2ff !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  padding: 8px 8px !important;
  text-shadow: none !important;
  border-radius: 8px !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

/* Petite, cute caret indicator */
.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret {
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 4px !important;
  vertical-align: middle !important;
  border-top: 4px solid #8be4ff !important;
  border-right: 3.5px solid transparent !important;
  border-left: 3.5px solid transparent !important;
  border-bottom: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
}

/* Hover & Active States */
.navbar-inverse .nav > li > a:hover,
.navbar-inverse .nav > li.dropdown:hover > .dropdown-toggle,
.navbar-inverse .nav > li.dropdown.open > .dropdown-toggle {
  color: #ffffff !important;
  background-color: rgba(0, 166, 232, 0.22) !important;
  box-shadow: 0 2px 10px rgba(0, 166, 232, 0.25) !important;
}

.navbar-inverse .nav > li.dropdown:hover > .dropdown-toggle .caret,
.navbar-inverse .nav > li.dropdown.open > .dropdown-toggle .caret {
  transform: rotate(180deg) !important;
  border-top-color: #00f0ff !important;
}

.navbar-inverse .nav > .active > a,
.navbar-inverse .nav > .active > a:hover {
  color: #ffffff !important;
  background-color: rgba(0, 166, 232, 0.32) !important;
  border: 1px solid rgba(0, 166, 232, 0.5) !important;
  box-shadow: 0 2px 10px rgba(0, 166, 232, 0.3) !important;
}

/* Medium Desktop Screens (980px - 1199px): Compact Padding to Prevent Wrapping */
@media (min-width: 980px) and (max-width: 1199px) {
  .navbar-inner .container {
    padding: 0 8px !important;
  }
  .navbar-inverse .brand {
    font-size: 17px !important;
    letter-spacing: 0.5px !important;
    margin-right: 8px !important;
  }
  .navbar-inverse .nav {
    gap: 1px !important;
  }
  .navbar-inverse .nav > li > a {
    padding: 7px 4.5px !important;
    font-size: 10.8px !important;
    letter-spacing: -0.2px !important;
  }
  .navbar-inverse .nav li.dropdown > .dropdown-toggle .caret {
    margin-left: 2px !important;
    border-top-width: 3.5px !important;
    border-right-width: 3px !important;
    border-left-width: 3px !important;
  }
}

/* Desktop Dropdown Menus: Aesthetic Floating Card with Animation */
@media (min-width: 980px) {
  .navbar .nav > li.dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }
  .navbar-inverse .dropdown-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 25000 !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 166, 232, 0.22) !important;
    border-top: 3.5px solid #00a6e8 !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(11, 37, 69, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    padding: 8px 6px !important;
    min-width: 310px !important;
    width: auto !important;
    max-width: 360px !important;
    box-sizing: border-box !important;
    margin-top: 2px !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .navbar-inverse .nav > li.dropdown:nth-last-child(2) > .dropdown-menu {
    left: auto !important;
    right: 0 !important;
  }
  .navbar-inverse .dropdown-menu > li {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .navbar-inverse .dropdown-menu > li > a {
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    text-shadow: none !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .navbar-inverse .dropdown-menu > li > a:hover,
  .navbar-inverse .dropdown-menu > li > a:focus {
    background: linear-gradient(90deg, rgba(0, 166, 232, 0.14) 0%, rgba(0, 166, 232, 0.03) 100%) !important;
    color: #0077b6 !important;
    transform: translateX(4px);
    padding-left: 18px !important;
  }
  .navbar-inverse .dropdown-menu .divider {
    background-color: #e2e8f0 !important;
    border-bottom: none !important;
    margin: 6px 4px !important;
    height: 1px !important;
  }
}

/* --- Mobile Viewport (<=979px): Cute, Smooth Accordion Navigation --- */
@media (max-width: 979px) {
  header {
    position: static !important;
  }
  .navbar-fixed-top {
    position: static !important;
  }
  .navbar-inner .container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 16px !important;
  }
  
  /* Cute Hamburger Button */
  .btn-navbar {
    background: linear-gradient(135deg, #00a6e8 0%, #0077b6 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 9px !important;
    padding: 9px 12px !important;
    box-shadow: 0 3px 12px rgba(0, 166, 232, 0.4) !important;
    margin: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .btn-navbar:hover,
  .btn-navbar:focus {
    background: linear-gradient(135deg, #00c0fa 0%, #008ece 100%) !important;
    transform: scale(1.04);
  }
  .btn-navbar .icon-bar {
    background: #ffffff !important;
    width: 22px !important;
    height: 2.5px !important;
    border-radius: 3px !important;
    margin: 4px 0 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  }

  /* Mobile Drawer Container */
  .nav-collapse,
  .nav-collapse.collapse {
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }
  .nav-collapse.in {
    background: #081d36 !important;
    border: 1.5px solid rgba(0, 166, 232, 0.4) !important;
    border-radius: 14px !important;
    margin: 12px 0 10px 0 !important;
    padding: 12px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
    height: auto !important;
  }

  /* Mobile Nav List */
  .navbar-inverse .nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    gap: 4px !important;
  }
  .navbar-inverse .nav > li {
    float: none !important;
    width: 100% !important;
  }
  .navbar-inverse .nav > li > a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    padding: 11px 14px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
  }
  .navbar-inverse .nav > li > a:hover,
  .navbar-inverse .nav > li > a:focus {
    background: rgba(0, 166, 232, 0.25) !important;
  }

  /* Accordion Sub-Menu on Mobile */
  .navbar-inverse .dropdown-menu {
    display: none !important;
    position: static !important;
    float: none !important;
    background: rgba(0, 166, 232, 0.08) !important;
    border: none !important;
    border-left: 3px solid #00a6e8 !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 6px 0 !important;
    margin: 4px 4px 8px 12px !important;
    box-shadow: none !important;
  }
  .navbar-inverse .nav li.dropdown.open > .dropdown-menu {
    display: block !important;
    animation: wlMobileSubSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  @keyframes wlMobileSubSlide {
    0% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  .navbar-inverse .dropdown-menu > li > a {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 9px 16px !important;
    border-radius: 6px !important;
    display: block !important;
  }
  .navbar-inverse .dropdown-menu > li > a:hover,
  .navbar-inverse .dropdown-menu > li > a:focus {
    background: #00a6e8 !important;
    color: #ffffff !important;
    padding-left: 20px !important;
  }
  .navbar-inverse .dropdown-menu .divider {
    background-color: rgba(255, 255, 255, 0.1) !important;
    margin: 6px 12px !important;
  }
}


/* --- Auto-Scrolling Category Navigation Strip --- */
.wl-category-strip {
  background: #f8fafc;
  border-bottom: 1px solid var(--wl-gray-border);
  padding: 8px 0;
  position: relative;
  z-index: 1020 !important;
  margin-top: 0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  width: 100%;
}

.wl-category-strip .container {
  overflow: hidden;
  position: relative;
  max-width: 100% !important;
  padding: 0 20px;
}

/* Elegant gradient edge masks */
.wl-category-strip::before,
.wl-category-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 3;
  pointer-events: none;
}
.wl-category-strip::before {
  left: 0;
  background: linear-gradient(to right, #f8fafc 30%, rgba(248, 250, 252, 0) 100%);
}
.wl-category-strip::after {
  right: 0;
  background: linear-gradient(to left, #f8fafc 30%, rgba(248, 250, 252, 0) 100%);
}

.wl-category-strip ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  width: max-content;
  white-space: nowrap;
  animation: wlAutoScroll 36s linear infinite;
  will-change: transform;
}

/* Pause smoothly when hovered so user can comfortably click any tab */
.wl-category-strip:hover ul,
.wl-category-strip ul:hover {
  animation-play-state: paused;
}

@keyframes wlAutoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.wl-category-strip li {
  flex-shrink: 0;
  display: inline-block;
  margin: 0;
}

.wl-category-strip li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--wl-transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wl-category-strip li a:hover,
.wl-category-strip li a.active {
  background: #00a6e8;
  color: #ffffff !important;
  border-color: #00a6e8;
  box-shadow: 0 3px 10px rgba(0, 166, 232, 0.35);
  transform: translateY(-1px);
}

/* --- Charm Hero Banner --- */
.wl-hero-banner {
  background: linear-gradient(135deg, #0b2545 0%, #0077b6 60%, #00a6e8 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 38px 30px;
  margin: 15px 0 35px 0;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.18);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.wl-hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(209, 242, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wl-hero-banner h1 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.wl-hero-banner p {
  color: #e0f2fe;
  font-size: 15px;
  line-height: 1.65;
  max-width: 900px;
  margin: 0 auto;
}

.wl-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* --- Smart Post Boxes & Layout Alignment --- */
#page_content {
  margin-top: 20px;
  margin-bottom: 40px;
}

.post_box {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 25px;
  transition: var(--wl-transition);
}

.post_box:hover {
  box-shadow: 0 8px 24px rgba(0, 166, 232, 0.12);
  border-color: #7dd3fc;
}

.post_box h3, .post_box h4, .post_box h5 {
  color: #0b2545;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 10px;
}

.post_box p {
  line-height: 1.7;
  color: #334155;
  margin-bottom: 14px;
}

.post_box ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.post_box ul li {
  line-height: 1.65;
  color: #334155;
  margin-bottom: 6px;
}

/* --- Card Grid Smart Equal-Height Alignment --- */
.wl-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}

.wl-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.05);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 166, 232, 0.16);
  border-color: #00a6e8;
}

.wl-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0077b6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  transition: var(--wl-transition);
}

.wl-card:hover .wl-card-icon {
  background: #00a6e8;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.wl-card h4 {
  color: #0b2545;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.wl-card p {
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.wl-card-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #f0f9ff;
  color: #0077b6;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
  transition: var(--wl-transition);
  margin-top: auto;
}

.wl-card-btn:hover {
  background: #00a6e8;
  color: #ffffff;
  border-color: #00a6e8;
  box-shadow: 0 4px 12px rgba(0, 166, 232, 0.3);
}

/* --- Sri Lanka Industrial Sectors Banner --- */
.wl-sector-box {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 28px 24px;
  margin: 35px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.wl-sector-title {
  text-align: center;
  color: #0b2545;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.wl-sector-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.wl-chip {
  background: #ffffff;
  border: 1px solid #94a3b8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  transition: var(--wl-transition);
}

.wl-chip:hover {
  background: #00a6e8;
  color: #ffffff;
  border-color: #00a6e8;
  transform: translateY(-2px);
}

/* --- Responsive Technical Specifications Table --- */
.wl-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  margin: 20px 0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.wl-table th {
  background: #0b2545;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid #00a6e8;
}

.wl-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.wl-table tr:nth-child(even) td {
  background: #f8fafc;
}

.wl-table tr:hover td {
  background: #e0f2fe;
}

/* --- FAQ Accordion Design --- */
.wl-faq-item {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.wl-faq-question {
  padding: 15px 18px;
  font-weight: 700;
  color: #0b2545;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  transition: var(--wl-transition);
}

.wl-faq-question:hover {
  background: #f0f9ff;
  color: #00a6e8;
}

.wl-faq-answer {
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  border-top: 1px solid var(--wl-gray-border);
  background: #ffffff;
}

/* --- Circular Color Social Media Badges --- */
.social_buttons {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 15px 0 !important;
}

.social_buttons a.icon-button,
.wl-social-circle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 18px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
}

.social_buttons a.icon-button i,
.wl-social-circle i {
  position: static !important;
  line-height: 1 !important;
  height: auto !important;
  width: auto !important;
  color: #ffffff !important;
  font-size: 19px !important;
  transition: transform 0.3s ease !important;
}

.social_buttons a.icon-button span {
  display: none !important;
}

/* Vibrant Circular Brand Backgrounds */
.social_buttons a.facebook,
.wl-social-circle.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #165ec9 100%) !important;
}
.social_buttons a.twitter,
.wl-social-circle.twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%) !important;
}
.social_buttons a.google-plus,
.social_buttons a.google,
.wl-social-circle.google {
  background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%) !important;
}
.social_buttons a.whatsapp,
.wl-social-circle.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
}
.social_buttons a.linkedin,
.wl-social-circle.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005582 100%) !important;
}
.social_buttons a.youtube,
.wl-social-circle.youtube {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}

/* Hover Effects with Depth & Charm Bounce */
.social_buttons a.icon-button:hover,
.wl-social-circle:hover {
  transform: translateY(-5px) scale(1.12) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35) !important;
  border-color: #ffffff !important;
}
.social_buttons a.facebook:hover {
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.6) !important;
}
.social_buttons a.twitter:hover {
  box-shadow: 0 8px 22px rgba(29, 161, 242, 0.6) !important;
}
.social_buttons a.google-plus:hover,
.social_buttons a.google:hover {
  box-shadow: 0 8px 22px rgba(234, 67, 53, 0.6) !important;
}
.social_buttons a.whatsapp:hover {
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.6) !important;
}
.social_buttons a.linkedin:hover {
  box-shadow: 0 8px 22px rgba(0, 119, 181, 0.6) !important;
}
.social_buttons a.youtube:hover {
  box-shadow: 0 8px 22px rgba(255, 0, 0, 0.6) !important;
}

/* --- Floating Action Stack (WhatsApp, AI, Go To Top) --- */
.wl-floating-actions,
.wl-floating-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

/* 1. Go To Top Icon Button (Right-Aligned in Floating Actions Stack) */
.wl-back-to-top,
#wl-back-to-top {
  position: static !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b2545 0%, #00a6e8 100%);
  color: #ffffff !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  margin: 0 !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wl-back-to-top.visible,
#wl-back-to-top.visible {
  display: flex !important;
  animation: wlFadeUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes wlFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wl-back-to-top:hover,
#wl-back-to-top:hover {
  background: linear-gradient(135deg, #00a6e8 0%, #0077b6 100%);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 166, 232, 0.55);
}

.wl-back-to-top i,
#wl-back-to-top i {
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
}

/* 2. WhatsApp Floating Pill Button */
.wl-whatsapp-btn,
.wl-float-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 30px;
  background: #25D366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  border: 2px solid #ffffff;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.wl-whatsapp-btn i,
.wl-float-whatsapp i {
  font-size: 20px;
  color: #ffffff;
}

.wl-whatsapp-btn:hover,
.wl-float-whatsapp:hover {
  background: #1ebd5b;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.55);
}

/* --- Cute AI Chatbot Face Icon & Animations --- */
.wl-bot-face-svg {
  width: 32px;
  height: 32px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wl-ai-trigger:hover .wl-bot-face-svg {
  transform: rotate(-6deg) scale(1.08);
}

.wl-ai-avatar .wl-bot-face-svg {
  width: 28px;
  height: 28px;
}

/* Cute bot blinking eye animation */
@keyframes wlBotBlink {
  0%, 88%, 94%, 100% {
    transform: scaleY(1);
  }
  91% {
    transform: scaleY(0.12);
  }
}

.wl-bot-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: wlBotBlink 3.8s infinite ease-in-out;
}

/* 3. AI Trigger Button */
.wl-ai-trigger,
.wl-float-ai {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a6e8 0%, #0077b6 100%);
  color: #ffffff !important;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 20px rgba(0, 166, 232, 0.45);
  cursor: pointer;
  position: relative;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.wl-ai-trigger:hover,
.wl-float-ai:hover {
  background: linear-gradient(135deg, #0084ba 0%, #0b2545 100%);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 166, 232, 0.55);
}

.wl-ai-trigger i {
  font-size: 20px;
  color: #ffffff;
}

.wl-ai-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ff3b30;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  border: 2px solid #ffffff;
}

/* --- AI Chat Modal / Drawer --- */
.wl-ai-modal {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  max-width: 92vw;
  height: 520px;
  max-height: 80vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--wl-shadow-lg);
  border: 1px solid var(--wl-gray-border);
  z-index: 10000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: wlSlideUp 0.28s ease-out forwards;
}

.wl-ai-modal.active {
  display: flex;
}

@keyframes wlSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wl-ai-header {
  background: linear-gradient(135deg, #0b2545 0%, #0077b6 100%);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wl-ai-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
}

.wl-ai-header-info {
  flex-grow: 1;
  margin-left: 10px;
}

.wl-ai-header-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.wl-ai-header-info span {
  font-size: 11px;
  color: #bae6fd;
}

.wl-ai-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.wl-ai-messages {
  flex-grow: 1;
  padding: 16px;
  background: #f8fafc;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wl-msg {
  max-width: 85%;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 12px;
  padding: 10px 14px;
}

.wl-bot {
  align-self: flex-start;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.wl-user {
  align-self: flex-end;
  background: #00a6e8;
  color: #ffffff;
  border-bottom-right-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 166, 232, 0.25);
}

.wl-ai-quickchips {
  padding: 8px 12px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wl-chip-btn {
  background: #f0f9ff;
  border: 1px solid #7dd3fc;
  color: #0369a1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--wl-transition);
}

.wl-chip-btn:hover {
  background: #00a6e8;
  color: #ffffff;
  border-color: #00a6e8;
}

.wl-ai-input-wrap {
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid var(--wl-gray-border);
  display: flex;
  gap: 8px;
}

.wl-ai-input-wrap input {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid var(--wl-gray-border);
  border-radius: 20px;
  font-size: 12px;
  outline: none;
}

.wl-ai-input-wrap input:focus {
  border-color: #00a6e8;
}

.wl-ai-input-wrap button {
  background: #00a6e8;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--wl-transition);
}

.wl-ai-input-wrap button:hover {
  background: #0b2545;
}

.wl-action-btn {
  display: inline-block;
  padding: 6px 12px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
  text-decoration: none !important;
  margin-top: 6px;
}

/* --- Footer Modern Grid & Perfect Column Alignment --- */
footer {
  background: #0b2545 !important;
  color: #e2e8f0 !important;
  border-top: 4px solid #00a6e8;
  margin-top: 45px;
  padding: 42px 0 20px 0 !important;
  position: relative;
}

footer .container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Modern CSS Grid Replacing Fragile Float Row */
footer #latest.row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 32px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: start !important;
}

footer #latest.row::before,
footer #latest.row::after {
  display: none !important;
}

footer #latest.row > .span3 {
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex;
  flex-direction: column;
}

/* Column Headings - Pixel-Perfect Baseline Alignment */
footer h4 {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 16px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #00a6e8 !important;
  display: inline-block !important;
  text-transform: none !important;
}

/* Hide awkward <br> tags under h4 in footer */
footer h4 + br {
  display: none !important;
}

footer a {
  color: #d1f2ff !important;
  transition: var(--wl-transition);
}

footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Product Navigation Links */
.wl-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wl-footer-links li {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.wl-footer-links li a {
  color: #d1f2ff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--wl-transition);
}

.wl-footer-links li a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
  text-decoration: none !important;
}

/* Address and Contact Information Block in Footer (Dark Blue Background) */
footer address,
footer .wl-footer-contact {
  font-style: normal !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #cbd5e1 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .wl-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d1f2ff !important;
  font-size: 13px;
  line-height: 1.5;
}

footer .wl-contact-item i {
  color: #00a6e8 !important;
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

footer .wl-contact-item a {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
}

footer .wl-contact-item a:hover {
  color: #00a6e8 !important;
  text-decoration: underline;
}

/* Quick Inquiry Form - Clean 100% Width Alignment */
footer form,
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 !important;
  width: 100% !important;
}

footer form input[type="text"],
footer form input[type="email"],
footer form input[type="tel"],
footer form textarea,
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 6px !important;
  border: 1px solid #334155 !important;
  background: #0f2c4c !important;
  color: #ffffff !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

footer form input::placeholder,
footer form textarea::placeholder,
#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #94a3b8 !important;
}

footer form input:focus,
footer form textarea:focus,
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #00a6e8 !important;
  box-shadow: 0 0 0 3px rgba(0, 166, 232, 0.3) !important;
  outline: none !important;
  background: #12375e !important;
}

footer form textarea,
#contact-form textarea {
  resize: vertical !important;
  min-height: 60px !important;
  max-height: 120px !important;
}

footer form p {
  margin: 0 !important;
}

footer form input[type="submit"],
footer form .btn-primary,
#contact-form input[type="submit"] {
  width: 100% !important;
  padding: 10px 14px !important;
  background: linear-gradient(135deg, #00a6e8 0%, #0077b6 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 166, 232, 0.35) !important;
  transition: all 0.25s ease !important;
  margin-top: 2px !important;
}

footer form input[type="submit"]:hover,
footer form .btn-primary:hover,
#contact-form input[type="submit"]:hover {
  background: linear-gradient(135deg, #00c0fa 0%, #0088cc 100%) !important;
  box-shadow: 0 6px 18px rgba(0, 166, 232, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* Trust Badges in Footer */
.wl-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.wl-footer-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 11px;
  color: #93c5fd;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wl-footer-badge i {
  color: #00a6e8;
}

#templatemo_cr_bar {
  color: #94a3b8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 12px;
  text-align: center;
}

/* --- Dedicated Card & Showcase Image Styling (Preserves Original Dimensions for About, Blog & Products) --- */
.wl-card img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
}

/* Original dimensions preserved for about, blog & products pages */
.featurette-image {
  max-width: 450px !important;
  width: auto !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}

.image_frame_300,
.image_frame_300 img {
  width: 300px !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  border-radius: 8px !important;
  float: left !important;
  margin: 0 20px 15px 0 !important;
}

/* Featured Showcase Split Layout - Image & Paragraph side-by-side on desktop, responsive stack on mobile */
.wl-showcase-split {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 32px !important;
  margin: 30px 0 !important;
}

.wl-showcase-split .wl-showcase-img {
  flex: 0 0 46% !important;
  max-width: 46% !important;
  box-sizing: border-box !important;
}

.wl-showcase-split .wl-showcase-img img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.12) !important;
  display: block !important;
}

.wl-showcase-split .wl-showcase-text {
  flex: 1 1 54% !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .wl-showcase-split {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .wl-showcase-split .wl-showcase-img {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .wl-showcase-split .wl-showcase-text {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* --- Comprehensive Responsive Adjustments & Mobile Header Alignment --- */
@media (max-width: 979px) {
  /* Unified 100% full-width header elements - No margin mismatch */
  .wl-topbar,
  header,
  .navbar,
  .navbar-fixed-top,
  .navbar-inner,
  .wl-category-strip {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
  }

  header,
  .navbar-fixed-top {
    position: static !important;
    margin-bottom: 0 !important;
  }

  .navbar-inner {
    padding: 8px 16px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
  }

  .navbar-inner .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  /* Water Lanka Brand - Aligned to Far Left Corner */
  .navbar-inverse .brand {
    order: 1 !important;
    float: left !important;
    margin: 0 auto 0 0 !important;
    padding: 4px 0 !important;
    font-size: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
  }

  /* Page Navigation Menu Toggle - Aligned to Far Right Corner */
  .navbar-inverse .btn-navbar {
    order: 2 !important;
    float: right !important;
    margin: 0 0 0 auto !important;
    background: linear-gradient(135deg, #00a6e8 0%, #0077b6 100%) !important;
    border: 1px solid #00c0fa !important;
    border-radius: 6px !important;
    padding: 7px 10px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 166, 232, 0.4) !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .navbar-inverse .btn-navbar:hover,
  .navbar-inverse .btn-navbar:focus {
    background: linear-gradient(135deg, #00c0fa 0%, #005a8c 100%) !important;
  }

  .navbar-inverse .btn-navbar .icon-bar {
    background-color: #ffffff !important;
    box-shadow: none !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 2px !important;
    margin: 3px 0 !important;
  }

  /* Mobile Navigation Dropdown */
  .nav-collapse,
  .nav-collapse.in,
  .nav-collapse.collapse {
    width: 100% !important;
    flex-basis: 100% !important;
    background: #081d36 !important;
    border-top: 1px solid rgba(0, 166, 232, 0.25) !important;
    margin: 8px 0 0 0 !important;
    padding: 6px 0 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }

  .nav-collapse .nav {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .nav-collapse .nav > li {
    float: none !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .nav-collapse .nav > li:last-child {
    border-bottom: none !important;
  }

  .nav-collapse .nav > li > a {
    color: #d1f2ff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    display: block !important;
    text-shadow: none !important;
  }

  .nav-collapse .nav > li > a:hover,
  .nav-collapse .nav > .active > a {
    color: #ffffff !important;
    background: rgba(0, 166, 232, 0.25) !important;
    border-left: 4px solid #00a6e8 !important;
    padding-left: 18px !important;
  }

  .wl-topbar .container {
    justify-content: center;
    gap: 6px;
    text-align: center;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Tablet Footer Optimization */
  footer {
    padding: 38px 0 45px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  footer .container {
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
  footer #latest.row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 28px !important;
  }
}

@media (max-width: 767px) {
  /* Blue Topbar Mobile Optimization - Sleek, Compact, Matching */
  .wl-topbar {
    padding: 6px 12px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .wl-topbar .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .wl-topbar .container > div:first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
  }

  .wl-topbar .container > div:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    font-size: 11px !important;
  }

  .wl-topbar a {
    margin-left: 0 !important;
    font-size: 11px !important;
  }

  .wl-topbar-socials {
    margin-right: 4px !important;
    gap: 4px !important;
  }

  .wl-top-social {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
  }

  /* Auto-scrolling category strip mobile sizing */
  .wl-category-strip {
    padding: 6px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .wl-category-strip .container {
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .wl-category-strip a {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  /* Page Content Container Safe Side Padding */
  #page_content,
  main.container,
  section.container,
  div.container:not(.wl-topbar .container):not(.navbar-inner .container):not(.wl-category-strip .container):not(footer .container) {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .wl-back-to-top,
  #wl-back-to-top {
    position: static !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
  }

  .wl-floating-actions,
  .wl-floating-wrap {
    bottom: 16px;
    right: 16px;
  }
  .wl-ai-modal {
    right: 12px;
    bottom: 80px;
    width: calc(100vw - 24px);
  }
  .wl-card-grid {
    grid-template-columns: 1fr;
  }
  /* --- Mobile Responsive Footer Optimization --- */
  footer {
    padding: 36px 0 90px 0 !important; /* 90px bottom clearance ensures floating action buttons never obstruct content */
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  footer .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  footer #latest.row {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  footer #latest.row > .span3 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 22px !important;
    margin-bottom: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  footer #latest.row > .span3:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Product Navigation 2-Column Grid on Mobile for compact display */
  footer .wl-footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 12px !important;
    width: 100% !important;
  }

  footer .wl-footer-links li a {
    font-size: 12px !important;
    line-height: 1.4 !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 0 !important;
  }

  /* Mobile Footer Inquiry Form Full-Width & Touch Friendly */
  footer form,
  #contact-form {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  footer form input[type="text"],
  footer form input[type="email"],
  footer form input[type="tel"],
  footer form textarea,
  #contact-form input[type="text"],
  #contact-form input[type="email"],
  #contact-form input[type="tel"],
  #contact-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
    background: #ffffff !important;
    color: #1e293b !important;
  }

  footer form input[type="submit"],
  footer form .btn-primary,
  #contact-form input[type="submit"] {
    width: 100% !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Mobile Footer Contact Items */
  footer .wl-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  footer .wl-contact-item a {
    display: inline-block !important;
    padding: 2px 0 !important;
  }

  /* Mobile Social Buttons */
  footer .social_buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
  }

  footer .wl-social-circle {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }

  /* Copyright Bar Mobile Polish */
  .credit {
    margin-top: 24px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  #templatemo_cr_bar {
    font-size: 12px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    padding: 0 8px !important;
  }
  .post_box .row-fluid {
    flex-direction: column !important;
  }
  .post_box .row-fluid .span5,
  .post_box .row-fluid .span7 {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .image_frame_300,
  .image_frame_300 img,
  .featurette-image {
    float: none !important;
    margin: 0 auto 16px auto !important;
    max-width: 100% !important;
    display: block !important;
  }
}

/* --- Modern Beautiful Contact Page Form & Layout --- */
.wl-contact-grid {
  display: grid !important;
  grid-template-columns: 3fr 2fr !important;
  gap: 36px !important;
  margin: 25px 0 !important;
  align-items: start !important;
}

.wl-contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
}

.wl-contact-info-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 30px !important;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08) !important;
  color: #1e293b !important;
}

.wl-contact-info-card h4 {
  color: #0b2545 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-bottom: 2px solid #00a6e8 !important;
  padding-bottom: 6px !important;
  margin-bottom: 18px !important;
}

.wl-contact-info-card .wl-footer-contact,
.wl-contact-info-card address,
.wl-contact-info-card div {
  color: #1e293b !important;
}

.wl-contact-info-card .wl-contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  color: #334155 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
}

.wl-contact-info-card .wl-contact-item span {
  color: #334155 !important;
}

.wl-contact-info-card .wl-contact-item strong {
  color: #0b2545 !important;
  font-weight: 700 !important;
}

.wl-contact-info-card .wl-contact-item i {
  color: #0077b6 !important;
  font-size: 16px !important;
  margin-top: 3px !important;
  flex-shrink: 0 !important;
  width: 18px !important;
  text-align: center !important;
}

.wl-contact-info-card .wl-contact-item a {
  color: #0077b6 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.wl-contact-info-card .wl-contact-item a:hover {
  color: #00a6e8 !important;
  text-decoration: underline !important;
}

.wl-form-group {
  margin-bottom: 16px;
}

.wl-form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #1e293b;
  margin-bottom: 6px;
}

.wl-form-group input,
.wl-form-group textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  transition: all 0.25s ease !important;
}

.wl-form-group input:focus,
.wl-form-group textarea:focus {
  border-color: #00a6e8 !important;
  box-shadow: 0 0 0 3px rgba(0, 166, 232, 0.25) !important;
  outline: none !important;
}

.wl-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #00a6e8 0%, #0077b6 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 166, 232, 0.35);
  transition: all 0.25s ease;
}

.wl-btn-submit:hover {
  background: linear-gradient(135deg, #00c0fa 0%, #0b2545 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 166, 232, 0.45);
}

@media (max-width: 767px) {
  .wl-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* ==========================================================================
   Water Lanka Content & Image Copyright Protection System
   ========================================================================== */

/* 1. Prevent text selection across all website elements */
*,
*::before,
*::after {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* 2. Explicitly preserve full text editing & selection in inquiry forms and AI chat */
input,
textarea,
select,
option,
input[type="text"],
input[type="email"],
input[type="tel"],
#wl-ai-input {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Hide highlight box on text */
::selection {
  background: transparent !important;
  color: inherit !important;
}
::-moz-selection {
  background: transparent !important;
  color: inherit !important;
}
input::selection,
textarea::selection {
  background: #00a6e8 !important;
  color: #ffffff !important;
}

/* 3. Image download, drag and mobile touch callout protection */
img {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important; /* Disables iOS Safari & Chrome long-press 'Save Image' menu */
}

/* 4. Floating Branded Protection Warning Toast */
.wl-protect-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-25px) scale(0.95);
  background: rgba(11, 37, 69, 0.96);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(0, 166, 232, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  max-width: 90vw;
}

.wl-protect-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* 5. Anti-Snipping Tool & Screenshot Shield (Triggered when focus is lost to screen capture utilities) */
body.wl-window-unfocused {
  filter: blur(35px) grayscale(100%) !important;
  opacity: 0.08 !important;
  transition: filter 0.05s ease, opacity 0.05s ease !important;
  pointer-events: none !important;
}

.wl-screenshot-shield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 37, 69, 0.98);
  color: #ffffff;
  z-index: 2147483647 !important;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
}

.wl-screenshot-shield.active {
  display: flex !important;
}

.wl-shield-card {
  max-width: 520px;
  background: #0f2b48;
  border: 2px solid #00a6e8;
  border-radius: 14px;
  padding: 35px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  animation: wlShieldPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wlShieldPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.wl-shield-card h3 {
  color: #ffffff !important;
  font-size: 22px !important;
  margin: 14px 0 8px 0 !important;
  font-weight: 700 !important;
}

.wl-shield-card p {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 0 16px 0 !important;
}

.wl-shield-badge {
  display: inline-block;
  background: rgba(0, 166, 232, 0.18);
  color: #00f0ff;
  border: 1px solid #00a6e8;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 6. Total Print & PDF Export Blocker */
@media print {
  html, body {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }
}


/* --- Elegant Cookie Consent Banner --- */
.wl-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 37, 69, 0.98);
  color: #ffffff;
  padding: 16px 24px;
  z-index: 999999;
  border-top: 2px solid #00a6e8;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: wlCookieSlideUp 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wlCookieSlideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.wl-cookie-banner.show {
  display: block !important;
}

.wl-cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.wl-cookie-content {
  flex: 1 1 650px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.wl-cookie-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 166, 232, 0.18);
  border: 1.5px solid #00a6e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #00f0ff;
  flex-shrink: 0;
}

.wl-cookie-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #cbd5e1;
}

.wl-cookie-text strong {
  color: #ffffff;
}

.wl-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wl-cookie-btn {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wl-cookie-btn-accept {
  background: linear-gradient(135deg, #00a6e8 0%, #0077b6 100%);
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 166, 232, 0.4);
}

.wl-cookie-btn-accept:hover {
  background: linear-gradient(135deg, #00c0fa 0%, #0084ba 100%);
  transform: translateY(-1px);
}

.wl-cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: #d1f2ff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.wl-cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .wl-cookie-banner {
    padding: 14px 16px;
  }
  .wl-cookie-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .wl-cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
