:root {
  --bg: #0E1B17;
  --bg-mid: #15271F;
  --bg-soft: #1C3329;
  --emerald: #2F9E6E;
  --emerald-light: #4FC990;
  --emerald-dark: #1F6F4B;
  --sand: #E8D9B5;
  --amber: #D9A441;
  --ink: #F3F1E7;
  --muted: #9FB3A9;
  --water: #3FA9C9;
  --water-dark: #267A93;
  --danger: #E0654F;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', sans-serif; background: var(--bg); color: var(--ink); overflow-x: hidden; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--emerald); border-radius: 3px; }

/* ===== NAVBAR ===== */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(14,27,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(47,158,110,0.3);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 75px;
  transition: box-shadow 0.3s, background 0.3s, height 0.3s;
}
nav.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,0.45); background: rgba(11,21,18,0.98); height: 68px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon-wrap {
  width: 46px; height: 46px; border-radius: 8px; overflow: hidden;
  background: #fff; padding: 3px; flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(47,158,110,0.25);
}
.logo-icon-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; display: block; }
.logo-text-wrap { display: flex; flex-direction: column; gap: 2px; }
.logo-text-wrap .logo-name { font-family: 'Tajawal', sans-serif; font-size: 17px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.logo-text-wrap .logo-name span { color: var(--emerald-light); }
.logo-text-wrap .logo-sub { font-size: 10px; color: var(--muted); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--emerald-light); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; right: 0; width: 0; height: 2px; background: var(--emerald-light); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: linear-gradient(135deg, var(--emerald-light), var(--emerald-dark)); color: var(--bg) !important; padding: 10px 24px; border-radius: 8px; font-weight: 800 !important; font-size: 13px !important; box-shadow: 0 4px 15px rgba(47,158,110,0.35); }
.nav-cta:hover { transform: translateY(-2px); }
.nav-cta.water { background: linear-gradient(135deg, var(--water), var(--water-dark)); box-shadow: 0 4px 15px rgba(63,169,201,0.35); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 25px; height: 2px; background: var(--emerald-light); border-radius: 2px; }
.lang-btn { background: rgba(47,158,110,0.15); border: 1px solid rgba(47,158,110,0.4); color: var(--emerald-light); padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: Cairo, sans-serif; }

