/* ═══════════════════════════════════════════
   Water Technology Egypt — main.css
   ═══════════════════════════════════════════ */

:root {
  --navy:       #0A1628;
  --blue:       #1556A8;
  --blue-light: #1E72D4;
  --blue-pale:  #E6F1FB;
  --accent:     #00C4FF;
  --white:      #FFFFFF;
  --off-white:  #F5F8FC;
  --gray-100:   #EEF2F7;
  --gray-300:   #C5CDD8;
  --gray-500:   #7A8899;
  --gray-700:   #3D4D60;
  --radius:     12px;
  --radius-lg:  20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── NAVIGATION ─── */
#wt-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 5%; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 22px; height: 22px; stroke: #fff; }
.nav-logo-text {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px;
  color: #fff; line-height: 1;
}
.nav-logo-sub {
  font-size: 10px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Nav Menu */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-menu {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-menu li { position: relative; }
.nav-menu a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 14px; font-weight: 400; padding: 8px 14px;
  border-radius: 8px; transition: all 0.2s; display: block;
}
.nav-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Dropdown */
.nav-menu li ul {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; min-width: 200px; padding: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4); list-style: none;
}
.nav-menu li:hover > ul { display: block; }
.nav-menu li ul a { padding: 9px 14px; font-size: 13.5px; border-radius: 8px; }
.nav-menu li ul li ul { left: 100%; top: 0; min-width: 360px; }
.nav-menu li ul li ul a { font-size: 13px; }

/* CTA & Lang */
.lang-select {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7); border-radius: 7px;
  padding: 6px 10px; font-size: 13px; cursor: pointer; margin-left: 4px;
  font-family: 'DM Sans', sans-serif;
}
.lang-select option { background: var(--navy); }
.nav-cta {
  background: var(--blue-light); color: #fff; border-radius: 8px;
  padding: 9px 18px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all 0.2s; margin-left: 8px; white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: var(--navy); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all 0.25s;
}

/* ─── SECTION COMMONS ─── */
section { padding: 90px 5%; max-width: 1400px; margin: 0 auto; }
.wt-services,
.wt-contact { max-width: 100%; }
.wt-services > *,
.wt-contact > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.wt-services { padding: 90px 5%; }
.wt-contact  { padding: 90px 5%; background: var(--off-white); }

.section-label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  color: var(--navy); line-height: 1.1; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--gray-500); line-height: 1.7; max-width: 520px;
}
.view-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--blue-light);
  text-decoration: none; transition: gap 0.2s; white-space: nowrap;
}
.view-all:hover { gap: 10px; }

/* ─── HERO ─── */
.wt-hero {
  min-height: 100vh; background: var(--navy);
  display: flex; align-items: center;
  padding: 100px 5% 60px; position: relative; overflow: hidden;
  max-width: 100%;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(21,86,168,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,196,255,0.1) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px; padding: 7px 16px; margin-bottom: 28px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.hero-badge span { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }
.wt-hero h1 {
  font-size: clamp(40px, 6vw, 72px); font-weight: 800;
  color: #fff; line-height: 1.05; margin-bottom: 24px;
}
.wt-hero h1 em { font-style: normal; color: var(--accent); }
.wt-hero p { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue-light); color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 10px; font-weight: 500; font-size: 15px;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--accent); color: var(--navy); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.08); color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 10px; font-weight: 500; font-size: 15px;
  border: 1px solid rgba(255,255,255,0.15); transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }
