/* Bilingual white header, with desktop navigation and a native mobile disclosure. */
html body .tfe-site-header {
  position:relative; z-index:30; margin:0; padding:0; width:100%; background:#fff;
  border:0; border-block-end:1px solid #e1e6ed; box-shadow:0 4px 14px rgb(19 38 57 / 8%);
  color:#172c40; font-family:Tajawal,Arial,sans-serif;
}
.tfe-site-header *{box-sizing:border-box}
.tfe-site-header .tfe-header-inner{
  position:relative; width:min(1350px,100%); margin-inline:auto; padding:9px clamp(9px,2.2vw,28px);
  display:grid; grid-template-columns:minmax(52px,1fr) auto auto auto; gap:clamp(5px,1.3vw,13px); align-items:center;
}
.tfe-site-header .tfe-header-brand{display:block;min-width:0}
.tfe-site-header .tfe-header-brand img{display:block;width:min(100%,126px);height:auto}
.tfe-site-header .tfe-header-phone,.tfe-site-header .tfe-header-language,.tfe-site-header summary{
  min-height:39px; display:inline-flex; align-items:center; justify-content:center; gap:5px;
  border:1px solid #dce5ec; border-radius:10px; background:#fff; text-decoration:none; padding:5px 8px; font-weight:700; color:#172c40;
}
.tfe-site-header .tfe-header-phone{border-color:#ecc9cd;background:#fff6f6;color:#9a1623;white-space:nowrap;font-size:clamp(.73rem,2.9vw,1rem);}
.tfe-site-header .tfe-header-phone img{width:15px;height:15px;flex:none;}
.tfe-site-header .tfe-header-language{font-size:.86rem;white-space:nowrap;}
.tfe-site-header .tfe-header-nav{display:none;}
.tfe-site-header .tfe-header-mobile{margin:0;position:static;}
.tfe-site-header summary {list-style:none; cursor:pointer; width:39px;padding:0}
.tfe-site-header summary::-webkit-details-marker{display:none}
.tfe-site-header .tfe-header-mobile nav{
  position:absolute; inset-inline:9px; inset-block-start:calc(100% + 6px); width:auto; margin:0;
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding:9px;
  background:#fff; border:1px solid #dce5ec; border-radius:13px; box-shadow:0 12px 26px rgb(19 38 57 / 17%);
}
.tfe-site-header nav a{
  min-height:39px; display:flex; align-items:center; justify-content:center; margin:0; padding:5px 8px;
  text-align:center; border-radius:8px; line-height:1.25; font-size:.95rem; font-weight:700; color:#172c40; text-decoration:none;
}
.tfe-site-header a:hover,.tfe-site-header summary:hover{background:#f3f6fa}
.tfe-site-header nav a[aria-current=page]{background:#fff0f1;color:#9a1623;}
.tfe-site-header a:focus-visible,.tfe-site-header summary:focus-visible{outline:2px solid #256294;outline-offset:2px;}
@media(min-width:768px){
  .tfe-site-header .tfe-header-inner{grid-template-columns:minmax(130px,1fr) auto auto;gap:3px 12px;padding-block:10px 7px;}
  .tfe-site-header .tfe-header-brand img{width:clamp(142px,16vw,195px);}
  .tfe-site-header .tfe-header-mobile{display:none}
  .tfe-site-header .tfe-header-nav{display:flex;grid-column:1/-1;justify-content:space-between;gap:4px;border-block-start:1px solid #edf0f4;padding-block-start:4px;margin:3px 0 0;}
  .tfe-site-header nav a{white-space:nowrap;}
}
@media(min-width:1050px){
  .tfe-site-header .tfe-header-inner{grid-template-columns:auto auto auto minmax(0,1fr);padding-block:10px;gap:clamp(9px,1.3vw,18px);}
  .tfe-site-header .tfe-header-nav{grid-column:auto;justify-content:space-between;gap:2px;border:0;padding:0;margin:0;}
  .tfe-site-header nav a{padding-inline:clamp(5px,.6vw,9px)}
}
.tfe-site-header .tfe-header-mobile:not([open]) nav {display:none}

/* Keep the avatar on the physical right of the chat button in both directions. */
html body .cta.tfe-maryam-cta {
  direction:ltr;
  display:grid;
  grid-template-columns:minmax(0,max-content) auto;
  justify-content:center;
  align-items:center;
  gap:clamp(7px,2vw,15px);
  padding-inline:clamp(9px,2.3vw,22px);
}
html body .cta.tfe-maryam-cta .tfe-maryam-square {
  width:clamp(53px,11vw,80px);
  aspect-ratio:1;
  background:#fff;
  padding:4px;
  border-radius:10px;
  box-shadow:0 3px 9px #50071148;
}
html body .cta.tfe-maryam-cta .tfe-maryam-square img {
  width:100%;height:100%;object-fit:cover;border-radius:6px;display:block;
}
html body .cta.tfe-maryam-cta > .button.light {min-width:0;max-width:100%;overflow-wrap:anywhere}


/* Same home footer rules, isolated from the directory. */
:where(.tfe-home-footer){display:block;font-family:Tajawal,Arial,sans-serif}:where(.tfe-home-footer) *{box-sizing:border-box}:where(.tfe-home-footer) a{color:inherit}:where(.tfe-home-footer) .home-actions .shortcut{grid-column:1/-1}
:where(.tfe-home-footer) .home-inner{width:min(696px,calc(100% - 30px));margin:9px auto 0;--max:696px}
:where(.tfe-home-footer) .home-grid{display:grid;gap:7px;margin-bottom:7px}
:where(.tfe-home-footer) .home-grid.three{grid-template-columns:repeat(3,1fr)}
:where(.tfe-home-footer) .home-grid.two{grid-template-columns:repeat(2,1fr)}
:where(.tfe-home-footer) .home-grid a{min-height:52px;border-radius:12px;border:1px solid #eee;padding:8px 9px;text-decoration:none;color:#111;display:flex;justify-content:center;align-items:center;gap:8px;background:#fff;box-shadow:0 1px 3px #00000006;font-weight:700;line-height:1.18;font-size:.97rem}
:where(.tfe-home-footer) .home-grid a:hover{filter:brightness(.96)}
:where(.tfe-home-footer) .home-grid a .icon{width:22px;height:22px}
:where(.tfe-home-footer) .home-grid .call{background:#cde2ff;color:#074483;border-color:#d5e3f8;font-size:1.14rem}
:where(.tfe-home-footer) .home-grid .wa{background:#dcfbe2;color:#095721;border-color:#e0f7e6;font-size:1.14rem}
:where(.tfe-home-footer) .home-footer{font-size:.82rem;color:#302654;margin-top:19px;border-top:2px solid #f1f1f1}
:where(.tfe-home-footer) .home-footer:before{display:block;content:'';width:80px;height:4px;background:#ffce15;border-radius:6px;margin-top:-3px}
:where(.tfe-home-footer) .home-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;min-height:59px}
:where(.tfe-home-footer) .home-footer nav a{text-decoration:none}
:where(.tfe-home-footer) .home-about summary{cursor:pointer;list-style:none}
:where(.tfe-home-footer) .home-about p{max-width:48ch}
:where(.tfe-home-footer) .home-copyright{margin-top:17px;background:#304d60;color:#f0f6f8}
:where(.tfe-home-footer) .home-copyright>div{width:min(696px,calc(100% - 34px));min-height:43px;margin:auto;display:flex;align-items:center;justify-content:space-between;font-size:.75rem}
:where(.tfe-home-footer) .home-copyright img{width:36px;height:36px;object-fit:contain;background:#fff;border-radius:10px;padding:3px;margin-top:-16px}
html[dir=rtl] :where(.tfe-home-footer) .home-grid a{font-weight:400}
@media(max-width:650px){:where(.tfe-home-footer) .home-inner{margin-top:7px}
:where(.tfe-home-footer) .home-grid a{min-height:42px;padding:6px 5px;gap:5px;border-radius:9px;font-size:.8rem}
:where(.tfe-home-footer) .home-grid a .icon{width:17px;height:17px}
:where(.tfe-home-footer) .home-grid .call,:where(.tfe-home-footer) .home-grid .wa{font-size:.89rem}
:where(.tfe-home-footer) .home-grid.shortcut{grid-template-columns:1fr}
:where(.tfe-home-footer) .home-grid.shortcut a{justify-content:flex-start;padding-inline:13px}
:where(.tfe-home-footer) .home-footer{font-size:.72rem;margin-top:18px}
:where(.tfe-home-footer) .home-footer nav{min-height:55px;gap:8px}
:where(.tfe-home-footer) .home-copyright{margin-top:13px}
:where(.tfe-home-footer) .home-copyright>div{min-height:39px}}
:where(.tfe-home-footer) .home-footer nav,:where(.tfe-home-footer) .home-grid a{gap:0}
:where(.tfe-home-footer) .home-footer nav>*+*{margin-inline-start:9px}
:where(.tfe-home-footer) .home-footer nav summary::-webkit-details-marker{display:none}
:where(.tfe-home-footer) .home-grid a>.icon{margin-inline-end:8px}
@media(max-width:650px){:where(.tfe-home-footer) .home-grid a>.icon{margin-inline-end:5px}}
@media(min-width:900px){:where(.tfe-home-footer) .home-inner,:where(.tfe-home-footer) .home-copyright>div{width:min(1260px,calc(100% - 72px))}
:where(.tfe-home-footer) .home-inner{margin-top:12px}
:where(.tfe-home-footer) .home-actions{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:10px}
:where(.tfe-home-footer) .home-actions .home-grid{margin:0;gap:9px}
:where(.tfe-home-footer) .home-actions .shortcut{grid-column:1/-1}
:where(.tfe-home-footer) .home-actions a{min-height:59px}
:where(.tfe-home-footer) .home-actions a span{overflow-wrap:anywhere}
:where(.tfe-home-footer) .home-footer{margin-top:18px}
:where(.tfe-home-footer) .home-copyright{margin-top:10px}
:where(.tfe-home-footer) .home-actions .shortcut{
  padding:14px 16px 10px;
  margin-top:8px;
  border:1px solid #d3dde6;
  border-bottom:0;
  border-radius:15px 15px 0 0;
  background:#f0f4f7;
}
:where(.tfe-home-footer) .home-actions .shortcut a{
  border-color:#d8e1ea;
  box-shadow:0 2px 5px #2440580b;
}
:where(.tfe-home-footer) .home-footer{
  margin-top:0;
  padding:0 16px;
  border:1px solid #d3dde6;
  border-top:0;
  border-radius:0 0 15px 15px;
  background:#f0f4f7;
}
:where(.tfe-home-footer) .home-footer:before{display:none}
:where(.tfe-home-footer) .home-footer nav{
  min-height:48px;
  border-top:1px solid #d3dde6;
}
:where(.tfe-home-footer) .home-copyright{margin-top:46px}
:where(.tfe-home-footer) .home-copyright>div{
  position:relative;
  min-height:64px;
  padding-inline-end:92px;
}
:where(.tfe-home-footer) .home-copyright img{
  position:absolute;
  inset-inline-end:0;
  top:0;
  width:72px;
  height:72px;
  margin:0;
  padding:6px;
  border:1px solid #d8e1ea;
  border-radius:17px;
  background:#fff;
  box-shadow:0 3px 10px #1b334329;
  transform:translateY(-50%);
}
:where(.tfe-home-footer) .home-copyright img{right:0;left:auto}
html[dir=rtl] :where(.tfe-home-footer) .home-copyright img{right:auto;left:0}}
