/* ==========================================================================
   VNIC RO Care — Design System
   Brand colors are declared as CSS custom properties in :root so the
   client's brand palette can be swapped by editing ONLY this block.
   ========================================================================== */

/*:root {*/
  /* ---- BRAND COLORS (edit these to re-skin the whole site) ---- */
  /*--brand-primary: #0B5D6B;*/        /* deep petrol teal — main brand color */
  /*--brand-primary-dark: #073E48;*/   /* darker teal — headers, footer, hover */
  /*--brand-primary-light: #E8F3F4;*/  /* pale teal tint — section backgrounds */
  /*--brand-accent: #00C2CB;*/         /* bright aqua/cyan — links, highlights */
  /*--brand-highlight: #FFB648;*/      /* warm amber — CTA buttons, badges */
  /*--brand-highlight-dark: #E8961F;*/ /* amber hover state */
  /*--brand-ink: #0A2027;*/            /* near-black blue-ink — body text */
  /*--brand-muted: #5C7981;*/          /* muted slate — secondary text */
  /*--brand-bg: #F6FAFB;*/             /* page background, cool off-white */
  /*--brand-white: #FFFFFF;
  --brand-border: #DCE9EB;*/

  /* ---- TYPOGRAPHY ---- */
  /*--font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;*/

  /* ---- LAYOUT TOKENS ---- */
  /*--radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 50px -22px rgba(10, 32, 39, 0.28);
  --shadow-tight: 0 10px 24px -14px rgba(10, 32, 39, 0.3);
  --container-pad: clamp(1.25rem, 4vw, 3rem);
}*/


:root {
    /* ---- BRAND COLORS (matched to VNIC Water Solution logo) ---- */
    --brand-primary: #003980; /* deep navy — from "VNIC" wordmark */
    --brand-primary-dark: #002856; /* darker navy — headers, footer, hover */
    --brand-primary-light: #E8F4FB; /* pale blue tint — section backgrounds */
    --brand-accent: #0CA3E2; /* bright cyan-blue — from "WATER SOLUTION" text & droplet highlight */
    --brand-highlight: #FFB648; /* warm amber — CTA buttons, badges (kept for contrast against all-blue palette) */
    --brand-highlight-dark: #E8961F; /* amber hover state */
    --brand-ink: #0A1B2E; /* near-black navy-ink — body text */
    --brand-muted: #5C7A94; /* muted steel-blue — secondary text */
    --brand-bg: #F5FAFD; /* page background, cool off-white */
    --brand-white: #FFFFFF;
    --brand-border: #D6E8F2;
    /* ---- TYPOGRAPHY ---- */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    /* ---- LAYOUT TOKENS ---- */
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 20px 50px -22px rgba(10, 32, 39, 0.28);
    --shadow-tight: 0 10px 24px -14px rgba(10, 32, 39, 0.3);
    --container-pad: clamp(1.25rem, 4vw, 3rem);
}


/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--brand-ink);
  background: var(--brand-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  color: var(--brand-primary-dark);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.mono { font-family: var(--font-mono); }

a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--brand-accent); }

::selection { background: var(--brand-accent); color: var(--brand-white); }

:focus-visible {
  outline: 3px solid var(--brand-highlight);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--brand-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-highlight);
  display: inline-block;
}

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.container-x { padding-left: var(--container-pad); padding-right: var(--container-pad); }

.bg-brand-primary { background: var(--brand-primary); }
.bg-brand-dark { background: var(--brand-primary-dark); }
.bg-brand-tint { background: var(--brand-primary-light); }
.text-brand { color: var(--brand-primary); }
.text-accent { color: var(--brand-accent); }
.text-muted-slate { color: var(--brand-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn { font-family: var(--font-body); font-weight: 600; border-radius: 999px; padding: 0.75rem 1.6rem; transition: all .25s ease; border: 2px solid transparent; }

.btn-brand {
  background: var(--brand-highlight);
  color: var(--brand-primary-dark);
  box-shadow: var(--shadow-tight);
}
.btn-brand:hover { background: var(--brand-highlight-dark); color: var(--brand-primary-dark); transform: translateY(-2px); }

.btn-outline-brand {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--brand-white);
}
.btn-outline-brand:hover { background: rgba(255,255,255,0.12); border-color: var(--brand-white); color: var(--brand-white); transform: translateY(-2px); }

.btn-outline-teal {
  background: transparent;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.btn-outline-teal:hover { background: var(--brand-primary); color: var(--brand-white); transform: translateY(-2px); }

.btn-sm-pill { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* ==========================================================================
   Navbar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(246, 250, 251, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--brand-border);
  transition: background .3s ease;
}

.brand-mark { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark svg { width: 38px; height: 38px; }
.brand-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--brand-primary-dark); line-height: 1; }
.brand-wordmark span { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--brand-muted); font-weight: 500; text-transform: uppercase; margin-top: 2px; }

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--brand-ink);
  padding: 0.5rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--brand-primary); }
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.15rem;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-highlight);
}

