/* =========================================================
   CWET Company Profile — "Deep Water" (Concept B)
   Brand: Rich Electric Blue #0892d0 · SkyBlue #87ceeb · Green · Tajawal
   ========================================================= */
:root{
  --blue:#0892d0; --blue-2:#1F8BB6; --deep:#0a5d80; --navy:#062f45; --navy-2:#04212f;
  --sky:#87ceeb; --sky-2:#80C9E4; --green:#5cc96b; --mint:#7CFFB0; --turq:#80E0E0; --gray:#909294;
  --ink:#13293a; --muted:#566673; --line:#e2ecf2; --bg-soft:#f3f8fb;
  --grad:radial-gradient(circle at 85% 12%,rgba(135,206,235,.38),transparent 42%),
         radial-gradient(circle at 8% 92%,rgba(92,201,107,.30),transparent 45%),
         linear-gradient(135deg,var(--navy) 0%,var(--deep) 45%,var(--blue) 100%);
  --r-sm:12px; --r:20px; --r-lg:28px;
  --sh:0 18px 40px rgba(6,47,69,.12); --sh-lg:0 30px 60px rgba(6,47,69,.28);
  --wrap:1200px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Tajawal',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;line-height:1.75;color:var(--ink);background:#fff;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.wrap{width:min(var(--wrap),100% - 48px);margin-inline:auto}
.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
html[lang=ar] .only-en, html[lang=en] .only-ar{display:none!important}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;font:inherit;font-weight:700;font-size:16px;line-height:1;border-radius:999px;padding:16px 26px;transition:transform .2s,box-shadow .2s,background .2s;white-space:nowrap;cursor:pointer}
.btn .ic{width:18px;height:18px;stroke-width:2.4}
.btn--white{background:#fff;color:var(--deep);box-shadow:0 12px 26px rgba(0,0,0,.18)}
.btn--white:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(0,0,0,.24)}
.btn--ghost{background:rgba(255,255,255,.1);color:#fff;border:1.5px solid rgba(255,255,255,.45)}
.btn--ghost:hover{background:rgba(255,255,255,.2)}
.btn--sm{padding:11px 18px;font-size:14px}
.btn:focus-visible,.lang:focus-visible{outline:3px solid var(--mint);outline-offset:3px}

/* ---------- Top bar ---------- */
.topbar{position:fixed;inset:0 0 auto;z-index:50;transition:background .3s,box-shadow .3s,padding .3s;padding:14px 0}
.topbar.is-scrolled{background:rgba(6,47,69,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 8px 24px rgba(0,0,0,.18);padding:6px 0}
.topbar__in{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand img{height:64px;width:auto;transition:height .3s}
.topbar.is-scrolled .brand img{height:50px}
.topbar__actions{display:flex;align-items:center;gap:12px}
.lang{font:inherit;font-weight:700;font-size:15px;color:#fff;background:transparent;border:1.5px solid rgba(255,255,255,.4);border-radius:999px;padding:9px 16px;cursor:pointer;min-width:58px;transition:background .2s}
.lang:hover{background:rgba(255,255,255,.14)}

/* ---------- Bubbles (from the logo) ---------- */
.bubbles{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.bubbles i{position:absolute;bottom:-80px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.55),rgba(135,206,235,.18) 60%);border:1px solid rgba(255,255,255,.28);animation:rise linear infinite}
.bubbles i:nth-child(1){left:6%;width:26px;height:26px;animation-duration:16s}
.bubbles i:nth-child(2){left:18%;width:60px;height:60px;animation-duration:22s;animation-delay:-6s}
.bubbles i:nth-child(3){left:34%;width:14px;height:14px;animation-duration:12s;animation-delay:-3s}
.bubbles i:nth-child(4){left:52%;width:40px;height:40px;animation-duration:19s;animation-delay:-10s}
.bubbles i:nth-child(5){left:68%;width:18px;height:18px;animation-duration:14s;animation-delay:-2s}
.bubbles i:nth-child(6){left:80%;width:70px;height:70px;animation-duration:25s;animation-delay:-14s}
.bubbles i:nth-child(7){left:90%;width:22px;height:22px;animation-duration:15s;animation-delay:-8s}
.bubbles i:nth-child(8){left:44%;width:30px;height:30px;animation-duration:20s;animation-delay:-17s}
.bubbles--soft i{opacity:.55}
@keyframes rise{0%{transform:translateY(0) translateX(0)}50%{transform:translateY(-55vh) translateX(18px)}100%{transform:translateY(-115vh) translateX(-10px);opacity:0}}

/* ---------- 1. Cover ---------- */
.cover{position:relative;color:#fff;background:var(--grad);padding:130px 0 0;overflow:hidden;isolation:isolate}
.cover__in{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;min-height:min(640px,78vh)}
.pill{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);padding:8px 18px;border-radius:999px;font-size:15px;font-weight:500}
.pill__dot{width:9px;height:9px;border-radius:50%;background:var(--mint);box-shadow:0 0 12px var(--mint)}
.cover__name{margin:26px 0 8px;font-size:clamp(20px,2.2vw,26px);font-weight:500;opacity:.92;line-height:1.5}
.cover__name b{font-weight:800;color:var(--sky);white-space:nowrap}
.cover__slogan{font-size:clamp(44px,7.2vw,96px);line-height:1.22;font-weight:900;letter-spacing:-.5px}
html[lang=en] .cover__slogan{letter-spacing:-2px}
.cover__slogan em{font-style:normal;display:inline-block;padding:.14em .04em .2em;margin:-.14em 0 -.2em;background:linear-gradient(90deg,var(--mint),var(--sky));-webkit-background-clip:text;background-clip:text;color:transparent}
html[dir=rtl] .cover__slogan em{background:linear-gradient(270deg,var(--mint),var(--sky));-webkit-background-clip:text;background-clip:text}
.cover__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:38px}
.cover__visual{position:relative;justify-self:center;width:min(440px,100%);aspect-ratio:1}
.orb{position:absolute;inset:0;border-radius:50%;overflow:hidden;border:10px solid rgba(255,255,255,.16);box-shadow:var(--sh-lg);animation:float 9s ease-in-out infinite}
.orb img{width:100%;height:100%;object-fit:cover}
.orb__bub{position:absolute;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.75),rgba(135,206,235,.25) 60%);border:1px solid rgba(255,255,255,.45);animation:float 7s ease-in-out infinite}
.orb__bub.b1{width:80px;height:80px;top:-14px;inset-inline-end:-4px}
.orb__bub.b2{width:38px;height:38px;top:74px;inset-inline-end:-46px;animation-delay:-2s}
.orb__bub.b3{width:24px;height:24px;bottom:30px;inset-inline-start:-22px;animation-delay:-4s}
.glass{position:absolute;background:rgba(255,255,255,.14);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.28);border-radius:18px;padding:14px 20px;line-height:1.25;box-shadow:0 14px 30px rgba(0,0,0,.18)}
.glass b{display:block;font-size:30px;font-weight:900}
.glass small{font-size:13px;opacity:.85}
.glass.g1{bottom:26px;inset-inline-end:-50px;max-width:190px}
.glass.g2{top:44px;inset-inline-start:-40px}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

