/* =========================================================
   Elite Star — International Healthcare Coordination
   Shared stylesheet (home + inner pages)
   Uses CSS logical properties so Arabic (RTL) flips cleanly.
   ========================================================= */

:root {
  --navy: #14287a;        /* tagline blue from logo */
  --navy-dark: #0c1a52;
  --sky: #0e8fd6;         /* emblem blue */
  --sky-light: #29c5f6;   /* emblem cyan */
  --sky-soft: #e8f5fd;
  --ink: #1c1a22;         /* wordmark dark */
  --text: #3d4656;
  --muted: #5d6878;
  --line: #dde5ee;
  --bg: #f6f9fc;
  --white: #ffffff;
  --accent: #e0662a;      /* call-to-action orange */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 40, 122, 0.08);
  --container: 1240px;
  --font-head: JioType, helvetica, arial, sans-serif;
  --font-body: JioType, helvetica, arial, sans-serif;
}

/* Language-specific fonts */
html[lang="zh"] { --font-head: "Noto Sans SC", JioType, helvetica, arial, sans-serif; --font-body: "Noto Sans SC", JioType, helvetica, arial, sans-serif; }
html[lang="ar"] { --font-head: "Cairo", sans-serif; --font-body: "Cairo", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Flip directional icons in RTL */
[dir="rtl"] .icon-dir { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #c4521b; color: var(--white); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(90deg, var(--navy), var(--sky)); color: var(--white); font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; flex-wrap: wrap; }
.topbar a { color: var(--white); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { opacity: .85; }
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar svg { width: 16px; height: 16px; }

/* Language switcher */
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  background: transparent; border: 1px solid rgba(255,255,255,.45); color: var(--white);
  padding: 4px 12px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; min-height: 32px;
}
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--navy); border-color: var(--white); font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { height: 62px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 10px 11px; border-radius: 8px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 400; font-size: 14.5px; color: var(--ink);
}
.main-nav a:hover, .main-nav a.active { color: var(--sky); background: var(--sky-soft); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center; color: var(--navy);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 640px; overflow: hidden; background: var(--navy-dark); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.slide.is-active img { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,26,82,.88) 0%, rgba(12,26,82,.55) 50%, rgba(12,26,82,.1) 100%);
}
[dir="rtl"] .slide::after { background: linear-gradient(270deg, rgba(12,26,82,.88) 0%, rgba(12,26,82,.55) 50%, rgba(12,26,82,.1) 100%); }
.slide-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding-bottom: 90px; }
.slide-text { max-width: 640px; color: var(--white); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sky-light); margin-bottom: 14px;
}
html[lang="ar"] .eyebrow, html[lang="zh"] .eyebrow { letter-spacing: .02em; }
.slide-text h1, .slide-text h2 { color: var(--white); font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; margin-bottom: 18px; }
.slide-text p { font-size: 18px; color: #dbe6f3; max-width: 560px; margin-bottom: 28px; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.slider-arrow {
  position: absolute; top: 45%; z-index: 3; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.16); color: var(--white); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background .2s;
}
.slider-arrow:hover { background: rgba(255,255,255,.32); }
.slider-arrow svg { width: 22px; height: 22px; }
.slider-prev { inset-inline-start: 20px; }
.slider-next { inset-inline-end: 20px; }
.slider-dots { position: absolute; bottom: 120px; inset-inline: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 5px; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.slider-dots button[aria-current="true"] { width: 34px; background: var(--white); }

/* Search / inquiry bar overlapping the hero */
.finder { position: relative; z-index: 5; margin-top: -80px; }
.finder-card {
  background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(12,26,82,.18);
  padding: 26px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end;
}
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.field select, .field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--bg);
}
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; border-color: var(--sky); }

/* Highlight strip */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.highlight {
  display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.highlight .ico { flex: none; }
.highlight strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16px; }
.highlight span { font-size: 14px; color: var(--muted); }

