/* Layout: dark Yanbu hero, sand services, dark client marquee, deepest-navy footer. One brand look in both themes. */
:root { --ink: #081A28; --sea: #3FC1C0; color-scheme: dark; }
html { background: var(--ink); }
body { background: var(--ink); color: #FFFFFF; font-family: 'Tajawal', 'Segoe UI', Tahoma, system-ui, sans-serif; overflow-x: hidden; }
html { scroll-behavior: smooth; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { text-wrap: balance; }
.nav-burger { display: none; }
@media (max-width: 859px) { .nav-wide { display: none !important; } .nav-burger { display: flex; } }
.only-narrow { display: none !important; }
@media (max-width: 859px) { .hide-narrow { display: none !important; } .only-narrow { display: inline-flex !important; } header .hero-fs { font-size: 20px !important; } }
@media (min-width: 860px) and (max-width: 979px) { header nav { gap: 12px !important; } .nav-wide { gap: 10px !important; } .nav-wide > div > a { padding-left: 6px !important; padding-right: 6px !important; } }
header nav > a span span { white-space: nowrap; }
html[lang="en"] #services li h3 { font-size: clamp(19px, 2.1vw, 30px) !important; }
html[lang="en"] #services li p { font-size: clamp(15px, 1.5vw, 21px) !important; }
#services li { container-type: inline-size; }
@container (max-width: 165px) { #services li > a { padding: 12px !important; } #services li > a > div:first-child > span:first-child { width: 40px !important; height: 40px !important; } #services li h3 { font-size: 17.5px !important; } #services li p { font-size: 14.5px !important; } html[lang="en"] #services li h3 { font-size: 16.5px !important; } html[lang="en"] #services li p { font-size: 14px !important; } }
.lang-sw a { border-radius: 999px; transition: background .2s ease; }
.lang-sw a:hover { background: rgba(255,255,255,0.12); }
.pg-home .menu-lang { display: none !important; }
.nav-wide > div.ul-js { position: relative; }
.nav-wide > div.ul-js > a { border-bottom-color: transparent !important; transition: color .25s ease; }
.nav-ul { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; border-radius: 2px; background: #3FC1C0; opacity: 0; pointer-events: none; transition: left .35s cubic-bezier(.65,0,.35,1), width .35s cubic-bezier(.65,0,.35,1), opacity .2s ease; }
@media (prefers-reduced-motion: reduce) { .nav-ul { transition: none; } }
.en-name { font-size: 31.2px !important; margin-top: -13.44px !important; transform: translate(-11px, 8px); white-space: nowrap; }
.lang-sw { position: relative; }
.lang-sw .lang-th { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: #FFFFFF; transition: left .28s cubic-bezier(.65,0,.35,1), width .28s cubic-bezier(.65,0,.35,1); pointer-events: none; }
.lang-sw.js > span.lang-cur, .lang-sw.js > a.lang-alt { position: relative; z-index: 1; background: transparent !important; transition: color .28s ease; }
.lang-sw.js.go > span.lang-cur { color: #FFFFFF !important; }
.lang-sw.js:not(.go) > a.lang-alt:hover { background: rgba(255,255,255,0.12) !important; }
.lang-sw.js.go > a.lang-alt { color: #081A28 !important; }
@media (prefers-reduced-motion: reduce) { .lang-sw .lang-th, .lang-sw.js > * { transition: none; } }
.marquee:hover .track { animation-play-state: paused; }
.track-a { animation: marquee-a 45s linear infinite; }
.track-b { animation: marquee-b 45s linear infinite; }
@keyframes marquee-a { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes marquee-b { from { transform: translateX(50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .track-a, .track-b { animation: none; } }
.why { font-family: 'Tajawal', system-ui, sans-serif; background: #F4F1EA; color: #081A28; }
.why-in { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 4.5vw, 72px) clamp(16px, 2vw, 24px); box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px 56px; align-items: start; }
.why-eyb { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #0E6F70; letter-spacing: 1px; }
.why-eyb i { display: block; width: 44px; height: 1px; background: #3FC1C0; }
.why h2 { margin: 14px 0 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.25; }
.why-lead { margin: 16px 0 0; font-size: 17px; line-height: 1.9; color: #3E4A57; }
.why-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #0E6F70; font-weight: 700; font-size: 16px; text-decoration: none; }
.why-link:hover { text-decoration: underline; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.why-list li { background: #FFFFFF; border: 1px solid #E4DED2; border-radius: 18px; padding: 20px; }
.why-list b { display: block; font-size: 18px; font-weight: 700; }
.why-list span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.7; color: #3E4A57; }
@media (max-width: 900px) { .why-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 759px) { .why-in > div { text-align: center; } .why-link { justify-content: center; } }
#services li > a { transition: transform .2s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { #services li > a:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(8,26,40,.38); } }
#services li > a:active { transform: scale(.97); box-shadow: 0 10px 22px -14px rgba(8,26,40,.38); }
@media (max-width: 759px) { .why-list { display: none !important; } }
@media (max-width: 560px) { .why-list { grid-template-columns: minmax(0, 1fr); gap: 10px; } .why-list li { padding: 16px; } .why-lead { font-size: 16px; } }
@media (max-width: 759px) { #services > div { gap: 14px !important; padding-top: 20px !important; } #services .svc-head { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 6px !important; } #services .svc-head > div { align-self: stretch !important; max-width: none !important; align-items: center !important; gap: 6px !important; } #services .svc-eyb { align-self: stretch !important; justify-content: flex-start !important; } }
.f-col { align-items: flex-start; text-align: start; }
.soc { display: flex; gap: 10px; margin-top: 14px; }
.soc-a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #FFFFFF; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; -webkit-tap-highlight-color: transparent; cursor: pointer; }
@media (hover: hover) { .soc-a:hover { transform: translateY(-3px); background: #FFFFFF; color: #081A28; border-color: #FFFFFF; } }
.soc-a:active { transform: scale(.88); background: #FFFFFF; color: #081A28; border-color: #FFFFFF; }
.soc-a:focus-visible { outline: 2px solid #3FC1C0; outline-offset: 3px; }
.soc-off { cursor: default; }
.apps { margin-top: 18px; }
.apps h3 { font-size: 15px; font-weight: 700; color: #FFFFFF; margin: 0 0 10px; }
.stbs { display: flex; gap: 10px; flex-wrap: wrap; }
.stb { position: relative; display: inline-flex; align-items: center; gap: 10px; min-width: 150px; height: 50px; padding: 0 14px; border-radius: 12px; background: #000000; border: 1px solid rgba(255,255,255,.35); color: #FFFFFF; text-decoration: none; box-sizing: border-box; transition: transform .2s ease, border-color .2s ease; }
.stb span { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.stb small { font-size: 11px; opacity: .85; }
.stb b { font-size: 18px; font-weight: 700; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; direction: ltr; }
@media (hover: hover) { a.stb:hover { transform: translateY(-2px); border-color: #FFFFFF; } }
a.stb:active { transform: scale(.96); }
.stb.off { opacity: .45; cursor: default; }
.stb em { position: absolute; top: -9px; inset-inline-end: -6px; font-style: normal; font-size: 11px; font-weight: 700; background: #E6D3B3; color: #081A28; border-radius: 999px; padding: 2px 8px; }
@media (max-width: 759px) { .apps { text-align: center; } .stbs { justify-content: center; } }
@media (max-width: 759px) { .soc { justify-content: center; } }
.f-bar { justify-content: center; gap: 10px 28px; }
.f-priv { color: #AEBBC8; font-size: 14px; text-decoration: none; }
.f-priv:hover { color: #FFFFFF; text-decoration: underline; }
@media (max-width: 759px) { .hide-mobile { display: none !important; } .f-col { align-items: center; text-align: center; } .f-bar { flex-direction: column; justify-content: center; text-align: center; } }