/* ---------- 3. Stats (on cover) ---------- */
.stats{position:relative;padding:40px 0 30px}
.stats__title{font-size:20px;font-weight:700;opacity:.9;margin-bottom:16px}
.stats__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:var(--r);padding:22px 24px;line-height:1.3}
.stat b{display:block;font-size:clamp(32px,3.6vw,46px);font-weight:900}
.stat b,.glass b{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .stat b{text-align:right}
.stat .plus{color:var(--mint)}
.stat small{display:block;margin-top:6px;font-size:15px;opacity:.85}
.wave{height:90px;margin-top:20px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 40 C 240 100 480 0 720 40 S 1200 90 1440 30 V90 H0Z' fill='white'/></svg>") bottom/100% 100% no-repeat}

/* ---------- Sections ---------- */
.sec{position:relative;padding:100px 0}
.sec__head{max-width:760px;margin-bottom:48px}
.kicker{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:700;color:var(--blue);margin-bottom:10px}
.kicker::before{content:"";width:28px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--green),var(--blue))}
.kicker--light{color:var(--mint)}
.kicker--light::before{background:linear-gradient(90deg,var(--mint),var(--sky))}
.h2{font-size:clamp(30px,3.6vw,46px);line-height:1.25;font-weight:900;color:var(--navy)}
.lead{font-size:19px;color:var(--muted);margin-top:14px}
.ibox{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:18px;color:#fff;background:linear-gradient(135deg,var(--sky) 0%,var(--blue) 60%,var(--deep) 100%);box-shadow:0 10px 22px rgba(8,146,208,.3);flex:none}
.ibox .ic{width:28px;height:28px}
.ibox--sm{width:44px;height:44px;border-radius:14px}
.ibox--sm .ic{width:22px;height:22px}
.ibox--glass{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);box-shadow:none;color:var(--mint)}

