:root{--blue:#1a5fc8;--deep:#0b3d91;--orange:#f0a030;--ink:#0f2a4a;--card:#fff}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{font-family:"Helvetica Neue",Arial,"Noto Sans","Noto Sans Arabic","Noto Sans Bengali","Noto Sans Devanagari","Noto Sans SC",sans-serif;color:#fff;background:#f7f8fa}

/* header / footer */
.topbar{display:flex;align-items:center;justify-content:space-between;padding:10px 24px;background:#fff;color:var(--ink)}
.topbar .brand{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--ink);text-decoration:none}
.topbar .brand img{height:36px}
.topbar nav a{color:var(--ink);text-decoration:none;margin-left:22px;font-size:14px}
footer{background:#fff;color:#556;text-align:center;font-size:13px;padding:16px}
footer a{color:#556}

/* hero */
.hero{position:relative;min-height:calc(100vh - 50px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px 60px;
  background:radial-gradient(ellipse at 50% 15%,#3d8af0 0%,var(--blue) 35%,var(--deep) 100%);background-size:cover;background-position:center 40%}

.logos{position:absolute;inset:110px 9% auto 9%;display:flex;justify-content:space-between;align-items:center;pointer-events:none}
.logos img{max-height:130px;max-width:220px}
.logo-text{font-size:34px;font-weight:300;letter-spacing:2px}
.hero h1{margin:200px 0 40px;text-align:center;color:var(--orange);font-weight:700;font-size:clamp(22px,2.6vw,32px);line-height:1.25}
.actions{display:flex;gap:120px;flex-wrap:wrap;justify-content:center}
.action{background:none;border:0;color:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:22px;font-size:17px;text-decoration:none;font-family:inherit}
.action svg{width:130px;height:120px;stroke:var(--orange);transition:transform .15s}
.action:hover svg,.action:focus-visible svg{transform:scale(1.07)}
.action span{line-height:1.4;text-align:center}

/* language picker */
.langs{display:none;width:min(1180px,100%);margin-top:46px;background:rgba(242,246,251,.96);border-radius:12px;padding:16px;color:var(--ink)}
.langs.open{display:block;animation:fade .2s ease}
.langs-head{display:flex;justify-content:space-between;align-items:center;margin:0 4px 12px}
.langs-head h2{margin:0;font-size:22px}
.langs-head button{background:none;border:0;font-size:24px;cursor:pointer;color:var(--ink)}
.lang-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.lang{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;background:var(--card);border:2px solid transparent;border-radius:8px;
  box-shadow:0 6px 14px rgba(15,42,74,.12);cursor:pointer;text-decoration:none;color:var(--ink);font-size:16px}
.lang:hover,.lang:focus-visible{border-color:var(--orange);outline:none}
.lang small{display:block;color:#667;font-size:13px;margin-top:2px}
.lang img{width:46px;height:30px;object-fit:cover;border:1px solid #e3e6ea;border-radius:2px;flex:none}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* chat / call holding page */
.holding{min-height:calc(100vh - 110px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--ink);text-align:center;padding:24px}
.holding img.flag{width:72px;height:48px;border:1px solid #ddd}
.holding a{color:var(--blue)}
.btn{display:inline-block;margin:6px;padding:10px 20px;border-radius:6px;border:0;background:var(--blue);color:#fff;font:inherit;font-size:15px;cursor:pointer;text-decoration:none}
.btn-ghost{background:transparent;color:var(--blue);border:1px solid var(--blue)}
.notice{max-width:520px;background:#fff4e0;border:1px solid #f0c070;border-radius:8px;padding:14px 18px}

@media (max-width:760px){
  .logos{position:static;margin-bottom:10px;gap:20px}
  .logos img{max-height:80px;max-width:140px}
  .hero h1{margin:20px 0 34px}
  .actions{gap:40px}
  .action svg{width:96px;height:90px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* persistent language bar (choose language first) */
.hero h1{margin-top:170px;margin-bottom:28px}
.langbar{width:min(1180px,100%);margin:0 0 36px;background:rgba(242,246,251,.96);border-radius:12px;padding:14px 16px 16px;color:var(--ink)}
.langbar h2{margin:0 4px 12px;font-size:19px;font-weight:600}
button.lang{font:inherit;font-size:16px;text-align:start;width:100%}
.lang.selected{border-color:var(--orange);box-shadow:0 0 0 3px rgba(240,160,48,.35),0 6px 14px rgba(15,42,74,.12)}
.action span{max-width:190px}
@media (max-width:760px){.hero h1{margin-top:20px}.langbar{margin-bottom:28px}}
.keybar{width:min(560px,100%);margin:0 0 36px;background:rgba(242,246,251,.96);border-radius:12px;padding:14px 16px 16px;color:var(--ink)}
.keybar label{display:block;margin:0 4px 10px;font-size:19px;font-weight:600}
.keyrow{display:flex;gap:10px}
.keyrow input{flex:1;min-width:0;font:inherit;font-size:17px;padding:10px 12px;border:1px solid #b9c6d6;border-radius:8px;background:#fff;color:var(--ink);letter-spacing:.04em}
.keyrow input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(240,160,48,.35)}
.keyrow input[aria-invalid=true]{border-color:#c0392b}
.keyerr{margin:8px 4px 0;color:#b03a2e;font-size:15px}
.keybar[hidden],.actions[hidden]{display:none}
.keyrow .btn{margin:0}
.keyfield{position:relative;flex:1;min-width:0;display:flex}
.keyfield input{width:100%;padding-inline-start:42px}
.keyicon{position:absolute;inset-inline-start:12px;top:50%;width:20px;height:20px;transform:translateY(-50%);color:var(--orange);pointer-events:none}
.keyfield:focus-within .keyicon{color:var(--orange)}
.resources{display:inline-flex;align-items:center;gap:8px;margin:26px 0 10px;padding:10px 18px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.45);color:#fff;text-decoration:none;font-size:17px;font-weight:600}
.resicon{width:24px;height:24px;flex:none;background:var(--orange);-webkit-mask:url(assets/icons/info.svg) center/contain no-repeat;mask:url(assets/icons/info.svg) center/contain no-repeat}
.resources:hover,.resources:focus-visible{background:rgba(255,255,255,.24);outline:none;border-color:var(--orange)}
.resources[hidden]{display:none}
.keyicon{background:currentColor;-webkit-mask:url(assets/icons/key.svg) center/contain no-repeat;mask:url(assets/icons/key.svg) center/contain no-repeat}
.keybar{position:relative}
.keyfield input{padding-inline-start:12px}
.keybig{position:absolute;inset-inline-end:calc(100% + 22px);top:50%;transform:translateY(-50%) scaleX(-1);width:84px;height:84px;background:var(--orange);-webkit-mask:url(assets/icons/key.svg) center/contain no-repeat;mask:url(assets/icons/key.svg) center/contain no-repeat}
@media (max-width:760px){.keybig{position:static;transform:scaleX(-1);display:block;width:56px;height:56px;margin:0 auto 10px}}
.resources{margin-top:64px}
.logos img[alt=CareConnect]{max-width:290px;max-height:150px}
@media (max-width:760px){.resources{margin-top:30px}.logos img[alt=CareConnect]{max-width:170px;max-height:90px}}
.resicon{width:26px;height:26px;-webkit-mask-image:url(assets/icons/info-bold.svg);mask-image:url(assets/icons/info-bold.svg)}
.resources{margin-top:110px}
@media (max-width:760px){.resources{margin-top:36px}}
#keyInput{text-transform:uppercase}
.hero{justify-content:flex-start}
.hero h1{margin-top:max(150px, calc(28vh - 40px))}
@media (max-width:760px){.hero h1{margin-top:20px}}
.lang{padding:12px 12px;gap:8px}.lang img{width:40px;height:27px}button.lang{font-size:15px}.lang small{font-size:12px}
.logos{inset:110px 17% auto 17%}.logos img[alt=Aramco]{max-width:265px;max-height:110px}
@media (max-width:760px){.logos{inset:auto}.logos img[alt=Aramco]{max-width:150px;max-height:80px}}
/* phones: lamp at the top, everything below it */
@media (max-width:760px){.hero{background-color:#013d9f!important;background-image:linear-gradient(to bottom,rgba(1,61,159,0) 55%,#013d9f 100%),url(assets/background.png)!important;background-size:240vw 135vw,240vw 135vw!important;background-position:50% 0,50% 0!important;background-repeat:no-repeat!important;padding-top:150px}.logos{margin-bottom:6px}.hero h1{margin:14px 0 26px}}
@media (max-width:760px){.hero{padding-top:calc(34vw + 24px)}}
