/* ==========================================================================
   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: 105px !important; /* Prevents fixed navbar and strip from overlapping page content */
}

/* Responsive Padding Adjustment */
@media (max-width: 979px) {
  body {
    padding-top: 125px !important;
  }
}
@media (max-width: 767px) {
  body {
    padding-top: 135px !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: 1031;
  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 Navigation Enhancements --- */
.navbar-inverse .navbar-inner {
  background: #0b2545 !important;
  border-bottom: 2px solid #00a6e8 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.navbar-inverse .brand {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: none;
  font-size: 20px;
}

.brand-dot {
  color: #00a6e8;
  font-weight: 900;
  font-size: 24px;
}

.navbar-inverse .nav > li > a {
  color: #d1f2ff !important;
  font-weight: 600;
  text-shadow: none;
  transition: var(--wl-transition);
}

.navbar-inverse .nav > li > a:hover,
.navbar-inverse .nav > .active > a,
.navbar-inverse .nav > .active > a:hover {
  color: #ffffff !important;
  background-color: rgba(0, 166, 232, 0.25) !important;
  border-radius: 4px;
}

/* --- 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: 1029;
  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 */
.wl-back-to-top,
#wl-back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b2545 0%, #00a6e8 100%);
  color: #ffffff !important;
  display: flex;
  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;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.85);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wl-back-to-top.visible,
#wl-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  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(-4px) 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);
}

/* 3. AI Trigger Button */
.wl-ai-trigger,
.wl-float-ai {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  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.4);
  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: -4px;
  right: -4px;
  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: 34px;
  height: 34px;
  background: #00a6e8;
  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;
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 979px) {
  .wl-topbar .container {
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
  footer #latest.row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
  }
}

@media (max-width: 767px) {
  .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;
  }
  footer #latest.row {
    grid-template-columns: 1fr !important;
    gap: 24px !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;
  }
}