/* ---------- 2. Story ---------- */
.story{padding-top:60px}
.story__grid{display:grid;grid-template-columns:1.2fr .8fr;gap:64px;align-items:start}
.story__text .h2{margin-bottom:26px}
.story__text p{color:#33444f;margin-bottom:18px;font-size:18px}
.quote{position:relative;margin:6px 0 24px;padding:22px 28px;border-radius:var(--r);background:linear-gradient(135deg,#eaf7fd,#eefaf2);font-size:clamp(20px,2vw,24px);font-weight:800;color:var(--deep);line-height:1.5;border-inline-start:5px solid var(--green)}
.story__side{position:sticky;top:110px}
.story__photos{display:grid;gap:14px}
.ph{border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh)}
.ph img{width:100%;height:100%;object-fit:cover}
.ph--a{aspect-ratio:16/9}
.ph--b{aspect-ratio:16/8}
.milestones{list-style:none;margin-top:22px;position:relative;display:grid;gap:12px}
.milestones li{display:flex;align-items:center;gap:16px;background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--r);padding:14px 18px;line-height:1.45}
.milestones b{flex:none;min-width:72px;font-size:26px;font-weight:900;color:var(--blue)}
.milestones span{font-size:15.5px;color:var(--muted);font-weight:500}

/* ---------- 4. Vision / Mission / Values ---------- */
.vm{background:var(--bg-soft)}
.vm::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 90% 10%,rgba(135,206,235,.25),transparent 35%);pointer-events:none}
.vm .wrap{position:relative}
.vm__top{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.vm__card{background:#fff;border-radius:var(--r-lg);padding:34px;box-shadow:var(--sh);border-top:4px solid var(--blue)}
.vm__card:nth-child(2){border-top-color:var(--green)}
.vm__card h3{font-size:26px;font-weight:900;color:var(--navy);margin:18px 0 8px}
.vm__card p{color:var(--muted);font-size:17.5px}
.values{margin-top:22px;background:var(--grad);color:#fff;border-radius:var(--r-lg);padding:34px;box-shadow:var(--sh-lg)}
.values__h{display:flex;align-items:center;gap:14px;font-size:24px;font-weight:900;margin-bottom:24px}
.values__h .ibox{background:rgba(255,255,255,.16);box-shadow:none;color:var(--mint)}
.values__list{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.values__list li{display:flex;gap:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:var(--r);padding:22px}
.values__list b{font-size:30px;font-weight:900;color:var(--mint);line-height:1}
.values__list h4{font-size:19px;font-weight:800;margin-bottom:6px;line-height:1.35}
.values__list p{font-size:15.5px;opacity:.85;line-height:1.65}

/* ---------- 5. Services ---------- */
.sv__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.sv__card{background:#fff;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh);border:1px solid var(--line);display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s}
.sv__card:hover{transform:translateY(-6px);box-shadow:var(--sh-lg)}
.sv__card figure{aspect-ratio:4/3;overflow:hidden;background:#fff}
.sv__card figure img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.sv__card figure.fit img{object-fit:contain;padding:14px}
.sv__card:hover figure img{transform:scale(1.05)}
.sv__body{padding:0 24px 28px;position:relative}
.sv__body .ibox{margin-top:-28px;border:4px solid #fff;box-sizing:content-box}
.sv__body h3{font-size:21px;font-weight:900;color:var(--navy);margin:14px 0 8px;line-height:1.35}
.sv__body p{font-size:15.5px;color:var(--muted);line-height:1.7}

/* ---------- 6. Clients ---------- */
.cl{background:linear-gradient(180deg,#fff,var(--bg-soft))}
.cl__grid{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cl__grid li{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px 22px;min-height:104px;transition:border-color .2s,box-shadow .2s}
.cl__grid li:hover{border-color:var(--sky);box-shadow:var(--sh)}
.cl__grid img{width:68px;height:68px;object-fit:contain;flex:none}
.cl__grid span{font-weight:700;color:var(--navy);font-size:17px;line-height:1.45}
.cl__grid .mono{flex:none;display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:linear-gradient(135deg,#e3f4fb,#e9f9ee);color:var(--deep);font-weight:900;font-size:18px;letter-spacing:.5px;direction:ltr}

/* ---------- 7. Why ---------- */
.why{background:var(--grad);color:#fff;overflow:hidden;isolation:isolate}
.why .h2{color:#fff}
.why__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.why__card{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:var(--r-lg);padding:28px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:background .3s,transform .3s}
.why__card:hover{background:rgba(255,255,255,.14);transform:translateY(-4px)}
.why__card h3{font-size:21px;font-weight:900;margin:18px 0 8px;line-height:1.35}
.why__card p{font-size:15.5px;opacity:.86;line-height:1.7}

/* ---------- 8. Contact ---------- */
.ct__grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.ct__list{list-style:none;display:grid;gap:14px;margin-top:28px}
.ct__list li{display:flex;align-items:center;gap:16px;padding:14px 18px;border-radius:var(--r);border:1px solid var(--line);background:#fff;line-height:1.5}
.ct__list small{display:block;font-size:13.5px;color:var(--muted);font-weight:500}
.ct__list span,.ct__list a{font-weight:700;color:var(--navy);font-size:17px}
.ct__list a:hover{color:var(--blue)}
.ct__cta{position:relative;overflow:hidden;isolation:isolate;background:var(--grad);color:#fff;border-radius:var(--r-lg);padding:48px 40px;box-shadow:var(--sh-lg);text-align:center}
.ct__logo{height:120px;width:auto;margin:0 auto 18px}
.ct__cta h3{font-size:30px;font-weight:900;line-height:1.3}
.ct__cta p{opacity:.88;margin:8px 0 26px}
.ct__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}

/* ---------- Footer & WA ---------- */
.foot{background:var(--navy-2);color:rgba(255,255,255,.7);font-size:14.5px;padding:22px 0}
.foot__in{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.foot a:hover{color:#fff}
.wa-float{position:fixed;bottom:22px;inset-inline-start:22px;z-index:40;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;box-shadow:0 12px 26px rgba(37,211,102,.45);transition:transform .2s}
.wa-float:hover{transform:scale(1.07)}
.wa-float .ic{width:28px;height:28px;stroke-width:2}

/* ---------- Reveal ---------- */
.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.js .reveal.in{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .sv__grid,.why__grid{grid-template-columns:repeat(2,1fr)}
  .values__list{grid-template-columns:1fr}
  .cl__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  body{font-size:16px}
  .cover{padding-top:110px}
  .cover__in{grid-template-columns:1fr;text-align:center;gap:50px;min-height:0}
  .cover__cta{justify-content:center}
  .cover__visual{width:min(320px,78%)}
  .glass.g1{inset-inline-end:-28px}.glass.g2{inset-inline-start:-28px}
  .stats__grid{grid-template-columns:repeat(2,1fr)}
  .story__grid,.vm__top,.ct__grid{grid-template-columns:1fr;gap:32px}
  .story__side{position:static}
  .sec{padding:72px 0}
  .brand img{height:52px}
}
@media (max-width:560px){
  .wrap{width:calc(100% - 32px)}
  .topbar .btn--sm span{display:none}
  .topbar .btn--sm{padding:11px}
  .sv__grid,.why__grid,.cl__grid{grid-template-columns:1fr}
  .stat{padding:18px}
  .cover__cta .btn{width:100%;justify-content:center}
  .vm__card,.values,.ct__cta{padding:26px 22px}
  .glass{padding:10px 14px}.glass b{font-size:22px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js .reveal{opacity:1;transform:none}
}

/* Tajawal's Latin glyphs sit high in the em box: nudge Latin labels down to optical centre */
.btn span:lang(en),.lang span:lang(en),.pill span:lang(en){position:relative;top:.09em}
/* top-bar buttons: identical height, content centred */
.lang,.topbar .btn--sm{height:44px;display:inline-flex;align-items:center;justify-content:center;padding-block:0;line-height:1}

/* ===== Responsive polish (tablet + phone) ===== */
.values__h{line-height:1.35}
@media (max-width:1080px){
  .cl__grid{grid-template-columns:repeat(3,1fr)}
  .cl__grid li{flex-direction:column;text-align:center;justify-content:center;gap:12px;padding:22px 16px;min-height:170px}
}
@media (max-width:860px){
  .cover__visual{width:min(380px,70%)}
  .story{padding-top:28px}
  .story__photos{grid-template-columns:1.15fr 1fr}
  .ph--a,.ph--b{aspect-ratio:4/3}
  .sec__head{margin-bottom:32px}
  .values__list li{padding:18px}
}
@media (max-width:560px){
  .sec{padding:56px 0}
  .story{padding-top:16px}
  .wave{height:56px}
  .cover__visual{width:min(300px,80%)}
  .glass.g1{inset-inline-end:-14px;max-width:150px;bottom:6px}
  .glass.g2{inset-inline-start:-14px;top:24px}
  .glass small{font-size:12px}
  .story__photos{grid-template-columns:1fr}
  .ph--a{aspect-ratio:16/10}.ph--b{aspect-ratio:16/8}
  .cl__grid{grid-template-columns:1fr}
  .cl__grid li{flex-direction:row;text-align:start;justify-content:flex-start;min-height:0;padding:16px 18px}
  .cl__grid img,.cl__grid .mono{width:56px;height:56px}
  .quote{padding:18px 20px}
  .values__h{font-size:20px}
  .ct__cta h3{font-size:24px}
  .ct__list li{padding:12px 14px}
  .ct__list span,.ct__list a{font-size:15.5px}
  .wa-float{width:50px;height:50px;bottom:16px;inset-inline-start:16px}
  .foot__in{justify-content:center;text-align:center}
}
@media (max-width:380px){
  .cover__slogan{font-size:40px}
  .stat b{font-size:28px}
  .stat small{font-size:13.5px}
  .h2{font-size:27px}
}
@media (max-width:1200px) and (min-width:861px){
  .glass.g1{inset-inline-end:-8px}
  .glass.g2{inset-inline-start:-8px}
  .cover__visual{width:min(400px,100%)}
}
