/* ════════════════════════════════════════════════════════════════════
   MAIN.CSS — الإدارة العامة للتدرب الإلكتروني
   ملف موحد يستبدل: style.css · style_sub_page.css · service.css
                    services.css · FAQs.css · error_style.css
   ════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
══════════════════════════════════════════════════════════════════ */
:root {
  /* Brand */
  --brand:        #1B8354;
  --brand-dark:   #14573A;
  --brand-darker: #0D3D28;
  --brand-light:  #E8F5EE;
  --brand-mid:    #2EA06A;
  --brand-25:     #F7FDF9;

  /* Neutral */
  --neutral-900:  #111928;
  --neutral-800:  #1F2A37;
  --neutral-700:  #374151;
  --neutral-600:  #4B5563;
  --neutral-500:  #6B7280;
  --neutral-400:  #9CA3AF;
  --neutral-300:  #D1D5DB;
  --neutral-200:  #E5E7EB;
  --neutral-100:  #F3F4F6;
  --neutral-50:   #F9FAFB;
  --white:        #FFFFFF;

  /* Semantic */
  --text-default: #161616;
  --border-color: #D2D6DB;
  --footer-bg:    #074D31;
  --danger:       #AF0818;
  --warning:      #FFC107;
  --info:         #339EEC;

  /* Typography */
  --font:    'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
  --fs-xs:   .75rem;
  --fs-sm:   .875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  3rem;

  /* Radius */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.14);

  /* Layout */
  --nav-h: 72px;
}