.topbar {
  background: var(--brand-primary-dark);
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
}
.topbar a { color: rgba(255,255,255,0.88); }
.topbar a:hover { color: var(--brand-highlight); }

/* ==========================================================================
   Hero + wave dividers (signature motif)
   ========================================================================== */

.hero {
  position: relative;
  background: radial-gradient(120% 140% at 85% -10%, #0F7385 0%, var(--brand-primary) 45%, var(--brand-primary-dark) 100%);
  color: var(--brand-white);
  overflow: hidden;
}
.hero .ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
}

.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: auto; display: block; }

.page-hero {
  background: linear-gradient(160deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
  color: var(--brand-white);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4.5rem, 9vw, 7.5rem);
  position: relative;
}

/* ---- Purity Meter (hero signature element) ---- */
.purity-meter {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  backdrop-filter: blur(6px);
}
.purity-meter .pm-row { display: flex; align-items: center; gap: 1rem; }
.purity-meter .pm-stage {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.purity-meter .pm-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
  margin-top: 0.5rem;
  position: relative;
}
.purity-meter .pm-fill {
  position: absolute; inset: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF6B6B 0%, var(--brand-highlight) 55%, var(--brand-accent) 100%);
  transition: width 1.4s cubic-bezier(.22,.9,.3,1);
}
.purity-readout { font-family: var(--font-mono); }
.purity-readout .ppm-value { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; color: var(--brand-white); line-height: 1; }
.purity-readout .ppm-value.small { font-size: clamp(1.6rem, 3vw, 2rem); color: rgba(255,255,255,0.55); }

/* ==========================================================================
   Cards
   ========================================================================== */

.card-elevated {
  background: var(--brand-white);
  border-radius: var(--radius);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-elevated:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(10,32,39,0.35); }

.icon-tile {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-size: 1.5rem;
}

.service-card { padding: 2rem; height: 100%; }
.service-card .icon-tile { margin-bottom: 1.1rem; }
.service-card .price-tag { font-family: var(--font-mono); color: var(--brand-accent); font-weight: 700; }

.stat-block { text-align: center; }
.stat-block .num { font-family: var(--font-mono); font-size: clamp(2.1rem, 4vw, 2.8rem); font-weight: 700; color: var(--brand-primary-dark); }
.stat-block .label { color: var(--brand-muted); font-size: 0.92rem; }

/* Process steps (real sequence — numbering justified) */
.process-step { position: relative; padding-left: 4.2rem; }
.process-step .step-num {
  position: absolute; left: 0; top: 0;
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  background: var(--brand-primary-dark);
  color: var(--brand-white);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.process-line {
  position: absolute;
  left: 1.6rem; top: 3.2rem; bottom: -2.2rem;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--brand-border) 0 6px, transparent 6px 12px);
}

/* Testimonials */
.testimonial-card { padding: 2rem; }
.testimonial-card .stars { color: var(--brand-highlight); letter-spacing: 2px; }
.avatar-badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-primary-light); color: var(--brand-primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}

/* Timeline (About page — real chronological milestones) */
.timeline { border-left: 2px dashed var(--brand-border); margin-left: 1rem; }
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-item::before {
  content: "";
  position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-highlight);
  border: 3px solid var(--brand-white);
  box-shadow: 0 0 0 2px var(--brand-primary);
}
.timeline-item .year { font-family: var(--font-mono); color: var(--brand-accent); font-weight: 700; }

/* Gallery */
.gallery-filters .btn { margin: 0.25rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-tight); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(7,62,72,0.92), rgba(7,62,72,0));
  color: var(--brand-white);
  transform: translateY(8px);
  opacity: 0;
  transition: all .3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-caption small { font-family: var(--font-mono); color: var(--brand-highlight); text-transform: uppercase; letter-spacing: .08em; }

/* Forms */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--brand-border);
  padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(0,194,203,0.15);
}
.form-floating > label { color: var(--brand-muted); }

.contact-info-card { padding: 1.6rem; border-radius: var(--radius); background: var(--brand-white); border: 1px solid var(--brand-border); }

/* Admin login */
.admin-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(0,194,203,0.18), transparent 60%),
    radial-gradient(60% 60% at 90% 90%, rgba(255,182,72,0.14), transparent 60%),
    var(--brand-primary-dark);
  padding: 2rem 1rem;
}
.admin-card {
  width: 100%; max-width: 420px;
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5);
  padding: 2.6rem 2.2rem;
}
.admin-badge {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--brand-primary-light); color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  margin: 0 auto 1.1rem;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--brand-primary-dark), var(--brand-primary));
  color: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

