/*
 * Site-wide refresh for every page: help band and footer (shared/footer)
 * and the header (shared/header keeps its markup and main.min.js hooks;
 * this file only restyles it). Uses the tokens defined in oak.css.
 */

/* =====================================================================
   AI course adviser chat (shared/advisor, script/advisor.js)
   The panel is a div on purpose: main.min.css pads every <section>.
   ===================================================================== */
.ow-chat { font-family: Poppins, 'IBM Plex Sans Arabic', system-ui, sans-serif; position: fixed; right: 24px; bottom: 24px; z-index: 9990; }
.ow-chat *, .ow-chat *::before, .ow-chat *::after { box-sizing: border-box; }
.ow-chat .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ow-chat [hidden] { display: none !important; }
.ow-chat p, .ow-chat li { margin: 0; color: inherit; font-size: inherit; line-height: 1.55; }
.ow-chat ul { margin: .4rem 0 0; padding-inline-start: 1.15rem; }
.ow-chat li { list-style: disc; }
.ow-chat li + li { margin-top: .2rem; }
.ow-chat button { font-family: inherit; }

/* Launcher */
.ow-chat__launcher { position: relative; display: inline-flex; align-items: center; gap: .7rem; height: 62px; padding: 0 1.5rem 0 .6rem; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--ow-blue, #034694), var(--ow-navy-2, #03295a)); color: #fff; font: 600 1rem Poppins, 'IBM Plex Sans Arabic', sans-serif; cursor: pointer; box-shadow: 0 16px 38px rgba(2, 26, 58, .36); transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.ow-chat__launcher:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(2, 26, 58, .42); }
.ow-chat__launcher:focus-visible { outline: 3px solid #7fb2ec; outline-offset: 3px; }
.ow-chat__launcher-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ow-gold, #f2b84b); color: var(--ow-navy, #021a3a); }
.ow-chat__dot { position: absolute; top: 5px; left: 44px; width: 13px; height: 13px; border-radius: 50%; background: #2fd07a; border: 2px solid #03295a; }
.ow-chat__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2fd07a; opacity: 0; animation: ow-chat-ping 2.4s ease-out infinite; }
@keyframes ow-chat-ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.ow-chat.has-nudge .ow-chat__launcher::after { content: "1"; position: absolute; top: -4px; right: -2px; min-width: 22px; height: 22px; border-radius: 999px; background: #e5484d; color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.ow-chat.is-open .ow-chat__launcher { display: none; }

.ow-chat__nudge { position: absolute; right: 0; bottom: 76px; width: 270px; background: #fff; color: var(--ow-ink, #13203a); border-radius: 18px 18px 4px 18px; padding: 1rem 2.2rem 1rem 1.1rem; box-shadow: 0 18px 44px rgba(2,26,58,.2); border: 1px solid var(--ow-line, #e2e9f2); animation: ow-chat-pop .35s cubic-bezier(.2,.8,.2,1); }
.ow-chat__nudge p { font-size: .93rem; font-weight: 500; cursor: pointer; }
.ow-chat__nudge-close { position: absolute; top: .4rem; right: .5rem; width: 28px; height: 28px; border: 0; background: none; color: var(--ow-muted, #66758a); font-size: 1.15rem; cursor: pointer; border-radius: 50%; }
.ow-chat__nudge-close:hover { background: var(--ow-sky-2, #f4f8fd); }
@keyframes ow-chat-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* Panel */
.ow-chat__panel { position: absolute; right: 0; bottom: 0; width: 440px; max-width: calc(100vw - 32px); height: min(740px, calc(100vh - 48px)); height: min(740px, calc(100dvh - 48px)); display: flex; flex-direction: column; padding: 0; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 34px 90px rgba(2, 26, 58, .34), 0 2px 6px rgba(2, 26, 58, .1); border: 1px solid var(--ow-line, #e2e9f2); animation: ow-chat-pop .3s cubic-bezier(.2,.8,.2,1); transition: width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1); }
.ow-chat.is-big .ow-chat__panel { width: min(780px, calc(100vw - 48px)); height: calc(100vh - 48px); height: calc(100dvh - 48px); }

.ow-chat__head { display: flex; align-items: center; gap: .4rem; padding: 1.05rem .8rem 1.05rem 1.1rem; background: radial-gradient(130% 160% at 100% 0%, #0b4fa3 0%, var(--ow-navy-2, #03295a) 55%, var(--ow-navy, #021a3a) 100%); color: #fff; flex: none; }
.ow-chat__avatar { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ow-gold, #f2b84b); color: var(--ow-navy, #021a3a); flex: none; }
.ow-chat__online { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; background: #2fd07a; border: 2px solid #03295a; }
.ow-chat__title { flex: 1; min-width: 0; margin-inline-start: .3rem; }
.ow-chat__title h2 { margin: 0; font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.3; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow-chat__title p { font-size: .8rem; color: #b9cbe2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow-chat__lang { display: flex; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px; flex: none; }
.ow-chat__lang button { border: 0; background: none; color: #cddcf0; font: 600 .76rem Poppins, 'IBM Plex Sans Arabic', sans-serif; padding: .32rem .5rem; border-radius: 999px; cursor: pointer; }
.ow-chat__lang button[aria-pressed="true"] { background: #fff; color: var(--ow-blue, #034694); }
.ow-chat__icon { border: 0; background: none; color: #dbe8f7; width: 32px; height: 36px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; flex: none; transition: background-color .15s, color .15s; }
.ow-chat__icon:hover, .ow-chat__icon[aria-pressed="true"] { background: rgba(255,255,255,.14); color: #fff; }
.ow-chat__icon:focus-visible, .ow-chat__lang button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

/* Quick actions under the header */
.ow-chat__quick { display: flex; gap: .5rem; padding: .7rem 1rem; background: #fff; border-bottom: 1px solid var(--ow-line, #e2e9f2); flex: none; }
.ow-chat__quick a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: .4rem .7rem; border-radius: 12px; background: var(--ow-sky-2, #f4f8fd); border: 1px solid var(--ow-line, #e2e9f2); color: var(--ow-blue, #034694); font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.ow-chat__quick a:hover { background: var(--ow-sky, #eaf2fb); border-color: #bcd0ea; }

/* Conversation */
.ow-chat__log { flex: 1; min-height: 0; overflow-y: auto; padding: 1.25rem 1.1rem; display: flex; flex-direction: column; gap: .9rem; background: var(--ow-sky-2, #f4f8fd); scroll-behavior: smooth; overscroll-behavior: contain; }
.ow-chat__row { display: flex; gap: .55rem; align-items: flex-end; animation: ow-chat-pop .25s ease-out; }
.ow-chat__row--user { justify-content: flex-end; }
.ow-chat__mini { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ow-navy-2, #03295a); color: var(--ow-gold, #f2b84b); margin-bottom: 1.15rem; }
.ow-chat__wrap { display: flex; flex-direction: column; gap: .25rem; max-width: 82%; min-width: 0; }
.ow-chat__row--user .ow-chat__wrap { align-items: flex-end; }
.ow-chat__msg { padding: .8rem 1rem; border-radius: 18px; font-size: .97rem; line-height: 1.55; color: var(--ow-ink, #13203a); background: #fff; border: 1px solid var(--ow-line, #e2e9f2); border-end-start-radius: 5px; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgba(2,26,58,.04); }
.ow-chat__msg p + p, .ow-chat__msg ul + p { margin-top: .5rem; }
.ow-chat__msg a { color: var(--ow-blue, #034694); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ow-chat__msg--user { background: var(--ow-blue, #034694); color: #fff; border-color: transparent; border-radius: 18px; border-end-end-radius: 5px; }
.ow-chat__msg--user a { color: #fff; }
.ow-chat__msg--error { background: #fff4f2; border-color: #f5c7bf; }
.ow-chat__msg--typing { display: inline-flex; gap: 5px; align-items: center; padding: 1rem 1.1rem; }
.ow-chat__msg--typing i { width: 8px; height: 8px; border-radius: 50%; background: #9fb6d3; animation: ow-chat-dot 1.2s infinite ease-in-out; }
.ow-chat__msg--typing i:nth-of-type(2) { animation-delay: .15s; }
.ow-chat__msg--typing i:nth-of-type(3) { animation-delay: .3s; }
@keyframes ow-chat-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
.ow-chat__time { font-size: .7rem; color: var(--ow-muted, #66758a); padding: 0 .35rem; }

/* Welcome screen */
.ow-chat__welcome { display: flex; flex-direction: column; align-items: center; text-align: center; padding: .75rem .25rem .25rem; animation: ow-chat-pop .35s ease-out; }
.ow-chat__welcome-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--ow-navy-2, #03295a); color: var(--ow-gold, #f2b84b); box-shadow: 0 12px 28px rgba(2,26,58,.2); margin-bottom: 1rem; }
.ow-chat__welcome h3 { margin: 0 0 .4rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; color: var(--ow-ink, #13203a); }
.ow-chat__welcome > p { font-size: .95rem; color: var(--ow-body, #45546a); max-width: 340px; }
.ow-chat__welcome-label { align-self: flex-start; margin: 1.5rem 0 .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ow-muted, #66758a); }
.ow-chat__topics { display: grid; gap: .55rem; width: 100%; }
.ow-chat.is-big .ow-chat__topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ow-chat__topic { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .8rem .9rem; border-radius: 16px; border: 1px solid var(--ow-line, #e2e9f2); background: #fff; color: var(--ow-ink, #13203a); text-align: start; cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .2s cubic-bezier(.2,.8,.2,1); }
.ow-chat__topic:hover { border-color: var(--ow-blue, #034694); box-shadow: 0 8px 22px rgba(2,26,58,.1); transform: translateY(-2px); }
.ow-chat__topic:focus-visible, .ow-chat__chip:focus-visible { outline: 3px solid #7fb2ec; outline-offset: 2px; }
.ow-chat__topic-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ow-sky, #eaf2fb); color: var(--ow-blue, #034694); }
.ow-chat__topic b { display: block; font-size: .93rem; font-weight: 600; line-height: 1.35; }
.ow-chat__topic small { display: block; font-size: .78rem; color: var(--ow-muted, #66758a); margin-top: .1rem; }

/* Lead saved */
.ow-chat__lead { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 16px; background: #e6f5ec; border: 1px solid #bfe5cd; color: #0e5c33; font-size: .93rem; font-weight: 500; animation: ow-chat-pop .3s ease-out; }
.ow-chat__lead span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #13854a; color: #fff; }

/* Tap-to-reply suggestions */
.ow-chat__chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: .7rem 1.1rem 0; background: var(--ow-sky-2, #f4f8fd); flex: none; }
.ow-chat__chip { border: 1.5px solid var(--ow-blue, #034694); background: #fff; color: var(--ow-blue, #034694); font: 600 .86rem Poppins, 'IBM Plex Sans Arabic', sans-serif; padding: .5rem .95rem; border-radius: 999px; cursor: pointer; transition: background-color .15s, color .15s; text-align: start; }
.ow-chat__chip:hover { background: var(--ow-blue, #034694); color: #fff; }

/* Composer */
.ow-chat__form { display: flex; align-items: flex-end; gap: .55rem; padding: .85rem 1.1rem .6rem; background: var(--ow-sky-2, #f4f8fd); flex: none; }
.ow-chat__form textarea { flex: 1; resize: none; min-height: 50px; max-height: 130px; padding: .8rem 1rem; border-radius: 16px; border: 1.5px solid #cfdcec; background: #fff; font: 400 .97rem Poppins, 'IBM Plex Sans Arabic', sans-serif; color: var(--ow-ink, #13203a); line-height: 1.4; outline: none; box-shadow: 0 2px 8px rgba(2,26,58,.05); scrollbar-width: none; }
.ow-chat__form textarea::-webkit-scrollbar { display: none; }
.ow-chat__form textarea::placeholder { color: #8b98aa; }
.ow-chat__form textarea:focus { border-color: var(--ow-blue, #034694); box-shadow: 0 0 0 3px rgba(127,178,236,.35); }
.ow-chat__send { width: 50px; height: 50px; border-radius: 16px; border: 0; background: var(--ow-blue, #034694); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: background-color .15s, transform .15s, opacity .15s; }
.ow-chat__send:hover:not(:disabled) { background: var(--ow-blue-600, #0a5bbd); transform: translateY(-2px); }
.ow-chat__send:disabled { opacity: .4; cursor: default; }
.ow-chat__panel[dir="rtl"] .ow-chat__send svg { transform: scaleX(-1); }
.ow-chat .ow-chat__legal { padding: 0 1.1rem .75rem; background: var(--ow-sky-2, #f4f8fd); font-size: .7rem; color: var(--ow-muted, #66758a); text-align: center; line-height: 1.4; flex: none; }
.ow-chat__legal a { color: inherit; text-decoration: underline; }

/* Phones: full screen, clear of the mobile enquiry bars */
@media (max-width: 767px) {
    .ow-chat { right: 14px; bottom: 86px; }
    .ow-chat__launcher { padding: 0 .45rem; height: 58px; }
    .ow-chat__launcher-ico { width: 46px; height: 46px; }
    .ow-chat__launcher-txt { display: none; }
    .ow-chat__dot { left: 40px; }
    .ow-chat__nudge { bottom: 70px; width: min(270px, calc(100vw - 28px)); }
    .ow-chat.is-open { inset: 0; right: 0; bottom: 0; }
    .ow-chat__panel, .ow-chat.is-big .ow-chat__panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
    .ow-chat__expand { display: none; }
    .ow-chat.is-big .ow-chat__topics { grid-template-columns: minmax(0, 1fr); }
    .ow-chat__title p { display: none; }
    .ow-chat__title h2 { font-size: .9rem; }
    .ow-chat__avatar { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .ow-chat *, .ow-chat *::before, .ow-chat *::after { animation: none !important; transition: none !important; }
}

.ow-find, .ow-foot { font-family: Poppins, system-ui, sans-serif; }
.ow-find *, .ow-foot * { box-sizing: border-box; }
.ow-foot .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Help band ---------- */
section.ow-find { display: block; padding: 0; margin: 0; background: linear-gradient(135deg, var(--ow-blue) 0%, var(--ow-navy-2) 75%); color: #fff; position: relative; overflow: hidden; }
.ow-find::before { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(159,208,255,.3), transparent 70%); }
.ow-find__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
.ow-find h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin: 0; line-height: 1.25; }
.ow-find p { color: #cfe0f3; font-size: 1rem; margin: .5rem 0 0; max-width: 620px; line-height: 1.6; }
.ow-find__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.ow-find__call { color: #dbe8f7; display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; text-decoration: none; }
.ow-find__call:hover { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.ow-foot { display: block; background: var(--ow-navy); color: #b9cbe2; padding: 4rem 0 0; position: relative; }
.ow-foot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(159,208,255,.4), transparent); }
.ow-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.ow-foot__logo img { height: 48px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }
.ow-foot .ow-foot__brand p { color: #a9bdd6; font-size: .93rem; line-height: 1.65; margin: 1.1rem 0 1.25rem; }
.ow-foot__social { display: flex; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.ow-foot__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #dbe8f7; transition: background-color .2s, transform .2s var(--ow-ease); }
.ow-foot__social a:hover { background: var(--ow-blue); transform: translateY(-2px); color: #fff; }
.ow-foot h3 { color: #fff; font-size: .95rem; font-weight: 600; margin: 0 0 1.1rem; letter-spacing: .01em; }
.ow-foot ul { list-style: none; margin: 0; padding: 0; }
.ow-foot li { color: inherit; font-size: inherit; line-height: inherit; }
.ow-foot__col li { margin: 0 0 .65rem; }
.ow-foot__col a { color: #b9cbe2; font-size: .92rem; text-decoration: none; transition: color .2s; display: inline-flex; gap: .5rem; align-items: flex-start; line-height: 1.5; }
.ow-foot__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ow-foot__contact svg { flex: none; margin-top: 3px; color: var(--ow-gold); }
.ow-foot__countries { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.ow-foot__countries span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7f96b4; }
.ow-foot__countries ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.ow-foot__countries a { display: inline-block; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #cddcf0; font-size: .84rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
.ow-foot__countries a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; }
.ow-foot__legal-text, .ow-foot__legal-text * { color: #7f96b4 !important; font-size: .8rem !important; line-height: 1.6; }
.ow-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; padding: 1.4rem 0 1.6rem; border-top: 1px solid rgba(255,255,255,.1); }
.ow-foot .ow-foot__bottom p, .ow-foot__bottom p * { color: #8ea4c1 !important; font-size: .85rem !important; margin: 0; }
.ow-foot__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.ow-foot__bottom a { color: #b9cbe2; font-size: .85rem; text-decoration: none; }
.ow-foot__bottom a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 1100px) {
    .ow-foot__grid { grid-template-columns: 1fr 1fr 1fr; }
    .ow-foot__brand { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 767px) {
    .ow-foot { padding-top: 3rem; }
    .ow-foot__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
    .ow-foot__contact { grid-column: 1 / -1; }
    .ow-find__actions, .ow-find__actions .ow-btn { width: 100%; }
}

/* =====================================================================
   Site header (shared/header-nav, script/header.js)
   ===================================================================== */
.ow-header, .ow-header * { box-sizing: border-box; }
.ow-header { position: sticky; top: -40px; z-index: 1000; font-family: Poppins, system-ui, sans-serif; }
.ow-header ul { list-style: none; margin: 0; padding: 0; }
.ow-header li { list-style: none; margin: 0; padding: 0; color: inherit; font-size: inherit; line-height: inherit; }
.ow-header p { margin: 0; }
.ow-header [hidden] { display: none !important; }
.ow-header .sr-only, .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ow-header a:focus-visible, .ow-header button:focus-visible, .ow-header input:focus-visible { outline: 3px solid #7fb2ec; outline-offset: 2px; }
.ow-skip { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: #fff; color: #034694; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.ow-skip:focus { top: .6rem; }
html.ow-noscroll, html.ow-noscroll body { overflow: hidden; }

/* Top bar */
.ow-topbar { height: 40px; background: var(--ow-navy, #021a3a); color: #b9cbe2; font-size: .8rem; }
.ow-topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ow-topbar__note { display: inline-flex; align-items: center; gap: .45rem; color: #b9cbe2; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow-topbar__note svg { color: var(--ow-gold, #f2b84b); flex: none; width: 15px; height: 15px; }
.ow-topbar__links { display: flex; align-items: center; gap: 1.25rem; flex: none; }
.ow-topbar__links > a { display: inline-flex; align-items: center; gap: .4rem; color: #dbe8f7; text-decoration: none; font-size: .8rem; white-space: nowrap; }
.ow-topbar__links > a svg { width: 14px; height: 14px; color: #9fb6d3; }
.ow-topbar__links > a:hover { color: #fff; }
.ow-country { position: relative; }
/* Language switch (Gulf country folders with Arabic pages): top bar pair, and one link in the mobile bar */
.ow-lang { display: inline-flex; align-items: center; height: 28px; padding: 2px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.ow-lang a { display: inline-flex; align-items: center; height: 22px; padding: 0 .6rem; border-radius: 6px; color: #dbe8f7; font: 500 .78rem Poppins, sans-serif; text-decoration: none; white-space: nowrap; }
.ow-lang a[lang="ar"], .ow-navbar__lang[lang="ar"], .ow-drawer__countries a[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; font-size: .86rem; }
.ow-lang a:hover { color: #fff; background: rgba(255,255,255,.12); }
.ow-lang a[aria-current] { background: #fff; color: var(--ow-navy, #021a3a); font-weight: 600; }
.ow-lang a:focus-visible, .ow-navbar__lang:focus-visible { outline: 2px solid var(--ow-gold, #f2b84b); outline-offset: 2px; }
.ow-navbar__lang { display: none; align-items: center; height: 44px; padding: 0 .85rem; border-radius: 12px; border: 1px solid var(--ow-line, #e2e9f2); background: #fff; color: var(--ow-blue, #034694); font: 600 .9rem Poppins, sans-serif; text-decoration: none; white-space: nowrap; }
.ow-navbar__lang:hover { background: #f3f7fc; }
.ow-country__btn { display: inline-flex; align-items: center; gap: .45rem; height: 28px; padding: 0 .6rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 500 .8rem Poppins, sans-serif; cursor: pointer; }
.ow-country__btn:hover { background: rgba(255,255,255,.14); }
.ow-country__btn svg { width: 14px; height: 14px; transition: transform .2s; }
.ow-country__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ow-country__panel { position: absolute; right: 0; top: calc(100% + 8px); width: 460px; background: #fff; border: 1px solid var(--ow-line, #e2e9f2); border-radius: 16px; box-shadow: 0 30px 70px rgba(2,26,58,.22); overflow: hidden; z-index: 5; animation: ow-hdr-in .2s cubic-bezier(.2,.8,.2,1); }
.ow-country__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; max-height: 70vh; overflow: auto; }
.ow-country__list .is-intl { grid-column: 1 / -1; }
.ow-header .ow-country__group { grid-column: 1 / -1; padding: 10px 12px 2px; border-top: 1px solid var(--ow-line, #e2e9f2); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ow-muted, #66758a); }

/* Main bar */
.ow-navbar { position: relative; background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--ow-line, #e2e9f2); transition: box-shadow .25s; }
.ow-header.is-scrolled .ow-navbar, .ow-header.has-open .ow-navbar { box-shadow: 0 8px 28px rgba(2,26,58,.08); }
.ow-navbar__in { height: 74px; display: flex; align-items: center; gap: 1.5rem; }
.ow-navbar__logo { flex: none; display: inline-flex; }
.ow-navbar__logo img { height: 46px; width: auto; display: block; }
.ow-nav { flex: 1; min-width: 0; }
.ow-nav__list { display: flex; align-items: center; gap: .25rem; }
.ow-nav__list > li { position: relative; }
.ow-nav__link { display: inline-flex; align-items: center; gap: .4rem; height: 42px; padding: 0 .85rem; border: 0; border-radius: 10px; background: none; color: var(--ow-ink, #13203a); font: 500 .94rem Poppins, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.ow-nav__link:hover, .ow-nav__link[aria-expanded="true"] { background: var(--ow-sky, #eaf2fb); color: var(--ow-blue, #034694); }
.ow-nav__link svg { width: 17px; height: 17px; }
.ow-nav__link--courses { background: var(--ow-blue, #034694); color: #fff; padding: 0 1rem; }
.ow-nav__link--courses:hover, .ow-nav__link--courses[aria-expanded="true"] { background: var(--ow-blue-600, #0a5bbd); color: #fff; }
.ow-nav__chev { display: inline-flex; transition: transform .2s; }
.ow-nav__chev svg { width: 15px; height: 15px; }
[aria-expanded="true"] > .ow-nav__chev { transform: rotate(180deg); }
.ow-nav__menu { position: absolute; left: 0; top: calc(100% + 10px); min-width: 230px; padding: .5rem; background: #fff; border: 1px solid var(--ow-line, #e2e9f2); border-radius: 14px; box-shadow: 0 24px 60px rgba(2,26,58,.16); animation: ow-hdr-in .2s cubic-bezier(.2,.8,.2,1); }
.ow-nav__menu a { display: block; padding: .6rem .8rem; border-radius: 9px; color: var(--ow-ink, #13203a); text-decoration: none; font-size: .92rem; }
.ow-nav__menu a:hover { background: var(--ow-sky-2, #f4f8fd); color: var(--ow-blue, #034694); }
.ow-navbar__actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.ow-iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ow-line, #e2e9f2); background: #fff; color: var(--ow-ink, #13203a); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ow-iconbtn:hover, .ow-iconbtn[aria-expanded="true"] { background: var(--ow-sky, #eaf2fb); border-color: #c9d9ee; color: var(--ow-blue, #034694); }
.ow-iconbtn svg { width: 20px; height: 20px; }
.ow-navbar__cta { display: inline-flex; align-items: center; height: 44px; padding: 0 1.2rem; border-radius: 12px; background: var(--ow-gold, #f2b84b); color: var(--ow-navy, #021a3a) !important; font: 600 .92rem Poppins, sans-serif; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(242,184,75,.35); transition: transform .15s, box-shadow .15s, background-color .15s; }
.ow-navbar__cta:hover { background: #f5c56a; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(242,184,75,.45); text-decoration: none; }
.ow-navbar__burger { display: none; }

/* Mega menu */
.ow-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--ow-line, #e2e9f2); box-shadow: 0 40px 80px rgba(2,26,58,.18); animation: ow-hdr-in .2s cubic-bezier(.2,.8,.2,1); max-height: calc(100vh - 120px); overflow: auto; }
.ow-mega__in { display: grid; grid-template-columns: 260px minmax(0, 1fr) 300px; gap: 2rem; padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
.ow-mega__label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ow-muted, #66758a); margin: 0 0 .75rem !important; }
.ow-mega__cats { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--ow-line, #e2e9f2); padding-right: 1.25rem; }
.ow-mega__cat { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; padding: .55rem .75rem; border: 0; border-radius: 10px; background: none; color: var(--ow-ink, #13203a); font: 500 .9rem/1.35 Poppins, sans-serif; text-align: left; cursor: pointer; }
.ow-mega__cat small { font-size: .72rem; color: var(--ow-muted, #66758a); background: var(--ow-sky-2, #f4f8fd); border-radius: 999px; padding: .05rem .45rem; flex: none; }
.ow-mega__cat:hover { background: var(--ow-sky-2, #f4f8fd); }
.ow-mega__cat[aria-selected="true"] { background: var(--ow-sky, #eaf2fb); color: var(--ow-blue, #034694); font-weight: 600; }
.ow-mega__cat[aria-selected="true"] small { background: #fff; color: var(--ow-blue, #034694); }
.ow-mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.ow-mega__topic { display: flex; flex-direction: column; gap: .1rem; padding: .7rem .85rem; border-radius: 12px; border: 1px solid transparent; text-decoration: none; transition: background-color .15s, border-color .15s; }
.ow-mega__topic span { color: var(--ow-ink, #13203a); font-weight: 600; font-size: .93rem; }
.ow-mega__topic small { color: var(--ow-muted, #66758a); font-size: .78rem; }
.ow-mega__topic:hover { background: var(--ow-sky-2, #f4f8fd); border-color: var(--ow-line, #e2e9f2); }
.ow-mega__topic:hover span { color: var(--ow-blue, #034694); }
.ow-mega__all { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; color: var(--ow-blue, #034694); font-weight: 600; font-size: .92rem; text-decoration: none; }
.ow-mega__all svg { width: 16px; height: 16px; }
.ow-mega__all:hover { text-decoration: underline; }
.ow-mega__feature { background: var(--ow-sky-2, #f4f8fd); border-radius: 16px; padding: 1.1rem; }
.ow-mega__popular a { display: flex; flex-direction: column; padding: .5rem .6rem; border-radius: 10px; text-decoration: none; }
.ow-mega__popular a span { color: var(--ow-ink, #13203a); font-size: .88rem; font-weight: 600; }
.ow-mega__popular a small { color: var(--ow-muted, #66758a); font-size: .76rem; }
.ow-mega__popular a:hover { background: #fff; }
.ow-mega__popular a:hover span { color: var(--ow-blue, #034694); }
.ow-mega__help { margin-top: .9rem; padding: 1rem; border-radius: 12px; background: radial-gradient(120% 140% at 100% 0%, #0b4fa3 0%, var(--ow-navy-2, #03295a) 55%, var(--ow-navy, #021a3a) 100%); color: #fff; display: flex; flex-direction: column; gap: .2rem; }
.ow-mega__help strong { font-size: .95rem; }
.ow-mega__help span { font-size: .82rem; color: #b9cbe2; }
.ow-mega__help a { margin-top: .5rem; display: inline-flex; align-items: center; gap: .35rem; color: var(--ow-gold, #f2b84b); font-weight: 600; font-size: .88rem; text-decoration: none; }
.ow-mega__help a svg { width: 15px; height: 15px; }

/* Search panel */
.ow-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--ow-line, #e2e9f2); box-shadow: 0 30px 60px rgba(2,26,58,.14); padding: 1.25rem 0; animation: ow-hdr-in .2s cubic-bezier(.2,.8,.2,1); }
.ow-search__box { position: relative; max-width: 760px; margin: 0 auto; }
.ow-search__box form { display: flex; align-items: center; gap: .6rem; height: 56px; padding: 0 .4rem 0 1rem; border: 1.5px solid #c9d9ee; border-radius: 14px; background: #fff; }
.ow-search__box form:focus-within { border-color: var(--ow-blue, #034694); box-shadow: 0 0 0 4px rgba(127,178,236,.25); }
.ow-search__box form > svg { color: var(--ow-blue, #034694); flex: none; }
.ow-search__box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font: 400 1rem Poppins, sans-serif; color: var(--ow-ink, #13203a); }
.ow-search__go { height: 44px; padding: 0 1.1rem; border: 0; border-radius: 10px; background: var(--ow-blue, #034694); color: #fff; font: 600 .9rem Poppins, sans-serif; cursor: pointer; }
.ow-search__box .search-list { position: static; margin-top: .5rem; max-height: 50vh; overflow: auto; border-radius: 12px; }
.ow-search__box .search-list { border: 1px solid var(--ow-line, #e2e9f2); padding: .4rem; background: #fff; }
.ow-search__box .search-list:empty { display: none !important; }
.ow-header .ow-search__box .search-list .lookup-section-title { padding: .5rem .7rem .25rem; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ow-muted, #66758a); }
.ow-header .ow-search__box .search-list .lookup-divider { height: 1px; margin: .3rem .5rem; background: var(--ow-line, #e2e9f2); }
.ow-search__box .search-list .lookup-item a { display: block; padding: .55rem .7rem; border-radius: 9px; color: var(--ow-ink, #13203a); text-decoration: none; font-size: .93rem; }
.ow-search__box .search-list .lookup-item a:hover, .ow-search__box .search-list .lookup-item a:focus { background: var(--ow-sky-2, #f4f8fd); color: var(--ow-blue, #034694); }
.ow-search__box .no-match-found { margin-top: .6rem; font-size: .9rem; color: var(--ow-muted, #66758a); }
.ow-search__box .no-match-found a { color: var(--ow-blue, #034694); font-weight: 600; }

/* Mobile drawer */
.ow-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); z-index: 1100; background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(2,26,58,.25); animation: ow-hdr-slide .28s cubic-bezier(.2,.8,.2,1); }
.ow-scrim { position: fixed; inset: 0; z-index: 1090; background: rgba(2,26,58,.45); }
.ow-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid var(--ow-line, #e2e9f2); }
.ow-drawer__head img { height: 40px; width: auto; }
.ow-drawer__body { flex: 1; overflow: auto; padding: 1rem; }
.ow-drawer__search { display: flex; align-items: center; height: 48px; border: 1.5px solid var(--ow-line, #e2e9f2); border-radius: 12px; padding: 0 .3rem 0 .9rem; margin-bottom: 1.1rem; }
.ow-drawer__search input { flex: 1; min-width: 0; border: 0; outline: none; font: 400 .95rem Poppins, sans-serif; background: none; }
.ow-drawer__search button { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--ow-blue, #034694); color: #fff; display: grid; place-items: center; }
.ow-drawer__label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ow-muted, #66758a); margin: .9rem 0 .4rem !important; }
.ow-drawer__links a, .ow-drawer__cat li a { display: block; padding: .6rem .2rem; color: var(--ow-ink, #13203a); text-decoration: none; font-size: .95rem; border-bottom: 1px solid var(--ow-sky-2, #f4f8fd); }
.ow-drawer__links a:hover, .ow-drawer__cat li a:hover { color: var(--ow-blue, #034694); }
.ow-drawer__links--plain { margin-top: .9rem !important; }
.ow-drawer__cat { border-bottom: 1px solid var(--ow-line, #e2e9f2); }
.ow-drawer__cat summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: .75rem .2rem; font-weight: 600; font-size: .95rem; color: var(--ow-ink, #13203a); cursor: pointer; }
.ow-drawer__cat summary::-webkit-details-marker { display: none; }
.ow-drawer__cat summary small { font-size: .75rem; color: var(--ow-muted, #66758a); font-weight: 500; }
.ow-drawer__cat ul { padding: 0 0 .6rem .7rem !important; }
.ow-drawer__countries { display: flex; flex-wrap: wrap; gap: .4rem; }
.ow-drawer__countries a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--ow-line, #e2e9f2); border-radius: 999px; font-size: .82rem; color: var(--ow-ink, #13203a); text-decoration: none; }
.ow-drawer__countries a[aria-current] { border-color: var(--ow-blue, #034694); color: var(--ow-blue, #034694); font-weight: 600; }
.ow-drawer__foot { padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--ow-line, #e2e9f2); display: grid; gap: .5rem; }

@keyframes ow-hdr-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes ow-hdr-slide { from { transform: translateX(100%); } to { transform: none; } }

/* Responsive */
@media (max-width: 1280px) {
    .ow-topbar__email { display: none !important; }
    .ow-mega__in { grid-template-columns: 230px minmax(0, 1fr) 260px; gap: 1.5rem; }
}
@media (max-width: 1100px) {
    .ow-header { top: 0; }
    .ow-topbar { display: none; }
    .ow-nav { display: none; }
    .ow-navbar__in { height: 66px; justify-content: space-between; }
    .ow-navbar__logo img { height: 40px; }
    .ow-navbar__burger { display: grid; }
    .ow-navbar__lang { display: inline-flex; }
    .ow-mega { display: none !important; }
}
@media (max-width: 560px) {
    .ow-navbar__cta { display: none; }
    .ow-navbar__in { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ow-header *, .ow-drawer { animation: none !important; transition: none !important; }
}
