/* Shared Page 5 navigation and footer for every supporting page. */
html:has(.tf-nav) { scroll-padding-top: 88px; }
body .tf-nav.nav { display: block; width: 100%; max-width: none; margin: 0; padding: 0; min-height: 0; background: #18283c !important; color: #fff; border: 0; box-shadow: none; clip-path: none; position: sticky; top: 0; z-index: 100; gap: normal; transition: background-color .25s ease, backdrop-filter .25s ease; font: 400 15px/normal 'DM Sans', sans-serif; }
body .tf-nav .wrap, body .tf-footer .wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
body .tf-nav .nav-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; padding: 0; }
body .tf-nav .logo, body .tf-footer .logo { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; color: #fff; }
body .tf-nav .logo-mark, body .tf-footer .logo-mark { width: 32px !important; min-width: 32px !important; height: 28px !important; padding: 0; border: 0; border-radius: 0; background: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
body .tf-nav .tf-dot-logo, body .tf-footer .tf-dot-logo { width: 31px !important; height: 25px !important; flex-shrink: 0; }
body .tf-nav .tf-dot-logo circle, body .tf-footer .tf-dot-logo circle { fill: #fff !important; }
body .tf-nav .logo-name, body .tf-footer .logo-name { font: 800 16px/1.2 'DM Sans', sans-serif; letter-spacing: .3px; white-space: nowrap; }
body .tf-nav .logo-name > span, body .tf-footer .logo-name > span { color: #fff !important; }
body .tf-nav .logo-name small, body .tf-footer .logo-name small { font-size: 11px; line-height: 1.2; font-weight: 400; letter-spacing: .8px; color: #fff; opacity: 1; }
body .tf-nav.nav .nav-links { display: flex; align-items: center; gap: 24px; order: 0; flex-basis: auto; justify-content: normal; font-size: 15px; font-weight: 400; line-height: normal; }
body .tf-nav.nav .nav-links a { font-size: 19px; font-weight: 400; color: #fff; }
body .tf-nav.nav .nav-links a:hover { color: #ffb88e; }
body .tf-nav .nav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-width: 112px; padding: 13px 18px; border: 1px solid #f85e00; border-radius: 5px; background: #f85e00 !important; color: #fff !important; font: 700 15px/1.3 'DM Sans', sans-serif; white-space: nowrap; transition: background .18s, color .18s; }
body .tf-nav .nav-btn > span:last-child { font-size: 18px; }
body .tf-nav .nav-btn:hover, body .tf-nav .nav-btn:focus-visible { background: #fff !important; border-color: #fff !important; color: #b34300 !important; transform: none; filter: none; }
body .tf-nav .menu-toggle { display: none; background: transparent; border: 1px solid #ffffff66; border-radius: 4px; color: #fff; padding: 4px 10px; font-size: 22px; cursor: pointer; }
body .tf-nav a:focus-visible, body .tf-nav button:focus-visible, body .tf-footer a:focus-visible { outline: 2px solid #ffb88e; outline-offset: 4px; }
body .tf-nav .arabic-nav[hidden] { display: none !important; }
body .tf-footer.footer { display: block; width: 100%; margin: 0; padding: 64px 0 28px; background: #18283c !important; color: #fff !important; border: 0; gap: normal; font: 16px/1.7 'DM Sans', sans-serif; }
body .tf-footer.footer :is(p,span,small,a,strong,div) { color: #fff !important; opacity: 1; }
body .tf-footer .footer-upper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; padding-bottom: 44px; }
body .tf-footer .footer-upper > div > p { max-width: 430px; margin: 24px 0 0; font-size: 16px; line-height: 1.7; }
body .tf-footer .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; font-size: 16px; line-height: 1.7; }
body .tf-footer .footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
body .tf-footer .footer-links strong { font-size: 14px; font-weight: 700; letter-spacing: 1px; margin-bottom: 9px; }
body .tf-footer .footer-links a, body .tf-footer .footer-legal a { font-size: 16px; line-height: 1.7; }
body .tf-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
body .tf-footer .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 30px; margin: 0; padding-top: 26px; border-top: 1px solid #ffffff33; font-size: 14px; }
body .tf-footer .footer-legal, body .tf-footer .contact-small { display: flex; flex-wrap: wrap; gap: 12px 22px; }
body .tf-footer .contact-small span { font-size: 14px; }
@media(max-width: 1100px) {
 body .tf-nav .nav-inner { gap: 16px; }
 body .tf-nav.nav .nav-links { gap: 18px; }
 body .tf-nav.nav .nav-links a { font-size: 17px; }
}
@media(max-width: 1000px) {
 body .tf-nav .menu-toggle { display: inline-block; }
 body .tf-nav.nav .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; z-index: 30; padding: 24px 40px; background: #18283c; }
 body .tf-nav .arabic-nav { margin-left: auto; }
 body .tf-nav.nav .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; z-index: 30; padding: 24px 40px; background: #18283c; border-top: 1px solid #ffffff33; }
 body .tf-nav.nav .nav-links.open a { display: block; padding: 8px 0; }
}
@media(max-width: 700px) {
 body .tf-nav .wrap, body .tf-footer .wrap { width: calc(100% - 32px); }
 body .tf-nav .nav-inner { min-height: 76px; gap: 12px; flex-wrap: nowrap; }
 body .tf-nav .logo, body .tf-footer .logo { gap: 8px; }
 body .tf-nav .logo-mark, body .tf-footer .logo-mark { width: 29px !important; min-width: 29px !important; height: 25px !important; }
 body .tf-nav .tf-dot-logo, body .tf-footer .tf-dot-logo { width: 28px !important; height: 23px !important; }
 body .tf-nav .logo-name { font-size: 12px; letter-spacing: 0; }
 body .tf-nav .logo-name small { font-size: 8px; letter-spacing: .1px; }
 body .tf-nav .nav-btn { min-width: 0; padding: 10px 12px; font-size: 13px; gap: 8px; }
 body .tf-nav .menu-toggle { padding: 3px 8px; font-size: 21px; }
 body .tf-footer.footer { padding-top: 48px; }
 body .tf-footer .footer-upper { grid-template-columns: 1fr; flex-direction: column; gap: 38px; padding-bottom: 32px; }
 body .tf-footer .footer-links { gap: 28px; }
 body .tf-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media(max-width: 390px) {
 body .tf-nav .nav-inner { gap: 8px; }
 body .tf-nav .nav-btn { padding-inline: 9px; }
 body .tf-nav .nav-btn > span:last-child { display: none; }
 body .tf-nav .logo-name { font-size: 11px; }
 body .tf-nav .logo-name small { font-size: 7px; }
}
@media(prefers-reduced-motion: reduce) { body .tf-nav .nav-btn { transition: none; } }

body .tf-nav .arabic-nav { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; padding: 6px; border: 1px solid #ffffff66; border-radius: 4px; background: transparent; color: #fff; font: 400 12px/1.2 'DM Sans', sans-serif; text-decoration: none; cursor: pointer; }
@media(max-width: 390px) { body .tf-nav .arabic-nav { min-width: 28px; padding: 5px 3px; font-size: 11px; } body .tf-nav .nav-inner { gap: 6px; } }

/* One shared glass surface on every current-brand page. */
body .tf-nav.nav.is-scrolled { background: rgb(24 40 60 / 84%) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 #ffffff18; }
body .tf-nav .arabic-nav:lang(ar) { font-family: Tahoma, Arial, sans-serif; font-size: 14px; line-height: 1.3; }
body .tf :is(.btn-primary,.btn-outline,.btn-ghost,.role-cta), body.training-page .button, body.terminology-page .button, body.legal-page .button { font-size: 16px; }
@media(max-width:700px) {
 body .tf-nav .arabic-nav:lang(ar) { font-size: 12px; }
 body .tf :is(.btn-primary,.btn-outline,.btn-ghost,.role-cta), body.training-page .button, body.terminology-page .button, body.legal-page .button { font-size: 15px; }
}
@media(prefers-reduced-motion:reduce) { body .tf-nav.nav { transition: none; } }