.hero-stats {
  position: absolute; right: 5%; bottom: 10%; z-index: 2;
  display: flex; flex-direction: column; gap: 12px;
}
.stat-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 18px 24px; text-align: center; min-width: 140px;
}
.stat-num { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 700; color: #fff; }
.stat-num span { font-size: 18px; color: var(--accent); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── PRODUCTS ─── */
.wt-products { background: var(--off-white); max-width: 100%; padding: 90px 5%; }
.wt-products > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.products-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 50px; flex-wrap: wrap; gap: 20px;
  max-width: 1400px; margin-left: auto; margin-right: auto;
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; max-width: 1400px; margin: 0 auto;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-100); padding: 28px;
  transition: all 0.25s; cursor: pointer; text-decoration: none; display: block; color: inherit;
}
.product-card:hover {
  border-color: var(--blue-light); transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(21,86,168,0.1);
}
.product-icon {
  width: 48px; height: 48px; background: var(--blue-pale);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.product-icon svg { width: 26px; height: 26px; stroke: var(--blue-light); }
.product-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.product-card > p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.product-count { font-size: 12px; color: var(--blue-light); font-weight: 500; margin-top: 12px; }

/* Sub-products */
.sub-products { display: none; margin-top: 16px; border-top: 1px solid var(--gray-100); padding-top: 14px; }
.product-card.active .sub-products { display: block; }
.sub-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px solid var(--gray-100); gap: 8px; flex-wrap: wrap;
}
.sub-item:last-child { border-bottom: none; }
.sub-item-name { font-size: 13px; font-weight: 500; }
.sub-links { display: flex; gap: 6px; flex-wrap: wrap; }
.brand-link {
  font-size: 12px; background: var(--blue-pale); color: var(--blue);
  padding: 3px 10px; border-radius: 100px; text-decoration: none; font-weight: 500;
  transition: all 0.15s;
}
.brand-link:hover { background: var(--blue); color: #fff; }

/* ─── PARTNERS ─── */
.wt-partners { background: var(--white); }
.partners-track {
  margin-top: 40px; display: flex; gap: 40px; flex-wrap: wrap; align-items: center;
}
.partner-logo {
  height: 48px; opacity: 0.55; filter: grayscale(100%);
  transition: all 0.2s; display: flex; align-items: center;
}
.partner-logo:hover { opacity: 1; filter: none; }
.partner-logo img { height: 100%; width: auto; object-fit: contain; max-width: 140px; }
.partner-text {
  font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--gray-300); letter-spacing: 0.02em; white-space: nowrap;
}

/* ─── SERVICES ─── */
.wt-services { background: var(--navy); }
.wt-services .section-title { color: #fff; }
.wt-services .section-label { color: var(--accent); }
.wt-services .section-sub { color: rgba(255,255,255,0.55); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.service-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 36px; transition: all 0.2s;
}
.service-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(0,196,255,0.3); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0,196,255,0.12); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ─── ABOUT ─── */
.wt-about { background: var(--white); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
  background: var(--navy); border-radius: 24px; padding: 50px 40px;
  display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
}
.about-visual::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,196,255,0.15), transparent 70%);
}
.about-visual-stat { position: relative; z-index: 1; }
.about-visual-stat .num { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; color: #fff; }
.about-visual-stat .num span { color: var(--accent); }
.about-visual-stat .label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.about-divider { height: 1px; background: rgba(255,255,255,0.1); }
.about-text h2 { margin-bottom: 20px; }
.about-text p { font-size: 16px; color: var(--gray-500); line-height: 1.8; margin-bottom: 16px; }
.about-highlights { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.highlight-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--gray-700); }
.highlight-dot { width: 8px; height: 8px; background: var(--blue-light); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }

/* ─── CONTACT ─── */
.wt-contact { background: var(--off-white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--gray-100); padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 20px; transition: all 0.2s;
}
.contact-card:hover { border-color: var(--blue-light); }
.contact-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--blue-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-card-value { font-size: 15px; font-weight: 500; color: var(--navy); margin-top: 3px; }
.contact-card-value a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
.contact-card-value a:hover { color: var(--blue-light); }
.contact-map {
  background: var(--navy); border-radius: 20px;
  display: flex; align-items: center; justify-content: center; min-height: 300px;
  position: relative; overflow: hidden;
}
.contact-map-pin { text-align: center; color: rgba(255,255,255,0.7); padding: 20px; }
.contact-map-pin svg { width: 44px; height: 44px; stroke: var(--accent); margin: 0 auto 12px; display: block; }
.contact-map-pin strong { display: block; font-family: 'Syne', sans-serif; font-size: 20px; color: #fff; margin-bottom: 6px; }
.contact-map-sub { font-size: 13px; color: rgba(255,255,255,0.4); max-width: 280px; margin: 0 auto; line-height: 1.5; }
.contact-map-embed {
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: 0 18px 44px rgba(10,34,57,0.08);
}
.contact-map-embed iframe {
  width: 100%;
  min-height: 360px;
  height: 100%;
  border: 0;
  display: block;
}

/* ─── FOOTER ─── */
#wt-footer {
  background: var(--navy); padding: 60px 5% 30px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px;
}
.footer-logo span { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-col a, .footer-menu a {
  display: block; font-size: 14px; color: rgba(255,255,255,0.45);
  text-decoration: none; margin-bottom: 10px; transition: color 0.15s;
}
.footer-col a:hover, .footer-menu a:hover { color: #fff; }
.footer-menu { list-style: none; display: flex; gap: 20px; }
.footer-menu a { margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy); padding: 20px 5%; border-top: 1px solid rgba(255,255,255,0.07); z-index: 99; }
  .about-layout, .services-grid, .contact-layout { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ─── INNER PAGES ─── */
.wt-inner-page {
  background: var(--white);
}
.wt-page-hero {
  max-width: 100%;
  min-height: 560px;
  padding: 128px 5% 72px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.wt-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,22,40,0.98) 0%, rgba(10,22,40,0.82) 48%, rgba(10,22,40,0.36) 100%),
    var(--hero-img, none);
  background-size: cover;
  background-position: center;
}
.wt-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.45) 1px, transparent 1px);
  background-size: 58px 58px;
}
.wt-page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  gap: 56px;
  align-items: end;
}
.wt-page-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.wt-page-hero h1 {
  color: #fff;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 760px;
}
.wt-page-hero p {
  color: rgba(255,255,255,0.68);
  font-size: 18px;
  line-height: 1.75;
  max-width: 640px;
}
.wt-hero-panel {
  justify-self: end;
  width: min(100%, 380px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(14px);
}
.wt-hero-panel strong {
  display: block;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  margin-bottom: 10px;
}
.wt-hero-panel span {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
}
.wt-page-section {
  max-width: 100%;
  padding: 86px 5%;
}
.wt-page-section.alt {
  background: var(--off-white);
}
.wt-page-section.dark {
  background: var(--navy);
  color: #fff;
}
.wt-page-wrap {
  width: min(100%, 1400px);
  margin: 0 auto;
}
.wt-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.wt-copy p {
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.dark .wt-copy p,
.dark .section-sub {
  color: rgba(255,255,255,0.62);
}
.dark .section-title {
  color: #fff;
}
.wt-media-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 18px;
  align-items: end;
}
.wt-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid rgba(10,22,40,0.07);
  box-shadow: 0 18px 50px rgba(10,22,40,0.12);
}
.wt-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wt-media.tall { aspect-ratio: 0.78; }
.wt-media.wide { aspect-ratio: 1.35; }
.wt-media.small { aspect-ratio: 1; }
.wt-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.wt-stat {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 24px;
}
.wt-stat b {
  display: block;
  font-family: 'Syne', sans-serif;
  color: var(--blue-light);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 8px;
}
.wt-stat span {
  color: var(--gray-500);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wt-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 42px;
}
.wt-feature-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 26px;
  color: inherit;
  text-decoration: none;
  transition: all 0.2s;
}
.wt-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-light);
  box-shadow: 0 16px 42px rgba(21,86,168,0.1);
}
.wt-feature-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  background: var(--off-white);
}
.wt-feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.wt-feature-card p,
.wt-feature-card li {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
}
.wt-feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wt-feature-card li + li {
  margin-top: 6px;
}
.wt-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 42px;
}
.wt-logo-tile {
  min-height: 112px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  transition: all 0.2s;
}
.wt-logo-tile:hover {
  border-color: var(--blue-light);
  transform: translateY(-2px);
}
.wt-logo-tile img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.wt-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.wt-step {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 22px;
}
.wt-step b {
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-size: 26px;
}
.wt-step h3 {
  color: #fff;
  font-size: 18px;
  margin: 12px 0 8px;
}
.wt-step p {
  color: rgba(255,255,255,0.58);
  font-size: 14px;
  line-height: 1.7;
}
.wt-cta-band {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  border-radius: 22px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wt-cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 10px;
}
.wt-cta-band p {
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .wt-page-hero-inner,
  .wt-split,
  .wt-process {
    grid-template-columns: 1fr;
  }
  .wt-hero-panel {
    justify-self: start;
  }
}
@media (max-width: 768px) {
  .wt-page-hero {
    min-height: auto;
    padding-top: 116px;
  }
  .wt-media-stack,
  .wt-stat-strip {
    grid-template-columns: 1fr;
  }
  .wt-cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }
}