.mobile-menu { display: none; position: fixed; top: 75px; right: 0; left: 0; background: rgba(14,27,23,0.98); padding: 20px 40px; border-bottom: 1px solid rgba(47,158,110,0.2); z-index: 999; flex-direction: column; gap: 16px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu a.active { color: var(--emerald-light); }

/* ===== TICKER ===== */
.ticker-wrap { background: linear-gradient(90deg, var(--emerald-dark), var(--emerald), var(--emerald-dark)); padding: 12px 0; overflow: hidden; margin-top: 75px; }
.ticker { display: flex; gap: 60px; animation: ticker 35s linear infinite; white-space: nowrap; }
.ticker-item { color: #06140F; font-weight: 800; font-size: 13px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== HERO SLIDER ===== */
#hero-slider {
  position: relative; margin-top: 75px; height: calc(100vh - 75px);
  min-height: 560px; max-height: 760px; overflow: hidden;
  background: var(--bg);
}
.slides-track { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s ease, transform 1.2s ease;
  transform: scale(1.06);
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 2; }
/* dark overlay so text stays readable on photos */
.slide::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
}
.slide-1 { background-image: linear-gradient(110deg, rgba(11,24,19,0.92) 0%, rgba(20,39,30,0.78) 45%, rgba(20,39,30,0.45) 100%), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80'); }
.slide-2 { background-image: linear-gradient(110deg, rgba(8,23,28,0.92) 0%, rgba(16,37,48,0.78) 45%, rgba(16,37,48,0.45) 100%), url('https://images.unsplash.com/photo-1538300342682-cf57afb97285?auto=format&fit=crop&w=1600&q=80'); }
.slide-3 { background-image: linear-gradient(110deg, rgba(20,19,12,0.92) 0%, rgba(32,36,26,0.76) 45%, rgba(32,36,26,0.42) 100%), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80'); }
.slide-grid { position: absolute; inset: 0; opacity: 0.06; 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: 64px 64px; z-index: 1; }
.slide-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px; width: 100%;
  position: relative; z-index: 3;
  display: flex; align-items: center;
}
.slide-text { opacity: 0; transform: translateY(28px); max-width: 640px; }
.slide.active .slide-text { animation: slideUp 0.8s 0.25s ease forwards; }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
.slide-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; }
.slide-eyebrow.green { background: rgba(47,158,110,0.15); border: 1px solid rgba(47,158,110,0.4); color: var(--emerald-light); }
.slide-eyebrow.water { background: rgba(63,169,201,0.15); border: 1px solid rgba(63,169,201,0.4); color: var(--water); }
.slide-eyebrow.amber { background: rgba(217,164,65,0.15); border: 1px solid rgba(217,164,65,0.4); color: var(--amber); }
.slide h2 { font-family: 'Tajawal', sans-serif; font-size: clamp(32px, 4.2vw, 56px); font-weight: 900; line-height: 1.2; margin-bottom: 18px; }
.slide h2 .hl-green { background: linear-gradient(135deg, var(--emerald-light), var(--sand)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slide h2 .hl-water { background: linear-gradient(135deg, var(--water), #BFE7F2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slide h2 .hl-amber { background: linear-gradient(135deg, var(--amber), var(--sand)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slide p { font-size: 16px; color: #C7D4CD; line-height: 1.85; margin-bottom: 32px; max-width: 540px; }
.slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.slide-visual { display: none; }
@keyframes visualIn { to { opacity: 1; transform: scale(1); } }
.slide-emoji-card { width: 340px; height: 340px; border-radius: 28px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.slide-emoji-card .big { font-size: 120px; line-height: 1; }
.slide-emoji-card .cap { font-size: 14px; color: #C7D4CD; font-weight: 600; }
.slide-emoji-card .mini-row { display: flex; gap: 12px; margin-top: 6px; }
.slide-emoji-card .mini-row span { font-size: 30px; }

/* slider controls */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(47,158,110,0.5); border-color: var(--emerald-light); }
.slider-arrow.prev { right: 24px; }
.slider-arrow.next { left: 24px; }
.slider-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.slider-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.slider-dot.active { background: var(--emerald-light); width: 30px; border-radius: 6px; }
.slide-2 .slider-dot.active { background: var(--water); }

/* trust strip under slider */
.trust-strip { background: var(--bg-mid); border-bottom: 1px solid rgba(47,158,110,0.12); padding: 26px 0; }
.trust-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ti-num { font-family: 'Tajawal', sans-serif; font-size: 26px; font-weight: 900; color: var(--emerald-light); }
.trust-item .ti-label { font-size: 13px; color: var(--muted); line-height: 1.4; }
.trust-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary { background: linear-gradient(135deg, var(--emerald-light), var(--emerald-dark)); color: #06140F; padding: 16px 34px; border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 8px 25px rgba(47,158,110,0.35); border: none; cursor: pointer; display: inline-block; transition: transform 0.3s; }
.btn-primary:hover { transform: translateY(-3px); }
.btn-primary.water { background: linear-gradient(135deg, var(--water), var(--water-dark)); box-shadow: 0 8px 25px rgba(63,169,201,0.35); }
.btn-outline { border: 2px solid rgba(47,158,110,0.5); color: var(--emerald-light); padding: 14px 32px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; background: transparent; cursor: pointer; display: inline-block; transition: all 0.3s; }
.btn-outline:hover { background: rgba(47,158,110,0.1); border-color: var(--emerald-light); transform: translateY(-3px); }
.btn-outline.water { border-color: rgba(63,169,201,0.5); color: var(--water); }
.btn-outline.water:hover { background: rgba(63,169,201,0.1); border-color: var(--water); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(47,158,110,0.2); border-radius: 12px; padding: 18px; text-align: center; }
.stat-num { font-family: 'Tajawal', sans-serif; font-size: 30px; font-weight: 900; color: var(--emerald-light); display: block; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

.hero-visual { position: relative; }
.hero-image-wrapper { background: linear-gradient(135deg, var(--bg-soft), var(--bg-mid)); border: 1px solid rgba(47,158,110,0.2); border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.hero-img-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 100%; gap: 2px; }
.img-cell { background: var(--bg-mid); display: flex; align-items: center; justify-content: center; font-size: 42px; flex-direction: column; gap: 8px; }
.img-cell span { font-size: 11px; color: var(--muted); }
.hero-float-badge { position: absolute; bottom: -18px; right: -18px; background: linear-gradient(135deg, var(--emerald-light), var(--emerald-dark)); color: #06140F; padding: 16px 22px; border-radius: 14px; font-weight: 800; font-size: 13px; text-align: center; box-shadow: 0 10px 30px rgba(47,158,110,0.4); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.projects-badge { margin-top: 6px; background: linear-gradient(135deg, rgba(47,158,110,0.12), rgba(47,158,110,0.05)); border: 1px solid rgba(47,158,110,0.3); border-radius: 14px; padding: 16px 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tag-pill { background: rgba(47,158,110,0.15); border: 1px solid rgba(47,158,110,0.3); padding: 5px 14px; border-radius: 50px; font-size: 13px; font-weight: 700; color: var(--ink); }

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.alt-bg { background: var(--bg-mid); }
.section-tag { display: inline-block; background: rgba(47,158,110,0.12); border: 1px solid rgba(47,158,110,0.3); color: var(--emerald-light); padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; text-transform: uppercase; }
.section-tag.water { background: rgba(63,169,201,0.12); border-color: rgba(63,169,201,0.35); color: var(--water); }
.section-tag.amber { background: rgba(217,164,65,0.12); border-color: rgba(217,164,65,0.35); color: var(--amber); }
.section-title { font-family: 'Tajawal', sans-serif; font-size: clamp(28px, 3vw, 42px); font-weight: 900; margin-bottom: 16px; line-height: 1.3; }
.section-desc { color: var(--muted); font-size: 16px; max-width: 650px; line-height: 1.85; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* ===== ABOUT / MISSION / VISION ===== */
.amv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.amv-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(47,158,110,0.18); border-radius: 18px; padding: 0; transition: all 0.3s; overflow: hidden; }
.amv-card:hover { border-color: var(--emerald); transform: translateY(-6px); }
.amv-photo { height: 150px; background-size: cover; background-position: center; position: relative; }
.amv-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,23,0.2), rgba(14,27,23,0.8)); }
.amv-body { padding: 30px; }
.amv-card .amv-icon { display: none; }
.amv-body { padding-top: 22px; }
.amv-card h3 { font-family: 'Tajawal', sans-serif; font-weight: 900; font-size: 21px; margin-bottom: 14px; color: var(--emerald-light); }
.amv-card p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }

.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { background: linear-gradient(135deg, var(--bg-soft), var(--bg-mid)); border: 1px solid rgba(47,158,110,0.2); border-radius: 20px; padding: 60px; text-align: center; background-size: cover; background-position: center; min-height: 360px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.about-visual.has-photo { padding: 0; }
.about-visual.has-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,24,19,0.45), rgba(20,39,30,0.7)); z-index: 1; }
.about-visual .big-emoji { font-size: 80px; position: relative; z-index: 2; }
.about-text p { color: var(--muted); line-height: 1.9; margin-bottom: 18px; font-size: 15px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.value-card { text-align: center; padding: 26px 16px; background: rgba(255,255,255,0.02); border-radius: 14px; border: 1px solid rgba(47,158,110,0.1); }
.value-card .v-icon { font-size: 34px; margin-bottom: 12px; display: block; }
.value-card h4 { font-weight: 800; font-size: 14.5px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 12.5px; line-height: 1.7; }

/* ===== CATEGORIES / PRODUCTS ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cat-card { background: var(--bg); border: 1px solid rgba(47,158,110,0.15); border-radius: 16px; padding: 0; text-align: center; cursor: pointer; transition: all 0.35s; position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.cat-photo { height: 130px; background-size: cover; background-position: center; position: relative; }
.cat-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,23,0.15) 0%, rgba(14,27,23,0.85) 100%); }
.cat-body { padding: 22px 22px 28px; position: relative; }
.cat-card:hover { border-color: var(--emerald); transform: translateY(-8px); box-shadow: 0 20px 50px rgba(47,158,110,0.15); }
.cat-card.water { border-color: rgba(63,169,201,0.35); }
.cat-card.water:hover { border-color: var(--water); box-shadow: 0 20px 50px rgba(63,169,201,0.2); }
.cat-icon { display: none; }
.cat-body { padding-top: 18px; }
.cat-name { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.cat-count { font-size: 12px; color: var(--emerald-light); background: rgba(47,158,110,0.1); padding: 4px 12px; border-radius: 20px; display: inline-block; }
.cat-card.water .cat-count { color: var(--water); background: rgba(63,169,201,0.12); }
.new-badge { position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--amber); color: #20140A; font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(47,158,110,0.15); border-radius: 16px; padding: 34px 26px; position: relative; transition: all 0.3s; }
.feature-card:hover { border-color: var(--emerald); transform: translateY(-6px); }
.feature-num { position: absolute; top: 18px; left: 18px; font-size: 56px; font-weight: 900; color: rgba(47,158,110,0.07); font-family: 'Tajawal', sans-serif; }
.feature-icon { font-size: 34px; margin-bottom: 18px; display: block; }
.feature-title { font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.feature-desc { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ===== SERVICE DETAIL (water page) ===== */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 90px; }
.service-block.reverse .service-visual { order: 2; }
.service-visual { background: linear-gradient(135deg, rgba(63,169,201,0.1), var(--bg-mid)); border: 1px solid rgba(63,169,201,0.3); border-radius: 20px; padding: 50px; text-align: center; background-size: cover; background-position: center; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.service-visual.has-photo { padding: 0; overflow: hidden; position: relative; }
.service-visual.has-photo .big-emoji, .service-visual.has-photo p { position: relative; z-index: 2; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.service-visual.has-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8,23,28,0.55), rgba(16,37,48,0.75)); z-index: 1; }
.service-visual .big-emoji { font-size: 90px; margin-bottom: 10px; }
.service-text h3 { font-family: 'Tajawal', sans-serif; font-size: 26px; font-weight: 900; margin-bottom: 16px; }
.service-text p { color: var(--muted); line-height: 1.9; margin-bottom: 20px; font-size: 15px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.service-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.service-list li::before { content: '✔'; color: var(--water); font-weight: 900; flex-shrink: 0; }

.b2b-b2c-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.bx-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(63,169,201,0.25); border-radius: 16px; padding: 30px; }
.bx-card h4 { font-family: 'Tajawal', sans-serif; font-size: 19px; font-weight: 800; margin-bottom: 10px; color: var(--water); }
.bx-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { text-align: center; padding: 26px 18px; background: rgba(255,255,255,0.03); border-radius: 14px; border: 1px solid rgba(63,169,201,0.18); position: relative; }
.process-step .step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--water); color: #06140F; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-family: 'Tajawal', sans-serif; }
.process-step h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 12.5px; line-height: 1.7; }