/* Footer */
.site-footer { background: var(--brand-primary-dark); color: rgba(255,255,255,0.78); }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--brand-highlight); }
.site-footer h6 { color: var(--brand-white); font-family: var(--font-display); letter-spacing: 0.02em; margin-bottom: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; }
.social-chip {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.social-chip:hover { background: var(--brand-highlight); color: var(--brand-primary-dark); }

/* Floating WhatsApp CTA */
.float-whatsapp {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1080;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.4);
  transition: transform .25s ease;
}
.float-whatsapp:hover { transform: scale(1.08); color: #fff; }

/* Back to top */
.back-to-top {
  position: fixed; right: 1.4rem; bottom: 5.6rem; z-index: 1080;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-primary-dark); color: var(--brand-white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Badges & chips */
.brand-chip {
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand-muted);
  background: var(--brand-white);
}
.badge-amc { background: var(--brand-highlight); color: var(--brand-primary-dark); font-weight: 700; }

/* Utility */
.section-divider-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-primary-light); color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse { padding-top: 1rem; }
}

/* ==========================================================================
   Services Detail Page — category tabs, type cards, capacity guide, FAQ
   ========================================================================== */

/* Sticky in-page service sub-nav */
.service-subnav {
  position: sticky;
  top: 76px;
  z-index: 1030;
  background: rgba(246, 250, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--brand-border);
}
.service-subnav .nav-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--brand-muted);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  white-space: nowrap;
}
.service-subnav .nav-link:hover { color: var(--brand-primary); }
.service-subnav .nav-link.active {
  background: var(--brand-primary);
  color: #fff;
}

/* Category pill filters (Residential / Commercial etc.) */
.pill-filter-btn {
  border: 1.5px solid var(--brand-border);
  background: var(--brand-white);
  color: var(--brand-ink);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all .2s ease;
}
.pill-filter-btn i { margin-right: 0.4rem; }
.pill-filter-btn:hover { border-color: var(--brand-accent); color: var(--brand-primary); }
.pill-filter-btn.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* Product / type card used for cooler & RO type grids */
.type-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: transparent; }
.type-card .type-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-primary-light); color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  margin-bottom: 1rem;
}
.type-card .capacity-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0.9rem 0;
}
.capacity-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border: 1px solid var(--brand-border);
  background: var(--brand-bg);
  color: var(--brand-primary-dark);
  border-radius: 6px;
  padding: 0.22rem 0.55rem;
}
.type-card .best-for {
  font-size: 0.82rem;
  color: var(--brand-muted);
  border-top: 1px dashed var(--brand-border);
  padding-top: 0.75rem;
  margin-top: auto;
}
.type-card .price-from { font-family: var(--font-mono); font-weight: 700; color: var(--brand-accent); }
.type-card .ribbon {
  position: absolute; top: -10px; right: 1.2rem;
  background: var(--brand-highlight); color: var(--brand-primary-dark);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  box-shadow: var(--shadow-tight);
  text-transform: uppercase;
}

/* Capacity guide table */
.capacity-guide-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--brand-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-tight);
}
.capacity-guide-table th {
  background: var(--brand-primary-dark);
  color: #fff;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.9rem 1rem;
  font-weight: 600;
}
.capacity-guide-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.92rem;
  vertical-align: middle;
}
.capacity-guide-table tr:last-child td { border-bottom: none; }
.capacity-guide-table tr:hover td { background: var(--brand-primary-light); }

/* Issue / repair accordion */
.accordion-brand .accordion-item {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: var(--brand-white);
}
.accordion-brand .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-primary-dark);
  background: var(--brand-white);
  padding: 1.1rem 1.4rem;
}
.accordion-brand .accordion-button:not(.collapsed) {
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
  box-shadow: none;
}
.accordion-brand .accordion-button:focus { box-shadow: 0 0 0 3px rgba(0,194,203,0.18); }
.accordion-brand .accordion-button::after { filter: hue-rotate(140deg) saturate(2); }
.accordion-brand .accordion-body { padding: 0 1.4rem 1.3rem; color: var(--brand-muted); }
.accordion-brand .issue-fee {
  font-family: var(--font-mono);
  color: var(--brand-primary);
  font-weight: 700;
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  margin-left: auto;
  margin-right: 0.9rem;
  white-space: nowrap;
}

/* Step mini badges for "what's included" checklists */
.included-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 0.7rem; }
.included-list li { list-style: none; display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.included-list li i { color: var(--brand-primary); margin-top: 0.2rem; }

@media (max-width: 767.98px) {
  .service-subnav { top: 0; }
}