/* Force uploaded brand logo */
.nav-logo img,
.footer-logo img,
.custom-logo-link img {
  content: url('https://watertechnology-eg.com/new/wp-content/uploads/2026/06/new-logo.png');
}




/* Smaller logo only after the header becomes sticky/scrolled */
#wt-nav .custom-logo-link img.custom-logo,
#wt-nav .custom-logo-link img,
#wt-nav img.custom-logo {
  transition: height .2s ease, max-width .2s ease;
}
#wt-nav.is-scrolled .custom-logo-link img.custom-logo,
#wt-nav.is-scrolled .custom-logo-link img,
#wt-nav.is-scrolled img.custom-logo {
  height: 30px !important;
  max-height: 30px !important;
  width: auto !important;
  max-width: 90px !important;
  object-fit: contain;
}
#wt-nav.is-scrolled .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}


/* Home redesign refresh - lighter, animated first screen */
body.home { background: #f8fbff; }
body.home #wt-nav {
  background: rgba(247, 251, 255, 0.92);
  border-bottom: 1px solid rgba(30, 114, 212, 0.14);
  box-shadow: 0 10px 34px rgba(10, 34, 57, 0.08);
}
body.home .nav-menu a,
body.home .nav-logo-text { color: var(--navy); }
body.home .nav-logo-sub,
body.home .nav-menu a:hover { color: var(--blue-light); }
body.home .nav-menu a:hover { background: rgba(30, 114, 212, 0.08); }
body.home .nav-hamburger span { background: var(--navy); }
body.home .wt-hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding: 126px 5% 84px;
  background: linear-gradient(115deg, #ffffff 0%, #f4fbff 45%, #e8f5ff 100%);
  color: var(--navy);
}
body.home .hero-bg {
  background: linear-gradient(90deg, rgba(30,114,212,0.08), rgba(0,196,255,0.08));
  opacity: 0.9;
}
body.home .hero-grid {
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(30,114,212,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,114,212,0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.7), transparent 78%);
}
body.home .hero-content { animation: wtHomeReveal 0.75s ease both; }
body.home .hero-badge {
  background: #fff;
  border: 1px solid rgba(30,114,212,0.16);
  box-shadow: 0 12px 28px rgba(10,34,57,0.08);
}
body.home .hero-badge span { color: var(--blue); }
body.home .wt-hero h1 { color: #08172a; }
body.home .wt-hero h1 em {
  color: var(--blue-light);
  position: relative;
  display: inline-block;
}
body.home .wt-hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(0,196,255,0.2);
  z-index: -1;
}
body.home .wt-hero p { color: #607087; }
body.home .btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: rgba(30,114,212,0.18);
  box-shadow: 0 12px 30px rgba(10,34,57,0.07);
}
body.home .btn-secondary:hover { background: #eef8ff; }
body.home .hero-stats {
  right: auto;
  left: 5%;
  bottom: 22px;
  flex-direction: row;
}
body.home .stat-card {
  background: rgba(255,255,255,0.78);
  border-color: rgba(30,114,212,0.14);
  box-shadow: 0 16px 34px rgba(10,34,57,0.08);
  min-width: 128px;
}
body.home .stat-num { color: var(--navy); }
body.home .stat-label { color: #6d7d91; }
.hero-lab-stage {
  position: relative;
  z-index: 2;
  min-height: 540px;
  animation: wtHomeReveal 0.9s 0.12s ease both;
}
.hero-stage-surface {
  position: absolute;
  inset: 42px 4% 44px 9%;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(30,114,212,0.14);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(20,83,143,0.16);
  transform: skewY(-2deg);
}
.hero-stage-label {
  position: absolute;
  top: 74px;
  left: 15%;
  z-index: 3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.hero-product-chip {
  position: absolute;
  z-index: 4;
  width: 178px;
  min-height: 206px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(30,114,212,0.12);
  box-shadow: 0 18px 46px rgba(10,34,57,0.11);
  color: var(--navy);
  text-decoration: none;
  animation: wtFloatY 5.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.65s);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-product-chip:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 62px rgba(30,114,212,0.18);
}
.hero-product-chip img {
  width: 100%;
  height: 126px;
  object-fit: contain;
  background: #f6fbff;
  border-radius: 10px;
  padding: 10px;
}
.hero-product-chip span {
  display: block;
  margin-top: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.hero-product-chip-1 { top: 108px; left: 3%; }
.hero-product-chip-2 { top: 56px; right: 9%; width: 198px; }
.hero-product-chip-3 { top: 250px; left: 20%; width: 210px; }
.hero-product-chip-4 { bottom: 74px; right: 4%; }
.hero-product-chip-5 { bottom: 36px; left: 2%; width: 160px; }
.hero-data-card {
  position: absolute;
  z-index: 5;
  right: 12%;
  bottom: 152px;
  max-width: 238px;
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  box-shadow: 0 24px 60px rgba(21,86,168,0.24);
}
.hero-data-card strong,
.hero-data-card span { display: block; }
.hero-data-card strong {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}
.hero-data-card span {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}
.home-category-strip {
  max-width: 1180px;
  margin: -44px auto 0;
  padding: 0 5%;
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.home-category-strip a {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px 20px;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(30,114,212,0.14);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(10,34,57,0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-category-strip a:hover {
  transform: translateY(-4px);
  border-color: rgba(30,114,212,0.45);
  box-shadow: 0 22px 48px rgba(30,114,212,0.12);
}
.home-category-strip span {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.home-category-strip small {
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body.home .wt-home-about {
  padding-top: 120px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
body.home .wt-home-featured { background: #edf7ff; }
body.home .home-product-tile {
  border-color: rgba(30,114,212,0.12);
  box-shadow: 0 18px 44px rgba(10,34,57,0.09);
}
body.home .home-product-tile:nth-child(3n+1) img { background: #eef8ff; }
body.home .home-product-tile:nth-child(3n+2) img { background: #f4fbf8; }
body.home .home-product-tile:nth-child(3n) img { background: #fff9ed; }
body.home .wt-partners {
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}
body.home .home-partners-grid {
  display: flex;
  grid-template-columns: none;
  width: max-content;
  max-width: none;
  gap: 16px;
  animation: wtPartnerMove 34s linear infinite;
}
body.home .home-partners-grid:hover { animation-play-state: paused; }
body.home .home-partner-tile { flex: 0 0 188px; }
@keyframes wtFloatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@keyframes wtHomeReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wtPartnerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-product-chip,
  body.home .home-partners-grid,
  .home-product-track,
  body.home .hero-content,
  .hero-lab-stage { animation: none !important; }
}
@media (max-width: 1100px) {
  body.home .wt-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 118px;
  }
  .hero-lab-stage { min-height: 430px; }
  body.home .hero-stats { display: flex; }
}
@media (max-width: 760px) {
  body.home .wt-hero { padding: 108px 5% 84px; }
  body.home .wt-hero h1 { font-size: clamp(36px, 12vw, 48px); }
  .hero-lab-stage { min-height: 360px; }
  .hero-product-chip {
    width: 142px;
    min-height: 174px;
    padding: 10px;
  }
  .hero-product-chip img { height: 100px; }
  .hero-product-chip span { font-size: 12px; }
  .hero-product-chip-2,
  .hero-product-chip-3 { width: 154px; }
  .hero-data-card {
    right: 6%;
    bottom: 104px;
    max-width: 190px;
  }
  body.home .hero-stats {
    position: relative;
    left: auto;
    bottom: auto;
    grid-column: 1;
    flex-wrap: wrap;
    margin-top: -42px;
  }
  .home-category-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: -26px;
  }
}
@media (max-width: 520px) {
  .hero-product-chip-5 { display: none; }
  .home-category-strip { grid-template-columns: 1fr; }
  body.home .stat-card { flex: 1 1 110px; }
}


/* Home overlap fix */
body.home .hero-content {
  max-width: 760px;
}
body.home .wt-hero h1 {
  font-size: clamp(44px, 5vw, 86px);
  max-width: 820px;
}
body.home .wt-hero p {
  max-width: 660px;
  margin-bottom: 28px;
}
body.home .hero-stats {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 3;
  grid-column: 1;
  grid-row: 2;
  margin-top: -86px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-self: end;
}
body.home .stat-card {
  min-width: 132px;
  padding: 16px 22px;
}
.home-category-strip {
  margin-top: 0;
  transform: translateY(-56px);
}
body.home .wt-home-about {
  padding-top: 76px;
}
.hero-lab-stage {
  min-height: 570px;
}
.hero-data-card {
  right: 8%;
  bottom: 172px;
}
@media (max-width: 1100px) {
  body.home .hero-stats {
    margin-top: 0;
    grid-row: auto;
    align-self: start;
  }
  .home-category-strip {
    transform: translateY(-38px);
  }
}
@media (max-width: 760px) {
  body.home .wt-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }
  body.home .hero-stats {
    margin-top: 8px;
  }
  .home-category-strip {
    transform: translateY(-22px);
  }
  body.home .wt-home-about {
    padding-top: 54px;
  }
}

/* Logo size fix after customizer logo update */
#wt-nav .nav-logo,
#wt-nav .custom-logo-link {
  display: flex;
  align-items: center;
  max-width: 92px;
  overflow: hidden;
}
#wt-nav .custom-logo-link img.custom-logo,
#wt-nav .custom-logo-link img,
#wt-nav img.custom-logo {
  content: normal !important;
  width: auto !important;
  height: 44px !important;
  max-height: 44px !important;
  max-width: 86px !important;
  object-fit: contain;
  transition: height .2s ease, max-width .2s ease;
}
#wt-nav.is-scrolled .custom-logo-link img.custom-logo,
#wt-nav.is-scrolled .custom-logo-link img,
#wt-nav.is-scrolled img.custom-logo {
  height: 32px !important;
  max-height: 32px !important;
  max-width: 70px !important;
}
#wt-nav .nav-inner {
  overflow: visible;
}
@media (max-width: 768px) {
  #wt-nav .nav-logo,
  #wt-nav .custom-logo-link { max-width: 78px; }
  #wt-nav .custom-logo-link img.custom-logo,
  #wt-nav .custom-logo-link img,
  #wt-nav img.custom-logo {
    height: 38px !important;
    max-height: 38px !important;
    max-width: 74px !important;
  }
}

/* Header/category typography refinement */
#wt-nav .nav-menu a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.2;
}
.home-category-strip span {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25;
}
.home-category-strip small {
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
}
@media (max-width: 1100px) {
  #wt-nav .nav-menu a {
    font-size: 12.5px !important;
    padding-inline: 9px !important;
  }
}

/* Smaller header/category typography pass */
#wt-nav .nav-menu a {
  font-size: 12px !important;
  font-weight: 500 !important;
  padding-inline: 8px !important;
}
.home-category-strip span {
  font-size: 13px !important;
  font-weight: 700 !important;
}
.home-category-strip small {
  font-size: 10px !important;
  letter-spacing: 0.04em !important;
}
@media (max-width: 1100px) {
  #wt-nav .nav-menu a {
    font-size: 11.5px !important;
    padding-inline: 7px !important;
  }
}

/* Hero title size refinement */
body.home .wt-hero h1 {
  font-size: clamp(34px, 4.2vw, 58px) !important;
  line-height: 1.08 !important;
  max-width: 680px !important;
}
body.home .wt-hero h1 em {
  display: inline;
}
.wt-page-hero h1,
.wt-page-hero-inner h1 {
  font-size: clamp(32px, 4vw, 54px) !important;
  line-height: 1.08 !important;
  max-width: 720px !important;
}
.section-title {
  font-size: clamp(26px, 3vw, 38px);
}
@media (max-width: 760px) {
  body.home .wt-hero h1 {
    font-size: clamp(30px, 9vw, 40px) !important;
  }
  .wt-page-hero h1,
  .wt-page-hero-inner h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
  }
}