/* ===== PAGE HERO (water page) ===== */
.page-hero {
  padding: 160px 0 70px; text-align: center;
  background: radial-gradient(ellipse at 50% 20%, rgba(63,169,201,0.15) 0%, transparent 60%), linear-gradient(165deg, var(--bg) 0%, var(--bg-mid) 100%);
}
.page-hero.has-hero-photo { background-size: cover; background-position: center; }
.page-hero.has-hero-photo p { color: #D8E6E2; }
.page-hero h1 { font-family: 'Tajawal', sans-serif; font-size: clamp(30px, 4vw, 50px); font-weight: 900; margin-bottom: 14px; }
.page-hero h1 .highlight { background: linear-gradient(135deg, var(--water), var(--sand)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { color: var(--muted); font-size: 16px; max-width: 700px; margin: 0 auto; line-height: 1.85; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.breadcrumb a { color: var(--water); text-decoration: none; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 12px; border: 1px solid rgba(47,158,110,0.1); background: rgba(255,255,255,0.02); margin-bottom: 14px; }
.contact-item:hover { border-color: rgba(47,158,110,0.3); background: rgba(47,158,110,0.05); }
.contact-icon { font-size: 26px; min-width: 46px; height: 46px; background: rgba(47,158,110,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.contact-item h4 { font-weight: 700; margin-bottom: 4px; font-size: 14px; }
.contact-item p { color: var(--muted); font-size: 14px; }

.form-card { background: var(--bg); border: 1px solid rgba(47,158,110,0.2); border-radius: 20px; padding: 38px; }
.form-card.water { border-color: rgba(63,169,201,0.3); }
.form-title { font-family: 'Tajawal', sans-serif; font-size: 21px; font-weight: 800; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(47,158,110,0.2); color: var(--ink); padding: 13px 16px; border-radius: 10px; font-size: 14px; font-family: 'Cairo', sans-serif; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(47,158,110,0.12); }
.form-card.water .form-group input:focus, .form-card.water .form-group select:focus, .form-card.water .form-group textarea:focus { border-color: var(--water); box-shadow: 0 0 0 3px rgba(63,169,201,0.12); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--bg-mid); }
.form-submit { width: 100%; background: linear-gradient(135deg, var(--emerald-light), var(--emerald-dark)); color: #06140F; padding: 15px; border-radius: 10px; border: none; font-size: 16px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; }
.form-submit.water { background: linear-gradient(135deg, var(--water), var(--water-dark)); }
.form-submit-email { margin-top: 12px; background: transparent !important; color: var(--emerald-light); border: 1px solid rgba(47,158,110,0.5); }
.form-card.water .form-submit-email { color: var(--water); border-color: rgba(63,169,201,0.5); }
.form-submit-email:hover { background: rgba(47,158,110,0.08) !important; }
.success-msg { display: none; background: rgba(47,158,110,0.1); border: 1px solid rgba(47,158,110,0.3); color: var(--emerald-light); padding: 15px; border-radius: 10px; text-align: center; font-weight: 700; margin-top: 14px; }

#map-section { padding: 60px 0 0; }
.map-wrapper { border-radius: 20px; overflow: hidden; border: 1px solid rgba(47,158,110,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.4); height: 440px; }
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ===== WATER SERVICES GALLERY ===== */
.water-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wg-card { border-radius: 18px; overflow: hidden; border: 1px solid rgba(63,169,201,0.25); background: var(--bg-mid); transition: all 0.35s; }
.wg-card:hover { transform: translateY(-8px); border-color: var(--water); box-shadow: 0 20px 50px rgba(63,169,201,0.2); }
.wg-photo { height: 200px; background-size: cover; background-position: center; position: relative; }
.wg-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,23,28,0.1) 0%, rgba(8,23,28,0.75) 100%); }
.wg-emoji { display: none; }
.wg-body { padding: 24px; }
.wg-body h4 { font-family: 'Tajawal', sans-serif; font-size: 19px; font-weight: 800; margin-bottom: 10px; color: var(--water); }
.wg-body p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.wg-body a { color: var(--water); text-decoration: none; font-weight: 700; font-size: 14px; }
.wg-body a:hover { text-decoration: underline; }
@media (max-width: 900px) { .water-gallery { grid-template-columns: 1fr; } }
/* ===== DEVICES CATALOG PAGE ===== */
.device-quick-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.device-quick-card { background: var(--bg-mid); border: 1px solid rgba(217,164,65,0.25); border-radius: 14px; padding: 18px 16px; text-align: center; text-decoration: none; color: inherit; transition: all 0.3s; }
.device-quick-card:hover { border-color: var(--amber); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(217,164,65,0.15); }
.device-quick-card .dq-icon { font-size: 30px; display: block; margin-bottom: 8px; }
.device-quick-card .dq-name { font-size: 13px; font-weight: 700; }

.device-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.device-section-head .ds-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(217,164,65,0.12); border: 1px solid rgba(217,164,65,0.3); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.device-section-head h3 { font-family: 'Tajawal', sans-serif; font-size: 21px; font-weight: 800; color: var(--amber); }
.device-section-head p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

.ds-banner { border-radius: 16px; overflow: hidden; margin-bottom: 24px; border: 1px solid rgba(217,164,65,0.2); }
.ds-banner img { width: 100%; height: auto; display: block; }

.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.device-card { background: var(--bg-mid); border: 1px solid rgba(217,164,65,0.18); border-radius: 14px; overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; }
.device-card:hover { border-color: var(--amber); background: rgba(217,164,65,0.06); transform: translateY(-5px); box-shadow: 0 16px 36px rgba(217,164,65,0.18); }
.dc-photo-wrap { background: #F4F1EA; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dc-photo-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s; }
.device-card:hover .dc-photo-wrap img { transform: scale(1.08); }
.dc-info { padding: 10px 12px 14px; }
.dc-num { font-size: 10.5px; color: var(--amber); font-weight: 800; font-family: 'Tajawal', sans-serif; }
.device-card span.dc-name { font-size: 12.5px; font-weight: 700; line-height: 1.4; display: block; margin-top: 2px; }

.brand-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-chip { background: rgba(255,255,255,0.04); border: 1px solid rgba(217,164,65,0.25); padding: 10px 22px; border-radius: 50px; font-size: 14px; font-weight: 700; color: var(--sand); }

@media (max-width: 600px) {
  .device-quick-nav { grid-template-columns: repeat(2, 1fr); }
  .device-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .device-section-head .ds-icon { width: 42px; height: 42px; font-size: 21px; }
  .device-section-head h3 { font-size: 17px; }
  .dc-info { padding: 8px 8px 10px; }
  .device-card span.dc-name { font-size: 11px; }
}

/* ===== WOOD CATALOG PAGE ===== */
.wood-quick-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.wood-quick-card { border-radius: 14px; padding: 16px; text-align: center; text-decoration: none; color: #fff; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.15); }
.wood-quick-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,0.3); }
.wood-quick-card .wq-name { font-size: 12.5px; font-weight: 700; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }

.wood-swatch { border-radius: 20px; padding: 50px; text-align: center; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.wood-swatch::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(100deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 2px, transparent 2px, transparent 12px); }
.wood-swatch .ws-icon { font-size: 80px; margin-bottom: 14px; position: relative; z-index: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.wood-swatch .ws-label { color: #fff; font-weight: 800; font-size: 15px; position: relative; z-index: 1; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.wood-swatch.has-photo { background-size: cover; background-position: center; padding: 0; }
.wood-swatch.has-photo::before { background-image: none; background: linear-gradient(180deg, rgba(20,12,5,0.05) 40%, rgba(20,12,5,0.82) 100%); }
.wood-swatch.has-photo .ws-icon { display: none; }
.wood-swatch.has-photo .ws-label { position: absolute; bottom: 22px; right: 22px; left: 22px; text-align: right; font-size: 17px; z-index: 2; }

.wood-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-bottom: 24px; }
.wood-features li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink); }
.wood-features li::before { content: '🪵'; flex-shrink: 0; font-size: 12px; }

@media (max-width: 600px) {
  .wood-quick-nav { grid-template-columns: repeat(2, 1fr); }
  .wood-swatch { padding: 30px 20px; min-height: 220px; }
  .wood-swatch .ws-icon { font-size: 56px; }
  .wood-features { grid-template-columns: 1fr; }
}

.whatsapp-float { position: fixed; bottom: 30px; left: 30px; z-index: 999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; text-decoration: none; box-shadow: 0 8px 25px rgba(37,211,102,0.4); animation: float 3s ease-in-out infinite; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== FOOTER ===== */
footer { background: var(--bg); border-top: 1px solid rgba(47,158,110,0.2); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-top: 16px; }
.footer-col h4 { font-weight: 800; margin-bottom: 18px; font-size: 15px; color: var(--emerald-light); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-col ul li a:hover { color: var(--emerald-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--muted); font-size: 13px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 38px; height: 38px; background: rgba(47,158,110,0.1); border: 1px solid rgba(47,158,110,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 18px; }
.social-link:hover { background: rgba(47,158,110,0.2); border-color: var(--emerald); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #hero-slider { height: auto; min-height: 0; max-height: none; }
  .slide { position: relative; opacity: 1; visibility: visible; transform: none; display: none; padding: 50px 0; }
  .slide.active { display: flex; }
  .slide-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .slide p { margin-left: auto; margin-right: auto; }
  .slide-buttons { justify-content: center; }
  .slide-visual { display: none; }
  .slider-arrow { display: none; }
  .trust-inner { justify-content: center; gap: 22px; }
  .trust-divider { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 36px; padding: 40px 24px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .features-grid, .amv-grid { grid-template-columns: 1fr; }
  .about-block { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .service-block, .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-visual { order: 0; }
  .b2b-b2c-strip { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .water-gallery { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 56px; }
  .form-card { padding: 26px 22px; }
}

/* ===== TABLET / SMALL LAPTOP ===== */
@media (max-width: 1024px) and (min-width: 901px) {
  .hero-content { gap: 40px; padding: 60px 30px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  nav { padding: 0 16px; height: 64px; }
  nav.scrolled { height: 58px; }
  #hero-slider, .ticker-wrap + #hero-slider { margin-top: 64px; }
  .logo-icon-wrap { width: 38px; height: 38px; }
  .logo-text-wrap .logo-name { font-size: 14px; }
  .logo-text-wrap .logo-sub { font-size: 8px; letter-spacing: 0.5px; }
  .lang-btn { padding: 6px 12px; font-size: 11px; }
  .ticker-wrap { margin-top: 64px; padding: 9px 0; }
  .ticker-item { font-size: 11.5px; }
  .mobile-menu { top: 64px; padding: 16px 20px; }

  .hero-stats { grid-template-columns: 1fr; }
  .stat-card { padding: 14px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-photo { height: 100px; }
  .cat-body { padding: 16px 16px 20px; }
  .cat-icon { font-size: 30px; margin: -42px 0 8px; }
  .cat-name { font-size: 13px; }
  .cat-count { font-size: 10.5px; padding: 3px 9px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .values-grid, .process-grid { grid-template-columns: 1fr; }
  .amv-photo, .wg-photo { height: 130px; }

  .container { padding: 0 16px; }
  section { padding: 46px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 24px; }
  .section-desc { font-size: 14.5px; }

  .page-hero { padding: 110px 0 44px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14.5px; }

  .service-visual { padding: 30px 20px; min-height: 220px; }
  .service-visual .big-emoji { font-size: 56px; }
  .service-text h3 { font-size: 21px; }
  .service-text p { font-size: 14px; }

  .form-card { padding: 22px 18px; border-radius: 16px; }
  .form-title { font-size: 18px; margin-bottom: 20px; }
  /* 16px min font-size on inputs prevents iOS Safari auto-zoom on focus */
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; padding: 12px 14px; }
  .form-submit, .form-submit-email { font-size: 14.5px; padding: 13px; }

  .btn-primary, .btn-outline { padding: 13px 24px; font-size: 14px; width: 100%; text-align: center; }
  .hero-buttons, .slide-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons a, .slide-buttons a { width: 100%; }

  .whatsapp-float { width: 52px; height: 52px; font-size: 24px; bottom: 18px; left: 18px; }
  .slider-dots { bottom: 16px; }
  .slider-dot { width: 9px; height: 9px; }
  .slider-dot.active { width: 24px; }

  .b2b-b2c-strip .bx-card { padding: 22px; }
  .map-wrapper { height: 280px; border-radius: 14px; }
  .contact-item { padding: 14px; gap: 12px; }
  .contact-icon { font-size: 22px; min-width: 40px; height: 40px; }

  .amv-card .amv-icon, .cat-icon { filter: none; }
}

@media (max-width: 380px) {
  .hero-title, .slide h2 { font-size: 26px; }
  .categories-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 14px; }
  .trust-item .ti-num { font-size: 21px; }
  .trust-item .ti-label { font-size: 11px; }
}

/* Prevent horizontal scroll on any screen */
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; }