/* Icon bubble */
.ico {
  width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--sky-soft); color: var(--sky);
}
.ico svg { width: 26px; height: 26px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Split block (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-badge {
  position: absolute; inset-block-end: -24px; inset-inline-end: -16px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 22px; display: flex; align-items: center; gap: 12px; max-width: 280px;
}
.split-badge img { width: 44px; height: 44px; aspect-ratio: auto; border-radius: 0; }
.split-badge strong { font-family: var(--font-head); color: var(--ink); font-size: 15px; line-height: 1.3; }
.split h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }

/* Cards grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin-top: 18px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }

/* Specialties */
.specialty {
  display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-head); font-weight: 600;
  transition: .2s;
}
.specialty:hover { border-color: var(--sky); color: var(--navy); box-shadow: var(--shadow); }
.specialty .ico { width: 46px; height: 46px; flex: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-light), var(--navy)); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 22px;
  box-shadow: 0 8px 20px rgba(14,143,214,.3);
}
.step h3 { font-size: 17px; }
.step p { font-size: 14px; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; inset-inline-start: calc(50% + 44px); inset-inline-end: calc(-50% + 44px);
  border-top: 2px dashed #b9d7ec;
}

/* Testimonials (placeholder) */
.quote { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 20px; font-size: 16px; color: var(--text); font-style: italic; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--sky-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-head); }
.quote-who strong { display: block; color: var(--ink); }
.quote-who span { font-size: 14px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-dark), var(--navy) 55%, var(--sky)); color: var(--white); border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3vw, 38px); }
.cta-band p { color: #d5e2f2; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 14px; color: var(--navy); margin: 0; min-height: 1.4em; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; min-height: 340px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,26,82,.9), rgba(12,26,82,.45)); }
[dir="rtl"] .page-banner::after { background: linear-gradient(270deg, rgba(12,26,82,.9), rgba(12,26,82,.45)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: clamp(32px, 4vw, 50px); font-weight: 800; }
.page-banner p { color: #dbe6f3; max-width: 620px; font-size: 18px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; margin-bottom: 12px; list-style: none; padding: 0; }
.breadcrumb a { color: var(--sky-light); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: #9fb3cc; }

/* Service detail rows */
.service-list { display: grid; gap: 24px; }
.service-row { display: grid; grid-template-columns: auto 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.service-row h3 { font-size: 21px; margin-bottom: 8px; }
.service-row ul { margin: 12px 0 0; padding-inline-start: 20px; color: var(--muted); }
.service-row li { margin-bottom: 4px; }
.service-row .ico { width: 64px; height: 64px; border-radius: 16px; }
.service-row .ico svg { width: 30px; height: 30px; }

/* Sidebar layout */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.aside-card { position: sticky; top: 110px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 30px; }
.aside-card h3 { color: var(--white); }
.aside-card p { color: #d5e2f2; font-size: 15px; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-contact { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15px; }
.aside-contact a { color: var(--white); display: flex; gap: 8px; align-items: center; }
.aside-contact svg { width: 18px; height: 18px; flex: none; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--sky); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c6dc; padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { background: var(--white); border-radius: 14px; padding: 18px 22px; display: block; max-width: 360px; margin-bottom: 20px; }
.footer-logo img { width: 100%; height: auto; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #b9c6dc; }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--sky-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Floating chat button */
.float-chat {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px;
  background: #1fa855; color: var(--white); font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.float-chat:hover { color: var(--white); background: #178a45; }
.float-chat svg { width: 22px; height: 22px; }


/* ---------- Key numbers strip ---------- */
.stats-band { padding: 0 0 96px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat {
  background: var(--white); border-radius: 20px; box-shadow: 0 14px 40px rgba(20, 40, 122, 0.10);
  padding: 34px 24px; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.stat-num {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(44px, 4.4vw, 60px); line-height: 1;
  background: linear-gradient(90deg, var(--sky), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.stat-plus { font-size: .7em; }
.stat-label { margin-top: 14px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html[lang="zh"] .stat-label, html[lang="ar"] .stat-label { letter-spacing: 0; font-size: 15px; }
.stat-cta {
  align-items: flex-start; text-align: start; justify-content: space-between; gap: 18px;
  background: linear-gradient(120deg, var(--sky), var(--navy)); color: var(--white); transition: transform .25s, box-shadow .25s;
}
.stat-cta:hover { color: var(--white); transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20, 40, 122, 0.25); }
.stat-cta-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.3; }
.stat-cta-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.stat-cta-link svg { width: 20px; height: 20px; transition: transform .2s; }
.stat-cta:hover .stat-cta-link svg { transform: translateX(4px); }
[dir="rtl"] .stat-cta:hover .stat-cta-link svg { transform: scaleX(-1) translateX(4px); }
@media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; } .stats-band { padding-bottom: 64px; } .stat { min-height: 150px; } }

/* ---------- Responsive ---------- */
/* Hamburger menu below 1280px (the menu has 8 items) */
@media (max-width: 1280px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 0; background: var(--white); border-bottom: 1px solid var(--line);
    display: none; padding: 12px 24px 20px; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
}
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 0; background: var(--white); border-bottom: 1px solid var(--line);
    display: none; padding: 12px 24px 20px; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .header-cta .btn { display: none; }
  .split, .cta-band { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .grid-3, .highlights { grid-template-columns: 1fr; }
  .finder-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { height: 660px; }
  .slide-content { align-items: flex-start; padding: 36px 0 0; }
  .slide-text p { font-size: 16px; }
  .slider-dots { bottom: 100px; }
  .finder { margin-top: -70px; }
  .slider-arrow { display: none; }
  .brand img { height: 48px; }
  .section { padding: 64px 0; }
  .grid-4, .steps, .footer-grid, .contact-form { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; padding: 24px; }
  .topbar-contact { gap: 14px; font-size: 13px; }
  .split-badge { inset-inline-end: 8px; }
  .float-chat span { display: none; }
}

/* =========================================================
   Hero video slide (first slide of the home slider)
   ========================================================= */
.slide-video .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-video .slide-poster, .slide-video.is-active .slide-poster, .slide-video .hero-video { transform: none; transition: none; }
.slide-video::after {
  background: linear-gradient(90deg, rgba(12,26,82,.78) 0%, rgba(12,26,82,.5) 45%, rgba(20,40,122,.08) 100%);
}
[dir="rtl"] .slide-video::after { background: linear-gradient(270deg, rgba(12,26,82,.78) 0%, rgba(12,26,82,.5) 45%, rgba(20,40,122,.08) 100%); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-weight: 700; font-size: 15px; color: #fff; }
.hero-badge svg { width: 22px; height: 22px; color: #34d399; flex: none; }
.video-toggle {
  position: absolute; z-index: 4; inset-block-end: 112px; inset-inline-end: 24px;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); cursor: pointer;
  background: rgba(12,26,82,.55); color: #fff; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: rgba(12,26,82,.8); }
/* Keep slide text clear of the prev/next arrows where the page has little side margin */
@media (min-width: 641px) and (max-width: 1420px) {
  .hero .slide-content .container { padding-inline: 92px; }
}
.video-toggle:focus-visible, .slider-arrow:focus-visible, .slider-dots button:focus-visible { outline: 3px solid var(--sky-light); outline-offset: 2px; }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .icon-play, .video-toggle.is-paused .icon-pause { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
/* Only the active slide's pause button is visible */
.slide:not(.is-active) .video-toggle { display: none; }
@media (max-width: 640px) {
  .video-toggle { inset-block-end: 92px; inset-inline-end: 16px; }
  .hero-badge { margin-top: 16px; font-size: 14px; }
}

/* =========================================================
   About page: CEO message + team
   ========================================================= */
.page-banner .eyebrow { margin-bottom: 10px; }
.ceo-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: center; }
.ceo-photo { position: relative; isolation: isolate; }
.ceo-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.ceo-photo::after { content: ""; position: absolute; inset-block-end: -14px; inset-inline-end: -14px; width: 60%; height: 60%; border-radius: 20px;
  background: linear-gradient(135deg, var(--sky-light), var(--navy)); z-index: -1; opacity: .25; }
.ceo-quote { margin: 0; position: relative; padding-inline-start: 28px; border-inline-start: 4px solid var(--sky); }
.ceo-quote p { font-size: 17px; line-height: 1.7; color: var(--ink); }
.ceo-quote p:first-child { font-family: var(--font-head); font-size: clamp(19px, 1.8vw, 22px); font-weight: 700; color: var(--navy); line-height: 1.45; }
.ceo-sign { margin: 24px 0 0; padding-inline-start: 32px; display: grid; gap: 2px; }
.ceo-sign strong { font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.ceo-sign span { color: var(--muted); font-size: 14px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--bg); }
.team-card figcaption { padding: 16px 18px 20px; display: grid; gap: 2px; }
.team-card strong { font-family: var(--font-head); font-size: 18px; color: var(--ink); }
.team-card span { color: var(--muted); font-size: 14.5px; }
.office-main { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.office-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.office-card .ico { flex: none; }
.office-card h3 { font-size: 20px; margin: 0; }
.office-card .office-country { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.office-card p { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.office-card a { font-weight: 600; }
.office-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--sky-soft); border-radius: 999px; padding: 2px 10px; margin-inline-start: 8px; vertical-align: middle; }
.office-cities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.office-city { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; gap: 12px; align-items: center; }
.office-city .ico { width: 40px; height: 40px; flex: none; }
.office-city .ico svg { width: 20px; height: 20px; }
.office-city strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16px; }
.office-city span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 1100px) { .office-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .office-main { grid-template-columns: 1fr; } .office-cities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .office-cities { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
  .ceo-grid { grid-template-columns: 1fr; gap: 32px; }
  .ceo-photo { max-width: 360px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-card figcaption { padding: 12px; }
  .team-card strong { font-size: 16px; }
  .team-card span { font-size: 13px; }
  .ceo-quote p { font-size: 16px; }
  .ceo-quote p:first-child { font-size: 18px; }
}

/* =========================================================
   Case review form (case-review.html)
   ========================================================= */
.cr-section { padding: 48px 0 80px; background: var(--bg); }
.cr-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; align-items: start; }
.cr-side { position: sticky; top: 110px; background: linear-gradient(150deg, var(--navy-dark), var(--navy) 60%, var(--sky)); color: var(--white); border-radius: 20px; padding: 32px; }
.cr-side h1 { color: var(--white); font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }
.cr-side p { color: #d5e2f2; }
.cr-side .ticks li { color: var(--white); font-weight: 600; }
.cr-side .ticks li::before { background-color: rgba(255,255,255,.95); }
.cr-card { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 16px; }
.cr-card .ico { width: 42px; height: 42px; flex: none; background: rgba(255,255,255,.15); color: var(--white); }
.cr-card strong { display: block; color: var(--white); font-family: var(--font-head); }
.cr-card p { margin: 4px 0 0; font-size: 14.5px; }
.cr-main { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); min-width: 0; }
.cr-progress { margin-bottom: 24px; }
.cr-progress-top { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.cr-progress-top strong { color: var(--navy); font-family: var(--font-head); }
.cr-bar { height: 8px; border-radius: 999px; background: var(--sky-soft); overflow: hidden; }
.cr-bar span { display: block; height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--navy)); transition: width .3s ease; }
[dir="rtl"] .cr-bar span { background: linear-gradient(270deg, var(--sky), var(--navy)); }
.cr-step h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 20px; }
.cr-step h2:focus { outline: none; }
.cr-step .field, .cr-step fieldset { margin: 0 0 20px; }
.cr-step fieldset { border: 0; padding: 0; min-width: 0; }
.cr-step legend { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; padding: 0; }
html[lang="ar"] .cr-step legend, html[lang="zh"] .cr-step legend, html[lang="ar"] .cr-step .field label, html[lang="zh"] .cr-step .field label { letter-spacing: 0; text-transform: none; font-size: 14px; }
.cr-step .field textarea { min-height: 110px; resize: vertical; }
.cr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cr-phone { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px; }
[dir="rtl"] .cr-phone input { text-align: right; }
.cr-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.cr-err { font-size: 13.5px; color: #b42318; margin: 6px 0 0; font-weight: 600; }
.cr-step [aria-invalid="true"] { border-color: #b42318; outline-color: #b42318; }
.cr-options { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-opt { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; font-size: 15px; color: var(--ink); min-height: 44px; }
.cr-opt:hover { border-color: var(--sky); }
.cr-opt input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--navy); flex: none; }
.cr-opt:has(input:checked) { border-color: var(--navy); background: var(--sky-soft); color: var(--navy); font-weight: 600; }
.cr-opt:has(input:focus-visible) { outline: 3px solid var(--sky-light); outline-offset: 2px; }
.cr-options.is-list { flex-direction: column; align-items: stretch; }
.cr-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; }
.cr-check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--navy); }
.cr-actions { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.cr-actions .btn-primary { margin-inline-start: auto; }
.cr-alert { background: #fdf0ef; border: 1px solid #f1b8b2; color: #8a1c12; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-weight: 600; }
.cr-drop { border: 2px dashed #b9d7ec; border-radius: var(--radius); padding: 28px 20px; text-align: center; background: var(--sky-soft); transition: background .2s, border-color .2s; }
.cr-drop.is-over { border-color: var(--navy); background: #dcefff; }
.cr-drop svg { width: 36px; height: 36px; color: var(--sky); }
.cr-drop p { margin: 8px 0 0; }
.cr-files { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.cr-file { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--white); }
.cr-file-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--ink); }
.cr-file-meta { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cr-file.is-error { border-color: #f1b8b2; background: #fdf0ef; }
.cr-file.is-done .cr-file-meta { color: var(--ok, #1f8a4c); }
.cr-file-errors p { color: #b42318; font-size: 14px; margin: 8px 0 0; font-weight: 600; }
.cr-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; background: var(--bg); margin-top: 8px; }
.cr-summary h3 { font-size: 16px; margin: 16px 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cr-summary dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 6px 16px; margin: 0 0 12px; font-size: 14.5px; }
.cr-summary dt { color: var(--muted); }
.cr-summary dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap; }
.cr-link-btn { background: none; border: 0; color: var(--sky); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 4px; }
.cr-count { font-size: 12.5px; color: var(--muted); text-align: end; margin: 4px 0 0; }
.cr-thanks h2 { font-size: clamp(24px, 2.6vw, 32px); }
.cr-thanks h2:focus { outline: none; }
.cr-ref { display: inline-block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--navy); background: var(--sky-soft); border-radius: 12px; padding: 10px 18px; margin: 8px 0 12px; letter-spacing: .04em; }
.draft-banner { background: #fff4e5; border-bottom: 2px solid #f5c48f; color: #7a3d00; text-align: center; font-weight: 800; padding: 12px 16px; font-size: 15px; letter-spacing: .02em; }
.policy { max-width: 820px; }
.policy h2 { font-size: 22px; margin-top: 32px; }
@media (max-width: 960px) {
  .cr-grid { grid-template-columns: 1fr; }
  .cr-side { position: static; }
}
@media (max-width: 640px) {
  .cr-section { padding: 20px 0 64px; }
  .cr-main, .cr-side { padding: 22px 18px; border-radius: 16px; }
  .cr-row2, .cr-phone { grid-template-columns: 1fr; }
  .cr-summary dl { grid-template-columns: 1fr; gap: 0 0; }
  .cr-summary dd { margin-bottom: 8px; }
  .cr-actions .btn { flex: 1; }
}

/* =========================================================
   Content pages: journey, departments, FAQ, about, contact
   (added for the cancer-care content update; same tokens as above)
   ========================================================= */
.finder-card.is-single { grid-template-columns: 1fr auto; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.section-head.is-start { text-align: start; margin-inline: 0; }

/* Timeline: horizontal on desktop, vertical on phones */
.timeline { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; top: 15px; inset-inline: 10%; border-top: 3px solid #b9d7ec; }
.tl-item { position: relative; text-align: center; padding: 0 6px; }
.tl-dot { width: 32px; height: 32px; margin: 0 auto 12px; border-radius: 50%; position: relative; z-index: 1;
  background: linear-gradient(135deg, var(--sky-light), var(--navy)); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 14px;
  box-shadow: 0 0 0 5px var(--bg); }
.section:not(.section-alt) .tl-dot { box-shadow: 0 0 0 5px var(--white); }
.tl-label { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 15px; }
.tl-sub { display: block; font-size: 13.5px; color: var(--muted); }

/* You / We steps */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.jstep { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.jstep-num { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--sky-light), var(--navy)); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.jstep h3 { font-size: 20px; margin: 4px 0 2px; }
.jstep-when { display: block; font-size: 14px; font-weight: 600; color: var(--sky); margin-bottom: 14px; }
.yw { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yw-row { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.yw-row.is-we { background: var(--sky-soft); }
.yw-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
html[lang="ar"] .yw-label, html[lang="zh"] .yw-label { letter-spacing: 0; font-size: 13px; }
.yw-row p { margin: 0; color: var(--text); }

/* Department cards */
.dept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dept-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); color: var(--text); transition: .2s; height: 100%; }
.dept-card:hover { border-color: var(--sky); box-shadow: var(--shadow); color: var(--text); }
.dept-card .ico { width: 46px; height: 46px; flex: none; }
.dept-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.dept-card span.dept-desc { display: block; font-size: 14.5px; color: var(--muted); }

/* Why grid (5 items) */
.why-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.why-grid .card { padding: 24px; }
.why-grid .card h3 { font-size: 17px; }

/* Content blocks */
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.numbered { padding-inline-start: 22px; margin: 0 0 8px; display: grid; gap: 10px; }
.note-box { display: flex; gap: 12px; align-items: flex-start; background: #fff8ec; border: 1px solid #f3dcb2; color: #6b4a12;
  border-radius: var(--radius); padding: 16px 18px; margin: 28px 0 0; font-weight: 600; }
.note-box svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.muted-note { font-size: 14.5px; color: var(--muted); }
.aside-card .btn + .btn { margin-top: 10px; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sky-soft); color: var(--navy); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.cta-band .btn-row { margin-top: 20px; }

/* Forms: privacy + reports note */
.contact-form select { width: 100%; }
.form-privacy { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.form-privacy strong { color: var(--navy); }

/* FAQ groups */
.faq-group { max-width: 860px; margin: 0 auto 44px; }
.faq-group h2 { font-size: 22px; margin-bottom: 16px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 44px; max-width: 900px; }
.faq-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; color: var(--navy); }
.faq-nav a:hover { border-color: var(--sky); }

/* Contact & about */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 16px; margin: 14px 0 4px; }
.info-card p, .info-card a { margin: 0; overflow-wrap: anywhere; }
.kv-list { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.kv-list dt { font-weight: 700; color: var(--navy); }
.kv-list dd { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .info-grid, .two-col { grid-template-columns: 1fr; }
  .finder-card.is-single { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .timeline::before { top: 16px; bottom: 16px; inset-inline: auto; inset-inline-start: 15px; border-top: 0; border-inline-start: 3px solid #b9d7ec; }
  .tl-item { display: grid; grid-template-columns: 32px 1fr; gap: 14px; text-align: start; padding: 0; align-items: center; }
  .tl-dot { margin: 0; }
  .yw { grid-template-columns: 1fr; }
  .why-grid, .dept-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .jstep { grid-template-columns: 1fr; padding: 20px; }
  .jstep-num { width: 44px; height: 44px; font-size: 18px; }
  .kv-list { grid-template-columns: 1fr; gap: 2px; }
  .kv-list dd { margin-bottom: 10px; }
}

/* ===== Patient Portal band (home) ===== */
.portal-band { background: var(--navy-dark); color: #d7e2f5; overflow: hidden; }
.portal-band h2 { color: var(--white); }
.portal-band p { color: #c6d3ea; font-size: 17px; }
.portal-band .eyebrow { color: var(--sky-light); }
.portal-band .checklist li { color: #e6edf8; }
.portal-band .checklist svg { color: var(--sky-light); }
.portal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.portal-phone { display: flex; justify-content: center; }
.portal-phone img { width: min(100%, 300px); height: auto; border-radius: 28px; border: 8px solid #26355f; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); background: #0d1520; }
@media (max-width: 960px) { .portal-phone { order: 2; } .portal-phone img { width: min(100%, 260px); } }