/* ══════════════════════════════════════════════════════════════════
   2. RESET
══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; }
body   {
  font-family: var(--font);
  font-size:   var(--fs-base);
  color:       var(--neutral-800);
  background:  var(--white);
  direction:   rtl;
  line-height: 1.6;
}
a      { color: inherit; text-decoration: none; }
img    { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ══════════════════════════════════════════════════════════════════
   3. LAYOUT
══════════════════════════════════════════════════════════════════ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 80px; }
@media (max-width: 1024px) { .container { padding: 0 40px; } }
@media (max-width:  640px) { .container { padding: 0 16px; } }

/* ══════════════════════════════════════════════════════════════════
   4. BUTTONS
══════════════════════════════════════════════════════════════════ */
.btn {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  padding:       10px 20px;
  font-family:   var(--font);
  font-size:     var(--fs-sm);
  font-weight:   600;
  border-radius: var(--r-pill);
  border:        2px solid transparent;
  cursor:        pointer;
  transition:    all .2s ease;
  white-space:   nowrap;
}
.btn-primary   { background: var(--brand);     color: var(--white); border-color: var(--brand);     }
.btn-primary:hover   { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline   { background: transparent;      color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover   { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-secondary { background: transparent;      color: var(--brand); border-color: var(--brand);     }
.btn-secondary:hover { background: var(--brand-light); }
.btn-ghost     { background: transparent;      color: var(--neutral-700); border-color: var(--neutral-300); }
.btn-ghost:hover     { background: var(--neutral-100); }

/* DGA primary button (error page / full-size) */
.dga-btn-primary {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  padding:         14px 24px;
  font-family:     var(--font);
  font-size:       var(--fs-base);
  font-weight:     600;
  line-height:     24px;
  background:      var(--brand);
  color:           #fff;
  border:          none;
  border-radius:   var(--r-pill);
  text-decoration: none;
  transition:      background .2s;
  white-space:     nowrap;
}
.dga-btn-primary:hover { background: var(--brand-dark); }

/* ══════════════════════════════════════════════════════════════════
   5. TOP UTILITY BAR
══════════════════════════════════════════════════════════════════ */
.top-bar {
  background:    var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  padding:       8px 0;
  font-size:     var(--fs-xs);
}
.top-bar .container     { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-bar__info          { display: flex; align-items: center; gap: 20px; }
.top-bar__item          { display: flex; align-items: center; gap: 6px; color: var(--neutral-500); font-size: var(--fs-xs); }
.top-bar__item svg      { width: 14px; height: 14px; flex-shrink: 0; }
.top-bar__actions       { display: flex; align-items: center; gap: 4px; }
.a11y-btn {
  width: 32px; height: 32px;
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  background:      transparent;
  border:          1px solid var(--neutral-200);
  border-radius:   var(--r-md);
  cursor:          pointer;
  color:           var(--neutral-500);
  transition:      all .2s;
}
.a11y-btn:hover  { background: var(--neutral-200); color: var(--brand); }
.a11y-btn svg    { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════════════════════
   6. NAV HEADER
══════════════════════════════════════════════════════════════════ */
.nav-header {
  background:    var(--white);
  border-bottom: 1px solid var(--neutral-200);
  position:      sticky;
  top:           0;
  z-index:       200;
  box-shadow:    var(--shadow-sm);
}
.nav-header .container {
  height:          var(--nav-h);
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             16px;
  position:        relative;
}
.nav-logo img { height: 52px; width: auto; }
.nav-menu {
  display:         flex;
  align-items:     center;
  gap:             4px;
  flex:            1;
  justify-content: center;
}
.nav-link {
  display:       flex;
  align-items:   center;
  gap:           4px;
  padding:       8px 12px;
  font-size:     var(--fs-sm);
  font-weight:   500;
  color:         var(--neutral-700);
  border-radius: var(--r-md);
  transition:    all .2s;
  white-space:   nowrap;
}
.nav-link:hover,
.nav-link.active    { color: var(--brand); background: var(--brand-light); }
.nav-link svg       { width: 14px; height: 14px; opacity: .6; }
.nav-actions        { display: flex; align-items: center; gap: 8px; }
.nav-action-btn {
  display:       inline-flex;
  align-items:   center;
  gap:           6px;
  padding:       8px 14px;
  font-size:     var(--fs-xs);
  font-weight:   500;
  color:         var(--neutral-600);
  border:        1px solid var(--neutral-200);
  border-radius: var(--r-pill);
  background:    transparent;
  cursor:        pointer;
  transition:    all .2s;
  font-family:   var(--font);
}
.nav-action-btn:hover          { background: var(--neutral-100); color: var(--brand); border-color: var(--brand); }
.nav-action-btn svg            { width: 15px; height: 15px; }

.hamburger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  padding:        8px;
  cursor:         pointer;
  background:     transparent;
  border:         1px solid var(--neutral-200);
  border-radius:  var(--r-md);
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--neutral-700); border-radius: 2px; }

.mobile-menu {
  display:    none;
  background: var(--white);
  border-top: 1px solid var(--neutral-200);
  padding:    12px 0;
  position:   absolute;
  width:      100%;
  left:       0;
  top:        100%;
  box-shadow: var(--shadow-md);
  z-index:    300;
}
.mobile-menu.open             { display: block; }
.mobile-menu .nav-link        { padding: 12px 20px; border-radius: 0; width: 100%; }

@media (max-width: 1024px) { .nav-menu { display: none; } .hamburger { display: flex; } }

/* ══════════════════════════════════════════════════════════════════
   7. SHARED COMPONENTS
══════════════════════════════════════════════════════════════════ */

/* ── Divider ── */
.dga-divider { height: 3px; background: var(--brand); }

/* ── Scroll to top ── */
.scroll-top {
  position:      fixed;
  bottom:        28px;
  left:          28px;
  width: 44px; height: 44px;
  background:    var(--brand);
  color:         var(--white);
  border:        none;
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  cursor:        pointer;
  box-shadow:    var(--shadow-md);
  opacity:       0;
  pointer-events: none;
  transition:    opacity .3s, background .2s;
  z-index:       999;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover   { background: var(--brand-dark); }
.scroll-top svg     { width: 20px; height: 20px; }

/* ── Breadcrumb (sub-page DGA template) ── */
.breadcrumb {
  display:     flex;
  align-items: center;
  gap:         8px;
  font-size:   var(--fs-sm);
  margin-bottom: 24px;
  flex-wrap:   wrap;
}
.breadcrumb__item       { color: var(--brand); font-weight: 500; }
.breadcrumb__item:hover { text-decoration: underline; }
.breadcrumb__sep        { color: var(--neutral-400); font-size: .8rem; }
.breadcrumb__current    { color: var(--neutral-500); }

/* ── Tags / badges ── */
.tag       { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag-badge {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  height:          24px;
  padding:         0 8px;
  font-size:       12px;
  font-weight:     500;
  border-radius:   4px;
  white-space:     nowrap;
  font-family:     var(--font);
}
.tag-info    { color: #1849A9; border: 1px solid #B2DDFF; background: #EFF8FF; }
.tag-success { color: #085D3A; border: 1px solid #ABEFC6; background: #ECFDF3; }
.tag-neutral { color: #1F2A37; border: 1px solid var(--neutral-200); background: var(--neutral-50); }

/* ── Last modified ── */
.last-modified {
  font-size:   var(--fs-xs);
  color:       var(--neutral-400);
  text-align:  left;
  padding-top: 24px;
  border-top:  1px solid var(--neutral-200);
}

/* ── No results ── */
.no-results {
  display:     none;
  grid-column: 1 / -1;
  text-align:  center;
  padding:     48px 0;
  color:       var(--neutral-500);
  font-size:   var(--fs-md);
}
.no-results.visible { display: block; }
.no-results svg     { width: 48px; height: 48px; margin: 0 auto 16px; opacity: .4; }
.no-results p       { font-size: var(--fs-md); }

/* ══════════════════════════════════════════════════════════════════
   8. FOOTER
══════════════════════════════════════════════════════════════════ */
.footer { background: var(--footer-bg); color: rgba(255,255,255,.85); }
.footer-top { padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid {
  display:               grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap:                   48px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width:  640px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.footer-brand__logo { height: 56px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand__desc { font-size: var(--fs-sm); color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 20px; }
.footer-social      { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background:    rgba(255,255,255,.1);
  border:        1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  color:         rgba(255,255,255,.85);
  font-size:     .85rem;
  transition:    all .2s;
  text-decoration: none;
}
.social-btn:hover { background: rgba(255,255,255,.25); color: var(--white); }
.footer-col__title {
  font-size:      var(--fs-xs);
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color:          var(--white);
  margin-bottom:  16px;
}
.footer-links              { display: flex; flex-direction: column; gap: 10px; }
.footer-links a            { font-size: var(--fs-sm); color: rgba(255,255,255,.7); transition: color .2s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover      { color: var(--white); }
.footer-links a::before    { content: '›'; color: var(--brand-mid); font-size: 1rem; }
.footer-bottom             { padding: 20px 0; }
.footer-bottom .container  { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copyright          { font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
.footer-basic-links        { display: flex; gap: 16px; }
.footer-basic-links a      { font-size: var(--fs-xs); color: rgba(255,255,255,.55); transition: color .2s; }
.footer-basic-links a:hover{ color: var(--white); }

/* ══════════════════════════════════════════════════════════════════
   9. INDEX PAGE
══════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  min-height: 491px;
  display:    flex;
  align-items: center;
  position:   relative;
  background:
    linear-gradient(0deg, rgba(9,42,30,.88) 0%, rgba(9,42,30,.72) 100%),
    url('https://elearning.edu.sa/img/1.jpg') center / cover no-repeat;
}
.hero .container  { padding-top: 0; padding-bottom: 0; }
.hero__content    { max-width: 640px; padding: 60px 0; }
.hero__title      { font-size: var(--fs-4xl); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.hero__desc       { font-size: var(--fs-lg); color: rgba(255,255,255,.88); line-height: 1.7; margin-bottom: 32px; }
@media (max-width: 768px) {
  .hero { min-height: 380px; }
  .hero__title { font-size: var(--fs-2xl); }
  .hero__desc  { font-size: var(--fs-base); }
}

/* ── Section shared ── */
.section       { padding: 56px 0; }
.section-title { font-size: var(--fs-2xl); font-weight: 700; color: var(--neutral-900); margin-bottom: 12px; }
.section-desc  { font-size: var(--fs-md); color: var(--neutral-500); max-width: 680px; line-height: 1.7; margin-bottom: 40px; }

/* ── Stats (index) ── */
.stats-section  { background: var(--neutral-50); border-top: 1px solid var(--neutral-200); border-bottom: 1px solid var(--neutral-200); }
.stats-grid     { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; gap: 24px; } }
.stat-item      { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; }
.stat-icon      { width: 80px; height: 80px; background: var(--brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 4px 16px rgba(27,131,84,.25); }
.stat-icon svg  { width: 36px; height: 36px; color: var(--white); }
.stat-number    { font-size: var(--fs-4xl); font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.stat-label     { font-size: var(--fs-md); color: var(--neutral-600); font-weight: 500; }

/* ── Service cards (index grid) ── */
.services-section  { background: var(--neutral-50); }
.services-grid {
  display:               grid;
  grid-template-columns: repeat(4,1fr);
  gap:                   16px;
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:  768px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:  480px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background:     var(--white);
  border:         1px solid var(--neutral-200);
  border-radius:  var(--r-xl);
  padding:        24px 20px;
  display:        flex;
  flex-direction: column;
  gap:            12px;
  transition:     box-shadow .25s, transform .25s, border-color .25s;
  cursor:         pointer;
  text-decoration: none;
  color:          inherit;
}
.service-card:hover           { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--brand); }
.service-card__icon           { width: 48px; height: 48px; background: var(--brand-light); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-card__icon svg       { width: 24px; height: 24px; color: var(--brand); }
.service-card__title          { font-size: var(--fs-md); font-weight: 700; color: var(--neutral-900); line-height: 1.4; }
.service-card__desc           { font-size: var(--fs-sm); color: var(--neutral-500); line-height: 1.6; flex: 1; }
.service-card__link           { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--brand); margin-top: 4px; }
.service-card__link svg       { width: 14px; height: 14px; }
.service-card:hover .service-card__link { color: var(--brand-dark); }

/* ── Award / News cards ── */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:  640px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--r-xl); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.news-card:hover           { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card__img            { width: 100%; height: 200px; object-fit: cover; display: block; background: var(--neutral-200); }
.news-card__body           { padding: 20px; }
.news-card__badge          { display: inline-block; padding: 3px 10px; background: var(--brand-light); color: var(--brand-dark); font-size: var(--fs-xs); font-weight: 600; border-radius: var(--r-pill); margin-bottom: 10px; }
.news-card__title          { font-size: var(--fs-lg); font-weight: 700; color: var(--neutral-900); margin-bottom: 10px; line-height: 1.4; }
.news-card__desc           { font-size: var(--fs-sm); color: var(--neutral-500); line-height: 1.6; margin-bottom: 16px; }
.news-card__link           { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--brand); }
.news-card__link svg       { width: 14px; height: 14px; }

/* ── Partners ── */
.partners-section  { background: var(--neutral-50); border-top: 1px solid var(--neutral-200); border-bottom: 1px solid var(--neutral-200); }
.partners-track    { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.partner-card      { background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--r-xl); padding: 20px 32px; display: flex; align-items: center; justify-content: center; min-width: 140px; min-height: 88px; transition: box-shadow .2s, border-color .2s; }
.partner-card:hover{ box-shadow: var(--shadow-md); border-color: var(--brand); }
.partner-card img  { max-height: 52px; max-width: 120px; object-fit: contain; }

/* ── Feedback banner (index) ── */
.feedback-section  { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); padding: 48px 0; }
.feedback-inner    { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
@media (max-width: 640px) { .feedback-inner { flex-direction: column; text-align: center; } }
.feedback-inner h2 { font-size: var(--fs-xl); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.feedback-inner p  { font-size: var(--fs-base); color: rgba(255,255,255,.85); }
.feedback-stars    { display: flex; gap: 8px; margin-top: 12px; }
.star-btn {
  width: 40px; height: 40px;
  background:    rgba(255,255,255,.15);
  border:        1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  cursor:        pointer;
  color:         var(--white);
  font-size:     1.1rem;
  transition:    all .2s;
}
.star-btn:hover { background: rgba(255,255,255,.3); }

/* ── Vision & Mission ── */
.vision-section { background: var(--white); }
.vision-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
@media (max-width: 768px) { .vision-grid { grid-template-columns: 1fr; } }
.vision-card              { border-radius: var(--r-xl); padding: 36px 32px; position: relative; overflow: hidden; }
.vision-card--green       { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); color: var(--white); }
.vision-card--light       { background: var(--brand-light); border: 1px solid rgba(27,131,84,.2); }
.vision-card__label       { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: 12px; }
.vision-card__title       { font-size: var(--fs-xl); font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.vision-card--green .vision-card__title { color: var(--white); }
.vision-card--light .vision-card__title { color: var(--brand-dark); }
.vision-card__text        { font-size: var(--fs-base); line-height: 1.8; }
.vision-card--green .vision-card__text  { color: rgba(255,255,255,.88); }
.vision-card--light .vision-card__text  { color: var(--neutral-700); }
.vision-card__deco        { position: absolute; bottom: -20px; left: -20px; width: 120px; height: 120px; background: rgba(255,255,255,.06); border-radius: 50%; }

/* ── Services tabs (index filter) ── */
.services-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.services-tab  {
  padding:       8px 20px;
  font-size:     var(--fs-sm);
  font-weight:   600;
  border-radius: var(--r-pill);
  border:        2px solid var(--neutral-200);
  background:    var(--white);
  color:         var(--neutral-600);
  cursor:        pointer;
  transition:    all .2s;
  font-family:   var(--font);
}
.services-tab:hover  { border-color: var(--brand); color: var(--brand); }
.services-tab.active { background: var(--brand); border-color: var(--brand); color: var(--white); }


/* ── Contact (index) ── */
.contact-section  { background: var(--neutral-50); }
.contact-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info     { display: flex; flex-direction: column; gap: 20px; }
.contact-item     { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--r-xl); transition: box-shadow .2s, border-color .2s; }
.contact-item:hover         { box-shadow: var(--shadow-md); border-color: var(--brand); }
.contact-item__icon         { width: 44px; height: 44px; background: var(--brand-light); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item__icon svg     { width: 20px; height: 20px; color: var(--brand); }
.contact-item__label        { font-size: var(--fs-xs); color: var(--neutral-500); margin-bottom: 4px; }
.contact-item__value        { font-size: var(--fs-base); font-weight: 600; color: var(--neutral-900); }
.contact-item__value a      { color: var(--brand); }
.contact-item__value a:hover{ text-decoration: underline; }
.contact-map                { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--neutral-200); box-shadow: var(--shadow-sm); }
.contact-map iframe         { display: block; width: 100%; height: 360px; border: 0; }

/* ── Search overlay (index modal) ── */
.search-overlay {
  position:    fixed;
  inset:       0;
  z-index:     9000;
  display:     none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-overlay.open    { display: flex; }
.search-backdrop        { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.search-overlay .search-box {
  position:      relative;
  z-index:       1;
  background:    var(--white);
  border-radius: var(--r-xl);
  padding:       24px;
  width:         100%;
  max-width:     720px;
  box-shadow:    var(--shadow-lg);
  animation:     slideDown .25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-box__header      { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.search-box__header h3   { font-size: var(--fs-lg); font-weight: 700; color: var(--neutral-900); }
.search-close            { width: 32px; height: 32px; background: var(--neutral-100); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; color: var(--neutral-600); transition: background .2s; }
.search-close:hover      { background: var(--neutral-200); }
.search-input-wrap       { display: flex; align-items: center; gap: 8px; background: var(--neutral-50); border: 2px solid var(--neutral-200); border-radius: var(--r-pill); padding: 10px 18px; transition: border-color .2s; }
.search-input-wrap:focus-within { border-color: var(--brand); }
.search-input-wrap svg   { width: 18px; height: 18px; color: var(--neutral-400); flex-shrink: 0; }
.search-input            { flex: 1; border: none; background: transparent; font-family: var(--font); font-size: var(--fs-base); color: var(--neutral-900); outline: none; direction: rtl; }
.search-input::placeholder { color: var(--neutral-400); }
.search-results          { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.search-result-item      { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--neutral-50); color: var(--neutral-800); font-size: var(--fs-sm); transition: background .2s, color .2s; text-decoration: none; }
.search-result-item:hover{ background: var(--brand-light); color: var(--brand-dark); }
.search-result-item svg  { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

/* ── Animations ── */
.reveal        { opacity: 0; transform: translateY(28px);  transition: opacity .55s ease, transform .55s ease; }
.reveal.visible{ opacity: 1; transform: translateY(0); }
.reveal-left   { opacity: 0; transform: translateX(32px);  transition: opacity .55s ease, transform .55s ease; }
.reveal-right  { opacity: 0; transform: translateX(-32px); transition: opacity .55s ease, transform .55s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── High contrast mode ── */
body.high-contrast {
  --brand:       #00FF88;
  --brand-dark:  #00CC66;
  --brand-light: #001A0D;
  --neutral-900: #FFFFFF;
  --neutral-800: #F0F0F0;
  --neutral-700: #DDDDDD;
  --neutral-500: #BBBBBB;
  --neutral-200: #333333;
  --neutral-100: #1A1A1A;
  --neutral-50:  #111111;
  --white:       #000000;
  background: #000; color: #fff;
}
body.high-contrast .nav-header                           { background: #000; border-color: #333; }
body.high-contrast .service-card, body.high-contrast .news-card { background: #111; border-color: #444; color: #fff; }
body.high-contrast .service-card__title, body.high-contrast .news-card__title { color: #fff; }
body.high-contrast .service-card__desc,  body.high-contrast .news-card__desc  { color: #bbb; }

/* ══════════════════════════════════════════════════════════════════
   10. SUB-PAGE TEMPLATE (award pages, TOC layout)
══════════════════════════════════════════════════════════════════ */

/* ── Page header ── */
.page-header {
  display:        flex;
  flex-direction: column;
  gap:            24px;
  padding-bottom: 32px;
  border-bottom:  1px solid var(--border-color);
  margin-bottom:  32px;
}
.page-header__h1       { font-size: 3rem; font-weight: 700; line-height: 1.25; letter-spacing: -.96px; color: var(--text-default); }
.page-header__subtitle { font-size: 1.125rem; font-weight: 600; line-height: 1.55; color: var(--text-default); }
.page-header__intro    { font-size: 1rem; font-weight: 400; line-height: 1.5; color: var(--text-default); }
@media (max-width: 768px) { .page-header__h1 { font-size: 2rem; } }

/* ── Two-column layout ── */
.content-layout { display: flex; align-items: flex-start; gap: 48px; }
@media (max-width: 768px) { .content-layout { flex-direction: column; } }

/* ── TOC sidebar ── */
.toc {
  width:       260px;
  flex-shrink: 0;
  position:    sticky;
  top:         calc(var(--nav-h) + 24px);
  max-height:  calc(100vh - var(--nav-h) - 48px);
  overflow-y:  auto;
  background:  var(--white);
  border:      1px solid var(--neutral-200);
  border-radius: var(--r-xl);
  padding:     20px;
}
@media (max-width: 768px) { .toc { width: 100%; position: static; max-height: none; } }
.toc__subtitle   { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--neutral-500); margin-bottom: 4px; }
.toc__title      { font-size: var(--fs-sm); font-weight: 700; color: var(--neutral-900); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--neutral-200); }
.toc__list       { display: flex; flex-direction: column; gap: 2px; }
.toc__item       { border-right: 2px solid transparent; padding-right: 10px; transition: border-color .2s; }
.toc__item.active{ border-right-color: var(--brand); }
.toc__item > a   { display: block; padding: 6px 0; font-size: var(--fs-sm); color: var(--neutral-500); transition: color .2s; line-height: 1.4; }
.toc__item > a:hover, .toc__item.active > a { color: var(--brand-dark); font-weight: 600; }
.toc__children   { display: flex; flex-direction: column; gap: 2px; padding-right: 12px; margin-top: 2px; }
.toc__child      { border-right: 2px solid transparent; padding-right: 8px; }
.toc__child.active { border-right-color: var(--brand-mid); }
.toc__child a    { display: block; padding: 5px 0; font-size: var(--fs-xs); color: var(--neutral-400); transition: color .2s; }
.toc__child a:hover, .toc__child.active a { color: var(--brand); }

/* ── Content column ── */
.content-col     { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.content-article { display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); }
.content-article:last-child { border-bottom: none; padding-bottom: 0; }
.content-h2      { font-size: 1.875rem; font-weight: 700; line-height: 1.267; color: var(--text-default); }
.content-h3      { font-size: 1.5rem;   font-weight: 700; line-height: 1.333; color: var(--text-default); }
.content-p       { font-size: 1rem;     font-weight: 400; line-height: 1.5;   color: var(--text-default); }

/* ── Image placeholder ── */
.content-img-placeholder {
  width:         100%;
  height:        380px;
  background:    var(--neutral-100);
  border-radius: var(--r-xl);
  display:       flex;
  align-items:   center;
  justify-content: center;
  flex-direction: column;
  gap:           12px;
  color:         var(--neutral-400);
  border:        2px dashed var(--neutral-300);
  font-size:     var(--fs-sm);
}
.content-img-placeholder svg { width: 40px; height: 40px; }

/* ── Content lists ── */
.content-list          { display: flex; flex-direction: column; gap: 8px; padding-right: 4px; }
.content-list-item     { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-base); line-height: 1.5; color: var(--text-default); }
.content-list-item .num    { font-weight: 700; color: var(--brand-dark); min-width: 28px; flex-shrink: 0; }
.content-list-item .bullet { color: var(--brand); font-weight: 700; min-width: 16px; flex-shrink: 0; }
.content-list-item .check  { color: var(--brand); min-width: 20px; flex-shrink: 0; }
.content-list-item .check svg { width: 18px; height: 18px; }
/* ── Inline link ── */
.content-link       { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: var(--fs-md); transition: color .2s; }
.content-link:hover { color: var(--brand-dark); text-decoration: underline; }
.content-link svg   { width: 18px; height: 18px; }

/* ── Callout ── */
.callout         { background: var(--brand-light); border-right: 4px solid var(--brand); border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: 16px 20px; font-size: var(--fs-base); color: var(--brand-dark); line-height: 1.6; }
.callout strong  { font-weight: 700; }

/* ══════════════════════════════════════════════════════════════════
   11. FAQ PAGE
══════════════════════════════════════════════════════════════════ */

/* ── Page hero ── */
.page-hero    { background: var(--brand-25); padding: 40px 0; border-bottom: 1px solid #D9F0E4; }
.page-hero h1 { font-size: var(--fs-4xl); font-weight: 600; color: #161616; line-height: 1.25; letter-spacing: -.96px; margin-bottom: 12px; }
.page-hero p  { font-size: var(--fs-base); color: #161616; max-width: 640px; }
@media (max-width: 768px) { .page-hero h1 { font-size: var(--fs-2xl); } }

/* ── Search row (FAQ inline search) ── */
.search-row             { padding: 32px 0 0; }
.search-row .container  { display: flex; align-items: center; gap: 12px; }
.search-row .search-box {
  flex:          1;
  max-width:     680px;
  display:       flex;
  align-items:   center;
  gap:           10px;
  border:        1.5px solid var(--neutral-300);
  border-radius: var(--r-pill);
  padding:       10px 18px;
  background:    var(--white);
  transition:    border-color .2s;
}
.search-row .search-box:focus-within    { border-color: var(--brand); }
.search-row .search-box svg             { width: 18px; height: 18px; color: var(--neutral-400); flex-shrink: 0; }
.search-row .search-box input           { flex: 1; border: none; outline: none; font-family: var(--font); font-size: var(--fs-sm); color: var(--neutral-800); background: transparent; }
.search-row .search-box input::placeholder { color: var(--neutral-400); }
.filter-btn {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  padding:       10px 20px;
  font-size:     var(--fs-sm);
  font-weight:   600;
  color:         var(--neutral-700);
  border:        1.5px solid var(--neutral-300);
  border-radius: var(--r-pill);
  background:    var(--white);
  transition:    all .2s;
}
.filter-btn:hover { background: var(--neutral-100); border-color: var(--neutral-400); }
.filter-btn svg   { width: 16px; height: 16px; }

/* ── Tabs (shared — FAQ + service pages) ── */
.tabs-row  { padding: 32px 0 0; }
.tabs-wrap { display: flex; flex-direction: column; gap: 24px; }
.tabs-list {
  display:       flex;
  align-items:   center;
  gap:           0;
  border-bottom: 2px solid var(--neutral-200);
  overflow-x:    auto;
  overflow-y:    hidden;
}
.tab-btn {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  padding:       12px 20px;
  font-size:     var(--fs-sm);
  font-weight:   500;
  color:         var(--neutral-600);
  background:    transparent;
  border:        none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor:        pointer;
  transition:    all .2s;
  white-space:   nowrap;
  font-family:   var(--font);
}
.tab-btn:hover  { color: var(--brand); background: var(--brand-light); border-radius: var(--r-md) var(--r-md) 0 0; }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.tab-badge {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  min-width:       22px;
  height:          22px;
  padding:         0 6px;
  background:      var(--brand-light);
  color:           var(--brand);
  border-radius:   var(--r-pill);
  font-size:       var(--fs-xs);
  font-weight:     700;
}
.tab-btn.active .tab-badge { background: var(--brand); color: var(--white); }

/* ── FAQ accordions ── */
.faq-section  { padding: 32px 0 40px; }
.faq-group    { display: none; flex-direction: column; gap: 0; }
.faq-group.visible { display: flex; }
.accordion    { border-bottom: 1px solid var(--neutral-200); }
.accordion:first-child { border-top: 1px solid var(--neutral-200); }
.accordion-trigger  { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 0; background: transparent; border: none; text-align: right; cursor: pointer; }
.accordion-title    { font-size: var(--fs-md); font-weight: 600; color: #161616; line-height: 1.5; }
.accordion-icon     { flex-shrink: 0; width: 24px; height: 24px; color: var(--brand); transition: transform .25s ease; }
.accordion.open .accordion-icon { transform: rotate(180deg); }
.accordion-body     { overflow: hidden; max-height: 0; transition: max-height .3s ease, padding .3s ease; }
.accordion.open .accordion-body { max-height: 400px; }
.accordion-content  { padding: 0 0 20px; font-size: var(--fs-base); color: var(--neutral-700); line-height: 1.8; }
@media (max-width: 640px) { .accordion-title { font-size: var(--fs-base); } }

/* ── Contact card (FAQ page) ── */
.contact-card-section { padding: 40px 0; }
.contact-card {
  border:         1px solid var(--neutral-300);
  border-radius:  var(--r-xl);
  padding:        32px;
  background:     var(--white);
  display:        flex;
  flex-direction: column;
  align-items:    flex-start;
  gap:            0;
  max-width:      560px;
}
.contact-card__icon { width: 48px; height: 48px; border-radius: 50%; background: #F3FCF6; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.contact-card h3    { font-size: var(--fs-md); font-weight: 700; color: var(--neutral-800); margin-bottom: 8px; }
.contact-card p     { font-size: var(--fs-base); color: var(--neutral-700); line-height: 1.7; margin-bottom: 24px; }

/* ══════════════════════════════════════════════════════════════════
   12. ERROR PAGE
══════════════════════════════════════════════════════════════════ */
.error-section  {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            64px;
  max-width:      460px;
  margin:         0 auto;
  padding:        80px 16px;
}
.error-content          { text-align: center; margin: 0 41px; }
.error-content h2       { font-size: 24px; font-weight: 600; line-height: 32px; margin-bottom: 16px; color: var(--text-default, #161616); }
.error-content p        { font-size: 18px; font-weight: 400; line-height: 28px; margin-bottom: 32px; color: var(--text-default, #161616); }

/* ══════════════════════════════════════════════════════════════════
   13. SERVICE DETAIL PAGES (service-taqni, content, qm, lms…)
══════════════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.service-main  { max-width: 1280px; width: 100%; margin: 0 auto; overflow: hidden; }
.service-inner { padding-top: 80px; padding-bottom: 0; }
@media (max-width: 1024px) { .service-inner { padding-top: 40px; } }

/* ── Two-column grid ── */
.service-grid {
  display:               grid;
  grid-template-columns: 7fr 5fr;
  gap:                   32px;
  align-items:           start;
  margin-bottom:         40px;
  padding:               0 80px;
}
@media (max-width: 1024px) { .service-grid { grid-template-columns: 1fr; padding: 0 40px; } }
@media (max-width:  640px) { .service-grid { padding: 0 16px; } }

/* ── Content section ── */
.service-section  { margin-top: 8px; display: flex; flex-direction: column; gap: 16px; }
.service-head     { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.service-h1       { font-size: 30px; font-weight: 700; line-height: 38px; color: #161616; flex: 1; }
.service-desc     { font-size: 16px; font-weight: 400; line-height: 24px; color: #161616; }
.service-ext-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: var(--fs-md); font-weight: 600; transition: color .2s; text-decoration: none; }
.service-ext-link:hover { color: var(--brand-dark); text-decoration: underline; }

/* ── Video placeholder ── */
.video-placeholder {
  aspect-ratio:    16/9;
  background:      var(--neutral-50);
  border-radius:   16px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  border:          1px solid var(--neutral-200);
  cursor:          pointer;
  transition:      background .2s;
}
.video-placeholder:hover { background: #F0FDF4; }

/* ── Steps list ── */
.steps-list {
  list-style:     decimal;
  list-style-position: inside;
  color:          var(--brand);
  font-size:      16px;
  line-height:    24px;
  display:        flex;
  flex-direction: column;
  gap:            16px;
}
.steps-list li       { color: var(--brand); }
.steps-list li span  { color: #161616; }

/* ── Sidebar ── */
.service-sidebar {
  border:         1px solid #D2D6DB;
  border-radius:  16px;
  background:     #fff;
  padding:        40px;
  display:        flex;
  flex-direction: column;
}
.sidebar-items          { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.sidebar-item           { display: flex; align-items: flex-start; gap: 8px; }
.sidebar-item__icon     { padding-top: 2px; flex-shrink: 0; }
.sidebar-item__title    { font-size: 16px; font-weight: 700; line-height: 24px; color: #1F2A37; margin: 0; }
.sidebar-item__desc     { font-size: 16px; font-weight: 400; line-height: 24px; color: #1F2A37; margin: 0; }
.sidebar-section-title  { font-size: 18px; font-weight: 700; line-height: 28px; color: #1F2A37; margin: 0 0 8px; }
.sidebar-divider        { height: 1px; background: var(--neutral-200); margin: 24px 0; }
.sidebar-faq-link       { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 16px; text-decoration: none; }
.sidebar-faq-link:hover { text-decoration: underline; }
.sidebar-contact-items  { display: flex; flex-direction: column; gap: 16px; }
.sidebar-contact-item   { display: flex; align-items: flex-start; gap: 8px; }
.sidebar-contact-link   { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 16px; text-decoration: none; }
.sidebar-contact-link:hover { text-decoration: underline; }

/* ── Payment / app store placeholders ── */
.payment-imgs    { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.payment-img-box { border-radius: 6px; width: 62px; height: 43px; background: var(--neutral-100); border: 1px solid var(--neutral-200); display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--neutral-400); text-align: center; line-height: 1.2; padding: 2px; }
.app-imgs        { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-img-box     { border-radius: 6px; width: 120px; height: 40px; background: var(--neutral-800); border: 1px solid var(--neutral-700); display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; gap: 6px; }

/* ── Related services / slider ── */
.related-section        { background: #F7FDF9; padding: 40px 0; }
.related-section__inner { padding: 0 80px; }
@media (max-width: 1024px) { .related-section__inner { padding: 0 40px; } }
@media (max-width:  640px) { .related-section__inner { padding: 0 16px; } }
.related-head    { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 18px; }
.related-h2      { font-size: 30px; font-weight: 700; line-height: 38px; color: #161616; }
.related-desc    { font-size: 16px; line-height: 24px; color: #161616; max-width: 70%; margin-bottom: 24px; }
@media (max-width: 768px) { .related-desc { max-width: 100%; } }

.slider-wrap      { margin-top: 24px; }
.slider-viewport  { overflow: hidden; }
.slider-track     { display: flex; gap: 20px; padding: 0 80px 8px; transition: transform .4s ease; }
@media (max-width: 1024px) { .slider-track { padding: 0 40px 8px; } }
@media (max-width:  640px) { .slider-track { padding: 0 16px 8px; } }
.slider-slide     { flex: 0 0 calc(25% - 15px); min-width: 0; }
@media (max-width: 1200px) { .slider-slide { flex: 0 0 calc(38% - 10px); } }
@media (max-width:  900px) { .slider-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width:  500px) { .slider-slide { flex: 0 0 calc(90% - 10px); } }

.svc-card         { padding: 16px; border-radius: 16px; border: 1px solid #D2D6DB; background: #fff; display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.svc-card__icon   { background: #F3FCF6; border-radius: 50%; padding: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; flex-shrink: 0; }
.svc-card__title  { font-size: 18px; font-weight: 700; line-height: 28px; color: #1F2A37; margin-bottom: 8px; }
.svc-card__desc   { font-size: 16px; line-height: 24px; color: #1F2A37; margin-bottom: 24px; flex: 1; }
.svc-card__tags   { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.svc-card__actions{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.slider-dots      { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.slider-dot       { width: 16px; height: 16px; border-radius: 50%; background: var(--neutral-200); border: none; padding: 0; cursor: pointer; transition: background .2s; flex-shrink: 0; }
.slider-dot.active{ background: var(--brand); }

/* ── Feedback / rating (service pages) ── */
.feedback-card         { padding: 16px; border-radius: 16px; border: 1px solid #D2D6DB; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.feedback-card__icon   { background: #F3FCF6; border-radius: 50%; padding: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.feedback-card__title  { font-size: 18px; font-weight: 700; line-height: 28px; color: #1F2A37; margin-bottom: 8px; }
.feedback-card__desc   { font-size: 16px; line-height: 24px; color: #1F2A37; margin-bottom: 24px; }
.rating-section        { padding: 40px 80px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
@media (max-width: 1024px) { .rating-section { padding: 40px; } }
.rating-section__title { font-size: 24px; font-weight: 700; color: #1F2A37; }
.rating-section__sub   { font-size: 16px; color: var(--neutral-500); }
.rating-stars          { display: flex; gap: 8px; }
.rating-star           { font-size: 36px; color: var(--neutral-300); cursor: pointer; background: none; border: none; padding: 4px; transition: color .15s, transform .15s; line-height: 1; }
.rating-star:hover, .rating-star.active { color: #F59E0B; transform: scale(1.15); }
.rating-actions        { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.useful-section        { padding: 32px 80px; border-top: 1px solid var(--neutral-200); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1024px) { .useful-section { padding: 32px 40px; } }
@media (max-width:  640px) { .useful-section { padding: 24px 16px; flex-direction: column; align-items: flex-start; } }
.useful-section__text  { font-size: 16px; color: #161616; }
.useful-section__btns  { display: flex; gap: 12px; }

.last-modified-row     { font-size: 14px; color: #161616; text-align: end; padding: 16px 80px; }
@media (max-width: 1024px) { .last-modified-row { padding: 16px 40px; } }
@media (max-width:  640px) { .last-modified-row { padding: 16px; } }

/* ── Shared service-page component styles ── */
.system-cta,
.download-cta {
  background:    linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 100%);
  border-radius: var(--r-xl);
  padding:       32px 40px;
  display:       flex;
  align-items:   center;
  justify-content: space-between;
  gap:           24px;
  flex-wrap:     wrap;
  margin-bottom: 32px;
}
.system-cta__text h3,
.download-cta__text h3 { font-size: var(--fs-xl); font-weight: 700; color: #fff; margin-bottom: 6px; }
.system-cta__text p,
.download-cta__text p  { font-size: var(--fs-sm); color: rgba(255,255,255,.8); }
.system-cta__btn,
.download-cta__btn {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  padding:         14px 28px;
  background:      #fff;
  color:           var(--brand-dark);
  font-weight:     700;
  font-size:       var(--fs-base);
  border-radius:   var(--r-pill);
  text-decoration: none;
  white-space:     nowrap;
  transition:      transform .2s, box-shadow .2s;
  font-family:     var(--font);
}
.system-cta__btn:hover,
.download-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.system-cta__btn svg,
.download-cta__btn svg   { width: 18px; height: 18px; flex-shrink: 0; }

.feature-grid {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   16px;
  margin-top:            8px;
}
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item           { display: flex; align-items: flex-start; gap: 12px; background: var(--neutral-50); border: 1px solid var(--neutral-200); border-radius: var(--r-lg); padding: 16px; }
.feature-item__icon     { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--brand-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
.feature-item__icon svg { width: 20px; height: 20px; }
.feature-item__title    { font-size: var(--fs-sm); font-weight: 700; color: var(--neutral-900); margin-bottom: 4px; }
.feature-item__desc     { font-size: var(--fs-xs); color: var(--neutral-500); line-height: 1.5; }

.stats-row              { display: flex; border: 1px solid var(--neutral-200); border-radius: var(--r-xl); overflow: hidden; margin-top: 8px; }
.stat-box               { flex: 1; text-align: center; padding: 20px 12px; border-left: 1px solid var(--neutral-200); }
.stat-box:last-child    { border-left: none; }
.stat-box__val          { font-size: var(--fs-2xl); font-weight: 700; color: var(--brand); }
.stat-box__lbl          { font-size: var(--fs-xs); color: var(--neutral-500); margin-top: 4px; }
@media (max-width: 500px) {
  .stats-row            { flex-direction: column; }
  .stat-box             { border-left: none; border-top: 1px solid var(--neutral-200); }
  .stat-box:first-child { border-top: none; }
}

/* Content-type cards (service-content) */
.content-types { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 600px) { .content-types { grid-template-columns: 1fr 1fr; } }
.content-type-card            { border: 1px solid var(--neutral-200); border-radius: var(--r-lg); padding: 16px 12px; text-align: center; background: var(--neutral-50); transition: border-color .2s, background .2s; }
.content-type-card:hover      { border-color: var(--brand); background: var(--brand-light); }
.content-type-card svg        { width: 32px; height: 32px; color: var(--brand); margin: 0 auto 8px; display: block; }
.content-type-card span       { font-size: var(--fs-xs); font-weight: 600; color: var(--neutral-700); }

/* Question-type cards (service-qm) */
.qtype-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 640px) { .qtype-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 400px) { .qtype-grid { grid-template-columns: 1fr; } }
.qtype-card           { border: 1px solid var(--neutral-200); border-radius: var(--r-lg); padding: 16px 12px; text-align: center; background: var(--neutral-50); transition: border-color .2s, background .2s; cursor: default; }
.qtype-card:hover     { border-color: var(--brand); background: var(--brand-light); }
.qtype-card__icon     { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--brand); }
.qtype-card__icon svg { width: 20px; height: 20px; }
.qtype-card__name     { font-size: var(--fs-xs); font-weight: 700; color: var(--neutral-800); display: block; margin-bottom: 4px; }
.qtype-card__desc     { font-size: 11px; color: var(--neutral-500); line-height: 1.4; }
.anticheat-list       { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.anticheat-item       { display: flex; align-items: center; gap: 10px; background: var(--neutral-50); border: 1px solid var(--neutral-200); border-radius: var(--r-md); padding: 12px 16px; font-size: var(--fs-sm); color: var(--neutral-700); }
.anticheat-item svg   { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* Capability cards + user tabs (service-lms) */
.capability-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 700px) { .capability-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px) { .capability-grid { grid-template-columns: 1fr; } }
.cap-card           { border: 1px solid var(--neutral-200); border-radius: var(--r-lg); padding: 20px 14px; text-align: center; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.cap-card:hover     { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.cap-card__icon     { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--brand); }
.cap-card__icon svg { width: 24px; height: 24px; }
.cap-card__name     { font-size: var(--fs-sm); font-weight: 700; color: var(--neutral-800); margin-bottom: 6px; }
.cap-card__desc     { font-size: 11px; color: var(--neutral-500); line-height: 1.5; }
.user-tabs          { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.user-tab           { padding: 8px 20px; border-radius: var(--r-pill); border: 1px solid var(--neutral-200); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; font-family: var(--font); background: var(--white); color: var(--neutral-600); transition: all .2s; }
.user-tab.active    { background: var(--brand); color: #fff; border-color: var(--brand); }
.user-panel         { display: none; }
.user-panel.active  { display: block; }

/* Certificate cards + verify box (service-certigate) */
.cert-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-card           { border: 1px solid var(--neutral-200); border-radius: var(--r-lg); padding: 20px; background: var(--white); display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, box-shadow .2s; }
.cert-card:hover     { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.cert-card__header   { display: flex; align-items: center; gap: 12px; }
.cert-card__logo     { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--brand); text-align: center; line-height: 1.2; }
.cert-card__name     { font-size: var(--fs-sm); font-weight: 700; color: var(--neutral-900); }
.cert-card__org      { font-size: var(--fs-xs); color: var(--neutral-500); margin-top: 2px; }
.cert-card__desc     { font-size: var(--fs-xs); color: var(--neutral-600); line-height: 1.55; }
.cert-card__tags     { display: flex; gap: 6px; flex-wrap: wrap; }
.verify-box          { background: var(--brand-light); border: 1px solid var(--brand); border-radius: var(--r-lg); padding: 20px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.verify-box__icon    { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.verify-box__icon svg{ width: 24px; height: 24px; }
.verify-box__text h4 { font-size: var(--fs-base); font-weight: 700; color: var(--brand-dark); margin-bottom: 4px; }
.verify-box__text p  { font-size: var(--fs-sm); color: var(--brand-dark); opacity: .85; }
.verify-box__btn     { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: var(--brand); color: #fff; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; font-family: var(--font); transition: background .2s; margin-right: auto; }
.verify-box__btn:hover { background: var(--brand-dark); }

/* Chapter list + audience cards (service-guide) */
.chapter-list          { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.chapter-item          { display: flex; align-items: flex-start; gap: 16px; border: 1px solid var(--neutral-200); border-radius: var(--r-lg); padding: 16px 20px; background: var(--white); transition: border-color .2s, background .2s; }
.chapter-item:hover    { border-color: var(--brand); background: var(--brand-light); }
.chapter-item__num     { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: var(--fs-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chapter-item__title   { font-size: var(--fs-sm); font-weight: 700; color: var(--neutral-900); margin-bottom: 4px; }
.chapter-item__desc    { font-size: var(--fs-xs); color: var(--neutral-500); line-height: 1.5; }
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 640px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card           { border: 1px solid var(--neutral-200); border-radius: var(--r-lg); padding: 20px 14px; text-align: center; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.audience-card:hover     { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.audience-card__icon     { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--brand); }
.audience-card__icon svg { width: 24px; height: 24px; }
.audience-card__name     { font-size: var(--fs-sm); font-weight: 700; color: var(--neutral-800); margin-bottom: 6px; }
.audience-card__desc     { font-size: 11px; color: var(--neutral-500); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════════
   14. SERVICES CATALOG PAGE (services.html)
══════════════════════════════════════════════════════════════════ */
.svc-hero {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 60%, var(--brand-mid) 100%);
  color:      #fff;
  padding:    64px 0 48px;
  position:   relative;
  overflow:   hidden;
}
.svc-hero::after {
  content:  '';
  position: absolute;
  inset:    0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/G%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.svc-hero__inner   { position: relative; z-index: 1; }
.svc-hero .breadcrumb         { margin-bottom: 24px; }
.svc-hero .breadcrumb__item,
.svc-hero .breadcrumb__current{ color: rgba(255,255,255,.75); }
.svc-hero .breadcrumb__item:hover { color: #fff; }
.svc-hero .breadcrumb__sep    { color: rgba(255,255,255,.4); }
.svc-hero__h1  { font-size: clamp(2rem,5vw,3rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.svc-hero__sub { font-size: var(--fs-md); opacity: .85; max-width: 560px; line-height: 1.6; margin-bottom: 32px; }
.svc-hero__stats   { display: flex; gap: 40px; flex-wrap: wrap; }
.svc-hero__stat-val{ font-size: var(--fs-2xl); font-weight: 700; line-height: 1; }
.svc-hero__stat-lbl{ font-size: var(--fs-xs); opacity: .75; margin-top: 4px; }

/* ── Filter bar ── */
.filter-bar        { background: var(--white); border-bottom: 1px solid var(--neutral-200); position: sticky; top: var(--nav-h); z-index: 100; padding: 12px 0; }
.filter-bar__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filter-search     { display: flex; align-items: center; gap: 8px; border: 1px solid var(--neutral-200); border-radius: var(--r-pill); padding: 10px 18px; background: var(--neutral-50); flex: 1.6; min-width: 260px; }
.filter-search svg { flex-shrink: 0; color: var(--neutral-400); }
.filter-search input           { border: none; background: transparent; outline: none; font-family: var(--font); font-size: var(--fs-sm); color: var(--neutral-800); width: 100%; }
.filter-search input::placeholder { color: var(--neutral-400); }
.filter-tabs       { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-tab        { padding: 8px 16px; font-size: var(--fs-sm); font-weight: 500; color: var(--neutral-600); background: transparent; border: 1px solid var(--neutral-200); border-radius: var(--r-pill); cursor: pointer; font-family: var(--font); transition: all .2s; white-space: nowrap; }
.filter-tab.active,
.filter-tab:hover  { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── Catalog card grid ── */
.svc-grid-section { padding: 48px 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:  600px) { .svc-grid { grid-template-columns: 1fr; } }

.cat-card {
  background:     var(--white);
  border:         1px solid var(--neutral-200);
  border-radius:  var(--r-xl);
  padding:        28px;
  display:        flex;
  flex-direction: column;
  gap:            0;
  transition:     box-shadow .2s, transform .2s, border-color .2s;
  position:       relative;
  overflow:       hidden;
}
.cat-card:hover      { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--brand-light); }
.cat-card[hidden]    { display: none; }
.cat-card__icon-wrap { width: 52px; height: 52px; border-radius: var(--r-lg); background: var(--brand-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.cat-card__icon-wrap svg { width: 26px; height: 26px; color: var(--brand); }
.cat-card__badge     { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: .04em; margin-bottom: 12px; width: fit-content; }
.badge-systems       { background: #EFF8FF; color: #1849A9; }
.badge-content       { background: #ECFDF3; color: #085D3A; }
.badge-support       { background: #FFF4ED; color: #B42318; }
.badge-awards        { background: #FDF6EC; color: #92400E; }
.cat-card__title     { font-size: var(--fs-lg); font-weight: 700; color: var(--neutral-900); margin-bottom: 10px; line-height: 1.3; }
.cat-card__desc      { font-size: var(--fs-sm); color: var(--neutral-600); line-height: 1.65; flex: 1; margin-bottom: 24px; }
.cat-card__actions   { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-card__actions .btn { font-size: var(--fs-xs); padding: 8px 16px; }

/* ══════════════════════════════════════════════════════════════════
   15. COURSES PAGE (courses.html)
══════════════════════════════════════════════════════════════════ */
.svc-hero__eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.svc-hero__title   { font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 700; line-height: 1.2; margin-bottom: 14px; color: #fff; }
.svc-hero__desc    { font-size: .9375rem; opacity: .85; max-width: 600px; line-height: 1.65; margin-bottom: 32px; color: #fff; }
.svc-hero__stats   { display: flex; gap: 40px; flex-wrap: wrap; }
.svc-hero__stat    { display: flex; flex-direction: column; gap: 4px; }
.svc-hero__stat-num{ font-size: 1.75rem; font-weight: 700; color: #fff; line-height: 1; }
.svc-hero__stat-lbl{ font-size: .8125rem; color: rgba(255,255,255,.7); }

.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:  600px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-badge        { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: .04em; margin-bottom: 10px; width: fit-content; border: 1px solid transparent; }
.badge-skills     { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.badge-cs         { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.badge-math       { background: #faf5ff; color: #7e22ce; border-color: #e9d5ff; }
.badge-science    { background: #f0fdfa; color: #0f766e; border-color: #99f6e4; }
.badge-eng        { background: #f0f9ff; color: #0369a1; border-color: #bae6fd; }
.badge-business   { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.badge-islamic    { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.badge-media      { background: #fdf2f8; color: #be185d; border-color: #fbcfe8; }
.badge-tourism    { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }

.course-code      { font-size: .75rem; color: var(--neutral-400); font-weight: 500; letter-spacing: .02em; margin-bottom: 6px; }
.cat-card .cat-card__desc { margin-bottom: 16px; }

.card-launch-btn  { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: .8125rem; font-weight: 600; padding: 8px 18px; border-radius: 8px; text-decoration: none; transition: background .18s; white-space: nowrap; }
.card-launch-btn:hover { background: #135f3c; }

.repo-section        { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--neutral-200); }
.repo-section__title { font-size: 1.375rem; font-weight: 700; color: var(--neutral-800); margin-bottom: 8px; }
.repo-section__sub   { font-size: .9375rem; color: var(--neutral-500); margin-bottom: 32px; }
.repo-grid           { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 20px; }
.repo-card           { background: #fff; border: 1px solid var(--neutral-200); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .2s; text-decoration: none; }
.repo-card:hover     { box-shadow: 0 8px 24px rgba(27,131,84,.12); transform: translateY(-3px); }
.repo-card__icon     { width: 44px; height: 44px; background: linear-gradient(135deg,var(--brand),#2eca8b); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.repo-card__title    { font-size: .9375rem; font-weight: 600; color: var(--neutral-800); }
.repo-card__desc     { font-size: .8125rem; color: var(--neutral-500); line-height: 1.55; }
.repo-card__link     { font-size: .8125rem; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 4px; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════════
   16. PRINT
══════════════════════════════════════════════════════════════════ */
@media print {
  .top-bar, .nav-header, .scroll-top, .toc, .footer, .filter-bar { display: none !important; }
  .content-layout, .service-grid { flex-direction: column; grid-template-columns: 1fr; }
  .content-col, .service-section { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════
   17. CONTACT PAGE
══════════════════════════════════════════════════════════════════ */

/* ── Page hero ── */
.contact-hero {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 100%);
  padding: 48px 0 40px;
  color: #fff;
}
.contact-hero .breadcrumb__item,
.contact-hero .breadcrumb__current { color: rgba(255,255,255,.75); }
.contact-hero .breadcrumb__sep     { color: rgba(255,255,255,.4); }
.contact-hero .breadcrumb          { margin-bottom: 20px; }
.contact-hero__title   { font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 10px; color: #fff; }
.contact-hero__desc    { font-size: var(--fs-base); color: rgba(255,255,255,.82); max-width: 600px; line-height: 1.7; }

/* ── Two-column grid ── */
.contact-page-grid {
  display:               grid;
  grid-template-columns: 7fr 5fr;
  gap:                   40px;
  align-items:           start;
  padding:               56px 0 80px;
}
@media (max-width: 1100px) { .contact-page-grid { grid-template-columns: 1fr; } }

/* ── Form section title ── */
.contact-form-title { font-size: 1.125rem; font-weight: 700; color: var(--neutral-900); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--neutral-200); }

/* ── Form layout ── */
.contact-form      { display: flex; flex-direction: column; gap: 20px; }
.form-row          { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group        { display: flex; flex-direction: column; gap: 7px; }

/* ── Label ── */
.form-label {
  display:     flex;
  align-items: center;
  gap:         4px;
  font-size:   var(--fs-sm);
  font-weight: 600;
  color:       #161616;
  line-height: 20px;
}
.form-required { color: #B42318; font-weight: 700; }

/* ── Inputs / select / textarea ── */
.form-input,
.form-select,
.form-textarea {
  width:       100%;
  padding:     11px 16px;
  font-family: var(--font);
  font-size:   var(--fs-sm);
  color:       var(--neutral-800);
  background:  var(--white);
  border:      1.5px solid var(--neutral-300);
  border-radius: var(--r-md);
  outline:     none;
  transition:  border-color .2s, box-shadow .2s;
  direction:   rtl;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow:   0 0 0 3px rgba(27,131,84,.1);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--neutral-400); }

/* ── Select ── */
.form-select {
  cursor:            pointer;
  appearance:        none;
  -webkit-appearance:none;
  background-image:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left:      36px;
}

/* ── Textarea ── */
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.65; }

/* ── Phone row ── */
.phone-wrap            { display: flex; }
.phone-code-select {
  width:         100px;
  flex-shrink:   0;
  padding:       11px 10px;
  font-family:   var(--font);
  font-size:     var(--fs-sm);
  color:         var(--neutral-700);
  background:    var(--neutral-50);
  border:        1.5px solid var(--neutral-300);
  border-left:   none;
  border-radius: var(--r-md) 0 0 var(--r-md);
  outline:       none;
  cursor:        pointer;
  transition:    border-color .2s;
}
.phone-code-select:focus                 { border-color: var(--brand); }
.phone-wrap .form-input                  { border-radius: 0 var(--r-md) var(--r-md) 0; }

/* ── Sidebar ── */
.contact-page-sidebar {
  border:         1px solid var(--border-color);
  border-radius:  16px;
  background:     var(--white);
  padding:        36px;
  display:        flex;
  flex-direction: column;
  gap:            0;
  position:       sticky;
  top:            calc(var(--nav-h) + 24px);
}
@media (max-width: 1100px) { .contact-page-sidebar { position: static; } }

.contact-page-sidebar__title { font-size: 18px; font-weight: 700; color: var(--neutral-800); margin-bottom: 16px; }

/* ── Info list ── */
.contact-info-list  { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item  { display: flex; align-items: flex-start; gap: 10px; }
.contact-info-item__icon {
  width: 36px; height: 36px;
  border-radius:   50%;
  background:      var(--brand-light);
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
  color:           var(--brand);
}
.contact-info-item__icon svg { width: 18px; height: 18px; }
.contact-info-item__body     { display: flex; flex-direction: column; gap: 2px; }
.contact-info-item__label    { font-size: 12px; color: var(--neutral-500); font-weight: 500; }
.contact-info-item__value    { font-size: var(--fs-sm); font-weight: 600; color: var(--brand); text-decoration: none; transition: color .2s; }
.contact-info-item__value:hover { color: var(--brand-dark); text-decoration: underline; }

/* ── Follow us ── */
.follow-us__btns { display: flex; gap: 8px; margin-top: 10px; }
.follow-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background:    var(--neutral-100);
  border:        1px solid var(--neutral-200);
  display:       flex;
  align-items:   center;
  justify-content: center;
  color:         var(--neutral-600);
  font-size:     .8rem;
  font-weight:   700;
  transition:    all .2s;
  text-decoration: none;
}
.follow-btn:hover { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }

/* ── Sidebar divider ── */
.sidebar-hr { height: 1px; background: var(--neutral-200); border: none; margin: 24px 0; }

/* ══════════════════════════════════════════════════════════════════
   19. LTR / ENGLISH PAGE OVERRIDES
══════════════════════════════════════════════════════════════════ */
html[dir="ltr"] body         { direction: ltr; text-align: left; }
html[dir="ltr"] .scroll-top  { left: auto; right: 28px; }
html[dir="ltr"] .search-input { direction: ltr; text-align: left; }
html[dir="ltr"] .breadcrumb  { direction: ltr; }
html[dir="ltr"] .hero__content { text-align: left; }
html[dir="ltr"] .section-desc { text-align: left; }
html[dir="ltr"] .last-modified { text-align: right; }

/* ══════════════════════════════════════════════════════════════════
   20. OPEN LIBRARIES PAGE (libraries.html)
══════════════════════════════════════════════════════════════════ */

/* ── Filter bar extensions (search + selects live alongside .filter-tabs) ── */
.filter-bar__selects { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-select {
  appearance:        none;
  -webkit-appearance:none;
  -moz-appearance:   none;
  font-family:       var(--font);
  font-size:         var(--fs-sm);
  font-weight:       500;
  color:             var(--neutral-700);
  background:        var(--neutral-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat left 12px center;
  border:            1px solid var(--neutral-200);
  border-radius:     var(--r-pill);
  padding:           8px 16px 8px 34px;
  cursor:            pointer;
  transition:        border-color .2s;
}
.filter-select:hover,
.filter-select:focus { border-color: var(--brand); outline: none; }
.filter-count-badge {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  padding:         7px 16px;
  background:      var(--brand);
  color:           var(--white);
  font-size:       var(--fs-xs);
  font-weight:     700;
  border-radius:   var(--r-pill);
  white-space:     nowrap;
}

/* ── Library card grid ── */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 16px; }
.lib-card {
  background:      var(--white);
  border:          1px solid var(--neutral-200);
  border-radius:   var(--r-lg);
  padding:         18px 14px;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  text-align:      center;
  gap:             10px;
  text-decoration: none;
  transition:      box-shadow .2s, transform .2s, border-color .2s;
}
.lib-card:hover   { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--brand); }
.lib-card[hidden] { display: none; }
.lib-card__logo     { width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; }
.lib-card__logo img { max-width: 100%; max-height: 56px; object-fit: contain; }
.lib-card__name     { font-size: var(--fs-sm); font-weight: 700; color: var(--neutral-900); line-height: 1.4; }
.lib-card__tags     { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 640px) {
  .lib-grid { grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 10px; }
  .lib-card { padding: 14px 10px; }
}

/* ══════════════════════════════════════════════════════════════════
   21. USAGE GUIDES PAGE (guides.html)
══════════════════════════════════════════════════════════════════ */
.guide-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 1024px) { .guide-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:  768px) { .guide-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:  480px) { .guide-grid { grid-template-columns: 1fr; } }

.guide-card {
  background:      var(--white);
  border:          1px solid var(--neutral-200);
  border-radius:   var(--r-xl);
  overflow:        hidden;
  transition:      box-shadow .25s, transform .25s, border-color .25s;
  position:        relative;
}
.guide-card:hover   { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--brand-light); }
.guide-card[hidden] { display: none; }

.guide-card__thumb-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--neutral-100); }
.guide-card__thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.guide-card:hover .guide-card__thumb-wrap img { transform: scale(1.05); }

.guide-card__overlay {
  position:        absolute;
  inset:           0;
  background:      rgba(9,42,30,.55);
  display:         flex;
  align-items:     center;
  justify-content: center;
  opacity:         0;
  transition:      opacity .25s ease;
}
.guide-card:hover .guide-card__overlay,
.guide-card:focus-within .guide-card__overlay { opacity: 1; }
.guide-card__download-btn {
  width: 52px; height: 52px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      rgba(255,255,255,.95);
  color:           var(--brand);
  border-radius:   50%;
  box-shadow:      var(--shadow-md);
  transition:      background .2s, color .2s, transform .2s;
}
.guide-card__download-btn:hover { background: var(--brand); color: var(--white); transform: scale(1.08); }
.guide-card__download-btn svg   { width: 22px; height: 22px; }

.guide-card__badge {
  position:      absolute;
  top:           12px;
  right:         12px;
  display:       inline-flex;
  align-items:   center;
  padding:       3px 10px;
  border-radius: var(--r-pill);
  font-size:     11px;
  font-weight:   600;
  background:    rgba(255,255,255,.92);
  color:         var(--brand-dark);
  box-shadow:    var(--shadow-sm);
}

.guide-card__body  { padding: 16px; }
.guide-card__title {
  font-size:     var(--fs-base);
  font-weight:   700;
  color:         var(--neutral-900);
  line-height:   1.4;
  margin-bottom: 10px;
  display:       -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow:      hidden;
}
.guide-card__meta {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             8px;
  padding-top:     10px;
  border-top:      1px solid var(--neutral-100);
  font-size:       var(--fs-xs);
  color:           var(--neutral-500);
}
.guide-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.guide-card__meta svg  { width: 13px; height: 13px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   22. COLLEGE SUPPORT LOOKUP (support.html)
══════════════════════════════════════════════════════════════════ */
.support-hero    { background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 60%, var(--brand-mid) 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.support-hero .breadcrumb__item,
.support-hero .breadcrumb__current { color: rgba(255,255,255,.75); }
.support-hero .breadcrumb__item:hover { color: #fff; }
.support-hero .breadcrumb__sep     { color: rgba(255,255,255,.4); }
.support-hero__h1  { font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.support-hero__sub { font-size: var(--fs-md); opacity: .88; max-width: 620px; line-height: 1.7; }

/* ── Search card (overlaps hero bottom) ── */
.support-search-wrap { max-width: 720px; margin: -34px auto 0; padding: 0 16px; position: relative; z-index: 5; }
.support-search-card {
  background:    var(--white);
  border-radius: var(--r-xl);
  box-shadow:    var(--shadow-lg);
  padding:       10px;
}
.support-search-box {
  display:       flex;
  align-items:   center;
  gap:           10px;
  padding:       14px 20px;
  border-radius: var(--r-lg);
  transition:    background .2s;
}
.support-search-box svg     { width: 20px; height: 20px; color: var(--neutral-400); flex-shrink: 0; }
.support-search-input       { flex: 1; border: none; outline: none; background: transparent; font-family: var(--font); font-size: var(--fs-md); color: var(--neutral-900); direction: rtl; }
.support-search-input::placeholder { color: var(--neutral-400); }
.support-search-clear {
  display:       none;
  width: 26px; height: 26px;
  align-items:   center;
  justify-content: center;
  border-radius: 50%;
  background:    var(--neutral-100);
  color:         var(--neutral-500);
  border:        none;
  cursor:        pointer;
  flex-shrink:   0;
}
.support-search-clear.visible { display: flex; }
.support-search-clear:hover   { background: var(--neutral-200); color: var(--neutral-700); }

/* ── Suggestions dropdown ── */
.support-suggestions {
  position:      relative;
  border-top:    1px solid var(--neutral-100);
  margin-top:    6px;
  max-height:    360px;
  overflow-y:    auto;
  display:       none;
}
.support-suggestions.open { display: block; }
.support-suggestion {
  display:       flex;
  align-items:   center;
  justify-content: space-between;
  gap:           12px;
  width:         100%;
  padding:       12px 16px;
  background:    transparent;
  border:        none;
  text-align:    right;
  cursor:        pointer;
  font-family:   var(--font);
  border-radius: var(--r-md);
  transition:    background .15s;
}
.support-suggestion:hover,
.support-suggestion.active { background: var(--brand-light); }
.support-suggestion__name  { font-size: var(--fs-sm); font-weight: 600; color: var(--neutral-800); }
.support-suggestion__name mark { background: transparent; color: var(--brand-dark); font-weight: 700; }
.support-empty { padding: 32px 16px; text-align: center; color: var(--neutral-500); font-size: var(--fs-sm); }

/* ── Result card ── */
.support-result-wrap { max-width: 720px; margin: 28px auto 0; padding: 0 16px; }
.support-result {
  background:    var(--white);
  border:        1px solid var(--neutral-200);
  border-radius: var(--r-xl);
  box-shadow:    var(--shadow-md);
  padding:       28px;
  animation:     slideDown .25s ease;
}
.support-result__head  { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--neutral-100); }
.support-result__title { font-size: var(--fs-lg); font-weight: 700; color: var(--neutral-900); line-height: 1.4; }
.support-result__items { display: flex; flex-direction: column; gap: 14px; }
.support-contact-row   { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--neutral-50); border: 1px solid var(--neutral-200); border-radius: var(--r-lg); }
.support-contact-row__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--neutral-200); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
.support-contact-row__icon svg { width: 18px; height: 18px; }
.support-contact-row__body  { flex: 1; min-width: 0; }
.support-contact-row__label { font-size: var(--fs-xs); color: var(--neutral-500); margin-bottom: 2px; }
.support-contact-row__email { font-size: var(--fs-sm); font-weight: 600; color: var(--neutral-900); direction: ltr; text-align: right; word-break: break-all; }
.support-contact-row__copy {
  width: 34px; height: 34px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  border-radius:   var(--r-md);
  background:      var(--white);
  border:          1px solid var(--neutral-200);
  color:           var(--neutral-500);
  cursor:          pointer;
  flex-shrink:     0;
  transition:      all .15s;
}
.support-contact-row__copy:hover     { background: var(--brand); border-color: var(--brand); color: #fff; }
.support-contact-row__copy svg       { width: 15px; height: 15px; }
.support-contact-row__copy.copied    { background: var(--brand); border-color: var(--brand); color: #fff; }
.support-inferred-note { margin-top: 16px; font-size: var(--fs-xs); color: var(--neutral-400); display: flex; align-items: flex-start; gap: 6px; line-height: 1.6; }
.support-inferred-note svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }

@media (max-width: 640px) {
  .support-result { padding: 20px; }
  .support-result__head { flex-direction: column; }
}
