/*
Theme Name: Tarteeb Managed v11
Theme URI: https://tarteeb.sa/
Author: Tarteeb
Description: WordPress-managed Tarteeb private aviation theme. Homepage, Fleet, Services, Team, News and Inquiries are editable in WordPress.
Version: 11.0.0
Text Domain: tarteeb-managed
*/

html { scroll-behavior: smooth; }
body { margin: 0; }
body.admin-bar .tarteeb-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tarteeb-nav { top: 46px; } }
.tarteeb-nav { transition: background .3s ease, box-shadow .3s ease, padding .3s ease; }
.tarteeb-nav.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 2px 16px rgba(0,0,0,.08); border-bottom: 1px solid rgba(78,45,130,.12); }
.tarteeb-nav.is-scrolled .tarteeb-nav-link, .tarteeb-nav.is-scrolled .tarteeb-lang { color: #2f2340 !important; }
.tarteeb-nav.is-scrolled .tarteeb-logo { filter: brightness(0) saturate(100%) invert(15%) sepia(40%) saturate(800%) hue-rotate(240deg) brightness(80%) !important; }
.tarteeb-dropdown { opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.tarteeb-services-menu:hover .tarteeb-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.tarteeb-mobile-menu { display: none; }
.tarteeb-mobile-menu.open { display: block; }
.tarteeb-wp-content p { margin: 0 0 1.25rem; }
.tarteeb-wp-content h2, .tarteeb-wp-content h3 { font-family: Georgia, 'Times New Roman', serif; color: #342344; margin: 2rem 0 1rem; }
.tarteeb-wp-content ul, .tarteeb-wp-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.tarteeb-wp-content a { color: #4e2d82; text-decoration: underline; }
.tarteeb-feature-line { white-space: pre-line; }
.tarteeb-form-status { display:none; margin-top: 1rem; padding: .9rem 1rem; border-radius: .5rem; }
.tarteeb-form-status.success { display:block; background:#edf8f1; color:#176b3a; }
.tarteeb-form-status.error { display:block; background:#fff0f0; color:#9b1c1c; }
.tarteeb-card-image { background: linear-gradient(135deg,#4e2d82,#9f5da5); }
[dir="rtl"] .tarteeb-text-left { text-align: right; }
[dir="rtl"] .tarteeb-dropdown { left:auto; right:0; }
@media (max-width: 767px) {
  .tarteeb-desktop-nav { display:none !important; }
  .tarteeb-mobile-toggle { display:flex !important; }
  .tarteeb-nav { padding-top: 1rem !important; padding-bottom: 1rem !important; }
}
@media (min-width: 768px) { .tarteeb-mobile-toggle { display:none !important; } }


/* -------------------------------------------------------------------------
 * v4 interaction parity + Elementor compatibility
 * ---------------------------------------------------------------------- */
/* The previous site's Elementor Pro global header can otherwise sit above
   the Tarteeb theme navigation. This stylesheet is loaded only while this
   theme is active, so the old global header is intentionally suppressed. */
.elementor-location-header { display: none !important; }

/* Keep transitions deterministic even if a plugin adds broad element rules. */
.tarteeb-fleet-card,
.tarteeb-service-card,
.tarteeb-team-card,
.tarteeb-news-card,
.tarteeb-contact-card,
.tarteeb-about-image,
.tarteeb-action-button { will-change: transform; }

.tarteeb-fleet-card { transition: transform .35s ease, box-shadow .35s ease; }
.tarteeb-fleet-card .tarteeb-fleet-photo { transition: transform 1s cubic-bezier(.2,.65,.3,1); }
.tarteeb-fleet-card .tarteeb-fleet-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: max-height .55s ease, opacity .4s ease, transform .55s ease, margin .55s ease;
  margin-top: 0;
}
.tarteeb-fleet-card .tarteeb-fleet-cta {
  margin-top: 1rem;
  transition: margin .45s ease, color .3s ease;
}
.tarteeb-fleet-card .tarteeb-fleet-arrow {
  display: inline-block;
  margin-left: .5rem;
  transition: transform .35s ease, color .3s ease;
}

.tarteeb-service-card {
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
}
.tarteeb-service-card .tarteeb-service-title,
.tarteeb-service-card .tarteeb-service-link { transition: color .3s ease; }
.tarteeb-service-card .tarteeb-service-arrow {
  display: inline-block;
  transition: transform .3s ease;
}

.tarteeb-team-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.tarteeb-team-card .tarteeb-team-title { transition: color .3s ease; }

.tarteeb-news-card .tarteeb-news-image { transition: transform .7s cubic-bezier(.2,.65,.3,1); }
.tarteeb-news-card .tarteeb-news-title { transition: color .3s ease; }

.tarteeb-contact-card { transition: background-color .3s ease, border-color .3s ease, transform .3s ease; }
.tarteeb-contact-card strong { transition: color .3s ease; }

.tarteeb-about-image img { transition: transform .9s cubic-bezier(.2,.65,.3,1); }
.tarteeb-action-button { transition: background-color .3s ease, color .3s ease, opacity .3s ease, transform .3s ease; }
.tarteeb-scroll-cue { animation: tarteeb-float 2.2s ease-in-out infinite; }
@keyframes tarteeb-float { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

@media (hover: hover) and (pointer: fine) {
  .tarteeb-fleet-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(35,22,50,.16); }
  .tarteeb-fleet-card:hover .tarteeb-fleet-photo { transform: scale(1.055); }
  .tarteeb-fleet-card:hover .tarteeb-fleet-details {
    max-height: 230px;
    opacity: 1;
    transform: translateY(0);
    margin-top: .35rem;
  }
  .tarteeb-fleet-card:hover .tarteeb-fleet-cta { margin-top: 0; color: #b47bc1; }
  .tarteeb-fleet-card:hover .tarteeb-fleet-arrow { transform: translateX(8px); color: #b47bc1; }

  .tarteeb-service-card:hover {
    transform: translateY(-4px);
    background: #fff;
    border-left-color: #6b3a93 !important;
    box-shadow: 0 16px 34px rgba(35,22,50,.12);
  }
  .tarteeb-service-card:hover .tarteeb-service-title { color: #6b3a93; }
  .tarteeb-service-card:hover .tarteeb-service-link { color: #a363b1; }
  .tarteeb-service-card:hover .tarteeb-service-arrow { transform: translateX(5px); }

  .tarteeb-team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(35,22,50,.12); }
  .tarteeb-team-card:hover .tarteeb-team-title { color: #6b3a93; }

  .tarteeb-news-card:hover .tarteeb-news-image { transform: scale(1.055); }
  .tarteeb-news-card:hover .tarteeb-news-title { color: #6b3a93; }

  .tarteeb-contact-card:hover { background: rgba(107,58,147,.05); border-color: #6b3a93; transform: translateY(-2px); }
  .tarteeb-contact-card:hover strong { color: #6b3a93; }
  .tarteeb-about-image:hover img { transform: scale(1.025); }
  .tarteeb-action-button:hover { transform: translateY(-2px); }
}

/* On touch devices there is no reliable hover, so never hide useful fleet data. */
@media (hover: none), (pointer: coarse) {
  .tarteeb-fleet-card .tarteeb-fleet-details { max-height: 240px; opacity: 1; transform: none; margin-top: .35rem; }
  .tarteeb-fleet-card .tarteeb-fleet-cta { margin-top: 0; }
}

/* Lightweight replacement for the original Framer Motion in-view effects. */
html.tarteeb-enhanced .tarteeb-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1);
}
html.tarteeb-enhanced .tarteeb-reveal.tarteeb-reveal-scale { transform: scale(.96); }
html.tarteeb-enhanced .tarteeb-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .tarteeb-scroll-cue { animation: none; }
  html.tarteeb-enhanced .tarteeb-reveal { opacity: 1; transform: none; transition: none; }
  .tarteeb-fleet-card *, .tarteeb-service-card *, .tarteeb-team-card *, .tarteeb-news-card * { transition-duration: .01ms !important; }
}


/* -------------------------------------------------------------------------
 * v5 header/footer reliability, service order and consistent CTA sizing
 * ---------------------------------------------------------------------- */
/* Elementor's legacy global parts belong to the previous site. The managed
   theme renders its own header and footer. */
.elementor-location-header,
.elementor-location-footer { display: none !important; }

/* Make the managed theme chrome explicit so plugin/theme-builder CSS cannot
   accidentally hide or reposition it. */
body .tarteeb-nav {
  display: block !important;
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  z-index: 99990 !important;
  box-sizing: border-box;
}
body .tarteeb-site-footer {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  z-index: 5 !important;
  clear: both !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Consistent CTA/button system. This overrides broad Elementor button styles
   without making small language/menu controls oversized. */
.tarteeb-btn,
a.tarteeb-btn,
button.tarteeb-btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  width: auto;
  max-width: 100%;
  padding: 0 24px !important;
  border-radius: 4px;
  line-height: 1.1 !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
}
.tarteeb-btn--wide { min-width: 180px; }
.tarteeb-btn--submit { width: 100% !important; min-height: 50px !important; }
.tarteeb-lang {
  min-height: 34px !important;
  padding: 0 13px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
}
.tarteeb-mobile-toggle { padding: 0 !important; }

@media (max-width: 767px) {
  .tarteeb-btn,
  a.tarteeb-btn,
  button.tarteeb-btn {
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 11px !important;
    letter-spacing: .12em;
  }
  .tarteeb-btn--wide { min-width: 0; }
  .tarteeb-btn--submit { min-height: 46px !important; width: 100% !important; }
}

/* -------------------------------------------------------------------------
 * v6: isolated managed header/footer, team biography, service-page parity
 * ---------------------------------------------------------------------- */
/* Old Elementor Theme Builder chrome is intentionally disabled while this
   managed theme is active. The managed chrome below uses unique IDs so its
   CSS cannot collide with the previous site's templates. */
.elementor-location-header,
.elementor-location-footer { display: none !important; }

#tarteeb-managed-header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147480000 !important;
  width: 100% !important;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
  box-sizing: border-box;
}
body.admin-bar #tarteeb-managed-header { top: 32px !important; }
.tarteeb-header-inner {
  width: min(100% - 48px, 1320px);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: min-height .3s ease;
}
.tarteeb-header-logo { display:flex; align-items:center; flex:0 0 auto; }
.tarteeb-header-logo img {
  display:block;
  width:auto;
  height:40px;
  filter: brightness(0) invert(1);
  transition: filter .3s ease, height .3s ease;
}
.tarteeb-header-nav { display:flex; align-items:center; justify-content:center; gap:30px; flex:1 1 auto; }
.tarteeb-header-nav > a,
.tarteeb-services-trigger {
  appearance:none;
  border:0;
  background:transparent;
  padding:10px 0;
  color:rgba(255,255,255,.88);
  font-family:inherit;
  font-size:11px;
  font-weight:600;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.16em;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
  transition:color .25s ease;
}
.tarteeb-header-nav > a:hover,
.tarteeb-services-trigger:hover { color:#fff; }
.tarteeb-services-menu { position:relative; }
#tarteeb-managed-header .tarteeb-dropdown {
  position:absolute;
  top:100%;
  left:-20px;
  width:270px;
  padding:8px 0;
  background:#fff;
  border:1px solid rgba(78,45,130,.12);
  border-radius:0 0 8px 8px;
  box-shadow:0 18px 42px rgba(35,22,50,.16);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
}
#tarteeb-managed-header .tarteeb-services-menu:hover .tarteeb-dropdown,
#tarteeb-managed-header .tarteeb-services-menu:focus-within .tarteeb-dropdown { opacity:1; visibility:visible; transform:none; }
#tarteeb-managed-header .tarteeb-dropdown a {
  display:block;
  padding:12px 18px;
  color:#4b4057;
  font-size:12px;
  line-height:1.35;
  text-decoration:none;
  transition:background .2s ease,color .2s ease;
}
#tarteeb-managed-header .tarteeb-dropdown a:hover { background:#f6f1f8; color:#6b3a93; }
.tarteeb-header-actions { display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.tarteeb-header-lang {
  min-width:40px;
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:#fff;
  font-size:11px;
  cursor:pointer;
  transition:all .25s ease;
}
.tarteeb-header-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 24px;
  background:linear-gradient(135deg,#4e2d82,#8150a3);
  color:#fff !important;
  border-radius:3px;
  text-decoration:none !important;
  text-transform:uppercase;
  font-size:10px;
  font-weight:700;
  letter-spacing:.16em;
  white-space:nowrap;
  box-shadow:0 8px 24px rgba(57,29,91,.18);
  transition:transform .25s ease,opacity .25s ease,box-shadow .25s ease;
}
.tarteeb-header-cta:hover { transform:translateY(-1px); opacity:.94; box-shadow:0 12px 28px rgba(57,29,91,.24); }
.tarteeb-header-toggle { display:none; width:42px; height:42px; border:1px solid rgba(255,255,255,.35); background:transparent; border-radius:4px; padding:9px; }
.tarteeb-header-toggle span { display:block; width:100%; height:1px; background:#fff; margin:5px 0; }
#tarteeb-managed-header .tarteeb-mobile-menu { display:none; background:#fff; box-shadow:0 14px 30px rgba(35,22,50,.14); padding:12px 24px 20px; }
#tarteeb-managed-header .tarteeb-mobile-menu.open { display:block; }
#tarteeb-managed-header .tarteeb-mobile-menu a { display:block; padding:11px 0; border-bottom:1px solid #eee8f1; color:#342344; text-decoration:none; font-size:13px; text-transform:uppercase; letter-spacing:.1em; }

#tarteeb-managed-header.is-scrolled {
  background:rgba(255,255,255,.97) !important;
  border-bottom-color:rgba(78,45,130,.12);
  box-shadow:0 4px 22px rgba(35,22,50,.08);
  backdrop-filter:blur(12px);
}
#tarteeb-managed-header.is-scrolled .tarteeb-header-inner { min-height:70px; }
#tarteeb-managed-header.is-scrolled .tarteeb-header-logo img { height:34px; filter:brightness(0) saturate(100%) invert(20%) sepia(30%) saturate(1730%) hue-rotate(237deg) brightness(76%) contrast(93%); }
#tarteeb-managed-header.is-scrolled .tarteeb-header-nav > a,
#tarteeb-managed-header.is-scrolled .tarteeb-services-trigger { color:#62576d; }
#tarteeb-managed-header.is-scrolled .tarteeb-header-nav > a:hover,
#tarteeb-managed-header.is-scrolled .tarteeb-services-trigger:hover { color:#5b2e85; }
#tarteeb-managed-header.is-scrolled .tarteeb-header-lang { border-color:rgba(78,45,130,.22); color:#4e2d82; background:#fff; }
#tarteeb-managed-header.is-scrolled .tarteeb-header-toggle { border-color:rgba(78,45,130,.24); }
#tarteeb-managed-header.is-scrolled .tarteeb-header-toggle span { background:#4e2d82; }

#tarteeb-managed-footer {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:100% !important;
  position:relative !important;
  z-index:10 !important;
  clear:both;
  background:linear-gradient(135deg,#3f226d 0%,#70449a 100%);
  color:#fff;
  padding:72px 0 30px;
}
.tarteeb-footer-inner { width:min(100% - 48px,1320px); margin:0 auto; }
.tarteeb-footer-grid { display:grid; grid-template-columns:1.25fr 1fr 1fr 1.15fr; gap:54px; padding-bottom:52px; }
.tarteeb-footer-logo { display:block; height:45px; width:auto; margin-bottom:24px; filter:brightness(0) invert(1); }
.tarteeb-footer-grid h4 { color:#fff; font-family:Georgia,'Times New Roman',serif; font-size:18px; margin:0 0 20px; }
.tarteeb-footer-grid p { color:rgba(255,255,255,.68); font-size:13px; line-height:1.7; margin:0 0 10px; }
.tarteeb-footer-grid a { display:block; color:rgba(255,255,255,.72); text-decoration:none; font-size:13px; line-height:1.7; margin:0 0 10px; }
.tarteeb-footer-grid p a { display:inline; }
.tarteeb-footer-grid a:hover { color:#fff; }
.tarteeb-footer-kicker { margin-top:22px; font-size:10px; text-transform:uppercase; letter-spacing:.18em; color:rgba(255,255,255,.78); }
.tarteeb-footer-memberships { border-top:1px solid rgba(255,255,255,.16); border-bottom:1px solid rgba(255,255,255,.16); padding:26px 0; text-align:center; }
.tarteeb-footer-memberships-title { font-size:9px; letter-spacing:.28em; text-transform:uppercase; color:rgba(255,255,255,.46); margin-bottom:18px; }
.tarteeb-footer-memberships span { display:inline-block; margin:5px; padding:7px 12px; border:1px solid rgba(255,255,255,.16); border-radius:999px; font-size:9px; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.6); }
.tarteeb-footer-bottom { display:flex; justify-content:space-between; gap:24px; padding-top:26px; color:rgba(255,255,255,.52); font-size:11px; }
.tarteeb-footer-bottom a { color:rgba(255,255,255,.65); text-decoration:none; margin-left:18px; }

/* Service and reusable icon rendering. */
.tarteeb-icon { width:22px; height:22px; display:block; }
.tarteeb-service-icon .tarteeb-icon { width:21px; height:21px; }
.tarteeb-feature-icon { width:40px; height:40px; flex:0 0 40px; display:flex; align-items:center; justify-content:center; box-shadow:0 3px 12px rgba(35,22,50,.06); }
.tarteeb-feature-icon .tarteeb-icon { width:19px; height:19px; }

/* Team card image area: target source/display box is 450 x 500 on large screens,
   while remaining responsive on narrower layouts. */
.tarteeb-team-container { max-width:1450px !important; }
.tarteeb-team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,450px)); justify-content:center; gap:32px; align-items:start; }
.tarteeb-team-card { width:100%; max-width:450px; }
.tarteeb-team-photo { width:100%; height:500px; overflow:hidden; background:linear-gradient(135deg,#714aa0,#b376ba); }
.tarteeb-team-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:left top; }
.tarteeb-team-copy { min-height:116px; }
.tarteeb-bio-toggle { margin-top:14px; padding:0; border:0; background:transparent; color:#6b3a93; font-size:10px; text-transform:uppercase; letter-spacing:.16em; cursor:pointer; }
.tarteeb-bio-toggle:hover { color:#9b61aa; }
.tarteeb-team-bios { margin-top:44px; }
.tarteeb-team-bio-panel { max-width:900px; margin:0 auto; padding:28px 34px; background:#fff; border:1px solid #e7dfe9; border-radius:12px; box-shadow:0 8px 24px rgba(35,22,50,.06); opacity:0; transform:translateY(-8px); }
.tarteeb-team-bio-panel.is-open { opacity:1; transform:none; animation:tarteeb-bio-in .28s ease both; }
.tarteeb-team-bio-panel h4 { margin:0 0 14px; color:#342344; font-family:Georgia,'Times New Roman',serif; font-size:22px; }
.tarteeb-team-bio-panel .tarteeb-wp-content { color:#746b7d; font-size:14px; line-height:1.75; }
@keyframes tarteeb-bio-in { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:none} }

/* Service detail page parity with the original React pages. */
.tarteeb-service-hero { height:58vh; min-height:520px; }
.tarteeb-service-hero-copy { padding-top:72px; }
.tarteeb-service-content > p { margin:0 0 20px; }
.tarteeb-service-gallery img { aspect-ratio:4/3; min-height:220px; }
.tarteeb-key-features { top:96px !important; }
.tarteeb-service-highlights { padding:62px 0; background:linear-gradient(135deg,#8a5ba8 0%,#c183bb 100%); color:#fff; }
.tarteeb-service-highlights-inner { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; text-align:center; }
.tarteeb-highlight-item { display:flex; flex-direction:column; align-items:center; justify-content:center; }
.tarteeb-highlight-icon { width:64px; height:64px; border-radius:999px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.18); margin-bottom:15px; backdrop-filter:blur(6px); }
.tarteeb-highlight-icon .tarteeb-icon { width:30px; height:30px; }
.tarteeb-highlight-value { font-family:Georgia,'Times New Roman',serif; font-size:36px; line-height:1.1; margin-bottom:7px; }
.tarteeb-highlight-label { font-size:10px; text-transform:uppercase; letter-spacing:.18em; color:rgba(255,255,255,.82); }
.tarteeb-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.tarteeb-related-card { display:block; padding:28px; background:#fff; border:1px solid #e5dee8; border-radius:10px; box-shadow:0 4px 18px rgba(35,22,50,.04); text-decoration:none !important; transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease; }
.tarteeb-related-card h4 { margin:0 0 9px; font-family:Georgia,'Times New Roman',serif; font-size:19px; color:#342344; transition:color .28s ease; }
.tarteeb-related-card p { margin:0; color:#766d7e; font-size:13px; line-height:1.65; }
.tarteeb-related-card:hover { transform:translateY(-3px); border-color:#7a4a9e; box-shadow:0 14px 30px rgba(35,22,50,.09); }
.tarteeb-related-card:hover h4 { color:#6b3a93; }

@media (max-width: 1100px) {
  .tarteeb-header-nav { gap:18px; }
  .tarteeb-header-nav > a,.tarteeb-services-trigger { font-size:10px; letter-spacing:.12em; }
  .tarteeb-header-cta { padding:0 18px; }
  .tarteeb-team-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .tarteeb-header-nav,.tarteeb-header-cta { display:none; }
  .tarteeb-header-toggle { display:block; }
  .tarteeb-header-inner { min-height:72px; width:min(100% - 32px,1320px); }
  #tarteeb-managed-header.is-scrolled .tarteeb-header-inner { min-height:64px; }
  .tarteeb-team-grid { grid-template-columns:repeat(2,minmax(0,450px)); }
  .tarteeb-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tarteeb-service-highlights-inner,.tarteeb-related-grid { grid-template-columns:1fr; }
}
@media (max-width: 782px) { body.admin-bar #tarteeb-managed-header { top:46px !important; } }
@media (max-width: 620px) {
  .tarteeb-header-inner { width:calc(100% - 28px); }
  .tarteeb-header-logo img { height:34px; }
  .tarteeb-header-lang { padding:0 9px; min-width:36px; }
  .tarteeb-team-grid { grid-template-columns:1fr; }
  .tarteeb-team-card { max-width:450px; }
  .tarteeb-team-photo { height:min(500px,120vw); min-height:390px; }
  .tarteeb-team-bio-panel { padding:24px 22px; }
  .tarteeb-service-hero { height:auto; min-height:460px; }
  .tarteeb-service-hero-copy { padding-top:64px; }
  .tarteeb-footer-grid { grid-template-columns:1fr; gap:32px; }
  .tarteeb-footer-bottom { flex-direction:column; align-items:flex-start; }
  .tarteeb-footer-inner { width:calc(100% - 36px); }
}


/* -------------------------------------------------------------------------
 * v7: approved About page + mobile hardening
 * ---------------------------------------------------------------------- */
.tarteeb-about-page { background:#fff; color:#342344; overflow-x:hidden; }
.tarteeb-about-shell { width:min(100% - 48px,1320px); margin:0 auto; }
.tarteeb-about-hero { min-height:290px; padding:132px 0 70px; display:flex; align-items:center; justify-content:center; text-align:center; }
.tarteeb-about-hero h1 { margin:0; color:#fff; font-family:Georgia,'Times New Roman',serif; font-size:clamp(42px,5vw,66px); line-height:1.05; font-weight:400; }
.tarteeb-about-main { padding:92px 0 96px; background:#fff; }
.tarteeb-about-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(420px,.95fr); gap:76px; align-items:center; }
.tarteeb-about-copy { min-width:0; }
.tarteeb-about-label { margin:0 0 14px; color:#6b3a93; font-size:11px; line-height:1.3; font-weight:700; text-transform:uppercase; letter-spacing:.30em; }
.tarteeb-about-copy h2 { margin:0 0 28px; color:#4e2d82; font-family:Georgia,'Times New Roman',serif; font-size:clamp(36px,4vw,52px); line-height:1.08; font-weight:400; }
.tarteeb-about-paragraphs { color:#746b7d; font-size:16px; line-height:1.72; }
.tarteeb-about-paragraphs p { margin:0 0 22px; }
.tarteeb-about-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 48px; margin-top:10px; padding-top:30px; border-top:1px solid #e5dee8; }
.tarteeb-about-stat strong { display:block; margin-bottom:6px; color:#6b3a93; font-family:Georgia,'Times New Roman',serif; font-size:32px; line-height:1; font-weight:400; }
.tarteeb-about-stat span { display:block; color:#877d90; font-size:10px; line-height:1.4; font-weight:600; text-transform:uppercase; letter-spacing:.13em; }
.tarteeb-about-page-image { width:100%; overflow:hidden; border-radius:12px; box-shadow:0 8px 24px rgba(35,22,50,.06); }
.tarteeb-about-page-image img { display:block; width:100%; aspect-ratio:1/1; object-fit:cover; object-position:center; }
[dir="rtl"] .tarteeb-about-copy { text-align:right; }

/* Forms stay usable on small screens and cannot overflow due to plugin CSS. */
.tarteeb-inquiry-form input,
.tarteeb-inquiry-form textarea,
.tarteeb-inquiry-form select { width:100%; max-width:100%; box-sizing:border-box; }
.tarteeb-inquiry-form textarea { resize:vertical; }

@media (max-width: 1024px) {
  .tarteeb-about-grid { grid-template-columns:1fr 1fr; gap:44px; }
}
@media (max-width: 820px) {
  .tarteeb-about-shell { width:calc(100% - 36px); }
  .tarteeb-about-hero { min-height:230px; padding:112px 0 54px; }
  .tarteeb-about-main { padding:64px 0 72px; }
  .tarteeb-about-grid { grid-template-columns:1fr; gap:42px; }
  .tarteeb-about-page-image { max-width:620px; margin:0 auto; }
  .tarteeb-about-page-image img { aspect-ratio:4/3; }
}
@media (max-width: 620px) {
  .tarteeb-about-shell { width:calc(100% - 28px); }
  .tarteeb-about-hero { min-height:205px; padding:98px 0 46px; }
  .tarteeb-about-hero h1 { font-size:38px; }
  .tarteeb-about-main { padding:50px 0 58px; }
  .tarteeb-about-copy h2 { font-size:36px; }
  .tarteeb-about-paragraphs { font-size:15px; line-height:1.7; }
  .tarteeb-about-stats { gap:26px 18px; }
  .tarteeb-about-stat strong { font-size:28px; }
  .tarteeb-about-page-image img { aspect-ratio:1/1; }
  #tarteeb-managed-footer { padding-top:52px; }
  .tarteeb-footer-grid { padding-bottom:36px; }
}
@media (max-width: 380px) {
  .tarteeb-about-stats { grid-template-columns:1fr; }
  .tarteeb-about-stat { padding-bottom:12px; border-bottom:1px solid #eee8f1; }
}


/* -------------------------------------------------------------------------
 * v8 editable WordPress Custom Logo
 * Appearance → Customize → Site Identity → Logo
 * ---------------------------------------------------------------------- */
.tarteeb-site-logo {
  display:block;
  width:auto !important;
  max-width:220px;
  object-fit:contain;
}
#tarteeb-managed-header .tarteeb-site-logo {
  height:40px !important;
  max-height:40px;
  filter:brightness(0) invert(1);
  transition:filter .3s ease,height .3s ease,max-height .3s ease;
}
#tarteeb-managed-header.is-scrolled .tarteeb-site-logo {
  height:34px !important;
  max-height:34px;
  filter:brightness(0) saturate(100%) invert(20%) sepia(30%) saturate(1730%) hue-rotate(237deg) brightness(76%) contrast(93%);
}
#tarteeb-managed-footer .tarteeb-site-logo {
  height:45px !important;
  max-height:45px;
  max-width:240px;
  margin-bottom:24px;
  filter:brightness(0) invert(1);
}
@media (max-width: 767px) {
  #tarteeb-managed-header .tarteeb-site-logo { height:32px !important; max-height:32px; max-width:170px; }
  #tarteeb-managed-header.is-scrolled .tarteeb-site-logo { height:30px !important; max-height:30px; }
  #tarteeb-managed-footer .tarteeb-site-logo { height:38px !important; max-height:38px; max-width:200px; }
}


/* -------------------------------------------------------------------------
 * v9: About Us — Vision/Mission, Founders and Global Presence
 * ---------------------------------------------------------------------- */
.tarteeb-about-v9{background:#fff;color:#3b2950;overflow-x:hidden}
.tarteeb-about9-shell{width:min(100% - 48px,1320px);margin:0 auto}
.tarteeb-about9-hero{min-height:330px;padding:142px 0 72px;display:flex;align-items:center;text-align:center;color:#fff}
.tarteeb-about9-hero-inner{max-width:820px;margin:0 auto}
.tarteeb-about9-kicker{margin:0 0 14px;color:#6b3a93;font-size:11px;line-height:1.35;text-transform:uppercase;letter-spacing:.3em;font-weight:700}
.tarteeb-about9-kicker-light{color:rgba(255,255,255,.64)}
.tarteeb-about9-hero h1{margin:0;color:#fff;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(48px,6vw,76px);line-height:1.05}
.tarteeb-about9-hero-sub{max-width:650px;margin:22px auto 0;color:rgba(255,255,255,.78);font-size:17px;line-height:1.7;font-weight:300}
.tarteeb-about9-purpose,.tarteeb-about9-global{padding:88px 0 96px;background:#fff}
.tarteeb-about9-founders{padding:88px 0 96px;background:#f6f2f8}
.tarteeb-about9-heading{margin-bottom:48px}
.tarteeb-about9-heading h2,.tarteeb-about9-global-copy h2{margin:0;color:#4e2d82;font-family:Georgia,'Times New Roman',serif;font-size:clamp(38px,4.6vw,58px);line-height:1.08;font-weight:400}
.tarteeb-about9-intro{max-width:720px;margin:16px 0 0;color:#766c80;font-size:16px;line-height:1.72}
.tarteeb-about9-purpose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.tarteeb-about9-purpose-card{border:1px solid #dfd7e4;border-radius:14px;padding:34px 36px 36px;background:#fff;box-shadow:0 3px 12px rgba(48,31,62,.025)}
.tarteeb-about9-accent{display:block;width:36px;height:3px;background:#6b3a93;margin-bottom:24px}
.tarteeb-about9-purpose-card h3{margin:0 0 20px;color:#4e2d82;font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:400}
.tarteeb-about9-purpose-card p{margin:0;color:#766c80;font-size:15px;line-height:1.72}
.tarteeb-about9-founders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
.tarteeb-about9-founder{display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;align-items:start;background:#fff;border:1px solid #ddd4e2;border-radius:14px;padding:24px;box-shadow:0 5px 16px rgba(48,31,62,.035)}
.tarteeb-about9-founder-photo{width:150px;height:180px;border-radius:10px;overflow:hidden;background:#eee7f1}
.tarteeb-about9-founder-photo img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1)}
.tarteeb-about9-founder-copy{padding-top:4px;min-width:0}
.tarteeb-about9-founder-copy h3{margin:0;color:#4e2d82;font-family:Georgia,'Times New Roman',serif;font-size:24px;line-height:1.25;font-weight:400}
.tarteeb-about9-founder-line{display:block;width:30px;height:2px;background:#6b3a93;margin:12px 0}
.tarteeb-about9-founder-role{margin:0 0 14px;color:#6b3a93;font-size:10px;text-transform:uppercase;letter-spacing:.13em;font-weight:700}
.tarteeb-about9-founder-bio{margin:0;color:#7b7184;font-size:13px;line-height:1.66}
.tarteeb-about9-global-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(500px,1.1fr);gap:72px;align-items:center}
.tarteeb-about9-global-copy h2{margin-bottom:18px}
.tarteeb-about9-country-list{list-style:none;padding:0;margin:30px 0 0;display:grid;gap:10px}
.tarteeb-about9-country-list li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;align-items:center;color:#5d5268;font-size:13px}
.tarteeb-about9-country-list strong{font-weight:600;color:#463750}
.tarteeb-about9-country-list li>span:last-child{color:#8c8294;font-size:11px}
.tarteeb-about9-country-dot{width:7px;height:7px;border-radius:50%;background:#aa4a9b;display:block}.tarteeb-about9-country-dot.is-hq{background:#4e2d82}
.tarteeb-about9-global-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin-top:34px;padding-top:28px;border-top:1px solid #e3dce7}
.tarteeb-about9-global-stats strong{display:block;color:#6b3a93;font-family:Georgia,'Times New Roman',serif;font-size:32px;line-height:1.05;font-weight:400}
.tarteeb-about9-global-stats span{display:block;margin-top:6px;color:#8b8192;font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.13em;font-weight:600}
.tarteeb-about9-map{overflow:hidden;background:#f5f1f8;border:1px solid #ded5e3;border-radius:14px}
.tarteeb-about9-map>img{display:block;width:100%;aspect-ratio:1.55/1;object-fit:cover;background:#f5f1f8}
.tarteeb-about9-map-legend{display:flex;flex-wrap:wrap;gap:18px;padding:15px 20px;border-top:1px solid #dfd7e4;color:#756b7e;font-size:11px}
.tarteeb-about9-map-legend span{display:inline-flex;align-items:center;gap:7px}
.tarteeb-about9-map-legend i{width:9px;height:9px;border-radius:50%;background:#a34796;display:inline-block}.tarteeb-about9-map-legend i.is-hq{background:#4e2d82}
[dir="rtl"] .tarteeb-about9-heading,[dir="rtl"] .tarteeb-about9-global-copy,[dir="rtl"] .tarteeb-about9-founder-copy{text-align:right}
[dir="rtl"] .tarteeb-about9-country-list li{grid-template-columns:auto minmax(0,1fr) 10px}
[dir="rtl"] .tarteeb-about9-country-dot{grid-column:3}
@media (hover:hover) and (pointer:fine){.tarteeb-about9-purpose-card,.tarteeb-about9-founder{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}.tarteeb-about9-purpose-card:hover,.tarteeb-about9-founder:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(48,31,62,.08);border-color:#cbbad4}}
@media (max-width:980px){.tarteeb-about9-global-grid{grid-template-columns:1fr;gap:44px}.tarteeb-about9-map{max-width:760px}.tarteeb-about9-founder{grid-template-columns:125px minmax(0,1fr)}.tarteeb-about9-founder-photo{width:125px;height:155px}}
@media (max-width:760px){.tarteeb-about9-shell{width:calc(100% - 36px)}.tarteeb-about9-hero{min-height:270px;padding:118px 0 58px}.tarteeb-about9-purpose,.tarteeb-about9-founders,.tarteeb-about9-global{padding:62px 0 70px}.tarteeb-about9-purpose-grid,.tarteeb-about9-founders-grid{grid-template-columns:1fr}.tarteeb-about9-heading{margin-bottom:34px}.tarteeb-about9-purpose-card{padding:28px}.tarteeb-about9-founder{grid-template-columns:135px minmax(0,1fr)}.tarteeb-about9-founder-photo{width:135px;height:165px}}
@media (max-width:520px){.tarteeb-about9-shell{width:calc(100% - 28px)}.tarteeb-about9-hero{min-height:245px;padding:108px 0 50px}.tarteeb-about9-hero h1{font-size:44px}.tarteeb-about9-hero-sub{font-size:15px}.tarteeb-about9-founder{grid-template-columns:1fr;padding:18px}.tarteeb-about9-founder-photo{width:100%;height:auto;aspect-ratio:4/3}.tarteeb-about9-founder-copy{padding:2px 4px 4px}.tarteeb-about9-global-stats{gap:18px}.tarteeb-about9-global-stats strong{font-size:28px}.tarteeb-about9-country-list li{font-size:12px}.tarteeb-about9-map-legend{flex-direction:column;gap:8px}}


/* -------------------------------------------------------------------------
 * v10: mobile header offset, card-scoped biographies, zoomable About map
 * ---------------------------------------------------------------------- */
:root { --tarteeb-admin-offset: 0px; }
#tarteeb-managed-header { top: var(--tarteeb-admin-offset, 0px) !important; }

/* Each biography belongs to the clicked card, instead of a shared panel after
   the full grid. align-self:start prevents the card itself from stretching. */
.tarteeb-team-grid { align-items:start !important; }
.tarteeb-team-item { width:100%; max-width:450px; min-width:0; align-self:start; }
.tarteeb-team-item .tarteeb-team-card { max-width:none; width:100%; }
.tarteeb-team-item .tarteeb-team-bio-panel {
  width:100%; max-width:none; box-sizing:border-box; margin:14px 0 0;
  padding:22px 24px; border-radius:10px;
}
.tarteeb-team-item .tarteeb-team-bio-panel h4 { font-size:18px; margin-bottom:10px; }
.tarteeb-team-item .tarteeb-team-bio-panel .tarteeb-wp-content { font-size:12px; line-height:1.7; }

/* About map: keep the normal map clean, but allow users to open the original
   1920px image in a large pannable viewer for readable labels. */
.tarteeb-about9-map-button {
  position:relative; display:block; width:100%; padding:0; margin:0; border:0;
  background:transparent; cursor:zoom-in; text-align:inherit; overflow:hidden;
}
.tarteeb-about9-map-button > img {
  display:block; width:100%; aspect-ratio:1.55/1; object-fit:cover; background:#f5f1f8;
  transition:transform .35s ease;
}
.tarteeb-about9-map-button:hover > img { transform:scale(1.018); }
.tarteeb-about9-map-zoom-label {
  position:absolute; right:14px; bottom:14px; z-index:2;
  display:inline-flex; align-items:center; min-height:34px; padding:0 13px;
  border-radius:999px; background:rgba(78,45,130,.9); color:#fff;
  font-size:11px; font-weight:700; letter-spacing:.06em; box-shadow:0 5px 16px rgba(48,31,62,.18);
}
[dir="rtl"] .tarteeb-about9-map-zoom-label { right:auto; left:14px; }
.tarteeb-about9-map-legend { font-size:12px; }
.tarteeb-map-lightbox[hidden] { display:none !important; }
.tarteeb-map-lightbox {
  position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center;
  padding:70px 24px 24px; background:rgba(22,13,29,.92); opacity:0; transition:opacity .2s ease;
}
.tarteeb-map-lightbox.is-open { opacity:1; }
.tarteeb-map-lightbox-scroll {
  width:100%; height:100%; overflow:auto; display:flex; align-items:flex-start; justify-content:flex-start;
  -webkit-overflow-scrolling:touch; border-radius:12px;
}
.tarteeb-map-lightbox-scroll img {
  display:block; width:max(1200px,92vw); max-width:none; height:auto; margin:auto;
  background:#f5f1f8; border-radius:12px; box-shadow:0 18px 60px rgba(0,0,0,.28);
}
.tarteeb-map-lightbox-close {
  position:absolute; top:16px; right:18px; z-index:2; width:42px; height:42px;
  border:1px solid rgba(255,255,255,.28); border-radius:999px; background:rgba(255,255,255,.1);
  color:#fff; font-size:30px; line-height:1; cursor:pointer;
}
body.tarteeb-map-open { overflow:hidden; }

@media (max-width:900px) {
  .tarteeb-team-item { max-width:450px; margin-inline:auto; }
}
@media (max-width:620px) {
  .tarteeb-team-item { max-width:100%; }
  .tarteeb-team-item .tarteeb-team-bio-panel { padding:18px 18px; }
  .tarteeb-team-item .tarteeb-team-bio-panel .tarteeb-wp-content { font-size:13px; }
  .tarteeb-about9-map-zoom-label { right:10px; bottom:10px; min-height:32px; font-size:10px; }
  [dir="rtl"] .tarteeb-about9-map-zoom-label { right:auto; left:10px; }
  .tarteeb-map-lightbox { padding:60px 12px 12px; }
  .tarteeb-map-lightbox-scroll img { width:1100px; }
}
@media (prefers-reduced-motion:reduce) {
  .tarteeb-about9-map-button > img,.tarteeb-map-lightbox { transition:none !important; }
}


/* -------------------------------------------------------------------------
 * v11 — editable accreditation / membership logos
 * ---------------------------------------------------------------------- */
.tarteeb-footer-membership-logos {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px 28px;
}
.tarteeb-footer-membership-item {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:70px;
  min-height:42px;
  text-decoration:none;
  transition:opacity .2s ease, transform .2s ease;
}
.tarteeb-footer-membership-item:hover {
  opacity:1;
  transform:translateY(-2px);
}
.tarteeb-footer-membership-item.has-logo img {
  display:block;
  width:auto;
  height:auto;
  max-width:155px;
  max-height:42px;
  object-fit:contain;
  opacity:.78;
  filter:brightness(0) invert(1);
  transition:opacity .2s ease;
}
.tarteeb-footer-membership-item.has-logo:hover img { opacity:1; }
.tarteeb-footer-membership-item.is-fallback {
  min-height:auto;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  color:rgba(255,255,255,.62);
}
.tarteeb-footer-membership-fallback {
  font-size:9px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.12em;
}
@media (max-width:782px) {
  .tarteeb-footer-membership-logos { gap:16px 20px; }
  .tarteeb-footer-membership-item.has-logo img { max-width:120px; max-height:34px; }
}
@media (max-width:480px) {
  .tarteeb-footer-membership-logos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .tarteeb-footer-membership-item { width:100%; }
  .tarteeb-footer-membership-item.has-logo img { max-width:130px; max-height:36px; }
}
